@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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListTransactionsResponseDataItemRelationshipsChargebackDataType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ListTransactionsResponseDataItemRelationshipsChargebackDataType = core.serialization.enum_(["chargeback"]);
|
|
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { GetTransactionsResponseDataRelationshipsCardPayment } from "./GetTransactionsResponseDataRelationshipsCardPayment.js";
|
|
5
|
+
import { GetTransactionsResponseDataRelationshipsChargeback } from "./GetTransactionsResponseDataRelationshipsChargeback.js";
|
|
5
6
|
import { GetTransactionsResponseDataRelationshipsRefund } from "./GetTransactionsResponseDataRelationshipsRefund.js";
|
|
6
7
|
import { GetTransactionsResponseDataRelationshipsWallet } from "./GetTransactionsResponseDataRelationshipsWallet.js";
|
|
7
8
|
import { TxnDetailDestRel } from "./TxnDetailDestRel.js";
|
|
@@ -16,6 +17,7 @@ export declare namespace TxnDetailRels {
|
|
|
16
17
|
payment?: TxnDetailPaymentRel.Raw | null;
|
|
17
18
|
cardPayment?: GetTransactionsResponseDataRelationshipsCardPayment.Raw | null;
|
|
18
19
|
refund?: GetTransactionsResponseDataRelationshipsRefund.Raw | null;
|
|
20
|
+
chargeback?: GetTransactionsResponseDataRelationshipsChargeback.Raw | null;
|
|
19
21
|
transfer?: TxnDetailTransferRel.Raw | null;
|
|
20
22
|
wallet?: GetTransactionsResponseDataRelationshipsWallet.Raw | null;
|
|
21
23
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TxnDetailRels = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const GetTransactionsResponseDataRelationshipsCardPayment_js_1 = require("./GetTransactionsResponseDataRelationshipsCardPayment.js");
|
|
40
|
+
const GetTransactionsResponseDataRelationshipsChargeback_js_1 = require("./GetTransactionsResponseDataRelationshipsChargeback.js");
|
|
40
41
|
const GetTransactionsResponseDataRelationshipsRefund_js_1 = require("./GetTransactionsResponseDataRelationshipsRefund.js");
|
|
41
42
|
const GetTransactionsResponseDataRelationshipsWallet_js_1 = require("./GetTransactionsResponseDataRelationshipsWallet.js");
|
|
42
43
|
const TxnDetailDestRel_js_1 = require("./TxnDetailDestRel.js");
|
|
@@ -49,6 +50,7 @@ exports.TxnDetailRels = core.serialization.object({
|
|
|
49
50
|
payment: TxnDetailPaymentRel_js_1.TxnDetailPaymentRel.optional(),
|
|
50
51
|
cardPayment: GetTransactionsResponseDataRelationshipsCardPayment_js_1.GetTransactionsResponseDataRelationshipsCardPayment.optional(),
|
|
51
52
|
refund: GetTransactionsResponseDataRelationshipsRefund_js_1.GetTransactionsResponseDataRelationshipsRefund.optional(),
|
|
53
|
+
chargeback: GetTransactionsResponseDataRelationshipsChargeback_js_1.GetTransactionsResponseDataRelationshipsChargeback.optional(),
|
|
52
54
|
transfer: TxnDetailTransferRel_js_1.TxnDetailTransferRel.optional(),
|
|
53
55
|
wallet: GetTransactionsResponseDataRelationshipsWallet_js_1.GetTransactionsResponseDataRelationshipsWallet.optional(),
|
|
54
56
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const TxnDetailTransactionType: core.serialization.Schema<serializers.TxnDetailTransactionType.Raw, Natural.TxnDetailTransactionType>;
|
|
5
5
|
export declare namespace TxnDetailTransactionType {
|
|
6
|
-
type Raw = "payment" | "transfer" | "refund";
|
|
6
|
+
type Raw = "payment" | "transfer" | "refund" | "chargeback";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TxnDetailTransactionType = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.TxnDetailTransactionType = core.serialization.enum_(["payment", "transfer", "refund"]);
|
|
39
|
+
exports.TxnDetailTransactionType = core.serialization.enum_(["payment", "transfer", "refund", "chargeback"]);
|
|
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { ListTransactionsResponseDataItemRelationshipsCardPayment } from "./ListTransactionsResponseDataItemRelationshipsCardPayment.js";
|
|
5
|
+
import { ListTransactionsResponseDataItemRelationshipsChargeback } from "./ListTransactionsResponseDataItemRelationshipsChargeback.js";
|
|
5
6
|
import { ListTransactionsResponseDataItemRelationshipsRefund } from "./ListTransactionsResponseDataItemRelationshipsRefund.js";
|
|
6
7
|
import { ListTransactionsResponseDataItemRelationshipsWallet } from "./ListTransactionsResponseDataItemRelationshipsWallet.js";
|
|
7
8
|
import { TxnDestRel } from "./TxnDestRel.js";
|
|
@@ -16,6 +17,7 @@ export declare namespace TxnRels {
|
|
|
16
17
|
payment?: TxnPaymentRel.Raw | null;
|
|
17
18
|
cardPayment?: ListTransactionsResponseDataItemRelationshipsCardPayment.Raw | null;
|
|
18
19
|
refund?: ListTransactionsResponseDataItemRelationshipsRefund.Raw | null;
|
|
20
|
+
chargeback?: ListTransactionsResponseDataItemRelationshipsChargeback.Raw | null;
|
|
19
21
|
transfer?: TxnTransferRel.Raw | null;
|
|
20
22
|
wallet?: ListTransactionsResponseDataItemRelationshipsWallet.Raw | null;
|
|
21
23
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TxnRels = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const ListTransactionsResponseDataItemRelationshipsCardPayment_js_1 = require("./ListTransactionsResponseDataItemRelationshipsCardPayment.js");
|
|
40
|
+
const ListTransactionsResponseDataItemRelationshipsChargeback_js_1 = require("./ListTransactionsResponseDataItemRelationshipsChargeback.js");
|
|
40
41
|
const ListTransactionsResponseDataItemRelationshipsRefund_js_1 = require("./ListTransactionsResponseDataItemRelationshipsRefund.js");
|
|
41
42
|
const ListTransactionsResponseDataItemRelationshipsWallet_js_1 = require("./ListTransactionsResponseDataItemRelationshipsWallet.js");
|
|
42
43
|
const TxnDestRel_js_1 = require("./TxnDestRel.js");
|
|
@@ -49,6 +50,7 @@ exports.TxnRels = core.serialization.object({
|
|
|
49
50
|
payment: TxnPaymentRel_js_1.TxnPaymentRel.optional(),
|
|
50
51
|
cardPayment: ListTransactionsResponseDataItemRelationshipsCardPayment_js_1.ListTransactionsResponseDataItemRelationshipsCardPayment.optional(),
|
|
51
52
|
refund: ListTransactionsResponseDataItemRelationshipsRefund_js_1.ListTransactionsResponseDataItemRelationshipsRefund.optional(),
|
|
53
|
+
chargeback: ListTransactionsResponseDataItemRelationshipsChargeback_js_1.ListTransactionsResponseDataItemRelationshipsChargeback.optional(),
|
|
52
54
|
transfer: TxnTransferRel_js_1.TxnTransferRel.optional(),
|
|
53
55
|
wallet: ListTransactionsResponseDataItemRelationshipsWallet_js_1.ListTransactionsResponseDataItemRelationshipsWallet.optional(),
|
|
54
56
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const TxnTransactionType: core.serialization.Schema<serializers.TxnTransactionType.Raw, Natural.TxnTransactionType>;
|
|
5
5
|
export declare namespace TxnTransactionType {
|
|
6
|
-
type Raw = "payment" | "transfer" | "refund";
|
|
6
|
+
type Raw = "payment" | "transfer" | "refund" | "chargeback";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TxnTransactionType = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.TxnTransactionType = core.serialization.enum_(["payment", "transfer", "refund"]);
|
|
39
|
+
exports.TxnTransactionType = core.serialization.enum_(["payment", "transfer", "refund", "chargeback"]);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./GetTransactionsResponseDataRelationshipsCardPayment.js";
|
|
2
2
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.js";
|
|
3
3
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js";
|
|
4
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargeback.js";
|
|
5
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargebackData.js";
|
|
6
|
+
export * from "./GetTransactionsResponseDataRelationshipsChargebackDataType.js";
|
|
4
7
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.js";
|
|
5
8
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js";
|
|
6
9
|
export * from "./GetTransactionsResponseDataRelationshipsRefund.js";
|
|
@@ -16,6 +19,9 @@ export * from "./ListTransactionsResponseDataItem.js";
|
|
|
16
19
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPayment.js";
|
|
17
20
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js";
|
|
18
21
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js";
|
|
22
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargeback.js";
|
|
23
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargebackData.js";
|
|
24
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsChargebackDataType.js";
|
|
19
25
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js";
|
|
20
26
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js";
|
|
21
27
|
export * from "./ListTransactionsResponseDataItemRelationshipsRefund.js";
|
|
@@ -17,6 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPayment.js"), exports);
|
|
18
18
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentData.js"), exports);
|
|
19
19
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js"), exports);
|
|
20
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsChargeback.js"), exports);
|
|
21
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsChargebackData.js"), exports);
|
|
22
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsChargebackDataType.js"), exports);
|
|
20
23
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyData.js"), exports);
|
|
21
24
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js"), exports);
|
|
22
25
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsRefund.js"), exports);
|
|
@@ -32,6 +35,9 @@ __exportStar(require("./ListTransactionsResponseDataItem.js"), exports);
|
|
|
32
35
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPayment.js"), exports);
|
|
33
36
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js"), exports);
|
|
34
37
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js"), exports);
|
|
38
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsChargeback.js"), exports);
|
|
39
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsChargebackData.js"), exports);
|
|
40
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsChargebackDataType.js"), exports);
|
|
35
41
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js"), exports);
|
|
36
42
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js"), exports);
|
|
37
43
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsRefund.js"), exports);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { AttachAgentWalletsResponseDataMetaWalletAccessAccessType } from "./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js";
|
|
4
5
|
export declare const AttachAgentWalletsResponseDataMetaWalletAccess: core.serialization.ObjectSchema<serializers.AttachAgentWalletsResponseDataMetaWalletAccess.Raw, Natural.AttachAgentWalletsResponseDataMetaWalletAccess>;
|
|
5
6
|
export declare namespace AttachAgentWalletsResponseDataMetaWalletAccess {
|
|
6
7
|
interface Raw {
|
|
8
|
+
accessType?: AttachAgentWalletsResponseDataMetaWalletAccessAccessType.Raw | null;
|
|
7
9
|
isDefault: boolean;
|
|
8
10
|
attachedAt: string;
|
|
9
11
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AttachAgentWalletsResponseDataMetaWalletAccess = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const AttachAgentWalletsResponseDataMetaWalletAccessAccessType_js_1 = require("./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js");
|
|
39
40
|
exports.AttachAgentWalletsResponseDataMetaWalletAccess = core.serialization.object({
|
|
41
|
+
accessType: AttachAgentWalletsResponseDataMetaWalletAccessAccessType_js_1.AttachAgentWalletsResponseDataMetaWalletAccessAccessType.optional(),
|
|
40
42
|
isDefault: core.serialization.boolean(),
|
|
41
43
|
attachedAt: core.serialization.date(),
|
|
42
44
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const AttachAgentWalletsResponseDataMetaWalletAccessAccessType: core.serialization.Schema<serializers.AttachAgentWalletsResponseDataMetaWalletAccessAccessType.Raw, Natural.AttachAgentWalletsResponseDataMetaWalletAccessAccessType>;
|
|
5
|
+
export declare namespace AttachAgentWalletsResponseDataMetaWalletAccessAccessType {
|
|
6
|
+
type Raw = "owned" | "connected";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AttachAgentWalletsResponseDataMetaWalletAccessAccessType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.AttachAgentWalletsResponseDataMetaWalletAccessAccessType = core.serialization.enum_(["owned", "connected"]);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType } from "./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js";
|
|
4
5
|
export declare const ListAgentsWalletsResponseDataItemMetaWalletAccess: core.serialization.ObjectSchema<serializers.ListAgentsWalletsResponseDataItemMetaWalletAccess.Raw, Natural.ListAgentsWalletsResponseDataItemMetaWalletAccess>;
|
|
5
6
|
export declare namespace ListAgentsWalletsResponseDataItemMetaWalletAccess {
|
|
6
7
|
interface Raw {
|
|
8
|
+
accessType?: ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.Raw | null;
|
|
7
9
|
isDefault: boolean;
|
|
8
10
|
attachedAt: string;
|
|
9
11
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ListAgentsWalletsResponseDataItemMetaWalletAccess = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType_js_1 = require("./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js");
|
|
39
40
|
exports.ListAgentsWalletsResponseDataItemMetaWalletAccess = core.serialization.object({
|
|
41
|
+
accessType: ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType_js_1.ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.optional(),
|
|
40
42
|
isDefault: core.serialization.boolean(),
|
|
41
43
|
attachedAt: core.serialization.date(),
|
|
42
44
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType: core.serialization.Schema<serializers.ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.Raw, Natural.ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType>;
|
|
5
|
+
export declare namespace ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType {
|
|
6
|
+
type Raw = "owned" | "connected";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType = core.serialization.enum_(["owned", "connected"]);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType } from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js";
|
|
4
5
|
export declare const SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess: core.serialization.ObjectSchema<serializers.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.Raw, Natural.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess>;
|
|
5
6
|
export declare namespace SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess {
|
|
6
7
|
interface Raw {
|
|
8
|
+
accessType?: SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.Raw | null;
|
|
7
9
|
isDefault: boolean;
|
|
8
10
|
attachedAt: string;
|
|
9
11
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType_js_1 = require("./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js");
|
|
39
40
|
exports.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess = core.serialization.object({
|
|
41
|
+
accessType: SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType_js_1.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.optional(),
|
|
40
42
|
isDefault: core.serialization.boolean(),
|
|
41
43
|
attachedAt: core.serialization.date(),
|
|
42
44
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType: core.serialization.Schema<serializers.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.Raw, Natural.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType>;
|
|
5
|
+
export declare namespace SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType {
|
|
6
|
+
type Raw = "owned" | "connected";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType = core.serialization.enum_(["owned", "connected"]);
|
|
@@ -5,6 +5,7 @@ export * from "./AttachAgentWalletsResponseDataAttributesLimits.js";
|
|
|
5
5
|
export * from "./AttachAgentWalletsResponseDataAttributesStatus.js";
|
|
6
6
|
export * from "./AttachAgentWalletsResponseDataMeta.js";
|
|
7
7
|
export * from "./AttachAgentWalletsResponseDataMetaWalletAccess.js";
|
|
8
|
+
export * from "./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js";
|
|
8
9
|
export * from "./AttachAgentWalletsResponseDataRelationships.js";
|
|
9
10
|
export * from "./AttachAgentWalletsResponseDataRelationshipsParty.js";
|
|
10
11
|
export * from "./AttachAgentWalletsResponseDataRelationshipsPartyData.js";
|
|
@@ -53,6 +54,7 @@ export * from "./ListAgentsWalletsResponseDataItemAttributesLimits.js";
|
|
|
53
54
|
export * from "./ListAgentsWalletsResponseDataItemAttributesStatus.js";
|
|
54
55
|
export * from "./ListAgentsWalletsResponseDataItemMeta.js";
|
|
55
56
|
export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccess.js";
|
|
57
|
+
export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js";
|
|
56
58
|
export * from "./ListAgentsWalletsResponseDataItemRelationships.js";
|
|
57
59
|
export * from "./ListAgentsWalletsResponseDataItemRelationshipsParty.js";
|
|
58
60
|
export * from "./ListAgentsWalletsResponseDataItemRelationshipsPartyData.js";
|
|
@@ -72,6 +74,7 @@ export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesLimits.js";
|
|
|
72
74
|
export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesStatus.js";
|
|
73
75
|
export * from "./SetAgentDefaultWalletWalletsResponseDataMeta.js";
|
|
74
76
|
export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js";
|
|
77
|
+
export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js";
|
|
75
78
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationships.js";
|
|
76
79
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsParty.js";
|
|
77
80
|
export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsPartyData.js";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./AttachAgentWalletsResponseDataAttributesLimits.js"), exp
|
|
|
21
21
|
__exportStar(require("./AttachAgentWalletsResponseDataAttributesStatus.js"), exports);
|
|
22
22
|
__exportStar(require("./AttachAgentWalletsResponseDataMeta.js"), exports);
|
|
23
23
|
__exportStar(require("./AttachAgentWalletsResponseDataMetaWalletAccess.js"), exports);
|
|
24
|
+
__exportStar(require("./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js"), exports);
|
|
24
25
|
__exportStar(require("./AttachAgentWalletsResponseDataRelationships.js"), exports);
|
|
25
26
|
__exportStar(require("./AttachAgentWalletsResponseDataRelationshipsParty.js"), exports);
|
|
26
27
|
__exportStar(require("./AttachAgentWalletsResponseDataRelationshipsPartyData.js"), exports);
|
|
@@ -69,6 +70,7 @@ __exportStar(require("./ListAgentsWalletsResponseDataItemAttributesLimits.js"),
|
|
|
69
70
|
__exportStar(require("./ListAgentsWalletsResponseDataItemAttributesStatus.js"), exports);
|
|
70
71
|
__exportStar(require("./ListAgentsWalletsResponseDataItemMeta.js"), exports);
|
|
71
72
|
__exportStar(require("./ListAgentsWalletsResponseDataItemMetaWalletAccess.js"), exports);
|
|
73
|
+
__exportStar(require("./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js"), exports);
|
|
72
74
|
__exportStar(require("./ListAgentsWalletsResponseDataItemRelationships.js"), exports);
|
|
73
75
|
__exportStar(require("./ListAgentsWalletsResponseDataItemRelationshipsParty.js"), exports);
|
|
74
76
|
__exportStar(require("./ListAgentsWalletsResponseDataItemRelationshipsPartyData.js"), exports);
|
|
@@ -88,6 +90,7 @@ __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataAttributesLimits
|
|
|
88
90
|
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataAttributesStatus.js"), exports);
|
|
89
91
|
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataMeta.js"), exports);
|
|
90
92
|
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js"), exports);
|
|
93
|
+
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js"), exports);
|
|
91
94
|
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataRelationships.js"), exports);
|
|
92
95
|
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataRelationshipsParty.js"), exports);
|
|
93
96
|
__exportStar(require("./SetAgentDefaultWalletWalletsResponseDataRelationshipsPartyData.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.23";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.6.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
9
|
+
"X-Fern-SDK-Version": "1.6.23",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.23",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -23,7 +23,7 @@ export interface NewAchParams {
|
|
|
23
23
|
amount: number;
|
|
24
24
|
/** Currency code. Defaults to USD. */
|
|
25
25
|
currency?: Natural.NewAchParamsCurrency;
|
|
26
|
-
/** Wallet (wal_*)
|
|
26
|
+
/** Wallet (wal_*) that funds an ACH credit or receives an ACH debit. 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
|
/** External party account (epa_*) to pay. */
|
|
29
29
|
externalPartyAccountId: string;
|
package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts
CHANGED
|
@@ -4,7 +4,9 @@ export interface AcceptChargebacksResponseDataAttributes {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
/** Reported ISO 4217 currency of the disputed amount. */
|
|
6
6
|
currency: string;
|
|
7
|
-
/**
|
|
7
|
+
/** Natural's fee for this case, billed once when the case opens. It can be billed before the disputed amount is withheld and isn't refunded if you win. Null when no fee applies or the fee was voided. */
|
|
8
|
+
fee: Natural.AcceptChargebacksResponseDataAttributesFee | null;
|
|
9
|
+
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
|
|
8
10
|
status: Natural.AcceptChargebacksResponseDataAttributesStatus;
|
|
9
11
|
/** Card network that reported the case. */
|
|
10
12
|
network: Natural.AcceptChargebacksResponseDataAttributesNetwork;
|
package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
export interface AcceptChargebacksResponseDataAttributesFee {
|
|
3
|
+
/** Fee amount in cents. */
|
|
4
|
+
amount: number;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
currency: Natural.AcceptChargebacksResponseDataAttributesFeeCurrency;
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Currency of the fee. */
|
|
2
|
+
export declare const AcceptChargebacksResponseDataAttributesFeeCurrency: {
|
|
3
|
+
readonly Usd: "USD";
|
|
4
|
+
};
|
|
5
|
+
export type AcceptChargebacksResponseDataAttributesFeeCurrency = (typeof AcceptChargebacksResponseDataAttributesFeeCurrency)[keyof typeof AcceptChargebacksResponseDataAttributesFeeCurrency];
|
package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
|
|
1
|
+
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
|
|
2
2
|
export declare const AcceptChargebacksResponseDataAttributesStatus: {
|
|
3
3
|
readonly NeedsResponse: "needsResponse";
|
|
4
4
|
readonly Expired: "expired";
|
package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
|
|
2
|
+
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
|
|
3
3
|
export const AcceptChargebacksResponseDataAttributesStatus = {
|
|
4
4
|
NeedsResponse: "needsResponse",
|
|
5
5
|
Expired: "expired",
|
|
@@ -4,7 +4,9 @@ export interface GetChargebacksResponseDataAttributes {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
/** Reported ISO 4217 currency of the disputed amount. */
|
|
6
6
|
currency: string;
|
|
7
|
-
/**
|
|
7
|
+
/** Natural's fee for this case, billed once when the case opens. It can be billed before the disputed amount is withheld and isn't refunded if you win. Null when no fee applies or the fee was voided. */
|
|
8
|
+
fee: Natural.GetChargebacksResponseDataAttributesFee | null;
|
|
9
|
+
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
|
|
8
10
|
status: Natural.GetChargebacksResponseDataAttributesStatus;
|
|
9
11
|
/** Card network that reported the case. */
|
|
10
12
|
network: Natural.GetChargebacksResponseDataAttributesNetwork;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Currency of the fee. */
|
|
2
|
+
export declare const GetChargebacksResponseDataAttributesFeeCurrency: {
|
|
3
|
+
readonly Usd: "USD";
|
|
4
|
+
};
|
|
5
|
+
export type GetChargebacksResponseDataAttributesFeeCurrency = (typeof GetChargebacksResponseDataAttributesFeeCurrency)[keyof typeof GetChargebacksResponseDataAttributesFeeCurrency];
|
package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
|
|
1
|
+
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
|
|
2
2
|
export declare const GetChargebacksResponseDataAttributesStatus: {
|
|
3
3
|
readonly NeedsResponse: "needsResponse";
|
|
4
4
|
readonly Expired: "expired";
|
package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
|
|
2
|
+
/** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
|
|
3
3
|
export const GetChargebacksResponseDataAttributesStatus = {
|
|
4
4
|
NeedsResponse: "needsResponse",
|
|
5
5
|
Expired: "expired",
|