@@ -140,14 +140,13 @@ export type CreditFacilityOrigination = {
140
140
txId : Scalars [ 'UUID' ] [ 'output' ] ;
141
141
} ;
142
142
143
- export type CreditFacilityPayment = {
144
- __typename ?: 'CreditFacilityPayment' ;
143
+ export type CreditFacilityPaymentAllocation = {
144
+ __typename ?: 'CreditFacilityPaymentAllocation' ;
145
+ amount : Scalars [ 'UsdCents' ] [ 'output' ] ;
145
146
createdAt : Scalars [ 'Timestamp' ] [ 'output' ] ;
146
147
creditFacility : CreditFacility ;
147
- disbursalAmount : Scalars [ 'UsdCents' ] [ 'output' ] ;
148
148
id : Scalars [ 'ID' ] [ 'output' ] ;
149
- interestAmount : Scalars [ 'UsdCents' ] [ 'output' ] ;
150
- paymentId : Scalars [ 'UUID' ] [ 'output' ] ;
149
+ paymentAllocationId : Scalars [ 'UUID' ] [ 'output' ] ;
151
150
} ;
152
151
153
152
export type CreditFacilityRepaymentPlanEntry = {
@@ -342,7 +341,7 @@ export type PageInfo = {
342
341
343
342
export type PaymentEntry = {
344
343
__typename ?: 'PaymentEntry' ;
345
- payment : CreditFacilityPayment ;
344
+ payment : CreditFacilityPaymentAllocation ;
346
345
recordedAt : Scalars [ 'Timestamp' ] [ 'output' ] ;
347
346
} ;
348
347
@@ -443,7 +442,7 @@ export type GetTransactionHistoryQueryVariables = Exact<{
443
442
} > ;
444
443
445
444
446
- export type GetTransactionHistoryQuery = { __typename ?: 'Query' , me : { __typename ?: 'Subject' , customer : { __typename ?: 'Customer' , depositAccount : { __typename ?: 'DepositAccount' , history : { __typename ?: 'DepositAccountHistoryEntryConnection' , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , endCursor ?: string | null , hasPreviousPage : boolean , startCursor ?: string | null } , edges : Array < { __typename ?: 'DepositAccountHistoryEntryEdge' , cursor : string , node : { __typename ?: 'CancelledWithdrawalEntry' , recordedAt : any , withdrawal : { __typename ?: 'Withdrawal' , id : string , withdrawalId : any , accountId : any , amount : any , createdAt : any , reference : string , status : WithdrawalStatus } } | { __typename ?: 'DepositEntry' , recordedAt : any , deposit : { __typename ?: 'Deposit' , id : string , depositId : any , accountId : any , amount : any , createdAt : any , reference : string } } | { __typename ?: 'DisbursalEntry' , recordedAt : any , disbursal : { __typename ?: 'CreditFacilityDisbursal' , id : string , disbursalId : any , amount : any , createdAt : any , status : DisbursalStatus } } | { __typename ?: 'PaymentEntry' , recordedAt : any , payment : { __typename ?: 'CreditFacilityPayment' , id : string , paymentId : any , interestAmount : any , disbursalAmount : any , createdAt : any } } | { __typename ?: 'UnknownEntry' } | { __typename ?: 'WithdrawalEntry' , recordedAt : any , withdrawal : { __typename ?: 'Withdrawal' , id : string , withdrawalId : any , accountId : any , amount : any , createdAt : any , reference : string , status : WithdrawalStatus } } } > } } } } } ;
445
+ export type GetTransactionHistoryQuery = { __typename ?: 'Query' , me : { __typename ?: 'Subject' , customer : { __typename ?: 'Customer' , depositAccount : { __typename ?: 'DepositAccount' , history : { __typename ?: 'DepositAccountHistoryEntryConnection' , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , endCursor ?: string | null , hasPreviousPage : boolean , startCursor ?: string | null } , edges : Array < { __typename ?: 'DepositAccountHistoryEntryEdge' , cursor : string , node : { __typename ?: 'CancelledWithdrawalEntry' , recordedAt : any , withdrawal : { __typename ?: 'Withdrawal' , id : string , withdrawalId : any , accountId : any , amount : any , createdAt : any , reference : string , status : WithdrawalStatus } } | { __typename ?: 'DepositEntry' , recordedAt : any , deposit : { __typename ?: 'Deposit' , id : string , depositId : any , accountId : any , amount : any , createdAt : any , reference : string } } | { __typename ?: 'DisbursalEntry' , recordedAt : any , disbursal : { __typename ?: 'CreditFacilityDisbursal' , id : string , disbursalId : any , amount : any , createdAt : any , status : DisbursalStatus } } | { __typename ?: 'PaymentEntry' , recordedAt : any , payment : { __typename ?: 'CreditFacilityPaymentAllocation' , id : string , paymentAllocationId : any , amount : any , createdAt : any } } | { __typename ?: 'UnknownEntry' } | { __typename ?: 'WithdrawalEntry' , recordedAt : any , withdrawal : { __typename ?: 'Withdrawal' , id : string , withdrawalId : any , accountId : any , amount : any , createdAt : any , reference : string , status : WithdrawalStatus } } } > } } } } } ;
447
446
448
447
449
448
export const GetCreditFacilityDocument = gql `
@@ -790,9 +789,8 @@ export const GetTransactionHistoryDocument = gql`
790
789
recordedAt
791
790
payment {
792
791
id
793
- paymentId
794
- interestAmount
795
- disbursalAmount
792
+ paymentAllocationId
793
+ amount
796
794
createdAt
797
795
}
798
796
}
0 commit comments