@naturalpay/sdk 1.6.21 → 1.6.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/ach/client/requests/NewAchParams.d.ts +1 -1
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.ts +3 -1
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.ts +7 -0
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.d.ts +1 -1
- package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.js +1 -1
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.ts +3 -1
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.ts +7 -0
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.d.ts +1 -1
- package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.js +1 -1
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.ts +3 -1
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.ts +7 -0
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.js +3 -0
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.d.ts +1 -1
- package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.js +1 -1
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.ts +3 -1
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.ts +7 -0
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.d.ts +1 -1
- package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.js +1 -1
- package/dist/cjs/api/resources/chargebacks/types/index.d.ts +8 -0
- package/dist/cjs/api/resources/chargebacks/types/index.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/client/Client.js +11 -3
- package/dist/cjs/api/resources/externalAccounts/client/requests/GetExternalAccountsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/ListExternalAccountsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/paymentRequests/client/Client.js +7 -1
- package/dist/cjs/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -1
- package/dist/cjs/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.ts +1 -1
- package/dist/cjs/api/resources/paymentRequests/types/IncomingReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.ts +7 -0
- package/dist/cjs/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.js +10 -0
- package/dist/cjs/api/resources/paymentRequests/types/NewPayReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/PayReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentRequests/types/index.js +1 -0
- package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +1 -1
- package/dist/cjs/api/resources/realtime/client/requests/CreateRealtimeRequest.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.ts +5 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.js +8 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.d.ts +2 -1
- package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.js +2 -1
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.ts +5 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.js +8 -0
- package/dist/cjs/api/resources/transactions/types/TxnAttrs.d.ts +2 -2
- package/dist/cjs/api/resources/transactions/types/TxnDetailAttrs.d.ts +2 -2
- package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +3 -1
- package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.d.ts +2 -1
- package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.js +2 -1
- package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +3 -1
- package/dist/cjs/api/resources/transactions/types/TxnTransactionType.d.ts +2 -1
- package/dist/cjs/api/resources/transactions/types/TxnTransactionType.js +2 -1
- package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/transactions/types/index.js +6 -0
- package/dist/cjs/api/resources/transfers/client/requests/NewDepositParams.d.ts +1 -1
- package/dist/cjs/api/resources/transfers/client/requests/NewWithdrawalParams.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/wallets/client/Client.js +4 -4
- package/dist/cjs/api/resources/wallets/client/requests/AttachAgentWalletsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.ts +6 -6
- package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.ts +3 -0
- package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.ts +6 -0
- package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js +9 -0
- package/dist/cjs/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.ts +6 -6
- package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.ts +3 -0
- package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.ts +6 -0
- package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js +9 -0
- package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.ts +6 -6
- package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.ts +3 -0
- package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.ts +6 -0
- package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js +9 -0
- package/dist/cjs/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/WalletAttrs.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/WalletDetailAttrs.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/wallets/types/index.js +3 -0
- package/dist/cjs/api/resources/wire/client/requests/CreateWireRequest.d.ts +1 -1
- package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.js +43 -0
- package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.js +43 -0
- package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.js +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.ts +11 -0
- package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.js +43 -0
- package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.js +43 -0
- package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/chargebacks/types/index.d.ts +8 -0
- package/dist/cjs/serialization/resources/chargebacks/types/index.js +8 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.ts +7 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.js +39 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/index.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.ts +10 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.js +42 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.ts +11 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.js +43 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.js +39 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.d.ts +1 -1
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.js +1 -1
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.ts +10 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.js +42 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.ts +11 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.js +43 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.js +39 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.d.ts +1 -1
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.js +1 -1
- package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.d.ts +1 -1
- package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.js +1 -1
- package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
- package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.ts +7 -0
- package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js +39 -0
- package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.ts +7 -0
- package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js +39 -0
- package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.ts +7 -0
- package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js +39 -0
- package/dist/cjs/serialization/resources/wallets/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/wallets/types/index.js +3 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/ach/client/requests/NewAchParams.d.mts +1 -1
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts +3 -1
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts +7 -0
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.d.mts +1 -1
- package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.mjs +1 -1
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.mts +3 -1
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.mts +7 -0
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.d.mts +1 -1
- package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.mjs +1 -1
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.mts +3 -1
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.mts +7 -0
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.d.mts +1 -1
- package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.mjs +1 -1
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.mts +3 -1
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.mts +7 -0
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.d.mts +1 -1
- package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.mjs +1 -1
- package/dist/esm/api/resources/chargebacks/types/index.d.mts +8 -0
- package/dist/esm/api/resources/chargebacks/types/index.mjs +8 -0
- package/dist/esm/api/resources/externalAccounts/client/Client.mjs +11 -3
- package/dist/esm/api/resources/externalAccounts/client/requests/GetExternalAccountsRequest.d.mts +1 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/ListExternalAccountsRequest.d.mts +1 -0
- package/dist/esm/api/resources/paymentRequests/client/Client.mjs +7 -1
- package/dist/esm/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.mts +1 -0
- package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -1
- package/dist/esm/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.mts +1 -1
- package/dist/esm/api/resources/paymentRequests/types/IncomingReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.mts +7 -0
- package/dist/esm/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.mjs +7 -0
- package/dist/esm/api/resources/paymentRequests/types/NewPayReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/PayReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentRequests/types/index.mjs +1 -0
- package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +1 -1
- package/dist/esm/api/resources/realtime/client/requests/CreateRealtimeRequest.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +1 -1
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.mts +5 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.mjs +5 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.d.mts +2 -1
- package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.mjs +2 -1
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +1 -1
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.mts +5 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs +5 -0
- package/dist/esm/api/resources/transactions/types/TxnAttrs.d.mts +2 -2
- package/dist/esm/api/resources/transactions/types/TxnDetailAttrs.d.mts +2 -2
- package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +3 -1
- package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.d.mts +2 -1
- package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.mjs +2 -1
- package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +3 -1
- package/dist/esm/api/resources/transactions/types/TxnTransactionType.d.mts +2 -1
- package/dist/esm/api/resources/transactions/types/TxnTransactionType.mjs +2 -1
- package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
- package/dist/esm/api/resources/transfers/client/requests/NewDepositParams.d.mts +1 -1
- package/dist/esm/api/resources/transfers/client/requests/NewWithdrawalParams.d.mts +1 -1
- package/dist/esm/api/resources/wallets/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/wallets/client/Client.mjs +4 -4
- package/dist/esm/api/resources/wallets/client/requests/AttachAgentWalletsRequest.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.mts +6 -6
- package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts +3 -0
- package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.mts +6 -0
- package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs +6 -0
- package/dist/esm/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.mts +6 -6
- package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts +3 -0
- package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.mts +6 -0
- package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs +6 -0
- package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.mts +6 -6
- package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.mts +3 -0
- package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.mts +6 -0
- package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs +6 -0
- package/dist/esm/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/WalletAttrs.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/WalletDetailAttrs.d.mts +1 -1
- package/dist/esm/api/resources/wallets/types/index.d.mts +3 -0
- package/dist/esm/api/resources/wallets/types/index.mjs +3 -0
- package/dist/esm/api/resources/wire/client/requests/CreateWireRequest.d.mts +1 -1
- package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.mjs +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.mjs +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.mts +11 -0
- package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.mjs +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.mjs +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/chargebacks/types/index.d.mts +8 -0
- package/dist/esm/serialization/resources/chargebacks/types/index.mjs +8 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.mts +7 -0
- package/dist/esm/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.mjs +3 -0
- package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.mts +10 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.mjs +6 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.mts +11 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.mjs +7 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.mjs +3 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.d.mts +1 -1
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.mjs +1 -1
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.mts +10 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.mjs +6 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.mts +11 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.mjs +7 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs +3 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.d.mts +1 -1
- package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.mjs +1 -1
- package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.d.mts +1 -1
- package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.mjs +1 -1
- package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.mts +7 -0
- package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs +3 -0
- package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.mts +7 -0
- package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs +3 -0
- package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.mts +7 -0
- package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs +3 -0
- package/dist/esm/serialization/resources/wallets/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/wallets/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -4
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/** Transaction type. */
|
|
1
|
+
/** Transaction type. A `chargeback` row is the disputed amount of a card payment chargeback, debited from your wallet. */
|
|
2
2
|
export declare const TxnDetailTransactionType: {
|
|
3
3
|
readonly Payment: "payment";
|
|
4
4
|
readonly Transfer: "transfer";
|
|
5
5
|
readonly Refund: "refund";
|
|
6
|
+
readonly Chargeback: "chargeback";
|
|
6
7
|
};
|
|
7
8
|
export type TxnDetailTransactionType = (typeof TxnDetailTransactionType)[keyof typeof TxnDetailTransactionType];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Transaction type. */
|
|
2
|
+
/** Transaction type. A `chargeback` row is the disputed amount of a card payment chargeback, debited from your wallet. */
|
|
3
3
|
export const TxnDetailTransactionType = {
|
|
4
4
|
Payment: "payment",
|
|
5
5
|
Transfer: "transfer",
|
|
6
6
|
Refund: "refund",
|
|
7
|
+
Chargeback: "chargeback",
|
|
7
8
|
};
|
|
@@ -6,10 +6,12 @@ export interface TxnRels {
|
|
|
6
6
|
destinationParty: Natural.TxnDestRel;
|
|
7
7
|
/** Related payment, when accessible. */
|
|
8
8
|
payment?: Natural.TxnPaymentRel;
|
|
9
|
-
/** Related card payment, when accessible. */
|
|
9
|
+
/** Related card payment, when accessible. On a chargeback row, the disputed payment. */
|
|
10
10
|
cardPayment?: Natural.ListTransactionsResponseDataItemRelationshipsCardPayment;
|
|
11
11
|
/** Related refund, when accessible. */
|
|
12
12
|
refund?: Natural.ListTransactionsResponseDataItemRelationshipsRefund;
|
|
13
|
+
/** The chargeback case a chargeback row debits for. */
|
|
14
|
+
chargeback?: Natural.ListTransactionsResponseDataItemRelationshipsChargeback;
|
|
13
15
|
/** Related transfer, when accessible. */
|
|
14
16
|
transfer?: Natural.TxnTransferRel;
|
|
15
17
|
/** Wallet through which this transaction is visible. */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/** Transaction type. */
|
|
1
|
+
/** Transaction type. A `chargeback` row is the disputed amount of a card payment chargeback, debited from your wallet. */
|
|
2
2
|
export declare const TxnTransactionType: {
|
|
3
3
|
readonly Payment: "payment";
|
|
4
4
|
readonly Transfer: "transfer";
|
|
5
5
|
readonly Refund: "refund";
|
|
6
|
+
readonly Chargeback: "chargeback";
|
|
6
7
|
};
|
|
7
8
|
export type TxnTransactionType = (typeof TxnTransactionType)[keyof typeof TxnTransactionType];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Transaction type. */
|
|
2
|
+
/** Transaction type. A `chargeback` row is the disputed amount of a card payment chargeback, debited from your wallet. */
|
|
3
3
|
export const TxnTransactionType = {
|
|
4
4
|
Payment: "payment",
|
|
5
5
|
Transfer: "transfer",
|
|
6
6
|
Refund: "refund",
|
|
7
|
+
Chargeback: "chargeback",
|
|
7
8
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./GetTransactionsResponseDataRelationshipsCardPayment.mjs";
|
|
2
2
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.mjs";
|
|
3
3
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs";
|
|
4
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargeback.mjs";
|
|
5
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargebackData.mjs";
|
|
6
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargebackDataType.mjs";
|
|
4
7
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.mjs";
|
|
5
8
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.mjs";
|
|
6
9
|
export * from "./GetTransactionsResponseDataRelationshipsRefund.mjs";
|
|
@@ -16,6 +19,9 @@ export * from "./ListTransactionsResponseDataItem.mjs";
|
|
|
16
19
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPayment.mjs";
|
|
17
20
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.mjs";
|
|
18
21
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs";
|
|
22
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargeback.mjs";
|
|
23
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargebackData.mjs";
|
|
24
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs";
|
|
19
25
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.mjs";
|
|
20
26
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.mjs";
|
|
21
27
|
export * from "./ListTransactionsResponseDataItemRelationshipsRefund.mjs";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./GetTransactionsResponseDataRelationshipsCardPayment.mjs";
|
|
2
2
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.mjs";
|
|
3
3
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs";
|
|
4
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargeback.mjs";
|
|
5
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargebackData.mjs";
|
|
6
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargebackDataType.mjs";
|
|
4
7
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.mjs";
|
|
5
8
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.mjs";
|
|
6
9
|
export * from "./GetTransactionsResponseDataRelationshipsRefund.mjs";
|
|
@@ -16,6 +19,9 @@ export * from "./ListTransactionsResponseDataItem.mjs";
|
|
|
16
19
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPayment.mjs";
|
|
17
20
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.mjs";
|
|
18
21
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs";
|
|
22
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargeback.mjs";
|
|
23
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargebackData.mjs";
|
|
24
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs";
|
|
19
25
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.mjs";
|
|
20
26
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.mjs";
|
|
21
27
|
export * from "./ListTransactionsResponseDataItemRelationshipsRefund.mjs";
|
|
@@ -23,7 +23,7 @@ export interface NewDepositParams {
|
|
|
23
23
|
currency?: Natural.InitiateDepositTransfersRequestCurrency;
|
|
24
24
|
/** External account ID (eac_*). */
|
|
25
25
|
externalAccountId: string;
|
|
26
|
-
/** Wallet (wal_*) to deposit into.
|
|
26
|
+
/** Wallet (wal_*) to deposit into. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
|
|
27
27
|
walletId?: string;
|
|
28
28
|
/** Transfer description. Maximum 80 characters. */
|
|
29
29
|
description?: string;
|
|
@@ -26,7 +26,7 @@ export interface NewWithdrawalParams {
|
|
|
26
26
|
externalAccountId: string;
|
|
27
27
|
/** Delivery method. Defaults to standard. To request instant withdrawal access and pricing, contact hi@natural.com. */
|
|
28
28
|
method?: Natural.InitiateWithdrawalTransfersRequestMethod;
|
|
29
|
-
/** Wallet (wal_*) to withdraw from.
|
|
29
|
+
/** Wallet (wal_*) to withdraw from. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
|
|
30
30
|
walletId?: string;
|
|
31
31
|
/** Transfer description. Maximum 80 characters. */
|
|
32
32
|
description?: string;
|
|
@@ -221,7 +221,7 @@ export declare class WalletsClient {
|
|
|
221
221
|
unfreeze(request: Natural.UnfreezeWalletsRequest, requestOptions?: WalletsClient.RequestOptions): core.HttpResponsePromise<Natural.UnfreezeWalletsResponse>;
|
|
222
222
|
private __unfreeze;
|
|
223
223
|
/**
|
|
224
|
-
* List agents granted access to a wallet
|
|
224
|
+
* List owned and customer-connected agents granted access to a wallet. Connected agents include customer connection limits and omit private metadata from the agent owner.
|
|
225
225
|
*
|
|
226
226
|
* @param {Natural.ListAgentsWalletsRequest} request
|
|
227
227
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -249,7 +249,7 @@ export declare class WalletsClient {
|
|
|
249
249
|
listAgents(request: Natural.ListAgentsWalletsRequest, requestOptions?: WalletsClient.RequestOptions): core.HttpResponsePromise<Natural.ListAgentsWalletsResponse>;
|
|
250
250
|
private __listAgents;
|
|
251
251
|
/**
|
|
252
|
-
* Grant an agent access to a wallet
|
|
252
|
+
* Grant an owned or customer-connected agent access to a standard wallet. Customer connections also require delegations.update. The first wallet becomes the default; adding another preserves the existing default. Agent credentials and delegated callers cannot manage wallet access.
|
|
253
253
|
*
|
|
254
254
|
* @param {Natural.AttachAgentWalletsRequest} request
|
|
255
255
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -279,7 +279,7 @@ export declare class WalletsClient {
|
|
|
279
279
|
attachAgent(request: Natural.AttachAgentWalletsRequest, requestOptions?: WalletsClient.RequestOptions): core.HttpResponsePromise<Natural.AttachAgentWalletsResponse>;
|
|
280
280
|
private __attachAgent;
|
|
281
281
|
/**
|
|
282
|
-
* Make this wallet the default for the attached agent
|
|
282
|
+
* Make this wallet the default for the attached agent. For a connected agent, the default applies only to this customer connection and also requires delegations.update. Omitted walletId calls use this default. Agent credentials and delegated callers cannot change it.
|
|
283
283
|
*
|
|
284
284
|
* @param {Natural.SetAgentDefaultWalletWalletsRequest} request
|
|
285
285
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -309,7 +309,7 @@ export declare class WalletsClient {
|
|
|
309
309
|
setAgentDefaultWallet(request: Natural.SetAgentDefaultWalletWalletsRequest, requestOptions?: WalletsClient.RequestOptions): core.HttpResponsePromise<Natural.SetAgentDefaultWalletWalletsResponse>;
|
|
310
310
|
private __setAgentDefaultWallet;
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* Remove an owned or customer-connected agent from a wallet. The default wallet cannot be removed; select another default first. Connected-agent changes also require delegations.update and leave the customer connection active. Agent credentials and delegated callers cannot remove access.
|
|
313
313
|
*
|
|
314
314
|
* @param {Natural.DetachAgentWalletsRequest} request
|
|
315
315
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -747,7 +747,7 @@ export class WalletsClient {
|
|
|
747
747
|
});
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
|
-
* List agents granted access to a wallet
|
|
750
|
+
* List owned and customer-connected agents granted access to a wallet. Connected agents include customer connection limits and omit private metadata from the agent owner.
|
|
751
751
|
*
|
|
752
752
|
* @param {Natural.ListAgentsWalletsRequest} request
|
|
753
753
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -842,7 +842,7 @@ export class WalletsClient {
|
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
/**
|
|
845
|
-
* Grant an agent access to a wallet
|
|
845
|
+
* Grant an owned or customer-connected agent access to a standard wallet. Customer connections also require delegations.update. The first wallet becomes the default; adding another preserves the existing default. Agent credentials and delegated callers cannot manage wallet access.
|
|
846
846
|
*
|
|
847
847
|
* @param {Natural.AttachAgentWalletsRequest} request
|
|
848
848
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -948,7 +948,7 @@ export class WalletsClient {
|
|
|
948
948
|
});
|
|
949
949
|
}
|
|
950
950
|
/**
|
|
951
|
-
* Make this wallet the default for the attached agent
|
|
951
|
+
* Make this wallet the default for the attached agent. For a connected agent, the default applies only to this customer connection and also requires delegations.update. Omitted walletId calls use this default. Agent credentials and delegated callers cannot change it.
|
|
952
952
|
*
|
|
953
953
|
* @param {Natural.SetAgentDefaultWalletWalletsRequest} request
|
|
954
954
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1048,7 +1048,7 @@ export class WalletsClient {
|
|
|
1048
1048
|
});
|
|
1049
1049
|
}
|
|
1050
1050
|
/**
|
|
1051
|
-
*
|
|
1051
|
+
* Remove an owned or customer-connected agent from a wallet. The default wallet cannot be removed; select another default first. Connected-agent changes also require delegations.update and leave the customer connection active. Agent credentials and delegated callers cannot remove access.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @param {Natural.DetachAgentWalletsRequest} request
|
|
1054
1054
|
* @param {WalletsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -10,6 +10,6 @@ export interface AttachAgentWalletsRequest {
|
|
|
10
10
|
walletId: string;
|
|
11
11
|
/** Unique key for safely retrying a request without creating duplicates. */
|
|
12
12
|
idempotencyKey: string;
|
|
13
|
-
/**
|
|
13
|
+
/** Owned agent or active customer-connected agent (agt_*) to grant access to. */
|
|
14
14
|
agentId: string;
|
|
15
15
|
}
|
|
@@ -2,20 +2,20 @@ import type * as Natural from "../../../index.mjs";
|
|
|
2
2
|
export interface AttachAgentWalletsResponseDataAttributes {
|
|
3
3
|
/** Agent display name. */
|
|
4
4
|
name: string;
|
|
5
|
-
/** Agent description. */
|
|
5
|
+
/** Agent description. Null for connected agents. */
|
|
6
6
|
description: string | null;
|
|
7
|
-
/**
|
|
7
|
+
/** Agent tags. Empty for connected agents. */
|
|
8
8
|
tags: Record<string, string>;
|
|
9
9
|
/** Agent handle, such as @acme-support, or null when none is set. */
|
|
10
10
|
handle: string | null;
|
|
11
11
|
/** Agent status: ACTIVE, or REVOKED after deletion. */
|
|
12
12
|
status: Natural.AttachAgentWalletsResponseDataAttributesStatus;
|
|
13
|
-
/**
|
|
13
|
+
/** Agent limits for an owned agent, or this customer's connection limits for a connected agent. */
|
|
14
14
|
limits: Natural.AttachAgentWalletsResponseDataAttributesLimits | null;
|
|
15
|
-
/**
|
|
15
|
+
/** When the agent was created. Null for connected agents. */
|
|
16
16
|
createdAt: Date | null;
|
|
17
|
-
/** User who created
|
|
17
|
+
/** User who created the agent. Null for connected agents. */
|
|
18
18
|
createdBy: string | null;
|
|
19
|
-
/**
|
|
19
|
+
/** When the agent last authenticated. Null for connected agents. */
|
|
20
20
|
lastActiveAt: Date | null;
|
|
21
21
|
}
|
package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* The agent's access to this wallet.
|
|
3
4
|
*/
|
|
4
5
|
export interface AttachAgentWalletsResponseDataMetaWalletAccess {
|
|
6
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
7
|
+
accessType?: Natural.AttachAgentWalletsResponseDataMetaWalletAccessAccessType;
|
|
5
8
|
/** Whether this is the agent's default wallet. */
|
|
6
9
|
isDefault: boolean;
|
|
7
10
|
/** RFC 3339 timestamp when the agent was attached to this wallet. */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
2
|
+
export declare const AttachAgentWalletsResponseDataMetaWalletAccessAccessType: {
|
|
3
|
+
readonly Owned: "owned";
|
|
4
|
+
readonly Connected: "connected";
|
|
5
|
+
};
|
|
6
|
+
export type AttachAgentWalletsResponseDataMetaWalletAccessAccessType = (typeof AttachAgentWalletsResponseDataMetaWalletAccessAccessType)[keyof typeof AttachAgentWalletsResponseDataMetaWalletAccessAccessType];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
3
|
+
export const AttachAgentWalletsResponseDataMetaWalletAccessAccessType = {
|
|
4
|
+
Owned: "owned",
|
|
5
|
+
Connected: "connected",
|
|
6
|
+
};
|
|
@@ -6,7 +6,7 @@ export interface CreateWalletsResponseDataAttributes {
|
|
|
6
6
|
walletType: Natural.CreateWalletsResponseDataAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
|
@@ -6,7 +6,7 @@ export interface FreezeWalletsResponseDataAttributes {
|
|
|
6
6
|
walletType: Natural.FreezeWalletsResponseDataAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.mts
CHANGED
|
@@ -2,20 +2,20 @@ import type * as Natural from "../../../index.mjs";
|
|
|
2
2
|
export interface ListAgentsWalletsResponseDataItemAttributes {
|
|
3
3
|
/** Agent display name. */
|
|
4
4
|
name: string;
|
|
5
|
-
/** Agent description. */
|
|
5
|
+
/** Agent description. Null for connected agents. */
|
|
6
6
|
description: string | null;
|
|
7
|
-
/**
|
|
7
|
+
/** Agent tags. Empty for connected agents. */
|
|
8
8
|
tags: Record<string, string>;
|
|
9
9
|
/** Agent handle, such as @acme-support, or null when none is set. */
|
|
10
10
|
handle: string | null;
|
|
11
11
|
/** Agent status: ACTIVE, or REVOKED after deletion. */
|
|
12
12
|
status: Natural.ListAgentsWalletsResponseDataItemAttributesStatus;
|
|
13
|
-
/**
|
|
13
|
+
/** Agent limits for an owned agent, or this customer's connection limits for a connected agent. */
|
|
14
14
|
limits: Natural.ListAgentsWalletsResponseDataItemAttributesLimits | null;
|
|
15
|
-
/**
|
|
15
|
+
/** When the agent was created. Null for connected agents. */
|
|
16
16
|
createdAt: Date | null;
|
|
17
|
-
/** User who created
|
|
17
|
+
/** User who created the agent. Null for connected agents. */
|
|
18
18
|
createdBy: string | null;
|
|
19
|
-
/**
|
|
19
|
+
/** When the agent last authenticated. Null for connected agents. */
|
|
20
20
|
lastActiveAt: Date | null;
|
|
21
21
|
}
|
package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* The agent's access to this wallet.
|
|
3
4
|
*/
|
|
4
5
|
export interface ListAgentsWalletsResponseDataItemMetaWalletAccess {
|
|
6
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
7
|
+
accessType?: Natural.ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType;
|
|
5
8
|
/** Whether this is the agent's default wallet. */
|
|
6
9
|
isDefault: boolean;
|
|
7
10
|
/** RFC 3339 timestamp when the agent was attached to this wallet. */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
2
|
+
export declare const ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType: {
|
|
3
|
+
readonly Owned: "owned";
|
|
4
|
+
readonly Connected: "connected";
|
|
5
|
+
};
|
|
6
|
+
export type ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType = (typeof ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType)[keyof typeof ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
3
|
+
export const ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType = {
|
|
4
|
+
Owned: "owned",
|
|
5
|
+
Connected: "connected",
|
|
6
|
+
};
|
|
@@ -2,20 +2,20 @@ import type * as Natural from "../../../index.mjs";
|
|
|
2
2
|
export interface SetAgentDefaultWalletWalletsResponseDataAttributes {
|
|
3
3
|
/** Agent display name. */
|
|
4
4
|
name: string;
|
|
5
|
-
/** Agent description. */
|
|
5
|
+
/** Agent description. Null for connected agents. */
|
|
6
6
|
description: string | null;
|
|
7
|
-
/**
|
|
7
|
+
/** Agent tags. Empty for connected agents. */
|
|
8
8
|
tags: Record<string, string>;
|
|
9
9
|
/** Agent handle, such as @acme-support, or null when none is set. */
|
|
10
10
|
handle: string | null;
|
|
11
11
|
/** Agent status: ACTIVE, or REVOKED after deletion. */
|
|
12
12
|
status: Natural.SetAgentDefaultWalletWalletsResponseDataAttributesStatus;
|
|
13
|
-
/**
|
|
13
|
+
/** Agent limits for an owned agent, or this customer's connection limits for a connected agent. */
|
|
14
14
|
limits: Natural.SetAgentDefaultWalletWalletsResponseDataAttributesLimits | null;
|
|
15
|
-
/**
|
|
15
|
+
/** When the agent was created. Null for connected agents. */
|
|
16
16
|
createdAt: Date | null;
|
|
17
|
-
/** User who created
|
|
17
|
+
/** User who created the agent. Null for connected agents. */
|
|
18
18
|
createdBy: string | null;
|
|
19
|
-
/**
|
|
19
|
+
/** When the agent last authenticated. Null for connected agents. */
|
|
20
20
|
lastActiveAt: Date | null;
|
|
21
21
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* The agent's access to this wallet.
|
|
3
4
|
*/
|
|
4
5
|
export interface SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess {
|
|
6
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
7
|
+
accessType?: Natural.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType;
|
|
5
8
|
/** Whether this is the agent's default wallet. */
|
|
6
9
|
isDefault: boolean;
|
|
7
10
|
/** RFC 3339 timestamp when the agent was attached to this wallet. */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
2
|
+
export declare const SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType: {
|
|
3
|
+
readonly Owned: "owned";
|
|
4
|
+
readonly Connected: "connected";
|
|
5
|
+
};
|
|
6
|
+
export type SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType = (typeof SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType)[keyof typeof SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Whether the wallet owner owns the agent or has an active customer connection to it. */
|
|
3
|
+
export const SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType = {
|
|
4
|
+
Owned: "owned",
|
|
5
|
+
Connected: "connected",
|
|
6
|
+
};
|
|
@@ -6,7 +6,7 @@ export interface SetDefaultWalletsResponseDataAttributes {
|
|
|
6
6
|
walletType: Natural.SetDefaultWalletsResponseDataAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
|
@@ -6,7 +6,7 @@ export interface UnfreezeWalletsResponseDataAttributes {
|
|
|
6
6
|
walletType: Natural.UnfreezeWalletsResponseDataAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
|
@@ -6,7 +6,7 @@ export interface UpdateWalletsResponseDataAttributes {
|
|
|
6
6
|
walletType: Natural.UpdateWalletsResponseDataAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
|
@@ -6,7 +6,7 @@ export interface WalletAttrs {
|
|
|
6
6
|
walletType: Natural.ListWalletsResponseDataItemAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
|
@@ -6,7 +6,7 @@ export interface WalletDetailAttrs {
|
|
|
6
6
|
walletType: Natural.GetWalletsResponseDataAttributesWalletType;
|
|
7
7
|
/** Whether this wallet is the owning party's default. Agent calls resolve their default from wallet grants. */
|
|
8
8
|
isDefault: boolean;
|
|
9
|
-
/** Present for agent wallet list and detail reads. Whether
|
|
9
|
+
/** Present for agent wallet list and detail reads. Whether this wallet is the agent's default in the current context. For a connected customer, this is the default for that customer connection, independently of the party's isDefault. */
|
|
10
10
|
agentDefault?: boolean;
|
|
11
11
|
/** RFC 3339 timestamp when the wallet was created, or null when unknown. */
|
|
12
12
|
createdAt: Date | null;
|
|
@@ -5,6 +5,7 @@ export * from "./AttachAgentWalletsResponseDataAttributesLimits.mjs";
|
|
|
5
5
|
export * from "./AttachAgentWalletsResponseDataAttributesStatus.mjs";
|
|
6
6
|
export * from "./AttachAgentWalletsResponseDataMeta.mjs";
|
|
7
7
|
export * from "./AttachAgentWalletsResponseDataMetaWalletAccess.mjs";
|
|
8
|
+
export * from "./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs";
|
|
8
9
|
export * from "./AttachAgentWalletsResponseDataRelationships.mjs";
|
|
9
10
|
export * from "./AttachAgentWalletsResponseDataRelationshipsParty.mjs";
|
|
10
11
|
export * from "./AttachAgentWalletsResponseDataRelationshipsPartyData.mjs";
|
|
@@ -53,6 +54,7 @@ export * from "./ListAgentsWalletsResponseDataItemAttributesLimits.mjs";
|
|
|
53
54
|
export * from "./ListAgentsWalletsResponseDataItemAttributesStatus.mjs";
|
|
54
55
|
export * from "./ListAgentsWalletsResponseDataItemMeta.mjs";
|
|
55
56
|
export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccess.mjs";
|
|
57
|
+
export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs";
|
|
56
58
|
export * from "./ListAgentsWalletsResponseDataItemRelationships.mjs";
|
|
57
59
|
export * from "./ListAgentsWalletsResponseDataItemRelationshipsParty.mjs";
|
|
58
60
|
export * from "./ListAgentsWalletsResponseDataItemRelationshipsPartyData.mjs";
|
|
@@ -72,6 +74,7 @@ export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesLimits.mjs";
|
|
|
72
74
|
export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesStatus.mjs";
|
|
73
75
|
export * from "./SetAgentDefaultWalletWalletsResponseDataMeta.mjs";
|
|
74
76
|
export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.mjs";
|
|
77
|
+
export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs";
|
|
75
78
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationships.mjs";
|
|
76
79
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsParty.mjs";
|
|
77
80
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsPartyData.mjs";
|
|
@@ -5,6 +5,7 @@ export * from "./AttachAgentWalletsResponseDataAttributesLimits.mjs";
|
|
|
5
5
|
export * from "./AttachAgentWalletsResponseDataAttributesStatus.mjs";
|
|
6
6
|
export * from "./AttachAgentWalletsResponseDataMeta.mjs";
|
|
7
7
|
export * from "./AttachAgentWalletsResponseDataMetaWalletAccess.mjs";
|
|
8
|
+
export * from "./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs";
|
|
8
9
|
export * from "./AttachAgentWalletsResponseDataRelationships.mjs";
|
|
9
10
|
export * from "./AttachAgentWalletsResponseDataRelationshipsParty.mjs";
|
|
10
11
|
export * from "./AttachAgentWalletsResponseDataRelationshipsPartyData.mjs";
|
|
@@ -53,6 +54,7 @@ export * from "./ListAgentsWalletsResponseDataItemAttributesLimits.mjs";
|
|
|
53
54
|
export * from "./ListAgentsWalletsResponseDataItemAttributesStatus.mjs";
|
|
54
55
|
export * from "./ListAgentsWalletsResponseDataItemMeta.mjs";
|
|
55
56
|
export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccess.mjs";
|
|
57
|
+
export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs";
|
|
56
58
|
export * from "./ListAgentsWalletsResponseDataItemRelationships.mjs";
|
|
57
59
|
export * from "./ListAgentsWalletsResponseDataItemRelationshipsParty.mjs";
|
|
58
60
|
export * from "./ListAgentsWalletsResponseDataItemRelationshipsPartyData.mjs";
|
|
@@ -72,6 +74,7 @@ export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesLimits.mjs";
|
|
|
72
74
|
export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesStatus.mjs";
|
|
73
75
|
export * from "./SetAgentDefaultWalletWalletsResponseDataMeta.mjs";
|
|
74
76
|
export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.mjs";
|
|
77
|
+
export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs";
|
|
75
78
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationships.mjs";
|
|
76
79
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsParty.mjs";
|
|
77
80
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsPartyData.mjs";
|
|
@@ -19,7 +19,7 @@ export interface CreateWireRequest {
|
|
|
19
19
|
amount: number;
|
|
20
20
|
/** Currency code. Defaults to USD. */
|
|
21
21
|
currency?: Natural.CreateWireRequestCurrency;
|
|
22
|
-
/** Wallet (wal_*) to pay from.
|
|
22
|
+
/** Wallet (wal_*) to pay from. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
|
|
23
23
|
walletId?: string;
|
|
24
24
|
/** External party account (epa_*) to pay. */
|
|
25
25
|
externalPartyAccountId: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { AcceptChargebacksResponseDataAttributesFee } from "./AcceptChargebacksResponseDataAttributesFee.mjs";
|
|
4
5
|
import { AcceptChargebacksResponseDataAttributesNetwork } from "./AcceptChargebacksResponseDataAttributesNetwork.mjs";
|
|
5
6
|
import { AcceptChargebacksResponseDataAttributesReason } from "./AcceptChargebacksResponseDataAttributesReason.mjs";
|
|
6
7
|
import { AcceptChargebacksResponseDataAttributesStatus } from "./AcceptChargebacksResponseDataAttributesStatus.mjs";
|
|
@@ -9,6 +10,7 @@ export declare namespace AcceptChargebacksResponseDataAttributes {
|
|
|
9
10
|
interface Raw {
|
|
10
11
|
amount: number;
|
|
11
12
|
currency: string;
|
|
13
|
+
fee?: AcceptChargebacksResponseDataAttributesFee.Raw | null;
|
|
12
14
|
status: AcceptChargebacksResponseDataAttributesStatus.Raw;
|
|
13
15
|
network: AcceptChargebacksResponseDataAttributesNetwork.Raw;
|
|
14
16
|
reason: AcceptChargebacksResponseDataAttributesReason.Raw;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { AcceptChargebacksResponseDataAttributesFee } from "./AcceptChargebacksResponseDataAttributesFee.mjs";
|
|
3
4
|
import { AcceptChargebacksResponseDataAttributesNetwork } from "./AcceptChargebacksResponseDataAttributesNetwork.mjs";
|
|
4
5
|
import { AcceptChargebacksResponseDataAttributesReason } from "./AcceptChargebacksResponseDataAttributesReason.mjs";
|
|
5
6
|
import { AcceptChargebacksResponseDataAttributesStatus } from "./AcceptChargebacksResponseDataAttributesStatus.mjs";
|
|
6
7
|
export const AcceptChargebacksResponseDataAttributes = core.serialization.object({
|
|
7
8
|
amount: core.serialization.number(),
|
|
8
9
|
currency: core.serialization.string(),
|
|
10
|
+
fee: AcceptChargebacksResponseDataAttributesFee.nullable(),
|
|
9
11
|
status: AcceptChargebacksResponseDataAttributesStatus,
|
|
10
12
|
network: AcceptChargebacksResponseDataAttributesNetwork,
|
|
11
13
|
reason: AcceptChargebacksResponseDataAttributesReason,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { AcceptChargebacksResponseDataAttributesFeeCurrency } from "./AcceptChargebacksResponseDataAttributesFeeCurrency.mjs";
|
|
5
|
+
export declare const AcceptChargebacksResponseDataAttributesFee: core.serialization.ObjectSchema<serializers.AcceptChargebacksResponseDataAttributesFee.Raw, Natural.AcceptChargebacksResponseDataAttributesFee>;
|
|
6
|
+
export declare namespace AcceptChargebacksResponseDataAttributesFee {
|
|
7
|
+
interface Raw {
|
|
8
|
+
amount: number;
|
|
9
|
+
currency: AcceptChargebacksResponseDataAttributesFeeCurrency.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { AcceptChargebacksResponseDataAttributesFeeCurrency } from "./AcceptChargebacksResponseDataAttributesFeeCurrency.mjs";
|
|
4
|
+
export const AcceptChargebacksResponseDataAttributesFee = core.serialization.object({
|
|
5
|
+
amount: core.serialization.number(),
|
|
6
|
+
currency: AcceptChargebacksResponseDataAttributesFeeCurrency,
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const AcceptChargebacksResponseDataAttributesFeeCurrency: core.serialization.Schema<serializers.AcceptChargebacksResponseDataAttributesFeeCurrency.Raw, Natural.AcceptChargebacksResponseDataAttributesFeeCurrency>;
|
|
5
|
+
export declare namespace AcceptChargebacksResponseDataAttributesFeeCurrency {
|
|
6
|
+
type Raw = "USD";
|
|
7
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { GetChargebacksResponseDataAttributesFee } from "./GetChargebacksResponseDataAttributesFee.mjs";
|
|
4
5
|
import { GetChargebacksResponseDataAttributesNetwork } from "./GetChargebacksResponseDataAttributesNetwork.mjs";
|
|
5
6
|
import { GetChargebacksResponseDataAttributesReason } from "./GetChargebacksResponseDataAttributesReason.mjs";
|
|
6
7
|
import { GetChargebacksResponseDataAttributesStatus } from "./GetChargebacksResponseDataAttributesStatus.mjs";
|
|
@@ -9,6 +10,7 @@ export declare namespace GetChargebacksResponseDataAttributes {
|
|
|
9
10
|
interface Raw {
|
|
10
11
|
amount: number;
|
|
11
12
|
currency: string;
|
|
13
|
+
fee?: GetChargebacksResponseDataAttributesFee.Raw | null;
|
|
12
14
|
status: GetChargebacksResponseDataAttributesStatus.Raw;
|
|
13
15
|
network: GetChargebacksResponseDataAttributesNetwork.Raw;
|
|
14
16
|
reason: GetChargebacksResponseDataAttributesReason.Raw;
|