@naturalpay/sdk 1.6.23 → 1.6.24
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/Client.d.ts +15 -0
- package/dist/cjs/Client.js +61 -36
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/approvals/types/ApprovalAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/approvals/types/ApprovalDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/approvals/types/ApprovalDetailTarget.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/ApprovalTarget.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/ApproveResultAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/approvals/types/ApproveResultTarget.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/DenyResultAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/approvals/types/DenyResultTarget.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.js +3 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/index.d.ts +16 -0
- package/dist/cjs/api/resources/approvals/types/index.js +16 -0
- package/dist/cjs/api/resources/cardPayments/client/Client.d.ts +69 -0
- package/dist/cjs/api/resources/cardPayments/client/Client.js +289 -0
- package/dist/cjs/api/resources/cardPayments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/cardPayments/client/index.js +17 -0
- package/dist/cjs/api/resources/cardPayments/client/requests/GetCardPaymentsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/cardPayments/client/requests/GetCardPaymentsRequest.js +3 -0
- package/dist/cjs/api/resources/cardPayments/client/requests/ListCardPaymentsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/cardPayments/client/requests/ListCardPaymentsRequest.js +3 -0
- package/dist/cjs/api/resources/cardPayments/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/cardPayments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/cardPayments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/cardPayments/exports.js +21 -0
- package/dist/cjs/api/resources/cardPayments/index.d.ts +2 -0
- package/dist/cjs/api/resources/cardPayments/index.js +18 -0
- package/dist/cjs/api/resources/cardPayments/types/GetCardPaymentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/cardPayments/types/GetCardPaymentsResponse.js +3 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsRequestStatus.d.ts +7 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsRequestStatus.js +10 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsResponse.js +3 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.d.ts +6 -0
- package/dist/cjs/api/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.js +3 -0
- package/dist/cjs/api/resources/cardPayments/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/cardPayments/types/index.js +21 -0
- package/dist/cjs/api/resources/cardSessions/client/Client.d.ts +107 -0
- package/dist/cjs/api/resources/cardSessions/client/Client.js +361 -0
- package/dist/cjs/api/resources/cardSessions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/cardSessions/client/index.js +17 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/ClaimCardSessionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/ClaimCardSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +23 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/GetCardSessionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/GetCardSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/cardSessions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/cardSessions/exports.js +21 -0
- package/dist/cjs/api/resources/cardSessions/index.d.ts +2 -0
- package/dist/cjs/api/resources/cardSessions/index.js +18 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponse.d.ts +11 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.d.ts +9 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseCard.d.ts +10 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseCard.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseProxy.d.ts +11 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseProxy.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.d.ts +4 -0
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.js +7 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsRequestPurchase.d.ts +11 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsRequestPurchase.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +18 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.d.ts +6 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.js +9 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseStatus.d.ts +9 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseStatus.js +12 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponse.d.ts +16 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.d.ts +6 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.js +9 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseStatus.d.ts +9 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseStatus.js +12 -0
- package/dist/cjs/api/resources/cardSessions/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/cardSessions/types/index.js +28 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.js +1 -0
- package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.js +1 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +1 -0
- package/dist/cjs/api/resources/externalAccounts/client/Client.d.ts +25 -0
- package/dist/cjs/api/resources/externalAccounts/client/Client.js +114 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/ListCardsExternalAccountsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/ListCardsExternalAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.d.ts +1 -0
- package/dist/cjs/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.js +1 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.d.ts +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +11 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.d.ts +10 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.js +13 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.d.ts +11 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.js +14 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.d.ts +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.d.ts +9 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.d.ts +4 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.js +7 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.d.ts +6 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/externalAccounts/types/index.js +12 -0
- package/dist/cjs/api/resources/index.d.ts +15 -0
- package/dist/cjs/api/resources/index.js +16 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/index.js +4 -0
- package/dist/cjs/api/resources/parties/types/ListMembersPartiesResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/paymentIntents/client/Client.d.ts +181 -0
- package/dist/cjs/api/resources/paymentIntents/client/Client.js +640 -0
- package/dist/cjs/api/resources/paymentIntents/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentIntents/client/index.js +17 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.d.ts +39 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/GetPaymentIntentsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/GetPaymentIntentsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/ListPaymentIntentsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/ListPaymentIntentsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.d.ts +41 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/paymentIntents/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/paymentIntents/exports.d.ts +2 -0
- package/dist/cjs/api/resources/paymentIntents/exports.js +21 -0
- package/dist/cjs/api/resources/paymentIntents/index.d.ts +2 -0
- package/dist/cjs/api/resources/paymentIntents/index.js +18 -0
- package/dist/cjs/api/resources/paymentIntents/types/CancelPaymentIntentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/paymentIntents/types/CancelPaymentIntentsResponse.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.js +8 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.d.ts +14 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.d.ts +6 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.js +9 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/paymentIntents/types/CreatePaymentIntentsResponse.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/GetPaymentIntentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/paymentIntents/types/GetPaymentIntentsResponse.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.d.ts +10 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.js +13 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsResponse.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.d.ts +6 -0
- package/dist/cjs/api/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.d.ts +14 -0
- package/dist/cjs/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.d.ts +6 -0
- package/dist/cjs/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.js +9 -0
- package/dist/cjs/api/resources/paymentIntents/types/UpdatePaymentIntentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/paymentIntents/types/UpdatePaymentIntentsResponse.js +3 -0
- package/dist/cjs/api/resources/paymentIntents/types/index.d.ts +13 -0
- package/dist/cjs/api/resources/paymentIntents/types/index.js +29 -0
- package/dist/cjs/api/resources/refunds/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/refunds/client/Client.js +401 -0
- package/dist/cjs/api/resources/refunds/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/refunds/client/index.js +17 -0
- package/dist/cjs/api/resources/refunds/client/requests/CreateRefundsRequest.d.ts +24 -0
- package/dist/cjs/api/resources/refunds/client/requests/CreateRefundsRequest.js +3 -0
- package/dist/cjs/api/resources/refunds/client/requests/GetRefundsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/refunds/client/requests/GetRefundsRequest.js +3 -0
- package/dist/cjs/api/resources/refunds/client/requests/ListRefundsRequest.d.ts +11 -0
- package/dist/cjs/api/resources/refunds/client/requests/ListRefundsRequest.js +3 -0
- package/dist/cjs/api/resources/refunds/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/refunds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/refunds/exports.d.ts +2 -0
- package/dist/cjs/api/resources/refunds/exports.js +21 -0
- package/dist/cjs/api/resources/refunds/index.d.ts +2 -0
- package/dist/cjs/api/resources/refunds/index.js +18 -0
- package/dist/cjs/api/resources/refunds/types/CreateRefundsRequestReason.d.ts +7 -0
- package/dist/cjs/api/resources/refunds/types/CreateRefundsRequestReason.js +10 -0
- package/dist/cjs/api/resources/refunds/types/CreateRefundsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/refunds/types/CreateRefundsResponse.js +3 -0
- package/dist/cjs/api/resources/refunds/types/GetRefundsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/refunds/types/GetRefundsResponse.js +3 -0
- package/dist/cjs/api/resources/refunds/types/ListRefundsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/refunds/types/ListRefundsResponse.js +3 -0
- package/dist/cjs/api/resources/refunds/types/ListRefundsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/refunds/types/ListRefundsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/refunds/types/ListRefundsResponseMetaPagination.d.ts +6 -0
- package/dist/cjs/api/resources/refunds/types/ListRefundsResponseMetaPagination.js +3 -0
- package/dist/cjs/api/resources/refunds/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/refunds/types/index.js +22 -0
- package/dist/cjs/api/resources/simulations/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/simulations/client/Client.js +105 -0
- package/dist/cjs/api/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.js +3 -0
- package/dist/cjs/api/resources/simulations/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.js +1 -0
- package/dist/cjs/api/resources/simulations/types/SettleCardPaymentSimulationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/simulations/types/SettleCardPaymentSimulationsResponse.js +3 -0
- package/dist/cjs/api/resources/simulations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/index.js +1 -0
- package/dist/cjs/api/resources/voiceSessions/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/voiceSessions/client/Client.js +509 -0
- package/dist/cjs/api/resources/voiceSessions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/voiceSessions/client/index.js +17 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.ts +28 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/GetTranscriptVoiceSessionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/GetTranscriptVoiceSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/GetVoiceSessionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/GetVoiceSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/ListVoiceSessionsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/ListVoiceSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/voiceSessions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/voiceSessions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/voiceSessions/exports.js +21 -0
- package/dist/cjs/api/resources/voiceSessions/index.d.ts +2 -0
- package/dist/cjs/api/resources/voiceSessions/index.js +18 -0
- package/dist/cjs/api/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.d.ts +5 -0
- package/dist/cjs/api/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.js +8 -0
- package/dist/cjs/api/resources/voiceSessions/types/CreateVoiceSessionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/voiceSessions/types/CreateVoiceSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/types/GetVoiceSessionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/voiceSessions/types/GetVoiceSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts +10 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js +13 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsResponse.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.d.ts +6 -0
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.js +3 -0
- package/dist/cjs/api/resources/voiceSessions/types/index.d.ts +8 -0
- package/dist/cjs/api/resources/voiceSessions/types/index.js +24 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.js +1 -0
- package/dist/cjs/api/types/CardPayment.d.ts +9 -0
- package/dist/cjs/api/types/CardPayment.js +3 -0
- package/dist/cjs/api/types/CardPaymentAttributes.d.ts +31 -0
- package/dist/cjs/api/types/CardPaymentAttributes.js +3 -0
- package/dist/cjs/api/types/CardPaymentAttributesChannel.d.ts +6 -0
- package/dist/cjs/api/types/CardPaymentAttributesChannel.js +9 -0
- package/dist/cjs/api/types/CardPaymentAttributesCurrency.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentAttributesCurrency.js +8 -0
- package/dist/cjs/api/types/CardPaymentAttributesFailure.d.ts +9 -0
- package/dist/cjs/api/types/CardPaymentAttributesFailure.js +3 -0
- package/dist/cjs/api/types/CardPaymentAttributesFailureAdvice.d.ts +6 -0
- package/dist/cjs/api/types/CardPaymentAttributesFailureAdvice.js +9 -0
- package/dist/cjs/api/types/CardPaymentAttributesFee.d.ts +11 -0
- package/dist/cjs/api/types/CardPaymentAttributesFee.js +3 -0
- package/dist/cjs/api/types/CardPaymentAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/types/CardPaymentAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/types/CardPaymentAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentAttributesFeePayer.js +8 -0
- package/dist/cjs/api/types/CardPaymentAttributesStatus.d.ts +7 -0
- package/dist/cjs/api/types/CardPaymentAttributesStatus.js +10 -0
- package/dist/cjs/api/types/CardPaymentRelationships.d.ts +7 -0
- package/dist/cjs/api/types/CardPaymentRelationships.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsPaymentIntent.d.ts +8 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsPaymentIntent.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsPaymentIntentData.d.ts +9 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsPaymentIntentData.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsPaymentIntentDataType.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsPaymentIntentDataType.js +8 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsRefunds.d.ts +7 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsRefunds.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsRefundsDataItem.d.ts +9 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsRefundsDataItem.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsRefundsDataItemType.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsRefundsDataItemType.js +8 -0
- package/dist/cjs/api/types/CardPaymentType.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentType.js +8 -0
- package/dist/cjs/api/types/PaymentIntent.d.ts +8 -0
- package/dist/cjs/api/types/PaymentIntent.js +3 -0
- package/dist/cjs/api/types/PaymentIntentAttributes.d.ts +29 -0
- package/dist/cjs/api/types/PaymentIntentAttributes.js +3 -0
- package/dist/cjs/api/types/PaymentIntentAttributesCurrency.d.ts +5 -0
- package/dist/cjs/api/types/PaymentIntentAttributesCurrency.js +8 -0
- package/dist/cjs/api/types/PaymentIntentAttributesLineItemsItem.d.ts +22 -0
- package/dist/cjs/api/types/PaymentIntentAttributesLineItemsItem.js +3 -0
- package/dist/cjs/api/types/PaymentIntentAttributesStatus.d.ts +10 -0
- package/dist/cjs/api/types/PaymentIntentAttributesStatus.js +13 -0
- package/dist/cjs/api/types/PaymentIntentAttributesTaxMode.d.ts +6 -0
- package/dist/cjs/api/types/PaymentIntentAttributesTaxMode.js +9 -0
- package/dist/cjs/api/types/PaymentIntentRelationships.d.ts +9 -0
- package/dist/cjs/api/types/PaymentIntentRelationships.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPayment.d.ts +8 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPayment.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPaymentData.d.ts +9 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPaymentData.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPaymentDataType.d.ts +5 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPaymentDataType.js +8 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCustomerParty.d.ts +8 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCustomerParty.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCustomerPartyData.d.ts +9 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCustomerPartyData.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCustomerPartyDataType.d.ts +5 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsCustomerPartyDataType.js +8 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsVoiceSession.d.ts +8 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsVoiceSession.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsVoiceSessionData.d.ts +9 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsVoiceSessionData.js +3 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsVoiceSessionDataType.d.ts +5 -0
- package/dist/cjs/api/types/PaymentIntentRelationshipsVoiceSessionDataType.js +8 -0
- package/dist/cjs/api/types/PaymentIntentType.d.ts +5 -0
- package/dist/cjs/api/types/PaymentIntentType.js +8 -0
- package/dist/cjs/api/types/Refund.d.ts +9 -0
- package/dist/cjs/api/types/Refund.js +3 -0
- package/dist/cjs/api/types/RefundAttributes.d.ts +19 -0
- package/dist/cjs/api/types/RefundAttributes.js +3 -0
- package/dist/cjs/api/types/RefundAttributesCurrency.d.ts +5 -0
- package/dist/cjs/api/types/RefundAttributesCurrency.js +8 -0
- package/dist/cjs/api/types/RefundAttributesFailure.d.ts +6 -0
- package/dist/cjs/api/types/RefundAttributesFailure.js +3 -0
- package/dist/cjs/api/types/RefundAttributesReason.d.ts +6 -0
- package/dist/cjs/api/types/RefundAttributesReason.js +9 -0
- package/dist/cjs/api/types/RefundAttributesStatus.d.ts +7 -0
- package/dist/cjs/api/types/RefundAttributesStatus.js +10 -0
- package/dist/cjs/api/types/RefundRelationships.d.ts +9 -0
- package/dist/cjs/api/types/RefundRelationships.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsCardPayment.d.ts +8 -0
- package/dist/cjs/api/types/RefundRelationshipsCardPayment.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsCardPaymentData.d.ts +9 -0
- package/dist/cjs/api/types/RefundRelationshipsCardPaymentData.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsCardPaymentDataType.d.ts +5 -0
- package/dist/cjs/api/types/RefundRelationshipsCardPaymentDataType.js +8 -0
- package/dist/cjs/api/types/RefundRelationshipsCustomerParty.d.ts +8 -0
- package/dist/cjs/api/types/RefundRelationshipsCustomerParty.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsCustomerPartyData.d.ts +9 -0
- package/dist/cjs/api/types/RefundRelationshipsCustomerPartyData.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsCustomerPartyDataType.d.ts +5 -0
- package/dist/cjs/api/types/RefundRelationshipsCustomerPartyDataType.js +8 -0
- package/dist/cjs/api/types/RefundRelationshipsPaymentIntent.d.ts +8 -0
- package/dist/cjs/api/types/RefundRelationshipsPaymentIntent.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsPaymentIntentData.d.ts +9 -0
- package/dist/cjs/api/types/RefundRelationshipsPaymentIntentData.js +3 -0
- package/dist/cjs/api/types/RefundRelationshipsPaymentIntentDataType.d.ts +5 -0
- package/dist/cjs/api/types/RefundRelationshipsPaymentIntentDataType.js +8 -0
- package/dist/cjs/api/types/RefundType.d.ts +5 -0
- package/dist/cjs/api/types/RefundType.js +8 -0
- package/dist/cjs/api/types/VoiceSession.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSession.js +3 -0
- package/dist/cjs/api/types/VoiceSessionAttributes.d.ts +25 -0
- package/dist/cjs/api/types/VoiceSessionAttributes.js +3 -0
- package/dist/cjs/api/types/VoiceSessionAttributesCall.d.ts +15 -0
- package/dist/cjs/api/types/VoiceSessionAttributesCall.js +3 -0
- package/dist/cjs/api/types/VoiceSessionAttributesCallEndedBy.d.ts +6 -0
- package/dist/cjs/api/types/VoiceSessionAttributesCallEndedBy.js +9 -0
- package/dist/cjs/api/types/VoiceSessionAttributesKind.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionAttributesKind.js +8 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPayment.d.ts +11 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPayment.js +3 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPaymentFailure.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPaymentFailure.js +3 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPaymentFailureAdvice.d.ts +6 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPaymentFailureAdvice.js +9 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPaymentOutcome.d.ts +6 -0
- package/dist/cjs/api/types/VoiceSessionAttributesPaymentOutcome.js +9 -0
- package/dist/cjs/api/types/VoiceSessionAttributesStatus.d.ts +10 -0
- package/dist/cjs/api/types/VoiceSessionAttributesStatus.js +13 -0
- package/dist/cjs/api/types/VoiceSessionRelationships.d.ts +7 -0
- package/dist/cjs/api/types/VoiceSessionRelationships.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsCustomerParty.d.ts +8 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsCustomerParty.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsCustomerPartyData.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsCustomerPartyData.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsCustomerPartyDataType.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsCustomerPartyDataType.js +8 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsPaymentIntent.d.ts +8 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsPaymentIntent.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsPaymentIntentData.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsPaymentIntentData.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsPaymentIntentDataType.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsPaymentIntentDataType.js +8 -0
- package/dist/cjs/api/types/VoiceSessionTranscript.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionTranscript.js +3 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributes.d.ts +7 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributes.js +3 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributesStatus.d.ts +6 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributesStatus.js +9 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributesTurnsItem.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributesTurnsItem.js +3 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributesTurnsItemRole.d.ts +7 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptAttributesTurnsItemRole.js +10 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationships.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationships.js +3 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationshipsVoiceSession.d.ts +8 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationshipsVoiceSession.js +3 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.js +3 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.js +8 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptType.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionTranscriptType.js +8 -0
- package/dist/cjs/api/types/VoiceSessionType.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionType.js +8 -0
- package/dist/cjs/api/types/index.d.ts +81 -0
- package/dist/cjs/api/types/index.js +81 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/approvals/types/ApprovalAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/approvals/types/ApprovalAttrs.js +2 -0
- package/dist/cjs/serialization/resources/approvals/types/ApprovalDetailAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/approvals/types/ApprovalDetailAttrs.js +2 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.js +10 -1
- package/dist/cjs/serialization/resources/approvals/types/ApproveResultAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveResultAttrs.js +2 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.js +10 -1
- package/dist/cjs/serialization/resources/approvals/types/DenyResultAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/approvals/types/DenyResultAttrs.js +2 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.js +10 -1
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.js +10 -1
- package/dist/cjs/serialization/resources/approvals/types/index.d.ts +16 -0
- package/dist/cjs/serialization/resources/approvals/types/index.js +16 -0
- package/dist/cjs/serialization/resources/cardPayments/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/cardPayments/index.js +17 -0
- package/dist/cjs/serialization/resources/cardPayments/types/GetCardPaymentsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/cardPayments/types/GetCardPaymentsResponse.js +42 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsRequestStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsRequestStatus.js +39 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsResponse.js +44 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsResponseMeta.d.ts +10 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsResponseMeta.js +42 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.d.ts +10 -0
- package/dist/cjs/serialization/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.js +42 -0
- package/dist/cjs/serialization/resources/cardPayments/types/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/cardPayments/types/index.js +21 -0
- package/dist/cjs/serialization/resources/cardSessions/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/cardSessions/client/index.js +17 -0
- package/dist/cjs/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.js +45 -0
- package/dist/cjs/serialization/resources/cardSessions/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/cardSessions/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/cardSessions/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/cardSessions/index.js +18 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponse.d.ts +18 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponse.js +50 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.d.ts +14 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.js +46 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseCard.d.ts +13 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseCard.js +45 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxy.d.ts +15 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxy.js +47 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.d.ts +7 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.js +39 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsRequestPurchase.d.ts +11 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsRequestPurchase.js +43 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +20 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.js +52 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseCardSource.d.ts +7 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseCardSource.js +39 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseStatus.js +39 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.ts +19 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.js +51 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponseCardSource.d.ts +7 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponseCardSource.js +39 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponseStatus.js +39 -0
- package/dist/cjs/serialization/resources/cardSessions/types/index.d.ts +12 -0
- package/dist/cjs/serialization/resources/cardSessions/types/index.js +28 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.js +1 -0
- package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.js +1 -0
- package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.d.ts +1 -1
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponse.js +44 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.d.ts +15 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.js +47 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +14 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.js +46 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.d.ts +10 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.js +42 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.d.ts +10 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.js +42 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.d.ts +11 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.js +43 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.d.ts +10 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.js +42 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.d.ts +10 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.js +42 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/index.d.ts +12 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/index.js +12 -0
- package/dist/cjs/serialization/resources/index.d.ts +14 -0
- package/dist/cjs/serialization/resources/index.js +15 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItem.d.ts +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItem.js +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.ts +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.js +41 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItem.d.ts +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItem.js +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.ts +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.js +41 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItem.d.ts +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItem.js +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.d.ts +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.js +41 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItem.d.ts +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItem.js +2 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.ts +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.js +41 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/index.js +4 -0
- package/dist/cjs/serialization/resources/parties/types/ListMembersPartiesResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/parties/types/ListMembersPartiesResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/index.js +17 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.js +41 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.d.ts +19 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.js +51 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.js +49 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/paymentIntents/client/requests/index.js +9 -0
- package/dist/cjs/serialization/resources/paymentIntents/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/paymentIntents/index.js +18 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CancelPaymentIntentsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CancelPaymentIntentsResponse.js +42 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.js +39 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.d.ts +14 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.js +46 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.d.ts +7 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.js +39 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/CreatePaymentIntentsResponse.js +42 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/GetPaymentIntentsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/GetPaymentIntentsResponse.js +42 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.js +39 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsResponse.js +44 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.d.ts +10 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.js +42 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.d.ts +10 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.js +42 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.d.ts +14 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.js +46 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.d.ts +7 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.js +39 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/UpdatePaymentIntentsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/UpdatePaymentIntentsResponse.js +42 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/index.d.ts +13 -0
- package/dist/cjs/serialization/resources/paymentIntents/types/index.js +29 -0
- package/dist/cjs/serialization/resources/refunds/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/refunds/client/index.js +17 -0
- package/dist/cjs/serialization/resources/refunds/client/requests/CreateRefundsRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/refunds/client/requests/CreateRefundsRequest.js +46 -0
- package/dist/cjs/serialization/resources/refunds/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/refunds/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/refunds/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/refunds/index.js +18 -0
- package/dist/cjs/serialization/resources/refunds/types/CreateRefundsRequestReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/refunds/types/CreateRefundsRequestReason.js +39 -0
- package/dist/cjs/serialization/resources/refunds/types/CreateRefundsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/refunds/types/CreateRefundsResponse.js +42 -0
- package/dist/cjs/serialization/resources/refunds/types/GetRefundsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/refunds/types/GetRefundsResponse.js +42 -0
- package/dist/cjs/serialization/resources/refunds/types/ListRefundsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/refunds/types/ListRefundsResponse.js +44 -0
- package/dist/cjs/serialization/resources/refunds/types/ListRefundsResponseMeta.d.ts +10 -0
- package/dist/cjs/serialization/resources/refunds/types/ListRefundsResponseMeta.js +42 -0
- package/dist/cjs/serialization/resources/refunds/types/ListRefundsResponseMetaPagination.d.ts +10 -0
- package/dist/cjs/serialization/resources/refunds/types/ListRefundsResponseMetaPagination.js +42 -0
- package/dist/cjs/serialization/resources/refunds/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/refunds/types/index.js +22 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.js +41 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/index.js +3 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/SettleCardPaymentSimulationsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/simulations/types/SettleCardPaymentSimulationsResponse.js +42 -0
- package/dist/cjs/serialization/resources/simulations/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/index.js +1 -0
- package/dist/cjs/serialization/resources/voiceSessions/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/voiceSessions/client/index.js +17 -0
- package/dist/cjs/serialization/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.js +47 -0
- package/dist/cjs/serialization/resources/voiceSessions/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/voiceSessions/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/voiceSessions/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/voiceSessions/index.js +18 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.js +39 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/CreateVoiceSessionsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/CreateVoiceSessionsResponse.js +42 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.js +42 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/GetVoiceSessionsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/GetVoiceSessionsResponse.js +42 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js +39 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsResponse.js +44 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.d.ts +10 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.js +42 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.d.ts +10 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.js +42 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/index.d.ts +8 -0
- package/dist/cjs/serialization/resources/voiceSessions/types/index.js +24 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.js +1 -0
- package/dist/cjs/serialization/types/CardPayment.d.ts +15 -0
- package/dist/cjs/serialization/types/CardPayment.js +47 -0
- package/dist/cjs/serialization/types/CardPaymentAttributes.d.ts +27 -0
- package/dist/cjs/serialization/types/CardPaymentAttributes.js +59 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesChannel.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesChannel.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesCurrency.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesCurrency.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFailure.d.ts +12 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFailure.js +44 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFailureAdvice.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFailureAdvice.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFee.js +47 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentAttributesStatus.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentRelationships.d.ts +12 -0
- package/dist/cjs/serialization/types/CardPaymentRelationships.js +44 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsPaymentIntent.d.ts +10 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsPaymentIntent.js +42 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsPaymentIntentData.d.ts +11 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsPaymentIntentData.js +43 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsPaymentIntentDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsPaymentIntentDataType.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsRefunds.d.ts +10 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsRefunds.js +42 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsRefundsDataItem.d.ts +11 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsRefundsDataItem.js +43 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsRefundsDataItemType.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsRefundsDataItemType.js +39 -0
- package/dist/cjs/serialization/types/CardPaymentType.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentType.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntent.d.ts +15 -0
- package/dist/cjs/serialization/types/PaymentIntent.js +47 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributes.d.ts +25 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributes.js +57 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesCurrency.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesCurrency.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesLineItemsItem.d.ts +18 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesLineItemsItem.js +50 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesStatus.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesTaxMode.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentAttributesTaxMode.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationships.d.ts +14 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationships.js +46 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCardPayment.d.ts +10 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCardPayment.js +42 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCardPaymentData.d.ts +11 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCardPaymentData.js +43 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCardPaymentDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCardPaymentDataType.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCustomerParty.d.ts +10 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCustomerParty.js +42 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCustomerPartyData.d.ts +11 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCustomerPartyData.js +43 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCustomerPartyDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsCustomerPartyDataType.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsVoiceSession.d.ts +10 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsVoiceSession.js +42 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsVoiceSessionData.d.ts +11 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsVoiceSessionData.js +43 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsVoiceSessionDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentRelationshipsVoiceSessionDataType.js +39 -0
- package/dist/cjs/serialization/types/PaymentIntentType.d.ts +7 -0
- package/dist/cjs/serialization/types/PaymentIntentType.js +39 -0
- package/dist/cjs/serialization/types/Refund.d.ts +15 -0
- package/dist/cjs/serialization/types/Refund.js +47 -0
- package/dist/cjs/serialization/types/RefundAttributes.d.ts +20 -0
- package/dist/cjs/serialization/types/RefundAttributes.js +52 -0
- package/dist/cjs/serialization/types/RefundAttributesCurrency.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundAttributesCurrency.js +39 -0
- package/dist/cjs/serialization/types/RefundAttributesFailure.d.ts +10 -0
- package/dist/cjs/serialization/types/RefundAttributesFailure.js +42 -0
- package/dist/cjs/serialization/types/RefundAttributesReason.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundAttributesReason.js +39 -0
- package/dist/cjs/serialization/types/RefundAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundAttributesStatus.js +39 -0
- package/dist/cjs/serialization/types/RefundRelationships.d.ts +14 -0
- package/dist/cjs/serialization/types/RefundRelationships.js +46 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCardPayment.d.ts +10 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCardPayment.js +42 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCardPaymentData.d.ts +11 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCardPaymentData.js +43 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCardPaymentDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCardPaymentDataType.js +39 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCustomerParty.d.ts +10 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCustomerParty.js +42 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCustomerPartyData.d.ts +11 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCustomerPartyData.js +43 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCustomerPartyDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundRelationshipsCustomerPartyDataType.js +39 -0
- package/dist/cjs/serialization/types/RefundRelationshipsPaymentIntent.d.ts +10 -0
- package/dist/cjs/serialization/types/RefundRelationshipsPaymentIntent.js +42 -0
- package/dist/cjs/serialization/types/RefundRelationshipsPaymentIntentData.d.ts +11 -0
- package/dist/cjs/serialization/types/RefundRelationshipsPaymentIntentData.js +43 -0
- package/dist/cjs/serialization/types/RefundRelationshipsPaymentIntentDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundRelationshipsPaymentIntentDataType.js +39 -0
- package/dist/cjs/serialization/types/RefundType.d.ts +7 -0
- package/dist/cjs/serialization/types/RefundType.js +39 -0
- package/dist/cjs/serialization/types/VoiceSession.d.ts +15 -0
- package/dist/cjs/serialization/types/VoiceSession.js +47 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributes.d.ts +24 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributes.js +56 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesCall.d.ts +15 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesCall.js +47 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesCallEndedBy.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesCallEndedBy.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesKind.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesKind.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPayment.d.ts +14 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPayment.js +46 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPaymentFailure.d.ts +12 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPaymentFailure.js +44 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPaymentFailureAdvice.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPaymentFailureAdvice.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPaymentOutcome.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesPaymentOutcome.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionAttributesStatus.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationships.d.ts +12 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationships.js +44 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsCustomerParty.d.ts +10 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsCustomerParty.js +42 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsCustomerPartyData.d.ts +11 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsCustomerPartyData.js +43 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsCustomerPartyDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsCustomerPartyDataType.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsPaymentIntent.d.ts +10 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsPaymentIntent.js +42 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsPaymentIntentData.d.ts +11 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsPaymentIntentData.js +43 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsPaymentIntentDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsPaymentIntentDataType.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscript.d.ts +15 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscript.js +47 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributes.d.ts +12 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributes.js +44 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributesStatus.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributesTurnsItem.d.ts +12 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributesTurnsItem.js +44 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributesTurnsItemRole.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptAttributesTurnsItemRole.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationships.d.ts +10 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationships.js +42 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSession.d.ts +10 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSession.js +42 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.d.ts +11 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.js +43 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptType.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionTranscriptType.js +39 -0
- package/dist/cjs/serialization/types/VoiceSessionType.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionType.js +39 -0
- package/dist/cjs/serialization/types/index.d.ts +81 -0
- package/dist/cjs/serialization/types/index.js +81 -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/Client.d.mts +15 -0
- package/dist/esm/Client.mjs +25 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/ApprovalAttrs.d.mts +2 -0
- package/dist/esm/api/resources/approvals/types/ApprovalDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/approvals/types/ApprovalDetailTarget.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/ApprovalTarget.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/ApproveResultAttrs.d.mts +2 -0
- package/dist/esm/api/resources/approvals/types/ApproveResultTarget.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/DenyResultAttrs.d.mts +2 -0
- package/dist/esm/api/resources/approvals/types/DenyResultTarget.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/index.d.mts +16 -0
- package/dist/esm/api/resources/approvals/types/index.mjs +16 -0
- package/dist/esm/api/resources/cardPayments/client/Client.d.mts +69 -0
- package/dist/esm/api/resources/cardPayments/client/Client.mjs +252 -0
- package/dist/esm/api/resources/cardPayments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/cardPayments/client/index.mjs +1 -0
- package/dist/esm/api/resources/cardPayments/client/requests/GetCardPaymentsRequest.d.mts +10 -0
- package/dist/esm/api/resources/cardPayments/client/requests/GetCardPaymentsRequest.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/client/requests/ListCardPaymentsRequest.d.mts +14 -0
- package/dist/esm/api/resources/cardPayments/client/requests/ListCardPaymentsRequest.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/cardPayments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/cardPayments/exports.d.mts +2 -0
- package/dist/esm/api/resources/cardPayments/exports.mjs +3 -0
- package/dist/esm/api/resources/cardPayments/index.d.mts +2 -0
- package/dist/esm/api/resources/cardPayments/index.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/types/GetCardPaymentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/cardPayments/types/GetCardPaymentsResponse.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsRequestStatus.d.mts +7 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsRequestStatus.mjs +7 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsResponse.d.mts +5 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsResponse.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.d.mts +6 -0
- package/dist/esm/api/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.mjs +2 -0
- package/dist/esm/api/resources/cardPayments/types/index.d.mts +5 -0
- package/dist/esm/api/resources/cardPayments/types/index.mjs +5 -0
- package/dist/esm/api/resources/cardSessions/client/Client.d.mts +107 -0
- package/dist/esm/api/resources/cardSessions/client/Client.mjs +324 -0
- package/dist/esm/api/resources/cardSessions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/cardSessions/client/index.mjs +1 -0
- package/dist/esm/api/resources/cardSessions/client/requests/ClaimCardSessionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/cardSessions/client/requests/ClaimCardSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +23 -0
- package/dist/esm/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/client/requests/GetCardSessionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/cardSessions/client/requests/GetCardSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/cardSessions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/cardSessions/exports.d.mts +2 -0
- package/dist/esm/api/resources/cardSessions/exports.mjs +3 -0
- package/dist/esm/api/resources/cardSessions/index.d.mts +2 -0
- package/dist/esm/api/resources/cardSessions/index.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponse.d.mts +11 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.d.mts +9 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseCard.d.mts +10 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseCard.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseProxy.d.mts +11 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseProxy.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.d.mts +4 -0
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.mjs +4 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsRequestPurchase.d.mts +11 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsRequestPurchase.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +18 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.d.mts +6 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.mjs +6 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseStatus.d.mts +9 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseStatus.mjs +9 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponse.d.mts +16 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.d.mts +6 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.mjs +6 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseStatus.d.mts +9 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseStatus.mjs +9 -0
- package/dist/esm/api/resources/cardSessions/types/index.d.mts +12 -0
- package/dist/esm/api/resources/cardSessions/types/index.mjs +12 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -0
- package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +1 -0
- package/dist/esm/api/resources/events/types/ListEventsRequestEventType.d.mts +1 -0
- package/dist/esm/api/resources/events/types/ListEventsRequestEventType.mjs +1 -0
- package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -0
- package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +1 -0
- package/dist/esm/api/resources/externalAccounts/client/Client.d.mts +25 -0
- package/dist/esm/api/resources/externalAccounts/client/Client.mjs +114 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/ListCardsExternalAccountsRequest.d.mts +8 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/ListCardsExternalAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.d.mts +1 -0
- package/dist/esm/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.mjs +1 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponse.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.d.mts +8 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +11 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.d.mts +10 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.mjs +10 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.d.mts +11 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.mjs +11 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.d.mts +8 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.d.mts +9 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.mjs +5 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.d.mts +4 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.mjs +4 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.d.mts +6 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/index.d.mts +12 -0
- package/dist/esm/api/resources/externalAccounts/types/index.mjs +12 -0
- package/dist/esm/api/resources/index.d.mts +15 -0
- package/dist/esm/api/resources/index.mjs +15 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.mjs +2 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.mjs +2 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.mjs +2 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.mjs +2 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/index.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/index.mjs +4 -0
- package/dist/esm/api/resources/parties/types/ListMembersPartiesResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/paymentIntents/client/Client.d.mts +181 -0
- package/dist/esm/api/resources/paymentIntents/client/Client.mjs +603 -0
- package/dist/esm/api/resources/paymentIntents/client/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentIntents/client/index.mjs +1 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.d.mts +14 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.d.mts +39 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/GetPaymentIntentsRequest.d.mts +10 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/GetPaymentIntentsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/ListPaymentIntentsRequest.d.mts +13 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/ListPaymentIntentsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.d.mts +41 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/paymentIntents/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/paymentIntents/exports.d.mts +2 -0
- package/dist/esm/api/resources/paymentIntents/exports.mjs +3 -0
- package/dist/esm/api/resources/paymentIntents/index.d.mts +2 -0
- package/dist/esm/api/resources/paymentIntents/index.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/CancelPaymentIntentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/paymentIntents/types/CancelPaymentIntentsResponse.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.d.mts +5 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.mjs +5 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.d.mts +14 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.d.mts +6 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.mjs +6 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/paymentIntents/types/CreatePaymentIntentsResponse.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/GetPaymentIntentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/paymentIntents/types/GetPaymentIntentsResponse.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.d.mts +10 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.mjs +10 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsResponse.d.mts +5 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsResponse.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.d.mts +6 -0
- package/dist/esm/api/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.d.mts +14 -0
- package/dist/esm/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.d.mts +6 -0
- package/dist/esm/api/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.mjs +6 -0
- package/dist/esm/api/resources/paymentIntents/types/UpdatePaymentIntentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/paymentIntents/types/UpdatePaymentIntentsResponse.mjs +2 -0
- package/dist/esm/api/resources/paymentIntents/types/index.d.mts +13 -0
- package/dist/esm/api/resources/paymentIntents/types/index.mjs +13 -0
- package/dist/esm/api/resources/refunds/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/refunds/client/Client.mjs +364 -0
- package/dist/esm/api/resources/refunds/client/index.d.mts +1 -0
- package/dist/esm/api/resources/refunds/client/index.mjs +1 -0
- package/dist/esm/api/resources/refunds/client/requests/CreateRefundsRequest.d.mts +24 -0
- package/dist/esm/api/resources/refunds/client/requests/CreateRefundsRequest.mjs +2 -0
- package/dist/esm/api/resources/refunds/client/requests/GetRefundsRequest.d.mts +10 -0
- package/dist/esm/api/resources/refunds/client/requests/GetRefundsRequest.mjs +2 -0
- package/dist/esm/api/resources/refunds/client/requests/ListRefundsRequest.d.mts +11 -0
- package/dist/esm/api/resources/refunds/client/requests/ListRefundsRequest.mjs +2 -0
- package/dist/esm/api/resources/refunds/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/refunds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/refunds/exports.d.mts +2 -0
- package/dist/esm/api/resources/refunds/exports.mjs +3 -0
- package/dist/esm/api/resources/refunds/index.d.mts +2 -0
- package/dist/esm/api/resources/refunds/index.mjs +2 -0
- package/dist/esm/api/resources/refunds/types/CreateRefundsRequestReason.d.mts +7 -0
- package/dist/esm/api/resources/refunds/types/CreateRefundsRequestReason.mjs +7 -0
- package/dist/esm/api/resources/refunds/types/CreateRefundsResponse.d.mts +4 -0
- package/dist/esm/api/resources/refunds/types/CreateRefundsResponse.mjs +2 -0
- package/dist/esm/api/resources/refunds/types/GetRefundsResponse.d.mts +4 -0
- package/dist/esm/api/resources/refunds/types/GetRefundsResponse.mjs +2 -0
- package/dist/esm/api/resources/refunds/types/ListRefundsResponse.d.mts +5 -0
- package/dist/esm/api/resources/refunds/types/ListRefundsResponse.mjs +2 -0
- package/dist/esm/api/resources/refunds/types/ListRefundsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/refunds/types/ListRefundsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/refunds/types/ListRefundsResponseMetaPagination.d.mts +6 -0
- package/dist/esm/api/resources/refunds/types/ListRefundsResponseMetaPagination.mjs +2 -0
- package/dist/esm/api/resources/refunds/types/index.d.mts +6 -0
- package/dist/esm/api/resources/refunds/types/index.mjs +6 -0
- package/dist/esm/api/resources/simulations/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/simulations/client/Client.mjs +105 -0
- package/dist/esm/api/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.d.mts +14 -0
- package/dist/esm/api/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.mjs +2 -0
- package/dist/esm/api/resources/simulations/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.mjs +1 -0
- package/dist/esm/api/resources/simulations/types/SettleCardPaymentSimulationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/simulations/types/SettleCardPaymentSimulationsResponse.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/index.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/index.mjs +1 -0
- package/dist/esm/api/resources/voiceSessions/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/voiceSessions/client/Client.mjs +472 -0
- package/dist/esm/api/resources/voiceSessions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/voiceSessions/client/index.mjs +1 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.mts +28 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/GetTranscriptVoiceSessionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/GetTranscriptVoiceSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/GetVoiceSessionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/GetVoiceSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/ListVoiceSessionsRequest.d.mts +14 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/ListVoiceSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/voiceSessions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/voiceSessions/exports.d.mts +2 -0
- package/dist/esm/api/resources/voiceSessions/exports.mjs +3 -0
- package/dist/esm/api/resources/voiceSessions/index.d.mts +2 -0
- package/dist/esm/api/resources/voiceSessions/index.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.d.mts +5 -0
- package/dist/esm/api/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.mjs +5 -0
- package/dist/esm/api/resources/voiceSessions/types/CreateVoiceSessionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/voiceSessions/types/CreateVoiceSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/GetVoiceSessionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/voiceSessions/types/GetVoiceSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.mts +10 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.mjs +10 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsResponse.d.mts +5 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsResponse.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.d.mts +6 -0
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.mjs +2 -0
- package/dist/esm/api/resources/voiceSessions/types/index.d.mts +8 -0
- package/dist/esm/api/resources/voiceSessions/types/index.mjs +8 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.mjs +1 -0
- package/dist/esm/api/types/CardPayment.d.mts +9 -0
- package/dist/esm/api/types/CardPayment.mjs +2 -0
- package/dist/esm/api/types/CardPaymentAttributes.d.mts +31 -0
- package/dist/esm/api/types/CardPaymentAttributes.mjs +2 -0
- package/dist/esm/api/types/CardPaymentAttributesChannel.d.mts +6 -0
- package/dist/esm/api/types/CardPaymentAttributesChannel.mjs +6 -0
- package/dist/esm/api/types/CardPaymentAttributesCurrency.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentAttributesCurrency.mjs +5 -0
- package/dist/esm/api/types/CardPaymentAttributesFailure.d.mts +9 -0
- package/dist/esm/api/types/CardPaymentAttributesFailure.mjs +2 -0
- package/dist/esm/api/types/CardPaymentAttributesFailureAdvice.d.mts +6 -0
- package/dist/esm/api/types/CardPaymentAttributesFailureAdvice.mjs +6 -0
- package/dist/esm/api/types/CardPaymentAttributesFee.d.mts +11 -0
- package/dist/esm/api/types/CardPaymentAttributesFee.mjs +2 -0
- package/dist/esm/api/types/CardPaymentAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/types/CardPaymentAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/types/CardPaymentAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/types/CardPaymentAttributesStatus.d.mts +7 -0
- package/dist/esm/api/types/CardPaymentAttributesStatus.mjs +7 -0
- package/dist/esm/api/types/CardPaymentRelationships.d.mts +7 -0
- package/dist/esm/api/types/CardPaymentRelationships.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsPaymentIntent.d.mts +8 -0
- package/dist/esm/api/types/CardPaymentRelationshipsPaymentIntent.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsPaymentIntentData.d.mts +9 -0
- package/dist/esm/api/types/CardPaymentRelationshipsPaymentIntentData.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsPaymentIntentDataType.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentRelationshipsPaymentIntentDataType.mjs +5 -0
- package/dist/esm/api/types/CardPaymentRelationshipsRefunds.d.mts +7 -0
- package/dist/esm/api/types/CardPaymentRelationshipsRefunds.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsRefundsDataItem.d.mts +9 -0
- package/dist/esm/api/types/CardPaymentRelationshipsRefundsDataItem.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsRefundsDataItemType.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentRelationshipsRefundsDataItemType.mjs +5 -0
- package/dist/esm/api/types/CardPaymentType.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentType.mjs +5 -0
- package/dist/esm/api/types/PaymentIntent.d.mts +8 -0
- package/dist/esm/api/types/PaymentIntent.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentAttributes.d.mts +29 -0
- package/dist/esm/api/types/PaymentIntentAttributes.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentAttributesCurrency.d.mts +5 -0
- package/dist/esm/api/types/PaymentIntentAttributesCurrency.mjs +5 -0
- package/dist/esm/api/types/PaymentIntentAttributesLineItemsItem.d.mts +22 -0
- package/dist/esm/api/types/PaymentIntentAttributesLineItemsItem.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentAttributesStatus.d.mts +10 -0
- package/dist/esm/api/types/PaymentIntentAttributesStatus.mjs +10 -0
- package/dist/esm/api/types/PaymentIntentAttributesTaxMode.d.mts +6 -0
- package/dist/esm/api/types/PaymentIntentAttributesTaxMode.mjs +6 -0
- package/dist/esm/api/types/PaymentIntentRelationships.d.mts +9 -0
- package/dist/esm/api/types/PaymentIntentRelationships.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPayment.d.mts +8 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPayment.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPaymentData.d.mts +9 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPaymentData.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPaymentDataType.d.mts +5 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPaymentDataType.mjs +5 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCustomerParty.d.mts +8 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCustomerParty.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCustomerPartyData.d.mts +9 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCustomerPartyData.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCustomerPartyDataType.d.mts +5 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsCustomerPartyDataType.mjs +5 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsVoiceSession.d.mts +8 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsVoiceSession.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsVoiceSessionData.d.mts +9 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsVoiceSessionData.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsVoiceSessionDataType.d.mts +5 -0
- package/dist/esm/api/types/PaymentIntentRelationshipsVoiceSessionDataType.mjs +5 -0
- package/dist/esm/api/types/PaymentIntentType.d.mts +5 -0
- package/dist/esm/api/types/PaymentIntentType.mjs +5 -0
- package/dist/esm/api/types/Refund.d.mts +9 -0
- package/dist/esm/api/types/Refund.mjs +2 -0
- package/dist/esm/api/types/RefundAttributes.d.mts +19 -0
- package/dist/esm/api/types/RefundAttributes.mjs +2 -0
- package/dist/esm/api/types/RefundAttributesCurrency.d.mts +5 -0
- package/dist/esm/api/types/RefundAttributesCurrency.mjs +5 -0
- package/dist/esm/api/types/RefundAttributesFailure.d.mts +6 -0
- package/dist/esm/api/types/RefundAttributesFailure.mjs +2 -0
- package/dist/esm/api/types/RefundAttributesReason.d.mts +6 -0
- package/dist/esm/api/types/RefundAttributesReason.mjs +6 -0
- package/dist/esm/api/types/RefundAttributesStatus.d.mts +7 -0
- package/dist/esm/api/types/RefundAttributesStatus.mjs +7 -0
- package/dist/esm/api/types/RefundRelationships.d.mts +9 -0
- package/dist/esm/api/types/RefundRelationships.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsCardPayment.d.mts +8 -0
- package/dist/esm/api/types/RefundRelationshipsCardPayment.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsCardPaymentData.d.mts +9 -0
- package/dist/esm/api/types/RefundRelationshipsCardPaymentData.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsCardPaymentDataType.d.mts +5 -0
- package/dist/esm/api/types/RefundRelationshipsCardPaymentDataType.mjs +5 -0
- package/dist/esm/api/types/RefundRelationshipsCustomerParty.d.mts +8 -0
- package/dist/esm/api/types/RefundRelationshipsCustomerParty.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsCustomerPartyData.d.mts +9 -0
- package/dist/esm/api/types/RefundRelationshipsCustomerPartyData.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsCustomerPartyDataType.d.mts +5 -0
- package/dist/esm/api/types/RefundRelationshipsCustomerPartyDataType.mjs +5 -0
- package/dist/esm/api/types/RefundRelationshipsPaymentIntent.d.mts +8 -0
- package/dist/esm/api/types/RefundRelationshipsPaymentIntent.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsPaymentIntentData.d.mts +9 -0
- package/dist/esm/api/types/RefundRelationshipsPaymentIntentData.mjs +2 -0
- package/dist/esm/api/types/RefundRelationshipsPaymentIntentDataType.d.mts +5 -0
- package/dist/esm/api/types/RefundRelationshipsPaymentIntentDataType.mjs +5 -0
- package/dist/esm/api/types/RefundType.d.mts +5 -0
- package/dist/esm/api/types/RefundType.mjs +5 -0
- package/dist/esm/api/types/VoiceSession.d.mts +9 -0
- package/dist/esm/api/types/VoiceSession.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionAttributes.d.mts +25 -0
- package/dist/esm/api/types/VoiceSessionAttributes.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionAttributesCall.d.mts +15 -0
- package/dist/esm/api/types/VoiceSessionAttributesCall.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionAttributesCallEndedBy.d.mts +6 -0
- package/dist/esm/api/types/VoiceSessionAttributesCallEndedBy.mjs +6 -0
- package/dist/esm/api/types/VoiceSessionAttributesKind.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionAttributesKind.mjs +5 -0
- package/dist/esm/api/types/VoiceSessionAttributesPayment.d.mts +11 -0
- package/dist/esm/api/types/VoiceSessionAttributesPayment.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionAttributesPaymentFailure.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionAttributesPaymentFailure.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionAttributesPaymentFailureAdvice.d.mts +6 -0
- package/dist/esm/api/types/VoiceSessionAttributesPaymentFailureAdvice.mjs +6 -0
- package/dist/esm/api/types/VoiceSessionAttributesPaymentOutcome.d.mts +6 -0
- package/dist/esm/api/types/VoiceSessionAttributesPaymentOutcome.mjs +6 -0
- package/dist/esm/api/types/VoiceSessionAttributesStatus.d.mts +10 -0
- package/dist/esm/api/types/VoiceSessionAttributesStatus.mjs +10 -0
- package/dist/esm/api/types/VoiceSessionRelationships.d.mts +7 -0
- package/dist/esm/api/types/VoiceSessionRelationships.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsCustomerParty.d.mts +8 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsCustomerParty.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsCustomerPartyData.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsCustomerPartyData.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsCustomerPartyDataType.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsCustomerPartyDataType.mjs +5 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsPaymentIntent.d.mts +8 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsPaymentIntent.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsPaymentIntentData.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsPaymentIntentData.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsPaymentIntentDataType.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsPaymentIntentDataType.mjs +5 -0
- package/dist/esm/api/types/VoiceSessionTranscript.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionTranscript.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributes.d.mts +7 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributes.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributesStatus.d.mts +6 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributesStatus.mjs +6 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributesTurnsItem.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributesTurnsItem.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributesTurnsItemRole.d.mts +7 -0
- package/dist/esm/api/types/VoiceSessionTranscriptAttributesTurnsItemRole.mjs +7 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationships.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationships.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationshipsVoiceSession.d.mts +8 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationshipsVoiceSession.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.mjs +5 -0
- package/dist/esm/api/types/VoiceSessionTranscriptType.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionTranscriptType.mjs +5 -0
- package/dist/esm/api/types/VoiceSessionType.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionType.mjs +5 -0
- package/dist/esm/api/types/index.d.mts +81 -0
- package/dist/esm/api/types/index.mjs +81 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/approvals/types/ApprovalAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/approvals/types/ApprovalAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/approvals/types/ApprovalDetailAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/approvals/types/ApprovalDetailAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.mjs +10 -1
- package/dist/esm/serialization/resources/approvals/types/ApproveResultAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveResultAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.mjs +10 -1
- package/dist/esm/serialization/resources/approvals/types/DenyResultAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/approvals/types/DenyResultAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.mjs +10 -1
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.mjs +10 -1
- package/dist/esm/serialization/resources/approvals/types/index.d.mts +16 -0
- package/dist/esm/serialization/resources/approvals/types/index.mjs +16 -0
- package/dist/esm/serialization/resources/cardPayments/index.d.mts +1 -0
- package/dist/esm/serialization/resources/cardPayments/index.mjs +1 -0
- package/dist/esm/serialization/resources/cardPayments/types/GetCardPaymentsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/cardPayments/types/GetCardPaymentsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsRequestStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsRequestStatus.mjs +3 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsResponseMeta.d.mts +10 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsResponseMeta.mjs +6 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.d.mts +10 -0
- package/dist/esm/serialization/resources/cardPayments/types/ListCardPaymentsResponseMetaPagination.mjs +6 -0
- package/dist/esm/serialization/resources/cardPayments/types/index.d.mts +5 -0
- package/dist/esm/serialization/resources/cardPayments/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/cardSessions/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/cardSessions/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.mjs +9 -0
- package/dist/esm/serialization/resources/cardSessions/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/cardSessions/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/cardSessions/index.d.mts +2 -0
- package/dist/esm/serialization/resources/cardSessions/index.mjs +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponse.d.mts +18 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponse.mjs +14 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.d.mts +14 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseBillingAddress.mjs +10 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseCard.d.mts +13 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseCard.mjs +9 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxy.d.mts +15 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxy.mjs +11 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.d.mts +7 -0
- package/dist/esm/serialization/resources/cardSessions/types/ClaimCardSessionsResponseProxyProtocol.mjs +3 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsRequestPurchase.d.mts +11 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsRequestPurchase.mjs +7 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +20 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.mjs +16 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponseCardSource.d.mts +7 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponseCardSource.mjs +3 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponseStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponseStatus.mjs +3 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.mts +19 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.mjs +15 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponseCardSource.d.mts +7 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponseCardSource.mjs +3 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponseStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponseStatus.mjs +3 -0
- package/dist/esm/serialization/resources/cardSessions/types/index.d.mts +12 -0
- package/dist/esm/serialization/resources/cardSessions/types/index.mjs +12 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +1 -0
- package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.mjs +1 -0
- package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.d.mts +1 -1
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseMetaRejectedAccountsItemReason.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.d.mts +15 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItem.mjs +11 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +14 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.mjs +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesBrand.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.d.mts +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationships.mjs +6 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.d.mts +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsParty.mjs +6 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.d.mts +11 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyData.mjs +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemRelationshipsPartyDataType.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemType.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.d.mts +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMeta.mjs +6 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.d.mts +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseMetaPagination.mjs +6 -0
- package/dist/esm/serialization/resources/externalAccounts/types/index.d.mts +12 -0
- package/dist/esm/serialization/resources/externalAccounts/types/index.mjs +12 -0
- package/dist/esm/serialization/resources/index.d.mts +14 -0
- package/dist/esm/serialization/resources/index.mjs +14 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItem.d.mts +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItem.mjs +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.mts +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemLimits.mjs +5 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItem.d.mts +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItem.mjs +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.mts +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemLimits.mjs +5 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItem.d.mts +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItem.mjs +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.d.mts +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemLimits.mjs +5 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItem.d.mts +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItem.mjs +2 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.d.mts +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemLimits.mjs +5 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/index.d.mts +4 -0
- package/dist/esm/serialization/resources/invitationLinks/types/index.mjs +4 -0
- package/dist/esm/serialization/resources/parties/types/ListMembersPartiesResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/parties/types/ListMembersPartiesResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/paymentIntents/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentIntents/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/CancelPaymentIntentsRequest.mjs +5 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.d.mts +19 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/CreatePaymentIntentsRequest.mjs +15 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/UpdatePaymentIntentsRequest.mjs +13 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/index.d.mts +3 -0
- package/dist/esm/serialization/resources/paymentIntents/client/requests/index.mjs +3 -0
- package/dist/esm/serialization/resources/paymentIntents/index.d.mts +2 -0
- package/dist/esm/serialization/resources/paymentIntents/index.mjs +2 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CancelPaymentIntentsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CancelPaymentIntentsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.d.mts +14 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestLineItemsItem.mjs +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.d.mts +7 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsRequestTaxMode.mjs +3 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/CreatePaymentIntentsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/paymentIntents/types/GetPaymentIntentsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/GetPaymentIntentsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsRequestStatus.mjs +3 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.d.mts +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMeta.mjs +6 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.d.mts +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/ListPaymentIntentsResponseMetaPagination.mjs +6 -0
- package/dist/esm/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.d.mts +14 -0
- package/dist/esm/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestLineItemsItem.mjs +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.d.mts +7 -0
- package/dist/esm/serialization/resources/paymentIntents/types/UpdatePaymentIntentsRequestTaxMode.mjs +3 -0
- package/dist/esm/serialization/resources/paymentIntents/types/UpdatePaymentIntentsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/paymentIntents/types/UpdatePaymentIntentsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/paymentIntents/types/index.d.mts +13 -0
- package/dist/esm/serialization/resources/paymentIntents/types/index.mjs +13 -0
- package/dist/esm/serialization/resources/refunds/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/refunds/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/refunds/client/requests/CreateRefundsRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/refunds/client/requests/CreateRefundsRequest.mjs +10 -0
- package/dist/esm/serialization/resources/refunds/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/refunds/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/refunds/index.d.mts +2 -0
- package/dist/esm/serialization/resources/refunds/index.mjs +2 -0
- package/dist/esm/serialization/resources/refunds/types/CreateRefundsRequestReason.d.mts +7 -0
- package/dist/esm/serialization/resources/refunds/types/CreateRefundsRequestReason.mjs +3 -0
- package/dist/esm/serialization/resources/refunds/types/CreateRefundsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/refunds/types/CreateRefundsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/refunds/types/GetRefundsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/refunds/types/GetRefundsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/refunds/types/ListRefundsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/refunds/types/ListRefundsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/refunds/types/ListRefundsResponseMeta.d.mts +10 -0
- package/dist/esm/serialization/resources/refunds/types/ListRefundsResponseMeta.mjs +6 -0
- package/dist/esm/serialization/resources/refunds/types/ListRefundsResponseMetaPagination.d.mts +10 -0
- package/dist/esm/serialization/resources/refunds/types/ListRefundsResponseMetaPagination.mjs +6 -0
- package/dist/esm/serialization/resources/refunds/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/refunds/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/simulations/client/requests/SettleCardPaymentSimulationsRequest.mjs +5 -0
- package/dist/esm/serialization/resources/simulations/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseMetaRejectedAccountsItemReason.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/SettleCardPaymentSimulationsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/simulations/types/SettleCardPaymentSimulationsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/simulations/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/voiceSessions/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/voiceSessions/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.mts +15 -0
- package/dist/esm/serialization/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.mjs +11 -0
- package/dist/esm/serialization/resources/voiceSessions/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/voiceSessions/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/voiceSessions/index.d.mts +2 -0
- package/dist/esm/serialization/resources/voiceSessions/index.mjs +2 -0
- package/dist/esm/serialization/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.d.mts +7 -0
- package/dist/esm/serialization/resources/voiceSessions/types/CreateVoiceSessionsRequestKind.mjs +3 -0
- package/dist/esm/serialization/resources/voiceSessions/types/CreateVoiceSessionsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/voiceSessions/types/CreateVoiceSessionsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/voiceSessions/types/GetTranscriptVoiceSessionsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/voiceSessions/types/GetVoiceSessionsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/voiceSessions/types/GetVoiceSessionsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.mjs +3 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.d.mts +10 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMeta.mjs +6 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.d.mts +10 -0
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsResponseMetaPagination.mjs +6 -0
- package/dist/esm/serialization/resources/voiceSessions/types/index.d.mts +8 -0
- package/dist/esm/serialization/resources/voiceSessions/types/index.mjs +8 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.mjs +1 -0
- package/dist/esm/serialization/types/CardPayment.d.mts +15 -0
- package/dist/esm/serialization/types/CardPayment.mjs +11 -0
- package/dist/esm/serialization/types/CardPaymentAttributes.d.mts +27 -0
- package/dist/esm/serialization/types/CardPaymentAttributes.mjs +23 -0
- package/dist/esm/serialization/types/CardPaymentAttributesChannel.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesChannel.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentAttributesCurrency.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesCurrency.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFailure.d.mts +12 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFailure.mjs +8 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFailureAdvice.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFailureAdvice.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFee.mjs +11 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentRelationships.d.mts +12 -0
- package/dist/esm/serialization/types/CardPaymentRelationships.mjs +8 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsPaymentIntent.d.mts +10 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsPaymentIntent.mjs +6 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsPaymentIntentData.d.mts +11 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsPaymentIntentData.mjs +7 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsPaymentIntentDataType.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsPaymentIntentDataType.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsRefunds.d.mts +10 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsRefunds.mjs +6 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsRefundsDataItem.d.mts +11 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsRefundsDataItem.mjs +7 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsRefundsDataItemType.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsRefundsDataItemType.mjs +3 -0
- package/dist/esm/serialization/types/CardPaymentType.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentType.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntent.d.mts +15 -0
- package/dist/esm/serialization/types/PaymentIntent.mjs +11 -0
- package/dist/esm/serialization/types/PaymentIntentAttributes.d.mts +25 -0
- package/dist/esm/serialization/types/PaymentIntentAttributes.mjs +21 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesCurrency.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesCurrency.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesLineItemsItem.d.mts +18 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesLineItemsItem.mjs +14 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesTaxMode.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentAttributesTaxMode.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntentRelationships.d.mts +14 -0
- package/dist/esm/serialization/types/PaymentIntentRelationships.mjs +10 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCardPayment.d.mts +10 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCardPayment.mjs +6 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCardPaymentData.d.mts +11 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCardPaymentData.mjs +7 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCardPaymentDataType.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCardPaymentDataType.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCustomerParty.d.mts +10 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCustomerParty.mjs +6 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCustomerPartyData.d.mts +11 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCustomerPartyData.mjs +7 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCustomerPartyDataType.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsCustomerPartyDataType.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsVoiceSession.d.mts +10 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsVoiceSession.mjs +6 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsVoiceSessionData.d.mts +11 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsVoiceSessionData.mjs +7 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsVoiceSessionDataType.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentRelationshipsVoiceSessionDataType.mjs +3 -0
- package/dist/esm/serialization/types/PaymentIntentType.d.mts +7 -0
- package/dist/esm/serialization/types/PaymentIntentType.mjs +3 -0
- package/dist/esm/serialization/types/Refund.d.mts +15 -0
- package/dist/esm/serialization/types/Refund.mjs +11 -0
- package/dist/esm/serialization/types/RefundAttributes.d.mts +20 -0
- package/dist/esm/serialization/types/RefundAttributes.mjs +16 -0
- package/dist/esm/serialization/types/RefundAttributesCurrency.d.mts +7 -0
- package/dist/esm/serialization/types/RefundAttributesCurrency.mjs +3 -0
- package/dist/esm/serialization/types/RefundAttributesFailure.d.mts +10 -0
- package/dist/esm/serialization/types/RefundAttributesFailure.mjs +6 -0
- package/dist/esm/serialization/types/RefundAttributesReason.d.mts +7 -0
- package/dist/esm/serialization/types/RefundAttributesReason.mjs +3 -0
- package/dist/esm/serialization/types/RefundAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/types/RefundAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/types/RefundRelationships.d.mts +14 -0
- package/dist/esm/serialization/types/RefundRelationships.mjs +10 -0
- package/dist/esm/serialization/types/RefundRelationshipsCardPayment.d.mts +10 -0
- package/dist/esm/serialization/types/RefundRelationshipsCardPayment.mjs +6 -0
- package/dist/esm/serialization/types/RefundRelationshipsCardPaymentData.d.mts +11 -0
- package/dist/esm/serialization/types/RefundRelationshipsCardPaymentData.mjs +7 -0
- package/dist/esm/serialization/types/RefundRelationshipsCardPaymentDataType.d.mts +7 -0
- package/dist/esm/serialization/types/RefundRelationshipsCardPaymentDataType.mjs +3 -0
- package/dist/esm/serialization/types/RefundRelationshipsCustomerParty.d.mts +10 -0
- package/dist/esm/serialization/types/RefundRelationshipsCustomerParty.mjs +6 -0
- package/dist/esm/serialization/types/RefundRelationshipsCustomerPartyData.d.mts +11 -0
- package/dist/esm/serialization/types/RefundRelationshipsCustomerPartyData.mjs +7 -0
- package/dist/esm/serialization/types/RefundRelationshipsCustomerPartyDataType.d.mts +7 -0
- package/dist/esm/serialization/types/RefundRelationshipsCustomerPartyDataType.mjs +3 -0
- package/dist/esm/serialization/types/RefundRelationshipsPaymentIntent.d.mts +10 -0
- package/dist/esm/serialization/types/RefundRelationshipsPaymentIntent.mjs +6 -0
- package/dist/esm/serialization/types/RefundRelationshipsPaymentIntentData.d.mts +11 -0
- package/dist/esm/serialization/types/RefundRelationshipsPaymentIntentData.mjs +7 -0
- package/dist/esm/serialization/types/RefundRelationshipsPaymentIntentDataType.d.mts +7 -0
- package/dist/esm/serialization/types/RefundRelationshipsPaymentIntentDataType.mjs +3 -0
- package/dist/esm/serialization/types/RefundType.d.mts +7 -0
- package/dist/esm/serialization/types/RefundType.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSession.d.mts +15 -0
- package/dist/esm/serialization/types/VoiceSession.mjs +11 -0
- package/dist/esm/serialization/types/VoiceSessionAttributes.d.mts +24 -0
- package/dist/esm/serialization/types/VoiceSessionAttributes.mjs +20 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesCall.d.mts +15 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesCall.mjs +11 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesCallEndedBy.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesCallEndedBy.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesKind.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesKind.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPayment.d.mts +14 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPayment.mjs +10 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPaymentFailure.d.mts +12 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPaymentFailure.mjs +8 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPaymentFailureAdvice.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPaymentFailureAdvice.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPaymentOutcome.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesPaymentOutcome.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionRelationships.d.mts +12 -0
- package/dist/esm/serialization/types/VoiceSessionRelationships.mjs +8 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsCustomerParty.d.mts +10 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsCustomerParty.mjs +6 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsCustomerPartyData.d.mts +11 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsCustomerPartyData.mjs +7 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsCustomerPartyDataType.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsCustomerPartyDataType.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsPaymentIntent.d.mts +10 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsPaymentIntent.mjs +6 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsPaymentIntentData.d.mts +11 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsPaymentIntentData.mjs +7 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsPaymentIntentDataType.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsPaymentIntentDataType.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionTranscript.d.mts +15 -0
- package/dist/esm/serialization/types/VoiceSessionTranscript.mjs +11 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributes.d.mts +12 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributes.mjs +8 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributesTurnsItem.d.mts +12 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributesTurnsItem.mjs +8 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributesTurnsItemRole.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptAttributesTurnsItemRole.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationships.d.mts +10 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationships.mjs +6 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSession.d.mts +10 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSession.mjs +6 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.d.mts +11 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionData.mjs +7 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptRelationshipsVoiceSessionDataType.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptType.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionTranscriptType.mjs +3 -0
- package/dist/esm/serialization/types/VoiceSessionType.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionType.mjs +3 -0
- package/dist/esm/serialization/types/index.d.mts +81 -0
- package/dist/esm/serialization/types/index.mjs +81 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +56 -1
- package/reference.md +1743 -409
package/reference.md
CHANGED
|
@@ -3037,8 +3037,8 @@ await client.wire.cancel({
|
|
|
3037
3037
|
</dl>
|
|
3038
3038
|
</details>
|
|
3039
3039
|
|
|
3040
|
-
##
|
|
3041
|
-
<details><summary><code>client.
|
|
3040
|
+
## Payment Intents
|
|
3041
|
+
<details><summary><code>client.paymentIntents.<a href="/src/api/resources/paymentIntents/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.PaymentIntent, Natural.ListPaymentIntentsResponse></code></summary>
|
|
3042
3042
|
<dl>
|
|
3043
3043
|
<dd>
|
|
3044
3044
|
|
|
@@ -3050,7 +3050,7 @@ await client.wire.cancel({
|
|
|
3050
3050
|
<dl>
|
|
3051
3051
|
<dd>
|
|
3052
3052
|
|
|
3053
|
-
List
|
|
3053
|
+
List payment intents, newest first
|
|
3054
3054
|
</dd>
|
|
3055
3055
|
</dl>
|
|
3056
3056
|
</dd>
|
|
@@ -3065,13 +3065,13 @@ List chargebacks on card payments received by the customer
|
|
|
3065
3065
|
<dd>
|
|
3066
3066
|
|
|
3067
3067
|
```typescript
|
|
3068
|
-
const pageableResponse = await client.
|
|
3068
|
+
const pageableResponse = await client.paymentIntents.list();
|
|
3069
3069
|
for await (const item of pageableResponse) {
|
|
3070
3070
|
console.log(item);
|
|
3071
3071
|
}
|
|
3072
3072
|
|
|
3073
3073
|
// Or you can manually iterate page-by-page
|
|
3074
|
-
let page = await client.
|
|
3074
|
+
let page = await client.paymentIntents.list();
|
|
3075
3075
|
while (page.hasNextPage()) {
|
|
3076
3076
|
page = page.getNextPage();
|
|
3077
3077
|
}
|
|
@@ -3093,7 +3093,7 @@ const response = page.response;
|
|
|
3093
3093
|
<dl>
|
|
3094
3094
|
<dd>
|
|
3095
3095
|
|
|
3096
|
-
**request:** `Natural.
|
|
3096
|
+
**request:** `Natural.ListPaymentIntentsRequest`
|
|
3097
3097
|
|
|
3098
3098
|
</dd>
|
|
3099
3099
|
</dl>
|
|
@@ -3101,7 +3101,7 @@ const response = page.response;
|
|
|
3101
3101
|
<dl>
|
|
3102
3102
|
<dd>
|
|
3103
3103
|
|
|
3104
|
-
**requestOptions:** `
|
|
3104
|
+
**requestOptions:** `PaymentIntentsClient.RequestOptions`
|
|
3105
3105
|
|
|
3106
3106
|
</dd>
|
|
3107
3107
|
</dl>
|
|
@@ -3113,7 +3113,7 @@ const response = page.response;
|
|
|
3113
3113
|
</dl>
|
|
3114
3114
|
</details>
|
|
3115
3115
|
|
|
3116
|
-
<details><summary><code>client.
|
|
3116
|
+
<details><summary><code>client.paymentIntents.<a href="/src/api/resources/paymentIntents/client/Client.ts">create</a>({ ...params }) -> Natural.CreatePaymentIntentsResponse</code></summary>
|
|
3117
3117
|
<dl>
|
|
3118
3118
|
<dd>
|
|
3119
3119
|
|
|
@@ -3125,7 +3125,7 @@ const response = page.response;
|
|
|
3125
3125
|
<dl>
|
|
3126
3126
|
<dd>
|
|
3127
3127
|
|
|
3128
|
-
|
|
3128
|
+
Create a payment intent with a hosted checkout link
|
|
3129
3129
|
</dd>
|
|
3130
3130
|
</dl>
|
|
3131
3131
|
</dd>
|
|
@@ -3140,8 +3140,20 @@ Get a chargeback
|
|
|
3140
3140
|
<dd>
|
|
3141
3141
|
|
|
3142
3142
|
```typescript
|
|
3143
|
-
await client.
|
|
3144
|
-
|
|
3143
|
+
await client.paymentIntents.create({
|
|
3144
|
+
idempotencyKey: "Idempotency-Key",
|
|
3145
|
+
amount: 3920,
|
|
3146
|
+
currency: "USD",
|
|
3147
|
+
description: "Order 8842",
|
|
3148
|
+
taxMode: "exclusive",
|
|
3149
|
+
lineItems: [{
|
|
3150
|
+
referenceId: "menu_item_31",
|
|
3151
|
+
description: "Margherita pizza",
|
|
3152
|
+
quantity: 2,
|
|
3153
|
+
unitAmount: 1800,
|
|
3154
|
+
taxAmount: 320,
|
|
3155
|
+
taxCode: "prepared_food"
|
|
3156
|
+
}]
|
|
3145
3157
|
});
|
|
3146
3158
|
|
|
3147
3159
|
```
|
|
@@ -3158,7 +3170,7 @@ await client.chargebacks.get({
|
|
|
3158
3170
|
<dl>
|
|
3159
3171
|
<dd>
|
|
3160
3172
|
|
|
3161
|
-
**request:** `Natural.
|
|
3173
|
+
**request:** `Natural.CreatePaymentIntentsRequest`
|
|
3162
3174
|
|
|
3163
3175
|
</dd>
|
|
3164
3176
|
</dl>
|
|
@@ -3166,7 +3178,7 @@ await client.chargebacks.get({
|
|
|
3166
3178
|
<dl>
|
|
3167
3179
|
<dd>
|
|
3168
3180
|
|
|
3169
|
-
**requestOptions:** `
|
|
3181
|
+
**requestOptions:** `PaymentIntentsClient.RequestOptions`
|
|
3170
3182
|
|
|
3171
3183
|
</dd>
|
|
3172
3184
|
</dl>
|
|
@@ -3178,7 +3190,7 @@ await client.chargebacks.get({
|
|
|
3178
3190
|
</dl>
|
|
3179
3191
|
</details>
|
|
3180
3192
|
|
|
3181
|
-
<details><summary><code>client.
|
|
3193
|
+
<details><summary><code>client.paymentIntents.<a href="/src/api/resources/paymentIntents/client/Client.ts">get</a>({ ...params }) -> Natural.GetPaymentIntentsResponse</code></summary>
|
|
3182
3194
|
<dl>
|
|
3183
3195
|
<dd>
|
|
3184
3196
|
|
|
@@ -3190,7 +3202,7 @@ await client.chargebacks.get({
|
|
|
3190
3202
|
<dl>
|
|
3191
3203
|
<dd>
|
|
3192
3204
|
|
|
3193
|
-
Get
|
|
3205
|
+
Get a payment intent
|
|
3194
3206
|
</dd>
|
|
3195
3207
|
</dl>
|
|
3196
3208
|
</dd>
|
|
@@ -3205,8 +3217,8 @@ Get the saved evidence for a chargeback
|
|
|
3205
3217
|
<dd>
|
|
3206
3218
|
|
|
3207
3219
|
```typescript
|
|
3208
|
-
await client.
|
|
3209
|
-
|
|
3220
|
+
await client.paymentIntents.get({
|
|
3221
|
+
paymentIntentId: "paymentIntentId"
|
|
3210
3222
|
});
|
|
3211
3223
|
|
|
3212
3224
|
```
|
|
@@ -3223,7 +3235,7 @@ await client.chargebacks.getEvidence({
|
|
|
3223
3235
|
<dl>
|
|
3224
3236
|
<dd>
|
|
3225
3237
|
|
|
3226
|
-
**request:** `Natural.
|
|
3238
|
+
**request:** `Natural.GetPaymentIntentsRequest`
|
|
3227
3239
|
|
|
3228
3240
|
</dd>
|
|
3229
3241
|
</dl>
|
|
@@ -3231,7 +3243,7 @@ await client.chargebacks.getEvidence({
|
|
|
3231
3243
|
<dl>
|
|
3232
3244
|
<dd>
|
|
3233
3245
|
|
|
3234
|
-
**requestOptions:** `
|
|
3246
|
+
**requestOptions:** `PaymentIntentsClient.RequestOptions`
|
|
3235
3247
|
|
|
3236
3248
|
</dd>
|
|
3237
3249
|
</dl>
|
|
@@ -3243,7 +3255,7 @@ await client.chargebacks.getEvidence({
|
|
|
3243
3255
|
</dl>
|
|
3244
3256
|
</details>
|
|
3245
3257
|
|
|
3246
|
-
<details><summary><code>client.
|
|
3258
|
+
<details><summary><code>client.paymentIntents.<a href="/src/api/resources/paymentIntents/client/Client.ts">update</a>({ ...params }) -> Natural.UpdatePaymentIntentsResponse</code></summary>
|
|
3247
3259
|
<dl>
|
|
3248
3260
|
<dd>
|
|
3249
3261
|
|
|
@@ -3255,7 +3267,7 @@ await client.chargebacks.getEvidence({
|
|
|
3255
3267
|
<dl>
|
|
3256
3268
|
<dd>
|
|
3257
3269
|
|
|
3258
|
-
|
|
3270
|
+
Change the amount, line items, or other details of an open payment intent
|
|
3259
3271
|
</dd>
|
|
3260
3272
|
</dl>
|
|
3261
3273
|
</dd>
|
|
@@ -3270,14 +3282,23 @@ Save evidence changes without submitting the response
|
|
|
3270
3282
|
<dd>
|
|
3271
3283
|
|
|
3272
3284
|
```typescript
|
|
3273
|
-
await client.
|
|
3285
|
+
await client.paymentIntents.update({
|
|
3274
3286
|
idempotencyKey: "Idempotency-Key",
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3287
|
+
paymentIntentId: "paymentIntentId",
|
|
3288
|
+
amount: 5840,
|
|
3289
|
+
lineItems: [{
|
|
3290
|
+
referenceId: "menu_item_31",
|
|
3291
|
+
description: "Margherita pizza",
|
|
3292
|
+
quantity: 2,
|
|
3293
|
+
unitAmount: 1800,
|
|
3294
|
+
taxAmount: 320,
|
|
3295
|
+
taxCode: "prepared_food"
|
|
3296
|
+
}, {
|
|
3297
|
+
description: "Garlic knots",
|
|
3298
|
+
quantity: 1,
|
|
3299
|
+
unitAmount: 1800,
|
|
3300
|
+
taxAmount: 120
|
|
3301
|
+
}]
|
|
3281
3302
|
});
|
|
3282
3303
|
|
|
3283
3304
|
```
|
|
@@ -3294,7 +3315,7 @@ await client.chargebacks.updateEvidence({
|
|
|
3294
3315
|
<dl>
|
|
3295
3316
|
<dd>
|
|
3296
3317
|
|
|
3297
|
-
**request:** `Natural.
|
|
3318
|
+
**request:** `Natural.UpdatePaymentIntentsRequest`
|
|
3298
3319
|
|
|
3299
3320
|
</dd>
|
|
3300
3321
|
</dl>
|
|
@@ -3302,7 +3323,7 @@ await client.chargebacks.updateEvidence({
|
|
|
3302
3323
|
<dl>
|
|
3303
3324
|
<dd>
|
|
3304
3325
|
|
|
3305
|
-
**requestOptions:** `
|
|
3326
|
+
**requestOptions:** `PaymentIntentsClient.RequestOptions`
|
|
3306
3327
|
|
|
3307
3328
|
</dd>
|
|
3308
3329
|
</dl>
|
|
@@ -3314,7 +3335,7 @@ await client.chargebacks.updateEvidence({
|
|
|
3314
3335
|
</dl>
|
|
3315
3336
|
</details>
|
|
3316
3337
|
|
|
3317
|
-
<details><summary><code>client.
|
|
3338
|
+
<details><summary><code>client.paymentIntents.<a href="/src/api/resources/paymentIntents/client/Client.ts">cancel</a>({ ...params }) -> Natural.CancelPaymentIntentsResponse</code></summary>
|
|
3318
3339
|
<dl>
|
|
3319
3340
|
<dd>
|
|
3320
3341
|
|
|
@@ -3326,7 +3347,7 @@ await client.chargebacks.updateEvidence({
|
|
|
3326
3347
|
<dl>
|
|
3327
3348
|
<dd>
|
|
3328
3349
|
|
|
3329
|
-
|
|
3350
|
+
Cancel an open payment intent
|
|
3330
3351
|
</dd>
|
|
3331
3352
|
</dl>
|
|
3332
3353
|
</dd>
|
|
@@ -3341,10 +3362,9 @@ Upload and validate one evidence file for this chargeback
|
|
|
3341
3362
|
<dd>
|
|
3342
3363
|
|
|
3343
3364
|
```typescript
|
|
3344
|
-
await client.
|
|
3345
|
-
file: fs.createReadStream("/path/to/your/file"),
|
|
3365
|
+
await client.paymentIntents.cancel({
|
|
3346
3366
|
idempotencyKey: "Idempotency-Key",
|
|
3347
|
-
|
|
3367
|
+
paymentIntentId: "paymentIntentId"
|
|
3348
3368
|
});
|
|
3349
3369
|
|
|
3350
3370
|
```
|
|
@@ -3361,7 +3381,7 @@ await client.chargebacks.uploadFile({
|
|
|
3361
3381
|
<dl>
|
|
3362
3382
|
<dd>
|
|
3363
3383
|
|
|
3364
|
-
**request:** `Natural.
|
|
3384
|
+
**request:** `Natural.CancelPaymentIntentsRequest`
|
|
3365
3385
|
|
|
3366
3386
|
</dd>
|
|
3367
3387
|
</dl>
|
|
@@ -3369,7 +3389,7 @@ await client.chargebacks.uploadFile({
|
|
|
3369
3389
|
<dl>
|
|
3370
3390
|
<dd>
|
|
3371
3391
|
|
|
3372
|
-
**requestOptions:** `
|
|
3392
|
+
**requestOptions:** `PaymentIntentsClient.RequestOptions`
|
|
3373
3393
|
|
|
3374
3394
|
</dd>
|
|
3375
3395
|
</dl>
|
|
@@ -3381,7 +3401,8 @@ await client.chargebacks.uploadFile({
|
|
|
3381
3401
|
</dl>
|
|
3382
3402
|
</details>
|
|
3383
3403
|
|
|
3384
|
-
|
|
3404
|
+
## Card Payments
|
|
3405
|
+
<details><summary><code>client.cardPayments.<a href="/src/api/resources/cardPayments/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.CardPayment, Natural.ListCardPaymentsResponse></code></summary>
|
|
3385
3406
|
<dl>
|
|
3386
3407
|
<dd>
|
|
3387
3408
|
|
|
@@ -3393,7 +3414,7 @@ await client.chargebacks.uploadFile({
|
|
|
3393
3414
|
<dl>
|
|
3394
3415
|
<dd>
|
|
3395
3416
|
|
|
3396
|
-
|
|
3417
|
+
List card payment attempts, newest first. Filter by paymentIntentId to see attempts for one intent.
|
|
3397
3418
|
</dd>
|
|
3398
3419
|
</dl>
|
|
3399
3420
|
</dd>
|
|
@@ -3408,9 +3429,19 @@ Render the saved evidence as a PDF without submitting it
|
|
|
3408
3429
|
<dd>
|
|
3409
3430
|
|
|
3410
3431
|
```typescript
|
|
3411
|
-
await client.
|
|
3412
|
-
|
|
3413
|
-
|
|
3432
|
+
const pageableResponse = await client.cardPayments.list();
|
|
3433
|
+
for await (const item of pageableResponse) {
|
|
3434
|
+
console.log(item);
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
// Or you can manually iterate page-by-page
|
|
3438
|
+
let page = await client.cardPayments.list();
|
|
3439
|
+
while (page.hasNextPage()) {
|
|
3440
|
+
page = page.getNextPage();
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3443
|
+
// You can also access the underlying response
|
|
3444
|
+
const response = page.response;
|
|
3414
3445
|
|
|
3415
3446
|
```
|
|
3416
3447
|
</dd>
|
|
@@ -3426,7 +3457,7 @@ await client.chargebacks.previewEvidence({
|
|
|
3426
3457
|
<dl>
|
|
3427
3458
|
<dd>
|
|
3428
3459
|
|
|
3429
|
-
**request:** `Natural.
|
|
3460
|
+
**request:** `Natural.ListCardPaymentsRequest`
|
|
3430
3461
|
|
|
3431
3462
|
</dd>
|
|
3432
3463
|
</dl>
|
|
@@ -3434,7 +3465,7 @@ await client.chargebacks.previewEvidence({
|
|
|
3434
3465
|
<dl>
|
|
3435
3466
|
<dd>
|
|
3436
3467
|
|
|
3437
|
-
**requestOptions:** `
|
|
3468
|
+
**requestOptions:** `CardPaymentsClient.RequestOptions`
|
|
3438
3469
|
|
|
3439
3470
|
</dd>
|
|
3440
3471
|
</dl>
|
|
@@ -3446,7 +3477,7 @@ await client.chargebacks.previewEvidence({
|
|
|
3446
3477
|
</dl>
|
|
3447
3478
|
</details>
|
|
3448
3479
|
|
|
3449
|
-
<details><summary><code>client.
|
|
3480
|
+
<details><summary><code>client.cardPayments.<a href="/src/api/resources/cardPayments/client/Client.ts">get</a>({ ...params }) -> Natural.GetCardPaymentsResponse</code></summary>
|
|
3450
3481
|
<dl>
|
|
3451
3482
|
<dd>
|
|
3452
3483
|
|
|
@@ -3458,7 +3489,7 @@ await client.chargebacks.previewEvidence({
|
|
|
3458
3489
|
<dl>
|
|
3459
3490
|
<dd>
|
|
3460
3491
|
|
|
3461
|
-
|
|
3492
|
+
Get one card payment attempt, including its status, failure details, and refund totals.
|
|
3462
3493
|
</dd>
|
|
3463
3494
|
</dl>
|
|
3464
3495
|
</dd>
|
|
@@ -3473,10 +3504,8 @@ Validate and freeze the saved evidence for submission
|
|
|
3473
3504
|
<dd>
|
|
3474
3505
|
|
|
3475
3506
|
```typescript
|
|
3476
|
-
await client.
|
|
3477
|
-
|
|
3478
|
-
chargebackId: "chargebackId",
|
|
3479
|
-
version: 2
|
|
3507
|
+
await client.cardPayments.get({
|
|
3508
|
+
cardPaymentId: "cardPaymentId"
|
|
3480
3509
|
});
|
|
3481
3510
|
|
|
3482
3511
|
```
|
|
@@ -3493,7 +3522,7 @@ await client.chargebacks.submit({
|
|
|
3493
3522
|
<dl>
|
|
3494
3523
|
<dd>
|
|
3495
3524
|
|
|
3496
|
-
**request:** `Natural.
|
|
3525
|
+
**request:** `Natural.GetCardPaymentsRequest`
|
|
3497
3526
|
|
|
3498
3527
|
</dd>
|
|
3499
3528
|
</dl>
|
|
@@ -3501,7 +3530,7 @@ await client.chargebacks.submit({
|
|
|
3501
3530
|
<dl>
|
|
3502
3531
|
<dd>
|
|
3503
3532
|
|
|
3504
|
-
**requestOptions:** `
|
|
3533
|
+
**requestOptions:** `CardPaymentsClient.RequestOptions`
|
|
3505
3534
|
|
|
3506
3535
|
</dd>
|
|
3507
3536
|
</dl>
|
|
@@ -3513,7 +3542,8 @@ await client.chargebacks.submit({
|
|
|
3513
3542
|
</dl>
|
|
3514
3543
|
</details>
|
|
3515
3544
|
|
|
3516
|
-
|
|
3545
|
+
## VoiceSessions
|
|
3546
|
+
<details><summary><code>client.voiceSessions.<a href="/src/api/resources/voiceSessions/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.VoiceSession, Natural.ListVoiceSessionsResponse></code></summary>
|
|
3517
3547
|
<dl>
|
|
3518
3548
|
<dd>
|
|
3519
3549
|
|
|
@@ -3525,7 +3555,7 @@ await client.chargebacks.submit({
|
|
|
3525
3555
|
<dl>
|
|
3526
3556
|
<dd>
|
|
3527
3557
|
|
|
3528
|
-
|
|
3558
|
+
List voice sessions
|
|
3529
3559
|
</dd>
|
|
3530
3560
|
</dl>
|
|
3531
3561
|
</dd>
|
|
@@ -3540,10 +3570,19 @@ Accept the chargeback without contesting it
|
|
|
3540
3570
|
<dd>
|
|
3541
3571
|
|
|
3542
3572
|
```typescript
|
|
3543
|
-
await client.
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
}
|
|
3573
|
+
const pageableResponse = await client.voiceSessions.list();
|
|
3574
|
+
for await (const item of pageableResponse) {
|
|
3575
|
+
console.log(item);
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
// Or you can manually iterate page-by-page
|
|
3579
|
+
let page = await client.voiceSessions.list();
|
|
3580
|
+
while (page.hasNextPage()) {
|
|
3581
|
+
page = page.getNextPage();
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
// You can also access the underlying response
|
|
3585
|
+
const response = page.response;
|
|
3547
3586
|
|
|
3548
3587
|
```
|
|
3549
3588
|
</dd>
|
|
@@ -3559,7 +3598,7 @@ await client.chargebacks.accept({
|
|
|
3559
3598
|
<dl>
|
|
3560
3599
|
<dd>
|
|
3561
3600
|
|
|
3562
|
-
**request:** `Natural.
|
|
3601
|
+
**request:** `Natural.ListVoiceSessionsRequest`
|
|
3563
3602
|
|
|
3564
3603
|
</dd>
|
|
3565
3604
|
</dl>
|
|
@@ -3567,7 +3606,7 @@ await client.chargebacks.accept({
|
|
|
3567
3606
|
<dl>
|
|
3568
3607
|
<dd>
|
|
3569
3608
|
|
|
3570
|
-
**requestOptions:** `
|
|
3609
|
+
**requestOptions:** `VoiceSessionsClient.RequestOptions`
|
|
3571
3610
|
|
|
3572
3611
|
</dd>
|
|
3573
3612
|
</dl>
|
|
@@ -3579,8 +3618,7 @@ await client.chargebacks.accept({
|
|
|
3579
3618
|
</dl>
|
|
3580
3619
|
</details>
|
|
3581
3620
|
|
|
3582
|
-
|
|
3583
|
-
<details><summary><code>client.transactions.<a href="/src/api/resources/transactions/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListTransactionsResponseDataItem, Natural.Txn></code></summary>
|
|
3621
|
+
<details><summary><code>client.voiceSessions.<a href="/src/api/resources/voiceSessions/client/Client.ts">create</a>({ ...params }) -> Natural.CreateVoiceSessionsResponse</code></summary>
|
|
3584
3622
|
<dl>
|
|
3585
3623
|
<dd>
|
|
3586
3624
|
|
|
@@ -3592,7 +3630,7 @@ await client.chargebacks.accept({
|
|
|
3592
3630
|
<dl>
|
|
3593
3631
|
<dd>
|
|
3594
3632
|
|
|
3595
|
-
|
|
3633
|
+
Create a voice session for an open payment intent
|
|
3596
3634
|
</dd>
|
|
3597
3635
|
</dl>
|
|
3598
3636
|
</dd>
|
|
@@ -3607,19 +3645,14 @@ List transactions
|
|
|
3607
3645
|
<dd>
|
|
3608
3646
|
|
|
3609
3647
|
```typescript
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
page = page.getNextPage();
|
|
3619
|
-
}
|
|
3620
|
-
|
|
3621
|
-
// You can also access the underlying response
|
|
3622
|
-
const response = page.response;
|
|
3648
|
+
await client.voiceSessions.create({
|
|
3649
|
+
idempotencyKey: "Idempotency-Key",
|
|
3650
|
+
kind: "payment",
|
|
3651
|
+
paymentIntentId: "pmi_019d0a1b2c3d4e5f60718293a4b5c6d7",
|
|
3652
|
+
callerPhone: "+14155550123",
|
|
3653
|
+
referenceId: "call_8842",
|
|
3654
|
+
returnTarget: "sip:agent-9920@sip.partner.example.com"
|
|
3655
|
+
});
|
|
3623
3656
|
|
|
3624
3657
|
```
|
|
3625
3658
|
</dd>
|
|
@@ -3635,7 +3668,7 @@ const response = page.response;
|
|
|
3635
3668
|
<dl>
|
|
3636
3669
|
<dd>
|
|
3637
3670
|
|
|
3638
|
-
**request:** `Natural.
|
|
3671
|
+
**request:** `Natural.CreateVoiceSessionsRequest`
|
|
3639
3672
|
|
|
3640
3673
|
</dd>
|
|
3641
3674
|
</dl>
|
|
@@ -3643,7 +3676,7 @@ const response = page.response;
|
|
|
3643
3676
|
<dl>
|
|
3644
3677
|
<dd>
|
|
3645
3678
|
|
|
3646
|
-
**requestOptions:** `
|
|
3679
|
+
**requestOptions:** `VoiceSessionsClient.RequestOptions`
|
|
3647
3680
|
|
|
3648
3681
|
</dd>
|
|
3649
3682
|
</dl>
|
|
@@ -3655,7 +3688,7 @@ const response = page.response;
|
|
|
3655
3688
|
</dl>
|
|
3656
3689
|
</details>
|
|
3657
3690
|
|
|
3658
|
-
<details><summary><code>client.
|
|
3691
|
+
<details><summary><code>client.voiceSessions.<a href="/src/api/resources/voiceSessions/client/Client.ts">get</a>({ ...params }) -> Natural.GetVoiceSessionsResponse</code></summary>
|
|
3659
3692
|
<dl>
|
|
3660
3693
|
<dd>
|
|
3661
3694
|
|
|
@@ -3667,7 +3700,7 @@ const response = page.response;
|
|
|
3667
3700
|
<dl>
|
|
3668
3701
|
<dd>
|
|
3669
3702
|
|
|
3670
|
-
Get a
|
|
3703
|
+
Get a voice session
|
|
3671
3704
|
</dd>
|
|
3672
3705
|
</dl>
|
|
3673
3706
|
</dd>
|
|
@@ -3682,8 +3715,8 @@ Get a transaction
|
|
|
3682
3715
|
<dd>
|
|
3683
3716
|
|
|
3684
3717
|
```typescript
|
|
3685
|
-
await client.
|
|
3686
|
-
|
|
3718
|
+
await client.voiceSessions.get({
|
|
3719
|
+
voiceSessionId: "voiceSessionId"
|
|
3687
3720
|
});
|
|
3688
3721
|
|
|
3689
3722
|
```
|
|
@@ -3700,7 +3733,7 @@ await client.transactions.get({
|
|
|
3700
3733
|
<dl>
|
|
3701
3734
|
<dd>
|
|
3702
3735
|
|
|
3703
|
-
**request:** `Natural.
|
|
3736
|
+
**request:** `Natural.GetVoiceSessionsRequest`
|
|
3704
3737
|
|
|
3705
3738
|
</dd>
|
|
3706
3739
|
</dl>
|
|
@@ -3708,7 +3741,7 @@ await client.transactions.get({
|
|
|
3708
3741
|
<dl>
|
|
3709
3742
|
<dd>
|
|
3710
3743
|
|
|
3711
|
-
**requestOptions:** `
|
|
3744
|
+
**requestOptions:** `VoiceSessionsClient.RequestOptions`
|
|
3712
3745
|
|
|
3713
3746
|
</dd>
|
|
3714
3747
|
</dl>
|
|
@@ -3720,8 +3753,7 @@ await client.transactions.get({
|
|
|
3720
3753
|
</dl>
|
|
3721
3754
|
</details>
|
|
3722
3755
|
|
|
3723
|
-
|
|
3724
|
-
<details><summary><code>client.transfers.<a href="/src/api/resources/transfers/client/Client.ts">initiateDeposit</a>({ ...params }) -> Natural.Deposit</code></summary>
|
|
3756
|
+
<details><summary><code>client.voiceSessions.<a href="/src/api/resources/voiceSessions/client/Client.ts">getTranscript</a>({ ...params }) -> Natural.GetTranscriptVoiceSessionsResponse</code></summary>
|
|
3725
3757
|
<dl>
|
|
3726
3758
|
<dd>
|
|
3727
3759
|
|
|
@@ -3733,7 +3765,7 @@ await client.transactions.get({
|
|
|
3733
3765
|
<dl>
|
|
3734
3766
|
<dd>
|
|
3735
3767
|
|
|
3736
|
-
|
|
3768
|
+
Get a voice session's transcript
|
|
3737
3769
|
</dd>
|
|
3738
3770
|
</dl>
|
|
3739
3771
|
</dd>
|
|
@@ -3748,15 +3780,8 @@ Move funds from a linked bank account into a wallet
|
|
|
3748
3780
|
<dd>
|
|
3749
3781
|
|
|
3750
3782
|
```typescript
|
|
3751
|
-
await client.
|
|
3752
|
-
|
|
3753
|
-
amount: 50000,
|
|
3754
|
-
currency: "USD",
|
|
3755
|
-
externalAccountId: "eac_019cd1798d75c7ec27e4218aeac1d282",
|
|
3756
|
-
description: "Wallet top-up",
|
|
3757
|
-
tags: {
|
|
3758
|
-
"workflow": "treasury"
|
|
3759
|
-
}
|
|
3783
|
+
await client.voiceSessions.getTranscript({
|
|
3784
|
+
voiceSessionId: "voiceSessionId"
|
|
3760
3785
|
});
|
|
3761
3786
|
|
|
3762
3787
|
```
|
|
@@ -3773,7 +3798,7 @@ await client.transfers.initiateDeposit({
|
|
|
3773
3798
|
<dl>
|
|
3774
3799
|
<dd>
|
|
3775
3800
|
|
|
3776
|
-
**request:** `Natural.
|
|
3801
|
+
**request:** `Natural.GetTranscriptVoiceSessionsRequest`
|
|
3777
3802
|
|
|
3778
3803
|
</dd>
|
|
3779
3804
|
</dl>
|
|
@@ -3781,7 +3806,7 @@ await client.transfers.initiateDeposit({
|
|
|
3781
3806
|
<dl>
|
|
3782
3807
|
<dd>
|
|
3783
3808
|
|
|
3784
|
-
**requestOptions:** `
|
|
3809
|
+
**requestOptions:** `VoiceSessionsClient.RequestOptions`
|
|
3785
3810
|
|
|
3786
3811
|
</dd>
|
|
3787
3812
|
</dl>
|
|
@@ -3793,7 +3818,8 @@ await client.transfers.initiateDeposit({
|
|
|
3793
3818
|
</dl>
|
|
3794
3819
|
</details>
|
|
3795
3820
|
|
|
3796
|
-
|
|
3821
|
+
## Refunds
|
|
3822
|
+
<details><summary><code>client.refunds.<a href="/src/api/resources/refunds/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.Refund, Natural.ListRefundsResponse></code></summary>
|
|
3797
3823
|
<dl>
|
|
3798
3824
|
<dd>
|
|
3799
3825
|
|
|
@@ -3805,7 +3831,7 @@ await client.transfers.initiateDeposit({
|
|
|
3805
3831
|
<dl>
|
|
3806
3832
|
<dd>
|
|
3807
3833
|
|
|
3808
|
-
|
|
3834
|
+
List refunds, newest first
|
|
3809
3835
|
</dd>
|
|
3810
3836
|
</dl>
|
|
3811
3837
|
</dd>
|
|
@@ -3820,17 +3846,19 @@ Move funds from a wallet to a linked bank account
|
|
|
3820
3846
|
<dd>
|
|
3821
3847
|
|
|
3822
3848
|
```typescript
|
|
3823
|
-
await client.
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3849
|
+
const pageableResponse = await client.refunds.list();
|
|
3850
|
+
for await (const item of pageableResponse) {
|
|
3851
|
+
console.log(item);
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
// Or you can manually iterate page-by-page
|
|
3855
|
+
let page = await client.refunds.list();
|
|
3856
|
+
while (page.hasNextPage()) {
|
|
3857
|
+
page = page.getNextPage();
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
// You can also access the underlying response
|
|
3861
|
+
const response = page.response;
|
|
3834
3862
|
|
|
3835
3863
|
```
|
|
3836
3864
|
</dd>
|
|
@@ -3846,7 +3874,7 @@ await client.transfers.initiateWithdrawal({
|
|
|
3846
3874
|
<dl>
|
|
3847
3875
|
<dd>
|
|
3848
3876
|
|
|
3849
|
-
**request:** `Natural.
|
|
3877
|
+
**request:** `Natural.ListRefundsRequest`
|
|
3850
3878
|
|
|
3851
3879
|
</dd>
|
|
3852
3880
|
</dl>
|
|
@@ -3854,7 +3882,7 @@ await client.transfers.initiateWithdrawal({
|
|
|
3854
3882
|
<dl>
|
|
3855
3883
|
<dd>
|
|
3856
3884
|
|
|
3857
|
-
**requestOptions:** `
|
|
3885
|
+
**requestOptions:** `RefundsClient.RequestOptions`
|
|
3858
3886
|
|
|
3859
3887
|
</dd>
|
|
3860
3888
|
</dl>
|
|
@@ -3866,7 +3894,7 @@ await client.transfers.initiateWithdrawal({
|
|
|
3866
3894
|
</dl>
|
|
3867
3895
|
</details>
|
|
3868
3896
|
|
|
3869
|
-
<details><summary><code>client.
|
|
3897
|
+
<details><summary><code>client.refunds.<a href="/src/api/resources/refunds/client/Client.ts">create</a>({ ...params }) -> Natural.CreateRefundsResponse</code></summary>
|
|
3870
3898
|
<dl>
|
|
3871
3899
|
<dd>
|
|
3872
3900
|
|
|
@@ -3878,7 +3906,7 @@ await client.transfers.initiateWithdrawal({
|
|
|
3878
3906
|
<dl>
|
|
3879
3907
|
<dd>
|
|
3880
3908
|
|
|
3881
|
-
|
|
3909
|
+
Refund a card payment
|
|
3882
3910
|
</dd>
|
|
3883
3911
|
</dl>
|
|
3884
3912
|
</dd>
|
|
@@ -3893,15 +3921,11 @@ Move funds between two wallets
|
|
|
3893
3921
|
<dd>
|
|
3894
3922
|
|
|
3895
3923
|
```typescript
|
|
3896
|
-
await client.
|
|
3924
|
+
await client.refunds.create({
|
|
3897
3925
|
idempotencyKey: "Idempotency-Key",
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
description: "Sweep to Vault",
|
|
3902
|
-
tags: {
|
|
3903
|
-
"workflow": "treasury"
|
|
3904
|
-
}
|
|
3926
|
+
paymentIntentId: "pmi_019d0a1b2c3d4e5f60718293a4b5c6d7",
|
|
3927
|
+
amount: 1000,
|
|
3928
|
+
reason: "requestedByPayer"
|
|
3905
3929
|
});
|
|
3906
3930
|
|
|
3907
3931
|
```
|
|
@@ -3918,7 +3942,7 @@ await client.transfers.initiateInternal({
|
|
|
3918
3942
|
<dl>
|
|
3919
3943
|
<dd>
|
|
3920
3944
|
|
|
3921
|
-
**request:** `Natural.
|
|
3945
|
+
**request:** `Natural.CreateRefundsRequest`
|
|
3922
3946
|
|
|
3923
3947
|
</dd>
|
|
3924
3948
|
</dl>
|
|
@@ -3926,7 +3950,7 @@ await client.transfers.initiateInternal({
|
|
|
3926
3950
|
<dl>
|
|
3927
3951
|
<dd>
|
|
3928
3952
|
|
|
3929
|
-
**requestOptions:** `
|
|
3953
|
+
**requestOptions:** `RefundsClient.RequestOptions`
|
|
3930
3954
|
|
|
3931
3955
|
</dd>
|
|
3932
3956
|
</dl>
|
|
@@ -3938,7 +3962,7 @@ await client.transfers.initiateInternal({
|
|
|
3938
3962
|
</dl>
|
|
3939
3963
|
</details>
|
|
3940
3964
|
|
|
3941
|
-
<details><summary><code>client.
|
|
3965
|
+
<details><summary><code>client.refunds.<a href="/src/api/resources/refunds/client/Client.ts">get</a>({ ...params }) -> Natural.GetRefundsResponse</code></summary>
|
|
3942
3966
|
<dl>
|
|
3943
3967
|
<dd>
|
|
3944
3968
|
|
|
@@ -3950,7 +3974,7 @@ await client.transfers.initiateInternal({
|
|
|
3950
3974
|
<dl>
|
|
3951
3975
|
<dd>
|
|
3952
3976
|
|
|
3953
|
-
|
|
3977
|
+
Get a refund
|
|
3954
3978
|
</dd>
|
|
3955
3979
|
</dl>
|
|
3956
3980
|
</dd>
|
|
@@ -3965,19 +3989,9 @@ List transfers
|
|
|
3965
3989
|
<dd>
|
|
3966
3990
|
|
|
3967
3991
|
```typescript
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
}
|
|
3972
|
-
|
|
3973
|
-
// Or you can manually iterate page-by-page
|
|
3974
|
-
let page = await client.transfers.list();
|
|
3975
|
-
while (page.hasNextPage()) {
|
|
3976
|
-
page = page.getNextPage();
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3979
|
-
// You can also access the underlying response
|
|
3980
|
-
const response = page.response;
|
|
3992
|
+
await client.refunds.get({
|
|
3993
|
+
refundId: "refundId"
|
|
3994
|
+
});
|
|
3981
3995
|
|
|
3982
3996
|
```
|
|
3983
3997
|
</dd>
|
|
@@ -3993,7 +4007,7 @@ const response = page.response;
|
|
|
3993
4007
|
<dl>
|
|
3994
4008
|
<dd>
|
|
3995
4009
|
|
|
3996
|
-
**request:** `Natural.
|
|
4010
|
+
**request:** `Natural.GetRefundsRequest`
|
|
3997
4011
|
|
|
3998
4012
|
</dd>
|
|
3999
4013
|
</dl>
|
|
@@ -4001,7 +4015,7 @@ const response = page.response;
|
|
|
4001
4015
|
<dl>
|
|
4002
4016
|
<dd>
|
|
4003
4017
|
|
|
4004
|
-
**requestOptions:** `
|
|
4018
|
+
**requestOptions:** `RefundsClient.RequestOptions`
|
|
4005
4019
|
|
|
4006
4020
|
</dd>
|
|
4007
4021
|
</dl>
|
|
@@ -4013,7 +4027,8 @@ const response = page.response;
|
|
|
4013
4027
|
</dl>
|
|
4014
4028
|
</details>
|
|
4015
4029
|
|
|
4016
|
-
|
|
4030
|
+
## Chargebacks
|
|
4031
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListChargebacksResponseDataItem, Natural.ListChargebacksResponse></code></summary>
|
|
4017
4032
|
<dl>
|
|
4018
4033
|
<dd>
|
|
4019
4034
|
|
|
@@ -4025,7 +4040,7 @@ const response = page.response;
|
|
|
4025
4040
|
<dl>
|
|
4026
4041
|
<dd>
|
|
4027
4042
|
|
|
4028
|
-
|
|
4043
|
+
List chargebacks on card payments received by the customer
|
|
4029
4044
|
</dd>
|
|
4030
4045
|
</dl>
|
|
4031
4046
|
</dd>
|
|
@@ -4040,9 +4055,19 @@ Get a transfer
|
|
|
4040
4055
|
<dd>
|
|
4041
4056
|
|
|
4042
4057
|
```typescript
|
|
4043
|
-
await client.
|
|
4044
|
-
|
|
4045
|
-
|
|
4058
|
+
const pageableResponse = await client.chargebacks.list();
|
|
4059
|
+
for await (const item of pageableResponse) {
|
|
4060
|
+
console.log(item);
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
// Or you can manually iterate page-by-page
|
|
4064
|
+
let page = await client.chargebacks.list();
|
|
4065
|
+
while (page.hasNextPage()) {
|
|
4066
|
+
page = page.getNextPage();
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
// You can also access the underlying response
|
|
4070
|
+
const response = page.response;
|
|
4046
4071
|
|
|
4047
4072
|
```
|
|
4048
4073
|
</dd>
|
|
@@ -4058,7 +4083,7 @@ await client.transfers.get({
|
|
|
4058
4083
|
<dl>
|
|
4059
4084
|
<dd>
|
|
4060
4085
|
|
|
4061
|
-
**request:** `Natural.
|
|
4086
|
+
**request:** `Natural.ListChargebacksRequest`
|
|
4062
4087
|
|
|
4063
4088
|
</dd>
|
|
4064
4089
|
</dl>
|
|
@@ -4066,7 +4091,7 @@ await client.transfers.get({
|
|
|
4066
4091
|
<dl>
|
|
4067
4092
|
<dd>
|
|
4068
4093
|
|
|
4069
|
-
**requestOptions:** `
|
|
4094
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4070
4095
|
|
|
4071
4096
|
</dd>
|
|
4072
4097
|
</dl>
|
|
@@ -4078,8 +4103,7 @@ await client.transfers.get({
|
|
|
4078
4103
|
</dl>
|
|
4079
4104
|
</details>
|
|
4080
4105
|
|
|
4081
|
-
|
|
4082
|
-
<details><summary><code>client.paymentRequests.<a href="/src/api/resources/paymentRequests/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListPaymentRequestsResponseDataItem, Natural.PayReq></code></summary>
|
|
4106
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">get</a>({ ...params }) -> Natural.GetChargebacksResponse</code></summary>
|
|
4083
4107
|
<dl>
|
|
4084
4108
|
<dd>
|
|
4085
4109
|
|
|
@@ -4091,7 +4115,7 @@ await client.transfers.get({
|
|
|
4091
4115
|
<dl>
|
|
4092
4116
|
<dd>
|
|
4093
4117
|
|
|
4094
|
-
|
|
4118
|
+
Get a chargeback
|
|
4095
4119
|
</dd>
|
|
4096
4120
|
</dl>
|
|
4097
4121
|
</dd>
|
|
@@ -4106,19 +4130,9 @@ List outgoing payment requests
|
|
|
4106
4130
|
<dd>
|
|
4107
4131
|
|
|
4108
4132
|
```typescript
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
// Or you can manually iterate page-by-page
|
|
4115
|
-
let page = await client.paymentRequests.list();
|
|
4116
|
-
while (page.hasNextPage()) {
|
|
4117
|
-
page = page.getNextPage();
|
|
4118
|
-
}
|
|
4119
|
-
|
|
4120
|
-
// You can also access the underlying response
|
|
4121
|
-
const response = page.response;
|
|
4133
|
+
await client.chargebacks.get({
|
|
4134
|
+
chargebackId: "chargebackId"
|
|
4135
|
+
});
|
|
4122
4136
|
|
|
4123
4137
|
```
|
|
4124
4138
|
</dd>
|
|
@@ -4134,7 +4148,7 @@ const response = page.response;
|
|
|
4134
4148
|
<dl>
|
|
4135
4149
|
<dd>
|
|
4136
4150
|
|
|
4137
|
-
**request:** `Natural.
|
|
4151
|
+
**request:** `Natural.GetChargebacksRequest`
|
|
4138
4152
|
|
|
4139
4153
|
</dd>
|
|
4140
4154
|
</dl>
|
|
@@ -4142,7 +4156,7 @@ const response = page.response;
|
|
|
4142
4156
|
<dl>
|
|
4143
4157
|
<dd>
|
|
4144
4158
|
|
|
4145
|
-
**requestOptions:** `
|
|
4159
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4146
4160
|
|
|
4147
4161
|
</dd>
|
|
4148
4162
|
</dl>
|
|
@@ -4154,7 +4168,7 @@ const response = page.response;
|
|
|
4154
4168
|
</dl>
|
|
4155
4169
|
</details>
|
|
4156
4170
|
|
|
4157
|
-
<details><summary><code>client.
|
|
4171
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">getEvidence</a>({ ...params }) -> Natural.GetEvidenceChargebacksResponse</code></summary>
|
|
4158
4172
|
<dl>
|
|
4159
4173
|
<dd>
|
|
4160
4174
|
|
|
@@ -4166,7 +4180,7 @@ const response = page.response;
|
|
|
4166
4180
|
<dl>
|
|
4167
4181
|
<dd>
|
|
4168
4182
|
|
|
4169
|
-
|
|
4183
|
+
Get the saved evidence for a chargeback
|
|
4170
4184
|
</dd>
|
|
4171
4185
|
</dl>
|
|
4172
4186
|
</dd>
|
|
@@ -4181,19 +4195,8 @@ Create a payment request
|
|
|
4181
4195
|
<dd>
|
|
4182
4196
|
|
|
4183
4197
|
```typescript
|
|
4184
|
-
await client.
|
|
4185
|
-
|
|
4186
|
-
amount: 2500,
|
|
4187
|
-
currency: "USD",
|
|
4188
|
-
description: "Invoice 7",
|
|
4189
|
-
tags: {
|
|
4190
|
-
"invoice_id": "inv_7"
|
|
4191
|
-
},
|
|
4192
|
-
payerName: "Ada Lovelace",
|
|
4193
|
-
payer: {
|
|
4194
|
-
type: "email",
|
|
4195
|
-
value: "ada@example.com"
|
|
4196
|
-
}
|
|
4198
|
+
await client.chargebacks.getEvidence({
|
|
4199
|
+
chargebackId: "chargebackId"
|
|
4197
4200
|
});
|
|
4198
4201
|
|
|
4199
4202
|
```
|
|
@@ -4210,7 +4213,7 @@ await client.paymentRequests.create({
|
|
|
4210
4213
|
<dl>
|
|
4211
4214
|
<dd>
|
|
4212
4215
|
|
|
4213
|
-
**request:** `Natural.
|
|
4216
|
+
**request:** `Natural.GetEvidenceChargebacksRequest`
|
|
4214
4217
|
|
|
4215
4218
|
</dd>
|
|
4216
4219
|
</dl>
|
|
@@ -4218,7 +4221,7 @@ await client.paymentRequests.create({
|
|
|
4218
4221
|
<dl>
|
|
4219
4222
|
<dd>
|
|
4220
4223
|
|
|
4221
|
-
**requestOptions:** `
|
|
4224
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4222
4225
|
|
|
4223
4226
|
</dd>
|
|
4224
4227
|
</dl>
|
|
@@ -4230,7 +4233,994 @@ await client.paymentRequests.create({
|
|
|
4230
4233
|
</dl>
|
|
4231
4234
|
</details>
|
|
4232
4235
|
|
|
4233
|
-
<details><summary><code>client.
|
|
4236
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">updateEvidence</a>({ ...params }) -> Natural.UpdateEvidenceChargebacksResponse</code></summary>
|
|
4237
|
+
<dl>
|
|
4238
|
+
<dd>
|
|
4239
|
+
|
|
4240
|
+
#### 📝 Description
|
|
4241
|
+
|
|
4242
|
+
<dl>
|
|
4243
|
+
<dd>
|
|
4244
|
+
|
|
4245
|
+
<dl>
|
|
4246
|
+
<dd>
|
|
4247
|
+
|
|
4248
|
+
Save evidence changes without submitting the response
|
|
4249
|
+
</dd>
|
|
4250
|
+
</dl>
|
|
4251
|
+
</dd>
|
|
4252
|
+
</dl>
|
|
4253
|
+
|
|
4254
|
+
#### 🔌 Usage
|
|
4255
|
+
|
|
4256
|
+
<dl>
|
|
4257
|
+
<dd>
|
|
4258
|
+
|
|
4259
|
+
<dl>
|
|
4260
|
+
<dd>
|
|
4261
|
+
|
|
4262
|
+
```typescript
|
|
4263
|
+
await client.chargebacks.updateEvidence({
|
|
4264
|
+
idempotencyKey: "Idempotency-Key",
|
|
4265
|
+
chargebackId: "chargebackId",
|
|
4266
|
+
responseReason: "receivedProduct",
|
|
4267
|
+
productType: "physical",
|
|
4268
|
+
explanation: "The cardholder confirmed receiving the order.",
|
|
4269
|
+
trackingNumber: "1Z9990000000000001",
|
|
4270
|
+
version: 1
|
|
4271
|
+
});
|
|
4272
|
+
|
|
4273
|
+
```
|
|
4274
|
+
</dd>
|
|
4275
|
+
</dl>
|
|
4276
|
+
</dd>
|
|
4277
|
+
</dl>
|
|
4278
|
+
|
|
4279
|
+
#### ⚙️ Parameters
|
|
4280
|
+
|
|
4281
|
+
<dl>
|
|
4282
|
+
<dd>
|
|
4283
|
+
|
|
4284
|
+
<dl>
|
|
4285
|
+
<dd>
|
|
4286
|
+
|
|
4287
|
+
**request:** `Natural.UpdateEvidenceChargebacksRequest`
|
|
4288
|
+
|
|
4289
|
+
</dd>
|
|
4290
|
+
</dl>
|
|
4291
|
+
|
|
4292
|
+
<dl>
|
|
4293
|
+
<dd>
|
|
4294
|
+
|
|
4295
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4296
|
+
|
|
4297
|
+
</dd>
|
|
4298
|
+
</dl>
|
|
4299
|
+
</dd>
|
|
4300
|
+
</dl>
|
|
4301
|
+
|
|
4302
|
+
|
|
4303
|
+
</dd>
|
|
4304
|
+
</dl>
|
|
4305
|
+
</details>
|
|
4306
|
+
|
|
4307
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">uploadFile</a>({ ...params }) -> Natural.UploadFileChargebacksResponse</code></summary>
|
|
4308
|
+
<dl>
|
|
4309
|
+
<dd>
|
|
4310
|
+
|
|
4311
|
+
#### 📝 Description
|
|
4312
|
+
|
|
4313
|
+
<dl>
|
|
4314
|
+
<dd>
|
|
4315
|
+
|
|
4316
|
+
<dl>
|
|
4317
|
+
<dd>
|
|
4318
|
+
|
|
4319
|
+
Upload and validate one evidence file for this chargeback
|
|
4320
|
+
</dd>
|
|
4321
|
+
</dl>
|
|
4322
|
+
</dd>
|
|
4323
|
+
</dl>
|
|
4324
|
+
|
|
4325
|
+
#### 🔌 Usage
|
|
4326
|
+
|
|
4327
|
+
<dl>
|
|
4328
|
+
<dd>
|
|
4329
|
+
|
|
4330
|
+
<dl>
|
|
4331
|
+
<dd>
|
|
4332
|
+
|
|
4333
|
+
```typescript
|
|
4334
|
+
await client.chargebacks.uploadFile({
|
|
4335
|
+
file: fs.createReadStream("/path/to/your/file"),
|
|
4336
|
+
idempotencyKey: "Idempotency-Key",
|
|
4337
|
+
chargebackId: "chargebackId"
|
|
4338
|
+
});
|
|
4339
|
+
|
|
4340
|
+
```
|
|
4341
|
+
</dd>
|
|
4342
|
+
</dl>
|
|
4343
|
+
</dd>
|
|
4344
|
+
</dl>
|
|
4345
|
+
|
|
4346
|
+
#### ⚙️ Parameters
|
|
4347
|
+
|
|
4348
|
+
<dl>
|
|
4349
|
+
<dd>
|
|
4350
|
+
|
|
4351
|
+
<dl>
|
|
4352
|
+
<dd>
|
|
4353
|
+
|
|
4354
|
+
**request:** `Natural.UploadFileChargebacksRequest`
|
|
4355
|
+
|
|
4356
|
+
</dd>
|
|
4357
|
+
</dl>
|
|
4358
|
+
|
|
4359
|
+
<dl>
|
|
4360
|
+
<dd>
|
|
4361
|
+
|
|
4362
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4363
|
+
|
|
4364
|
+
</dd>
|
|
4365
|
+
</dl>
|
|
4366
|
+
</dd>
|
|
4367
|
+
</dl>
|
|
4368
|
+
|
|
4369
|
+
|
|
4370
|
+
</dd>
|
|
4371
|
+
</dl>
|
|
4372
|
+
</details>
|
|
4373
|
+
|
|
4374
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">previewEvidence</a>({ ...params }) -> core.BinaryResponse</code></summary>
|
|
4375
|
+
<dl>
|
|
4376
|
+
<dd>
|
|
4377
|
+
|
|
4378
|
+
#### 📝 Description
|
|
4379
|
+
|
|
4380
|
+
<dl>
|
|
4381
|
+
<dd>
|
|
4382
|
+
|
|
4383
|
+
<dl>
|
|
4384
|
+
<dd>
|
|
4385
|
+
|
|
4386
|
+
Render the saved evidence as a PDF without submitting it
|
|
4387
|
+
</dd>
|
|
4388
|
+
</dl>
|
|
4389
|
+
</dd>
|
|
4390
|
+
</dl>
|
|
4391
|
+
|
|
4392
|
+
#### 🔌 Usage
|
|
4393
|
+
|
|
4394
|
+
<dl>
|
|
4395
|
+
<dd>
|
|
4396
|
+
|
|
4397
|
+
<dl>
|
|
4398
|
+
<dd>
|
|
4399
|
+
|
|
4400
|
+
```typescript
|
|
4401
|
+
await client.chargebacks.previewEvidence({
|
|
4402
|
+
chargebackId: "chargebackId"
|
|
4403
|
+
});
|
|
4404
|
+
|
|
4405
|
+
```
|
|
4406
|
+
</dd>
|
|
4407
|
+
</dl>
|
|
4408
|
+
</dd>
|
|
4409
|
+
</dl>
|
|
4410
|
+
|
|
4411
|
+
#### ⚙️ Parameters
|
|
4412
|
+
|
|
4413
|
+
<dl>
|
|
4414
|
+
<dd>
|
|
4415
|
+
|
|
4416
|
+
<dl>
|
|
4417
|
+
<dd>
|
|
4418
|
+
|
|
4419
|
+
**request:** `Natural.PreviewEvidenceChargebacksRequest`
|
|
4420
|
+
|
|
4421
|
+
</dd>
|
|
4422
|
+
</dl>
|
|
4423
|
+
|
|
4424
|
+
<dl>
|
|
4425
|
+
<dd>
|
|
4426
|
+
|
|
4427
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4428
|
+
|
|
4429
|
+
</dd>
|
|
4430
|
+
</dl>
|
|
4431
|
+
</dd>
|
|
4432
|
+
</dl>
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
</dd>
|
|
4436
|
+
</dl>
|
|
4437
|
+
</details>
|
|
4438
|
+
|
|
4439
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">submit</a>({ ...params }) -> Natural.SubmitChargebacksResponse</code></summary>
|
|
4440
|
+
<dl>
|
|
4441
|
+
<dd>
|
|
4442
|
+
|
|
4443
|
+
#### 📝 Description
|
|
4444
|
+
|
|
4445
|
+
<dl>
|
|
4446
|
+
<dd>
|
|
4447
|
+
|
|
4448
|
+
<dl>
|
|
4449
|
+
<dd>
|
|
4450
|
+
|
|
4451
|
+
Validate and freeze the saved evidence for submission
|
|
4452
|
+
</dd>
|
|
4453
|
+
</dl>
|
|
4454
|
+
</dd>
|
|
4455
|
+
</dl>
|
|
4456
|
+
|
|
4457
|
+
#### 🔌 Usage
|
|
4458
|
+
|
|
4459
|
+
<dl>
|
|
4460
|
+
<dd>
|
|
4461
|
+
|
|
4462
|
+
<dl>
|
|
4463
|
+
<dd>
|
|
4464
|
+
|
|
4465
|
+
```typescript
|
|
4466
|
+
await client.chargebacks.submit({
|
|
4467
|
+
idempotencyKey: "Idempotency-Key",
|
|
4468
|
+
chargebackId: "chargebackId",
|
|
4469
|
+
version: 2
|
|
4470
|
+
});
|
|
4471
|
+
|
|
4472
|
+
```
|
|
4473
|
+
</dd>
|
|
4474
|
+
</dl>
|
|
4475
|
+
</dd>
|
|
4476
|
+
</dl>
|
|
4477
|
+
|
|
4478
|
+
#### ⚙️ Parameters
|
|
4479
|
+
|
|
4480
|
+
<dl>
|
|
4481
|
+
<dd>
|
|
4482
|
+
|
|
4483
|
+
<dl>
|
|
4484
|
+
<dd>
|
|
4485
|
+
|
|
4486
|
+
**request:** `Natural.SubmitChargebacksRequest`
|
|
4487
|
+
|
|
4488
|
+
</dd>
|
|
4489
|
+
</dl>
|
|
4490
|
+
|
|
4491
|
+
<dl>
|
|
4492
|
+
<dd>
|
|
4493
|
+
|
|
4494
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4495
|
+
|
|
4496
|
+
</dd>
|
|
4497
|
+
</dl>
|
|
4498
|
+
</dd>
|
|
4499
|
+
</dl>
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
</dd>
|
|
4503
|
+
</dl>
|
|
4504
|
+
</details>
|
|
4505
|
+
|
|
4506
|
+
<details><summary><code>client.chargebacks.<a href="/src/api/resources/chargebacks/client/Client.ts">accept</a>({ ...params }) -> Natural.AcceptChargebacksResponse</code></summary>
|
|
4507
|
+
<dl>
|
|
4508
|
+
<dd>
|
|
4509
|
+
|
|
4510
|
+
#### 📝 Description
|
|
4511
|
+
|
|
4512
|
+
<dl>
|
|
4513
|
+
<dd>
|
|
4514
|
+
|
|
4515
|
+
<dl>
|
|
4516
|
+
<dd>
|
|
4517
|
+
|
|
4518
|
+
Accept the chargeback without contesting it
|
|
4519
|
+
</dd>
|
|
4520
|
+
</dl>
|
|
4521
|
+
</dd>
|
|
4522
|
+
</dl>
|
|
4523
|
+
|
|
4524
|
+
#### 🔌 Usage
|
|
4525
|
+
|
|
4526
|
+
<dl>
|
|
4527
|
+
<dd>
|
|
4528
|
+
|
|
4529
|
+
<dl>
|
|
4530
|
+
<dd>
|
|
4531
|
+
|
|
4532
|
+
```typescript
|
|
4533
|
+
await client.chargebacks.accept({
|
|
4534
|
+
idempotencyKey: "Idempotency-Key",
|
|
4535
|
+
chargebackId: "chargebackId"
|
|
4536
|
+
});
|
|
4537
|
+
|
|
4538
|
+
```
|
|
4539
|
+
</dd>
|
|
4540
|
+
</dl>
|
|
4541
|
+
</dd>
|
|
4542
|
+
</dl>
|
|
4543
|
+
|
|
4544
|
+
#### ⚙️ Parameters
|
|
4545
|
+
|
|
4546
|
+
<dl>
|
|
4547
|
+
<dd>
|
|
4548
|
+
|
|
4549
|
+
<dl>
|
|
4550
|
+
<dd>
|
|
4551
|
+
|
|
4552
|
+
**request:** `Natural.AcceptChargebacksRequest`
|
|
4553
|
+
|
|
4554
|
+
</dd>
|
|
4555
|
+
</dl>
|
|
4556
|
+
|
|
4557
|
+
<dl>
|
|
4558
|
+
<dd>
|
|
4559
|
+
|
|
4560
|
+
**requestOptions:** `ChargebacksClient.RequestOptions`
|
|
4561
|
+
|
|
4562
|
+
</dd>
|
|
4563
|
+
</dl>
|
|
4564
|
+
</dd>
|
|
4565
|
+
</dl>
|
|
4566
|
+
|
|
4567
|
+
|
|
4568
|
+
</dd>
|
|
4569
|
+
</dl>
|
|
4570
|
+
</details>
|
|
4571
|
+
|
|
4572
|
+
## Transactions
|
|
4573
|
+
<details><summary><code>client.transactions.<a href="/src/api/resources/transactions/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListTransactionsResponseDataItem, Natural.Txn></code></summary>
|
|
4574
|
+
<dl>
|
|
4575
|
+
<dd>
|
|
4576
|
+
|
|
4577
|
+
#### 📝 Description
|
|
4578
|
+
|
|
4579
|
+
<dl>
|
|
4580
|
+
<dd>
|
|
4581
|
+
|
|
4582
|
+
<dl>
|
|
4583
|
+
<dd>
|
|
4584
|
+
|
|
4585
|
+
List transactions
|
|
4586
|
+
</dd>
|
|
4587
|
+
</dl>
|
|
4588
|
+
</dd>
|
|
4589
|
+
</dl>
|
|
4590
|
+
|
|
4591
|
+
#### 🔌 Usage
|
|
4592
|
+
|
|
4593
|
+
<dl>
|
|
4594
|
+
<dd>
|
|
4595
|
+
|
|
4596
|
+
<dl>
|
|
4597
|
+
<dd>
|
|
4598
|
+
|
|
4599
|
+
```typescript
|
|
4600
|
+
const pageableResponse = await client.transactions.list();
|
|
4601
|
+
for await (const item of pageableResponse) {
|
|
4602
|
+
console.log(item);
|
|
4603
|
+
}
|
|
4604
|
+
|
|
4605
|
+
// Or you can manually iterate page-by-page
|
|
4606
|
+
let page = await client.transactions.list();
|
|
4607
|
+
while (page.hasNextPage()) {
|
|
4608
|
+
page = page.getNextPage();
|
|
4609
|
+
}
|
|
4610
|
+
|
|
4611
|
+
// You can also access the underlying response
|
|
4612
|
+
const response = page.response;
|
|
4613
|
+
|
|
4614
|
+
```
|
|
4615
|
+
</dd>
|
|
4616
|
+
</dl>
|
|
4617
|
+
</dd>
|
|
4618
|
+
</dl>
|
|
4619
|
+
|
|
4620
|
+
#### ⚙️ Parameters
|
|
4621
|
+
|
|
4622
|
+
<dl>
|
|
4623
|
+
<dd>
|
|
4624
|
+
|
|
4625
|
+
<dl>
|
|
4626
|
+
<dd>
|
|
4627
|
+
|
|
4628
|
+
**request:** `Natural.ListTransactionsRequest`
|
|
4629
|
+
|
|
4630
|
+
</dd>
|
|
4631
|
+
</dl>
|
|
4632
|
+
|
|
4633
|
+
<dl>
|
|
4634
|
+
<dd>
|
|
4635
|
+
|
|
4636
|
+
**requestOptions:** `TransactionsClient.RequestOptions`
|
|
4637
|
+
|
|
4638
|
+
</dd>
|
|
4639
|
+
</dl>
|
|
4640
|
+
</dd>
|
|
4641
|
+
</dl>
|
|
4642
|
+
|
|
4643
|
+
|
|
4644
|
+
</dd>
|
|
4645
|
+
</dl>
|
|
4646
|
+
</details>
|
|
4647
|
+
|
|
4648
|
+
<details><summary><code>client.transactions.<a href="/src/api/resources/transactions/client/Client.ts">get</a>({ ...params }) -> Natural.TxnDetail</code></summary>
|
|
4649
|
+
<dl>
|
|
4650
|
+
<dd>
|
|
4651
|
+
|
|
4652
|
+
#### 📝 Description
|
|
4653
|
+
|
|
4654
|
+
<dl>
|
|
4655
|
+
<dd>
|
|
4656
|
+
|
|
4657
|
+
<dl>
|
|
4658
|
+
<dd>
|
|
4659
|
+
|
|
4660
|
+
Get a transaction
|
|
4661
|
+
</dd>
|
|
4662
|
+
</dl>
|
|
4663
|
+
</dd>
|
|
4664
|
+
</dl>
|
|
4665
|
+
|
|
4666
|
+
#### 🔌 Usage
|
|
4667
|
+
|
|
4668
|
+
<dl>
|
|
4669
|
+
<dd>
|
|
4670
|
+
|
|
4671
|
+
<dl>
|
|
4672
|
+
<dd>
|
|
4673
|
+
|
|
4674
|
+
```typescript
|
|
4675
|
+
await client.transactions.get({
|
|
4676
|
+
transactionId: "transactionId"
|
|
4677
|
+
});
|
|
4678
|
+
|
|
4679
|
+
```
|
|
4680
|
+
</dd>
|
|
4681
|
+
</dl>
|
|
4682
|
+
</dd>
|
|
4683
|
+
</dl>
|
|
4684
|
+
|
|
4685
|
+
#### ⚙️ Parameters
|
|
4686
|
+
|
|
4687
|
+
<dl>
|
|
4688
|
+
<dd>
|
|
4689
|
+
|
|
4690
|
+
<dl>
|
|
4691
|
+
<dd>
|
|
4692
|
+
|
|
4693
|
+
**request:** `Natural.GetTransactionsRequest`
|
|
4694
|
+
|
|
4695
|
+
</dd>
|
|
4696
|
+
</dl>
|
|
4697
|
+
|
|
4698
|
+
<dl>
|
|
4699
|
+
<dd>
|
|
4700
|
+
|
|
4701
|
+
**requestOptions:** `TransactionsClient.RequestOptions`
|
|
4702
|
+
|
|
4703
|
+
</dd>
|
|
4704
|
+
</dl>
|
|
4705
|
+
</dd>
|
|
4706
|
+
</dl>
|
|
4707
|
+
|
|
4708
|
+
|
|
4709
|
+
</dd>
|
|
4710
|
+
</dl>
|
|
4711
|
+
</details>
|
|
4712
|
+
|
|
4713
|
+
## Transfers
|
|
4714
|
+
<details><summary><code>client.transfers.<a href="/src/api/resources/transfers/client/Client.ts">initiateDeposit</a>({ ...params }) -> Natural.Deposit</code></summary>
|
|
4715
|
+
<dl>
|
|
4716
|
+
<dd>
|
|
4717
|
+
|
|
4718
|
+
#### 📝 Description
|
|
4719
|
+
|
|
4720
|
+
<dl>
|
|
4721
|
+
<dd>
|
|
4722
|
+
|
|
4723
|
+
<dl>
|
|
4724
|
+
<dd>
|
|
4725
|
+
|
|
4726
|
+
Move funds from a linked bank account into a wallet
|
|
4727
|
+
</dd>
|
|
4728
|
+
</dl>
|
|
4729
|
+
</dd>
|
|
4730
|
+
</dl>
|
|
4731
|
+
|
|
4732
|
+
#### 🔌 Usage
|
|
4733
|
+
|
|
4734
|
+
<dl>
|
|
4735
|
+
<dd>
|
|
4736
|
+
|
|
4737
|
+
<dl>
|
|
4738
|
+
<dd>
|
|
4739
|
+
|
|
4740
|
+
```typescript
|
|
4741
|
+
await client.transfers.initiateDeposit({
|
|
4742
|
+
idempotencyKey: "Idempotency-Key",
|
|
4743
|
+
amount: 50000,
|
|
4744
|
+
currency: "USD",
|
|
4745
|
+
externalAccountId: "eac_019cd1798d75c7ec27e4218aeac1d282",
|
|
4746
|
+
description: "Wallet top-up",
|
|
4747
|
+
tags: {
|
|
4748
|
+
"workflow": "treasury"
|
|
4749
|
+
}
|
|
4750
|
+
});
|
|
4751
|
+
|
|
4752
|
+
```
|
|
4753
|
+
</dd>
|
|
4754
|
+
</dl>
|
|
4755
|
+
</dd>
|
|
4756
|
+
</dl>
|
|
4757
|
+
|
|
4758
|
+
#### ⚙️ Parameters
|
|
4759
|
+
|
|
4760
|
+
<dl>
|
|
4761
|
+
<dd>
|
|
4762
|
+
|
|
4763
|
+
<dl>
|
|
4764
|
+
<dd>
|
|
4765
|
+
|
|
4766
|
+
**request:** `Natural.NewDepositParams`
|
|
4767
|
+
|
|
4768
|
+
</dd>
|
|
4769
|
+
</dl>
|
|
4770
|
+
|
|
4771
|
+
<dl>
|
|
4772
|
+
<dd>
|
|
4773
|
+
|
|
4774
|
+
**requestOptions:** `TransfersClient.RequestOptions`
|
|
4775
|
+
|
|
4776
|
+
</dd>
|
|
4777
|
+
</dl>
|
|
4778
|
+
</dd>
|
|
4779
|
+
</dl>
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
</dd>
|
|
4783
|
+
</dl>
|
|
4784
|
+
</details>
|
|
4785
|
+
|
|
4786
|
+
<details><summary><code>client.transfers.<a href="/src/api/resources/transfers/client/Client.ts">initiateWithdrawal</a>({ ...params }) -> Natural.Withdrawal</code></summary>
|
|
4787
|
+
<dl>
|
|
4788
|
+
<dd>
|
|
4789
|
+
|
|
4790
|
+
#### 📝 Description
|
|
4791
|
+
|
|
4792
|
+
<dl>
|
|
4793
|
+
<dd>
|
|
4794
|
+
|
|
4795
|
+
<dl>
|
|
4796
|
+
<dd>
|
|
4797
|
+
|
|
4798
|
+
Move funds from a wallet to a linked bank account
|
|
4799
|
+
</dd>
|
|
4800
|
+
</dl>
|
|
4801
|
+
</dd>
|
|
4802
|
+
</dl>
|
|
4803
|
+
|
|
4804
|
+
#### 🔌 Usage
|
|
4805
|
+
|
|
4806
|
+
<dl>
|
|
4807
|
+
<dd>
|
|
4808
|
+
|
|
4809
|
+
<dl>
|
|
4810
|
+
<dd>
|
|
4811
|
+
|
|
4812
|
+
```typescript
|
|
4813
|
+
await client.transfers.initiateWithdrawal({
|
|
4814
|
+
idempotencyKey: "Idempotency-Key",
|
|
4815
|
+
amount: 12500,
|
|
4816
|
+
currency: "USD",
|
|
4817
|
+
externalAccountId: "eac_019cd1798d75c7ec27e4218aeac1d282",
|
|
4818
|
+
method: "instant",
|
|
4819
|
+
description: "Payout transfer",
|
|
4820
|
+
tags: {
|
|
4821
|
+
"workflow": "treasury"
|
|
4822
|
+
}
|
|
4823
|
+
});
|
|
4824
|
+
|
|
4825
|
+
```
|
|
4826
|
+
</dd>
|
|
4827
|
+
</dl>
|
|
4828
|
+
</dd>
|
|
4829
|
+
</dl>
|
|
4830
|
+
|
|
4831
|
+
#### ⚙️ Parameters
|
|
4832
|
+
|
|
4833
|
+
<dl>
|
|
4834
|
+
<dd>
|
|
4835
|
+
|
|
4836
|
+
<dl>
|
|
4837
|
+
<dd>
|
|
4838
|
+
|
|
4839
|
+
**request:** `Natural.NewWithdrawalParams`
|
|
4840
|
+
|
|
4841
|
+
</dd>
|
|
4842
|
+
</dl>
|
|
4843
|
+
|
|
4844
|
+
<dl>
|
|
4845
|
+
<dd>
|
|
4846
|
+
|
|
4847
|
+
**requestOptions:** `TransfersClient.RequestOptions`
|
|
4848
|
+
|
|
4849
|
+
</dd>
|
|
4850
|
+
</dl>
|
|
4851
|
+
</dd>
|
|
4852
|
+
</dl>
|
|
4853
|
+
|
|
4854
|
+
|
|
4855
|
+
</dd>
|
|
4856
|
+
</dl>
|
|
4857
|
+
</details>
|
|
4858
|
+
|
|
4859
|
+
<details><summary><code>client.transfers.<a href="/src/api/resources/transfers/client/Client.ts">initiateInternal</a>({ ...params }) -> Natural.InitiateInternalTransfersResponse</code></summary>
|
|
4860
|
+
<dl>
|
|
4861
|
+
<dd>
|
|
4862
|
+
|
|
4863
|
+
#### 📝 Description
|
|
4864
|
+
|
|
4865
|
+
<dl>
|
|
4866
|
+
<dd>
|
|
4867
|
+
|
|
4868
|
+
<dl>
|
|
4869
|
+
<dd>
|
|
4870
|
+
|
|
4871
|
+
Move funds between two wallets
|
|
4872
|
+
</dd>
|
|
4873
|
+
</dl>
|
|
4874
|
+
</dd>
|
|
4875
|
+
</dl>
|
|
4876
|
+
|
|
4877
|
+
#### 🔌 Usage
|
|
4878
|
+
|
|
4879
|
+
<dl>
|
|
4880
|
+
<dd>
|
|
4881
|
+
|
|
4882
|
+
<dl>
|
|
4883
|
+
<dd>
|
|
4884
|
+
|
|
4885
|
+
```typescript
|
|
4886
|
+
await client.transfers.initiateInternal({
|
|
4887
|
+
idempotencyKey: "Idempotency-Key",
|
|
4888
|
+
amount: 5000,
|
|
4889
|
+
sourceWalletId: "wal_019cd1798d714ce765e0486a417c23dc",
|
|
4890
|
+
destWalletId: "wal_019cd1798d72cf01303c7c04148c9b8d",
|
|
4891
|
+
description: "Sweep to Vault",
|
|
4892
|
+
tags: {
|
|
4893
|
+
"workflow": "treasury"
|
|
4894
|
+
}
|
|
4895
|
+
});
|
|
4896
|
+
|
|
4897
|
+
```
|
|
4898
|
+
</dd>
|
|
4899
|
+
</dl>
|
|
4900
|
+
</dd>
|
|
4901
|
+
</dl>
|
|
4902
|
+
|
|
4903
|
+
#### ⚙️ Parameters
|
|
4904
|
+
|
|
4905
|
+
<dl>
|
|
4906
|
+
<dd>
|
|
4907
|
+
|
|
4908
|
+
<dl>
|
|
4909
|
+
<dd>
|
|
4910
|
+
|
|
4911
|
+
**request:** `Natural.InitiateInternalTransfersRequest`
|
|
4912
|
+
|
|
4913
|
+
</dd>
|
|
4914
|
+
</dl>
|
|
4915
|
+
|
|
4916
|
+
<dl>
|
|
4917
|
+
<dd>
|
|
4918
|
+
|
|
4919
|
+
**requestOptions:** `TransfersClient.RequestOptions`
|
|
4920
|
+
|
|
4921
|
+
</dd>
|
|
4922
|
+
</dl>
|
|
4923
|
+
</dd>
|
|
4924
|
+
</dl>
|
|
4925
|
+
|
|
4926
|
+
|
|
4927
|
+
</dd>
|
|
4928
|
+
</dl>
|
|
4929
|
+
</details>
|
|
4930
|
+
|
|
4931
|
+
<details><summary><code>client.transfers.<a href="/src/api/resources/transfers/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListTransfersResponseDataItem, Natural.Transfer></code></summary>
|
|
4932
|
+
<dl>
|
|
4933
|
+
<dd>
|
|
4934
|
+
|
|
4935
|
+
#### 📝 Description
|
|
4936
|
+
|
|
4937
|
+
<dl>
|
|
4938
|
+
<dd>
|
|
4939
|
+
|
|
4940
|
+
<dl>
|
|
4941
|
+
<dd>
|
|
4942
|
+
|
|
4943
|
+
List transfers
|
|
4944
|
+
</dd>
|
|
4945
|
+
</dl>
|
|
4946
|
+
</dd>
|
|
4947
|
+
</dl>
|
|
4948
|
+
|
|
4949
|
+
#### 🔌 Usage
|
|
4950
|
+
|
|
4951
|
+
<dl>
|
|
4952
|
+
<dd>
|
|
4953
|
+
|
|
4954
|
+
<dl>
|
|
4955
|
+
<dd>
|
|
4956
|
+
|
|
4957
|
+
```typescript
|
|
4958
|
+
const pageableResponse = await client.transfers.list();
|
|
4959
|
+
for await (const item of pageableResponse) {
|
|
4960
|
+
console.log(item);
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
// Or you can manually iterate page-by-page
|
|
4964
|
+
let page = await client.transfers.list();
|
|
4965
|
+
while (page.hasNextPage()) {
|
|
4966
|
+
page = page.getNextPage();
|
|
4967
|
+
}
|
|
4968
|
+
|
|
4969
|
+
// You can also access the underlying response
|
|
4970
|
+
const response = page.response;
|
|
4971
|
+
|
|
4972
|
+
```
|
|
4973
|
+
</dd>
|
|
4974
|
+
</dl>
|
|
4975
|
+
</dd>
|
|
4976
|
+
</dl>
|
|
4977
|
+
|
|
4978
|
+
#### ⚙️ Parameters
|
|
4979
|
+
|
|
4980
|
+
<dl>
|
|
4981
|
+
<dd>
|
|
4982
|
+
|
|
4983
|
+
<dl>
|
|
4984
|
+
<dd>
|
|
4985
|
+
|
|
4986
|
+
**request:** `Natural.ListTransfersRequest`
|
|
4987
|
+
|
|
4988
|
+
</dd>
|
|
4989
|
+
</dl>
|
|
4990
|
+
|
|
4991
|
+
<dl>
|
|
4992
|
+
<dd>
|
|
4993
|
+
|
|
4994
|
+
**requestOptions:** `TransfersClient.RequestOptions`
|
|
4995
|
+
|
|
4996
|
+
</dd>
|
|
4997
|
+
</dl>
|
|
4998
|
+
</dd>
|
|
4999
|
+
</dl>
|
|
5000
|
+
|
|
5001
|
+
|
|
5002
|
+
</dd>
|
|
5003
|
+
</dl>
|
|
5004
|
+
</details>
|
|
5005
|
+
|
|
5006
|
+
<details><summary><code>client.transfers.<a href="/src/api/resources/transfers/client/Client.ts">get</a>({ ...params }) -> Natural.TransferDetail</code></summary>
|
|
5007
|
+
<dl>
|
|
5008
|
+
<dd>
|
|
5009
|
+
|
|
5010
|
+
#### 📝 Description
|
|
5011
|
+
|
|
5012
|
+
<dl>
|
|
5013
|
+
<dd>
|
|
5014
|
+
|
|
5015
|
+
<dl>
|
|
5016
|
+
<dd>
|
|
5017
|
+
|
|
5018
|
+
Get a transfer
|
|
5019
|
+
</dd>
|
|
5020
|
+
</dl>
|
|
5021
|
+
</dd>
|
|
5022
|
+
</dl>
|
|
5023
|
+
|
|
5024
|
+
#### 🔌 Usage
|
|
5025
|
+
|
|
5026
|
+
<dl>
|
|
5027
|
+
<dd>
|
|
5028
|
+
|
|
5029
|
+
<dl>
|
|
5030
|
+
<dd>
|
|
5031
|
+
|
|
5032
|
+
```typescript
|
|
5033
|
+
await client.transfers.get({
|
|
5034
|
+
transferId: "transferId"
|
|
5035
|
+
});
|
|
5036
|
+
|
|
5037
|
+
```
|
|
5038
|
+
</dd>
|
|
5039
|
+
</dl>
|
|
5040
|
+
</dd>
|
|
5041
|
+
</dl>
|
|
5042
|
+
|
|
5043
|
+
#### ⚙️ Parameters
|
|
5044
|
+
|
|
5045
|
+
<dl>
|
|
5046
|
+
<dd>
|
|
5047
|
+
|
|
5048
|
+
<dl>
|
|
5049
|
+
<dd>
|
|
5050
|
+
|
|
5051
|
+
**request:** `Natural.GetTransfersRequest`
|
|
5052
|
+
|
|
5053
|
+
</dd>
|
|
5054
|
+
</dl>
|
|
5055
|
+
|
|
5056
|
+
<dl>
|
|
5057
|
+
<dd>
|
|
5058
|
+
|
|
5059
|
+
**requestOptions:** `TransfersClient.RequestOptions`
|
|
5060
|
+
|
|
5061
|
+
</dd>
|
|
5062
|
+
</dl>
|
|
5063
|
+
</dd>
|
|
5064
|
+
</dl>
|
|
5065
|
+
|
|
5066
|
+
|
|
5067
|
+
</dd>
|
|
5068
|
+
</dl>
|
|
5069
|
+
</details>
|
|
5070
|
+
|
|
5071
|
+
## PaymentRequests
|
|
5072
|
+
<details><summary><code>client.paymentRequests.<a href="/src/api/resources/paymentRequests/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListPaymentRequestsResponseDataItem, Natural.PayReq></code></summary>
|
|
5073
|
+
<dl>
|
|
5074
|
+
<dd>
|
|
5075
|
+
|
|
5076
|
+
#### 📝 Description
|
|
5077
|
+
|
|
5078
|
+
<dl>
|
|
5079
|
+
<dd>
|
|
5080
|
+
|
|
5081
|
+
<dl>
|
|
5082
|
+
<dd>
|
|
5083
|
+
|
|
5084
|
+
List outgoing payment requests
|
|
5085
|
+
</dd>
|
|
5086
|
+
</dl>
|
|
5087
|
+
</dd>
|
|
5088
|
+
</dl>
|
|
5089
|
+
|
|
5090
|
+
#### 🔌 Usage
|
|
5091
|
+
|
|
5092
|
+
<dl>
|
|
5093
|
+
<dd>
|
|
5094
|
+
|
|
5095
|
+
<dl>
|
|
5096
|
+
<dd>
|
|
5097
|
+
|
|
5098
|
+
```typescript
|
|
5099
|
+
const pageableResponse = await client.paymentRequests.list();
|
|
5100
|
+
for await (const item of pageableResponse) {
|
|
5101
|
+
console.log(item);
|
|
5102
|
+
}
|
|
5103
|
+
|
|
5104
|
+
// Or you can manually iterate page-by-page
|
|
5105
|
+
let page = await client.paymentRequests.list();
|
|
5106
|
+
while (page.hasNextPage()) {
|
|
5107
|
+
page = page.getNextPage();
|
|
5108
|
+
}
|
|
5109
|
+
|
|
5110
|
+
// You can also access the underlying response
|
|
5111
|
+
const response = page.response;
|
|
5112
|
+
|
|
5113
|
+
```
|
|
5114
|
+
</dd>
|
|
5115
|
+
</dl>
|
|
5116
|
+
</dd>
|
|
5117
|
+
</dl>
|
|
5118
|
+
|
|
5119
|
+
#### ⚙️ Parameters
|
|
5120
|
+
|
|
5121
|
+
<dl>
|
|
5122
|
+
<dd>
|
|
5123
|
+
|
|
5124
|
+
<dl>
|
|
5125
|
+
<dd>
|
|
5126
|
+
|
|
5127
|
+
**request:** `Natural.ListPaymentRequestsRequest`
|
|
5128
|
+
|
|
5129
|
+
</dd>
|
|
5130
|
+
</dl>
|
|
5131
|
+
|
|
5132
|
+
<dl>
|
|
5133
|
+
<dd>
|
|
5134
|
+
|
|
5135
|
+
**requestOptions:** `PaymentRequestsClient.RequestOptions`
|
|
5136
|
+
|
|
5137
|
+
</dd>
|
|
5138
|
+
</dl>
|
|
5139
|
+
</dd>
|
|
5140
|
+
</dl>
|
|
5141
|
+
|
|
5142
|
+
|
|
5143
|
+
</dd>
|
|
5144
|
+
</dl>
|
|
5145
|
+
</details>
|
|
5146
|
+
|
|
5147
|
+
<details><summary><code>client.paymentRequests.<a href="/src/api/resources/paymentRequests/client/Client.ts">create</a>({ ...params }) -> Natural.NewPayReq</code></summary>
|
|
5148
|
+
<dl>
|
|
5149
|
+
<dd>
|
|
5150
|
+
|
|
5151
|
+
#### 📝 Description
|
|
5152
|
+
|
|
5153
|
+
<dl>
|
|
5154
|
+
<dd>
|
|
5155
|
+
|
|
5156
|
+
<dl>
|
|
5157
|
+
<dd>
|
|
5158
|
+
|
|
5159
|
+
Create a payment request
|
|
5160
|
+
</dd>
|
|
5161
|
+
</dl>
|
|
5162
|
+
</dd>
|
|
5163
|
+
</dl>
|
|
5164
|
+
|
|
5165
|
+
#### 🔌 Usage
|
|
5166
|
+
|
|
5167
|
+
<dl>
|
|
5168
|
+
<dd>
|
|
5169
|
+
|
|
5170
|
+
<dl>
|
|
5171
|
+
<dd>
|
|
5172
|
+
|
|
5173
|
+
```typescript
|
|
5174
|
+
await client.paymentRequests.create({
|
|
5175
|
+
idempotencyKey: "Idempotency-Key",
|
|
5176
|
+
amount: 2500,
|
|
5177
|
+
currency: "USD",
|
|
5178
|
+
description: "Invoice 7",
|
|
5179
|
+
tags: {
|
|
5180
|
+
"invoice_id": "inv_7"
|
|
5181
|
+
},
|
|
5182
|
+
payerName: "Ada Lovelace",
|
|
5183
|
+
payer: {
|
|
5184
|
+
type: "email",
|
|
5185
|
+
value: "ada@example.com"
|
|
5186
|
+
}
|
|
5187
|
+
});
|
|
5188
|
+
|
|
5189
|
+
```
|
|
5190
|
+
</dd>
|
|
5191
|
+
</dl>
|
|
5192
|
+
</dd>
|
|
5193
|
+
</dl>
|
|
5194
|
+
|
|
5195
|
+
#### ⚙️ Parameters
|
|
5196
|
+
|
|
5197
|
+
<dl>
|
|
5198
|
+
<dd>
|
|
5199
|
+
|
|
5200
|
+
<dl>
|
|
5201
|
+
<dd>
|
|
5202
|
+
|
|
5203
|
+
**request:** `Natural.NewPayReqParams`
|
|
5204
|
+
|
|
5205
|
+
</dd>
|
|
5206
|
+
</dl>
|
|
5207
|
+
|
|
5208
|
+
<dl>
|
|
5209
|
+
<dd>
|
|
5210
|
+
|
|
5211
|
+
**requestOptions:** `PaymentRequestsClient.RequestOptions`
|
|
5212
|
+
|
|
5213
|
+
</dd>
|
|
5214
|
+
</dl>
|
|
5215
|
+
</dd>
|
|
5216
|
+
</dl>
|
|
5217
|
+
|
|
5218
|
+
|
|
5219
|
+
</dd>
|
|
5220
|
+
</dl>
|
|
5221
|
+
</details>
|
|
5222
|
+
|
|
5223
|
+
<details><summary><code>client.paymentRequests.<a href="/src/api/resources/paymentRequests/client/Client.ts">listIncoming</a>({ ...params }) -> core.Page<Natural.ListIncomingPaymentRequestsResponseDataItem, Natural.IncomingReq></code></summary>
|
|
4234
5224
|
<dl>
|
|
4235
5225
|
<dd>
|
|
4236
5226
|
|
|
@@ -5482,14 +6472,256 @@ await client.parties.createBrandingPhotoUpload({
|
|
|
5482
6472
|
<dl>
|
|
5483
6473
|
<dd>
|
|
5484
6474
|
|
|
5485
|
-
**request:** `Natural.CreateBrandingPhotoUploadPartiesRequest`
|
|
5486
|
-
|
|
5487
|
-
</dd>
|
|
5488
|
-
</dl>
|
|
5489
|
-
|
|
5490
|
-
<dl>
|
|
5491
|
-
<dd>
|
|
5492
|
-
|
|
6475
|
+
**request:** `Natural.CreateBrandingPhotoUploadPartiesRequest`
|
|
6476
|
+
|
|
6477
|
+
</dd>
|
|
6478
|
+
</dl>
|
|
6479
|
+
|
|
6480
|
+
<dl>
|
|
6481
|
+
<dd>
|
|
6482
|
+
|
|
6483
|
+
**requestOptions:** `PartiesClient.RequestOptions`
|
|
6484
|
+
|
|
6485
|
+
</dd>
|
|
6486
|
+
</dl>
|
|
6487
|
+
</dd>
|
|
6488
|
+
</dl>
|
|
6489
|
+
|
|
6490
|
+
|
|
6491
|
+
</dd>
|
|
6492
|
+
</dl>
|
|
6493
|
+
</details>
|
|
6494
|
+
|
|
6495
|
+
<details><summary><code>client.parties.<a href="/src/api/resources/parties/client/Client.ts">setHandle</a>({ ...params }) -> Natural.SetHandlePartiesResponse</code></summary>
|
|
6496
|
+
<dl>
|
|
6497
|
+
<dd>
|
|
6498
|
+
|
|
6499
|
+
#### 📝 Description
|
|
6500
|
+
|
|
6501
|
+
<dl>
|
|
6502
|
+
<dd>
|
|
6503
|
+
|
|
6504
|
+
<dl>
|
|
6505
|
+
<dd>
|
|
6506
|
+
|
|
6507
|
+
Set your party's handle
|
|
6508
|
+
</dd>
|
|
6509
|
+
</dl>
|
|
6510
|
+
</dd>
|
|
6511
|
+
</dl>
|
|
6512
|
+
|
|
6513
|
+
#### 🔌 Usage
|
|
6514
|
+
|
|
6515
|
+
<dl>
|
|
6516
|
+
<dd>
|
|
6517
|
+
|
|
6518
|
+
<dl>
|
|
6519
|
+
<dd>
|
|
6520
|
+
|
|
6521
|
+
```typescript
|
|
6522
|
+
await client.parties.setHandle({
|
|
6523
|
+
handle: "acme"
|
|
6524
|
+
});
|
|
6525
|
+
|
|
6526
|
+
```
|
|
6527
|
+
</dd>
|
|
6528
|
+
</dl>
|
|
6529
|
+
</dd>
|
|
6530
|
+
</dl>
|
|
6531
|
+
|
|
6532
|
+
#### ⚙️ Parameters
|
|
6533
|
+
|
|
6534
|
+
<dl>
|
|
6535
|
+
<dd>
|
|
6536
|
+
|
|
6537
|
+
<dl>
|
|
6538
|
+
<dd>
|
|
6539
|
+
|
|
6540
|
+
**request:** `Natural.SetHandlePartiesRequest`
|
|
6541
|
+
|
|
6542
|
+
</dd>
|
|
6543
|
+
</dl>
|
|
6544
|
+
|
|
6545
|
+
<dl>
|
|
6546
|
+
<dd>
|
|
6547
|
+
|
|
6548
|
+
**requestOptions:** `PartiesClient.RequestOptions`
|
|
6549
|
+
|
|
6550
|
+
</dd>
|
|
6551
|
+
</dl>
|
|
6552
|
+
</dd>
|
|
6553
|
+
</dl>
|
|
6554
|
+
|
|
6555
|
+
|
|
6556
|
+
</dd>
|
|
6557
|
+
</dl>
|
|
6558
|
+
</details>
|
|
6559
|
+
|
|
6560
|
+
<details><summary><code>client.parties.<a href="/src/api/resources/parties/client/Client.ts">getLimits</a>() -> Natural.GetLimitsPartiesResponse</code></summary>
|
|
6561
|
+
<dl>
|
|
6562
|
+
<dd>
|
|
6563
|
+
|
|
6564
|
+
#### 📝 Description
|
|
6565
|
+
|
|
6566
|
+
<dl>
|
|
6567
|
+
<dd>
|
|
6568
|
+
|
|
6569
|
+
<dl>
|
|
6570
|
+
<dd>
|
|
6571
|
+
|
|
6572
|
+
Get the party's approval limits
|
|
6573
|
+
</dd>
|
|
6574
|
+
</dl>
|
|
6575
|
+
</dd>
|
|
6576
|
+
</dl>
|
|
6577
|
+
|
|
6578
|
+
#### 🔌 Usage
|
|
6579
|
+
|
|
6580
|
+
<dl>
|
|
6581
|
+
<dd>
|
|
6582
|
+
|
|
6583
|
+
<dl>
|
|
6584
|
+
<dd>
|
|
6585
|
+
|
|
6586
|
+
```typescript
|
|
6587
|
+
await client.parties.getLimits();
|
|
6588
|
+
|
|
6589
|
+
```
|
|
6590
|
+
</dd>
|
|
6591
|
+
</dl>
|
|
6592
|
+
</dd>
|
|
6593
|
+
</dl>
|
|
6594
|
+
|
|
6595
|
+
#### ⚙️ Parameters
|
|
6596
|
+
|
|
6597
|
+
<dl>
|
|
6598
|
+
<dd>
|
|
6599
|
+
|
|
6600
|
+
<dl>
|
|
6601
|
+
<dd>
|
|
6602
|
+
|
|
6603
|
+
**requestOptions:** `PartiesClient.RequestOptions`
|
|
6604
|
+
|
|
6605
|
+
</dd>
|
|
6606
|
+
</dl>
|
|
6607
|
+
</dd>
|
|
6608
|
+
</dl>
|
|
6609
|
+
|
|
6610
|
+
|
|
6611
|
+
</dd>
|
|
6612
|
+
</dl>
|
|
6613
|
+
</details>
|
|
6614
|
+
|
|
6615
|
+
<details><summary><code>client.parties.<a href="/src/api/resources/parties/client/Client.ts">setLimits</a>({ ...params }) -> Natural.SetLimitsPartiesResponse</code></summary>
|
|
6616
|
+
<dl>
|
|
6617
|
+
<dd>
|
|
6618
|
+
|
|
6619
|
+
#### 📝 Description
|
|
6620
|
+
|
|
6621
|
+
<dl>
|
|
6622
|
+
<dd>
|
|
6623
|
+
|
|
6624
|
+
<dl>
|
|
6625
|
+
<dd>
|
|
6626
|
+
|
|
6627
|
+
Set the party's approval limits
|
|
6628
|
+
</dd>
|
|
6629
|
+
</dl>
|
|
6630
|
+
</dd>
|
|
6631
|
+
</dl>
|
|
6632
|
+
|
|
6633
|
+
#### 🔌 Usage
|
|
6634
|
+
|
|
6635
|
+
<dl>
|
|
6636
|
+
<dd>
|
|
6637
|
+
|
|
6638
|
+
<dl>
|
|
6639
|
+
<dd>
|
|
6640
|
+
|
|
6641
|
+
```typescript
|
|
6642
|
+
await client.parties.setLimits({
|
|
6643
|
+
perTransaction: 250000,
|
|
6644
|
+
perDay: 1000000,
|
|
6645
|
+
currency: "USD"
|
|
6646
|
+
});
|
|
6647
|
+
|
|
6648
|
+
```
|
|
6649
|
+
</dd>
|
|
6650
|
+
</dl>
|
|
6651
|
+
</dd>
|
|
6652
|
+
</dl>
|
|
6653
|
+
|
|
6654
|
+
#### ⚙️ Parameters
|
|
6655
|
+
|
|
6656
|
+
<dl>
|
|
6657
|
+
<dd>
|
|
6658
|
+
|
|
6659
|
+
<dl>
|
|
6660
|
+
<dd>
|
|
6661
|
+
|
|
6662
|
+
**request:** `Natural.SetLimitsPartiesRequest`
|
|
6663
|
+
|
|
6664
|
+
</dd>
|
|
6665
|
+
</dl>
|
|
6666
|
+
|
|
6667
|
+
<dl>
|
|
6668
|
+
<dd>
|
|
6669
|
+
|
|
6670
|
+
**requestOptions:** `PartiesClient.RequestOptions`
|
|
6671
|
+
|
|
6672
|
+
</dd>
|
|
6673
|
+
</dl>
|
|
6674
|
+
</dd>
|
|
6675
|
+
</dl>
|
|
6676
|
+
|
|
6677
|
+
|
|
6678
|
+
</dd>
|
|
6679
|
+
</dl>
|
|
6680
|
+
</details>
|
|
6681
|
+
|
|
6682
|
+
<details><summary><code>client.parties.<a href="/src/api/resources/parties/client/Client.ts">disableLimits</a>() -> Natural.DisableLimitsPartiesResponse</code></summary>
|
|
6683
|
+
<dl>
|
|
6684
|
+
<dd>
|
|
6685
|
+
|
|
6686
|
+
#### 📝 Description
|
|
6687
|
+
|
|
6688
|
+
<dl>
|
|
6689
|
+
<dd>
|
|
6690
|
+
|
|
6691
|
+
<dl>
|
|
6692
|
+
<dd>
|
|
6693
|
+
|
|
6694
|
+
Disable all approval limits for the party
|
|
6695
|
+
</dd>
|
|
6696
|
+
</dl>
|
|
6697
|
+
</dd>
|
|
6698
|
+
</dl>
|
|
6699
|
+
|
|
6700
|
+
#### 🔌 Usage
|
|
6701
|
+
|
|
6702
|
+
<dl>
|
|
6703
|
+
<dd>
|
|
6704
|
+
|
|
6705
|
+
<dl>
|
|
6706
|
+
<dd>
|
|
6707
|
+
|
|
6708
|
+
```typescript
|
|
6709
|
+
await client.parties.disableLimits();
|
|
6710
|
+
|
|
6711
|
+
```
|
|
6712
|
+
</dd>
|
|
6713
|
+
</dl>
|
|
6714
|
+
</dd>
|
|
6715
|
+
</dl>
|
|
6716
|
+
|
|
6717
|
+
#### ⚙️ Parameters
|
|
6718
|
+
|
|
6719
|
+
<dl>
|
|
6720
|
+
<dd>
|
|
6721
|
+
|
|
6722
|
+
<dl>
|
|
6723
|
+
<dd>
|
|
6724
|
+
|
|
5493
6725
|
**requestOptions:** `PartiesClient.RequestOptions`
|
|
5494
6726
|
|
|
5495
6727
|
</dd>
|
|
@@ -5502,7 +6734,7 @@ await client.parties.createBrandingPhotoUpload({
|
|
|
5502
6734
|
</dl>
|
|
5503
6735
|
</details>
|
|
5504
6736
|
|
|
5505
|
-
<details><summary><code>client.parties.<a href="/src/api/resources/parties/client/Client.ts">
|
|
6737
|
+
<details><summary><code>client.parties.<a href="/src/api/resources/parties/client/Client.ts">removeMember</a>({ ...params }) -> Natural.RemoveMemberPartiesResponse</code></summary>
|
|
5506
6738
|
<dl>
|
|
5507
6739
|
<dd>
|
|
5508
6740
|
|
|
@@ -5514,7 +6746,7 @@ await client.parties.createBrandingPhotoUpload({
|
|
|
5514
6746
|
<dl>
|
|
5515
6747
|
<dd>
|
|
5516
6748
|
|
|
5517
|
-
|
|
6749
|
+
Remove a member from the party
|
|
5518
6750
|
</dd>
|
|
5519
6751
|
</dl>
|
|
5520
6752
|
</dd>
|
|
@@ -5529,8 +6761,9 @@ Set your party's handle
|
|
|
5529
6761
|
<dd>
|
|
5530
6762
|
|
|
5531
6763
|
```typescript
|
|
5532
|
-
await client.parties.
|
|
5533
|
-
|
|
6764
|
+
await client.parties.removeMember({
|
|
6765
|
+
idempotencyKey: "Idempotency-Key",
|
|
6766
|
+
userId: "userId"
|
|
5534
6767
|
});
|
|
5535
6768
|
|
|
5536
6769
|
```
|
|
@@ -5547,7 +6780,7 @@ await client.parties.setHandle({
|
|
|
5547
6780
|
<dl>
|
|
5548
6781
|
<dd>
|
|
5549
6782
|
|
|
5550
|
-
**request:** `Natural.
|
|
6783
|
+
**request:** `Natural.RemoveMemberPartiesRequest`
|
|
5551
6784
|
|
|
5552
6785
|
</dd>
|
|
5553
6786
|
</dl>
|
|
@@ -5567,7 +6800,8 @@ await client.parties.setHandle({
|
|
|
5567
6800
|
</dl>
|
|
5568
6801
|
</details>
|
|
5569
6802
|
|
|
5570
|
-
|
|
6803
|
+
## Wallets
|
|
6804
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">list</a>({ ...params }) -> Natural.Wallet</code></summary>
|
|
5571
6805
|
<dl>
|
|
5572
6806
|
<dd>
|
|
5573
6807
|
|
|
@@ -5579,7 +6813,7 @@ await client.parties.setHandle({
|
|
|
5579
6813
|
<dl>
|
|
5580
6814
|
<dd>
|
|
5581
6815
|
|
|
5582
|
-
|
|
6816
|
+
List party wallets or the wallets granted to the acting agent
|
|
5583
6817
|
</dd>
|
|
5584
6818
|
</dl>
|
|
5585
6819
|
</dd>
|
|
@@ -5594,7 +6828,7 @@ Get the party's approval limits
|
|
|
5594
6828
|
<dd>
|
|
5595
6829
|
|
|
5596
6830
|
```typescript
|
|
5597
|
-
await client.
|
|
6831
|
+
await client.wallets.list();
|
|
5598
6832
|
|
|
5599
6833
|
```
|
|
5600
6834
|
</dd>
|
|
@@ -5610,7 +6844,15 @@ await client.parties.getLimits();
|
|
|
5610
6844
|
<dl>
|
|
5611
6845
|
<dd>
|
|
5612
6846
|
|
|
5613
|
-
**
|
|
6847
|
+
**request:** `Natural.ListWalletsRequest`
|
|
6848
|
+
|
|
6849
|
+
</dd>
|
|
6850
|
+
</dl>
|
|
6851
|
+
|
|
6852
|
+
<dl>
|
|
6853
|
+
<dd>
|
|
6854
|
+
|
|
6855
|
+
**requestOptions:** `WalletsClient.RequestOptions`
|
|
5614
6856
|
|
|
5615
6857
|
</dd>
|
|
5616
6858
|
</dl>
|
|
@@ -5622,7 +6864,7 @@ await client.parties.getLimits();
|
|
|
5622
6864
|
</dl>
|
|
5623
6865
|
</details>
|
|
5624
6866
|
|
|
5625
|
-
<details><summary><code>client.
|
|
6867
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">create</a>({ ...params }) -> Natural.CreateWalletsResponse</code></summary>
|
|
5626
6868
|
<dl>
|
|
5627
6869
|
<dd>
|
|
5628
6870
|
|
|
@@ -5634,7 +6876,7 @@ await client.parties.getLimits();
|
|
|
5634
6876
|
<dl>
|
|
5635
6877
|
<dd>
|
|
5636
6878
|
|
|
5637
|
-
|
|
6879
|
+
Create a standard wallet
|
|
5638
6880
|
</dd>
|
|
5639
6881
|
</dl>
|
|
5640
6882
|
</dd>
|
|
@@ -5649,10 +6891,13 @@ Set the party's approval limits
|
|
|
5649
6891
|
<dd>
|
|
5650
6892
|
|
|
5651
6893
|
```typescript
|
|
5652
|
-
await client.
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
6894
|
+
await client.wallets.create({
|
|
6895
|
+
idempotencyKey: "Idempotency-Key",
|
|
6896
|
+
displayName: "Payroll",
|
|
6897
|
+
description: "Dedicated wallet for payroll runs",
|
|
6898
|
+
tags: {
|
|
6899
|
+
"department": "payroll"
|
|
6900
|
+
}
|
|
5656
6901
|
});
|
|
5657
6902
|
|
|
5658
6903
|
```
|
|
@@ -5669,7 +6914,7 @@ await client.parties.setLimits({
|
|
|
5669
6914
|
<dl>
|
|
5670
6915
|
<dd>
|
|
5671
6916
|
|
|
5672
|
-
**request:** `Natural.
|
|
6917
|
+
**request:** `Natural.CreateWalletsRequest`
|
|
5673
6918
|
|
|
5674
6919
|
</dd>
|
|
5675
6920
|
</dl>
|
|
@@ -5677,7 +6922,7 @@ await client.parties.setLimits({
|
|
|
5677
6922
|
<dl>
|
|
5678
6923
|
<dd>
|
|
5679
6924
|
|
|
5680
|
-
**requestOptions:** `
|
|
6925
|
+
**requestOptions:** `WalletsClient.RequestOptions`
|
|
5681
6926
|
|
|
5682
6927
|
</dd>
|
|
5683
6928
|
</dl>
|
|
@@ -5689,7 +6934,7 @@ await client.parties.setLimits({
|
|
|
5689
6934
|
</dl>
|
|
5690
6935
|
</details>
|
|
5691
6936
|
|
|
5692
|
-
<details><summary><code>client.
|
|
6937
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">get</a>({ ...params }) -> Natural.WalletDetail</code></summary>
|
|
5693
6938
|
<dl>
|
|
5694
6939
|
<dd>
|
|
5695
6940
|
|
|
@@ -5701,7 +6946,7 @@ await client.parties.setLimits({
|
|
|
5701
6946
|
<dl>
|
|
5702
6947
|
<dd>
|
|
5703
6948
|
|
|
5704
|
-
|
|
6949
|
+
Get a wallet
|
|
5705
6950
|
</dd>
|
|
5706
6951
|
</dl>
|
|
5707
6952
|
</dd>
|
|
@@ -5716,7 +6961,9 @@ Disable all approval limits for the party
|
|
|
5716
6961
|
<dd>
|
|
5717
6962
|
|
|
5718
6963
|
```typescript
|
|
5719
|
-
await client.
|
|
6964
|
+
await client.wallets.get({
|
|
6965
|
+
walletId: "walletId"
|
|
6966
|
+
});
|
|
5720
6967
|
|
|
5721
6968
|
```
|
|
5722
6969
|
</dd>
|
|
@@ -5732,7 +6979,15 @@ await client.parties.disableLimits();
|
|
|
5732
6979
|
<dl>
|
|
5733
6980
|
<dd>
|
|
5734
6981
|
|
|
5735
|
-
**
|
|
6982
|
+
**request:** `Natural.GetWalletsRequest`
|
|
6983
|
+
|
|
6984
|
+
</dd>
|
|
6985
|
+
</dl>
|
|
6986
|
+
|
|
6987
|
+
<dl>
|
|
6988
|
+
<dd>
|
|
6989
|
+
|
|
6990
|
+
**requestOptions:** `WalletsClient.RequestOptions`
|
|
5736
6991
|
|
|
5737
6992
|
</dd>
|
|
5738
6993
|
</dl>
|
|
@@ -5744,7 +6999,7 @@ await client.parties.disableLimits();
|
|
|
5744
6999
|
</dl>
|
|
5745
7000
|
</details>
|
|
5746
7001
|
|
|
5747
|
-
<details><summary><code>client.
|
|
7002
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">update</a>({ ...params }) -> Natural.UpdateWalletsResponse</code></summary>
|
|
5748
7003
|
<dl>
|
|
5749
7004
|
<dd>
|
|
5750
7005
|
|
|
@@ -5756,7 +7011,7 @@ await client.parties.disableLimits();
|
|
|
5756
7011
|
<dl>
|
|
5757
7012
|
<dd>
|
|
5758
7013
|
|
|
5759
|
-
|
|
7014
|
+
Update a wallet's display name, description, or tags
|
|
5760
7015
|
</dd>
|
|
5761
7016
|
</dl>
|
|
5762
7017
|
</dd>
|
|
@@ -5771,9 +7026,15 @@ Remove a member from the party
|
|
|
5771
7026
|
<dd>
|
|
5772
7027
|
|
|
5773
7028
|
```typescript
|
|
5774
|
-
await client.
|
|
7029
|
+
await client.wallets.update({
|
|
5775
7030
|
idempotencyKey: "Idempotency-Key",
|
|
5776
|
-
|
|
7031
|
+
walletId: "walletId",
|
|
7032
|
+
displayName: "Operating (US)",
|
|
7033
|
+
description: "Primary USD operating wallet",
|
|
7034
|
+
tags: {
|
|
7035
|
+
"region": "us",
|
|
7036
|
+
"legacy_key": null
|
|
7037
|
+
}
|
|
5777
7038
|
});
|
|
5778
7039
|
|
|
5779
7040
|
```
|
|
@@ -5790,7 +7051,7 @@ await client.parties.removeMember({
|
|
|
5790
7051
|
<dl>
|
|
5791
7052
|
<dd>
|
|
5792
7053
|
|
|
5793
|
-
**request:** `Natural.
|
|
7054
|
+
**request:** `Natural.UpdateWalletsRequest`
|
|
5794
7055
|
|
|
5795
7056
|
</dd>
|
|
5796
7057
|
</dl>
|
|
@@ -5798,7 +7059,7 @@ await client.parties.removeMember({
|
|
|
5798
7059
|
<dl>
|
|
5799
7060
|
<dd>
|
|
5800
7061
|
|
|
5801
|
-
**requestOptions:** `
|
|
7062
|
+
**requestOptions:** `WalletsClient.RequestOptions`
|
|
5802
7063
|
|
|
5803
7064
|
</dd>
|
|
5804
7065
|
</dl>
|
|
@@ -5810,8 +7071,7 @@ await client.parties.removeMember({
|
|
|
5810
7071
|
</dl>
|
|
5811
7072
|
</details>
|
|
5812
7073
|
|
|
5813
|
-
|
|
5814
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">list</a>({ ...params }) -> Natural.Wallet</code></summary>
|
|
7074
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">setDefault</a>({ ...params }) -> Natural.SetDefaultWalletsResponse</code></summary>
|
|
5815
7075
|
<dl>
|
|
5816
7076
|
<dd>
|
|
5817
7077
|
|
|
@@ -5823,7 +7083,7 @@ await client.parties.removeMember({
|
|
|
5823
7083
|
<dl>
|
|
5824
7084
|
<dd>
|
|
5825
7085
|
|
|
5826
|
-
|
|
7086
|
+
Set the party's default wallet, where payments addressed to their email, phone number, or handle land
|
|
5827
7087
|
</dd>
|
|
5828
7088
|
</dl>
|
|
5829
7089
|
</dd>
|
|
@@ -5838,7 +7098,10 @@ List party wallets or the wallets granted to the acting agent
|
|
|
5838
7098
|
<dd>
|
|
5839
7099
|
|
|
5840
7100
|
```typescript
|
|
5841
|
-
await client.wallets.
|
|
7101
|
+
await client.wallets.setDefault({
|
|
7102
|
+
idempotencyKey: "Idempotency-Key",
|
|
7103
|
+
walletId: "walletId"
|
|
7104
|
+
});
|
|
5842
7105
|
|
|
5843
7106
|
```
|
|
5844
7107
|
</dd>
|
|
@@ -5854,7 +7117,7 @@ await client.wallets.list();
|
|
|
5854
7117
|
<dl>
|
|
5855
7118
|
<dd>
|
|
5856
7119
|
|
|
5857
|
-
**request:** `Natural.
|
|
7120
|
+
**request:** `Natural.SetDefaultWalletsRequest`
|
|
5858
7121
|
|
|
5859
7122
|
</dd>
|
|
5860
7123
|
</dl>
|
|
@@ -5874,7 +7137,7 @@ await client.wallets.list();
|
|
|
5874
7137
|
</dl>
|
|
5875
7138
|
</details>
|
|
5876
7139
|
|
|
5877
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">
|
|
7140
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">freeze</a>({ ...params }) -> Natural.FreezeWalletsResponse</code></summary>
|
|
5878
7141
|
<dl>
|
|
5879
7142
|
<dd>
|
|
5880
7143
|
|
|
@@ -5886,7 +7149,7 @@ await client.wallets.list();
|
|
|
5886
7149
|
<dl>
|
|
5887
7150
|
<dd>
|
|
5888
7151
|
|
|
5889
|
-
|
|
7152
|
+
Freeze a wallet
|
|
5890
7153
|
</dd>
|
|
5891
7154
|
</dl>
|
|
5892
7155
|
</dd>
|
|
@@ -5901,13 +7164,8 @@ Create a standard wallet
|
|
|
5901
7164
|
<dd>
|
|
5902
7165
|
|
|
5903
7166
|
```typescript
|
|
5904
|
-
await client.wallets.
|
|
5905
|
-
|
|
5906
|
-
displayName: "Payroll",
|
|
5907
|
-
description: "Dedicated wallet for payroll runs",
|
|
5908
|
-
tags: {
|
|
5909
|
-
"department": "payroll"
|
|
5910
|
-
}
|
|
7167
|
+
await client.wallets.freeze({
|
|
7168
|
+
walletId: "walletId"
|
|
5911
7169
|
});
|
|
5912
7170
|
|
|
5913
7171
|
```
|
|
@@ -5924,7 +7182,7 @@ await client.wallets.create({
|
|
|
5924
7182
|
<dl>
|
|
5925
7183
|
<dd>
|
|
5926
7184
|
|
|
5927
|
-
**request:** `Natural.
|
|
7185
|
+
**request:** `Natural.FreezeWalletsRequest`
|
|
5928
7186
|
|
|
5929
7187
|
</dd>
|
|
5930
7188
|
</dl>
|
|
@@ -5944,7 +7202,7 @@ await client.wallets.create({
|
|
|
5944
7202
|
</dl>
|
|
5945
7203
|
</details>
|
|
5946
7204
|
|
|
5947
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">
|
|
7205
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">unfreeze</a>({ ...params }) -> Natural.UnfreezeWalletsResponse</code></summary>
|
|
5948
7206
|
<dl>
|
|
5949
7207
|
<dd>
|
|
5950
7208
|
|
|
@@ -5956,7 +7214,7 @@ await client.wallets.create({
|
|
|
5956
7214
|
<dl>
|
|
5957
7215
|
<dd>
|
|
5958
7216
|
|
|
5959
|
-
|
|
7217
|
+
Unfreeze a wallet that was frozen through the API
|
|
5960
7218
|
</dd>
|
|
5961
7219
|
</dl>
|
|
5962
7220
|
</dd>
|
|
@@ -5971,7 +7229,7 @@ Get a wallet
|
|
|
5971
7229
|
<dd>
|
|
5972
7230
|
|
|
5973
7231
|
```typescript
|
|
5974
|
-
await client.wallets.
|
|
7232
|
+
await client.wallets.unfreeze({
|
|
5975
7233
|
walletId: "walletId"
|
|
5976
7234
|
});
|
|
5977
7235
|
|
|
@@ -5989,7 +7247,7 @@ await client.wallets.get({
|
|
|
5989
7247
|
<dl>
|
|
5990
7248
|
<dd>
|
|
5991
7249
|
|
|
5992
|
-
**request:** `Natural.
|
|
7250
|
+
**request:** `Natural.UnfreezeWalletsRequest`
|
|
5993
7251
|
|
|
5994
7252
|
</dd>
|
|
5995
7253
|
</dl>
|
|
@@ -6009,7 +7267,7 @@ await client.wallets.get({
|
|
|
6009
7267
|
</dl>
|
|
6010
7268
|
</details>
|
|
6011
7269
|
|
|
6012
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">
|
|
7270
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">listAgents</a>({ ...params }) -> Natural.ListAgentsWalletsResponse</code></summary>
|
|
6013
7271
|
<dl>
|
|
6014
7272
|
<dd>
|
|
6015
7273
|
|
|
@@ -6021,7 +7279,7 @@ await client.wallets.get({
|
|
|
6021
7279
|
<dl>
|
|
6022
7280
|
<dd>
|
|
6023
7281
|
|
|
6024
|
-
|
|
7282
|
+
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.
|
|
6025
7283
|
</dd>
|
|
6026
7284
|
</dl>
|
|
6027
7285
|
</dd>
|
|
@@ -6036,15 +7294,8 @@ Update a wallet's display name, description, or tags
|
|
|
6036
7294
|
<dd>
|
|
6037
7295
|
|
|
6038
7296
|
```typescript
|
|
6039
|
-
await client.wallets.
|
|
6040
|
-
|
|
6041
|
-
walletId: "walletId",
|
|
6042
|
-
displayName: "Operating (US)",
|
|
6043
|
-
description: "Primary USD operating wallet",
|
|
6044
|
-
tags: {
|
|
6045
|
-
"region": "us",
|
|
6046
|
-
"legacy_key": null
|
|
6047
|
-
}
|
|
7297
|
+
await client.wallets.listAgents({
|
|
7298
|
+
walletId: "walletId"
|
|
6048
7299
|
});
|
|
6049
7300
|
|
|
6050
7301
|
```
|
|
@@ -6061,7 +7312,7 @@ await client.wallets.update({
|
|
|
6061
7312
|
<dl>
|
|
6062
7313
|
<dd>
|
|
6063
7314
|
|
|
6064
|
-
**request:** `Natural.
|
|
7315
|
+
**request:** `Natural.ListAgentsWalletsRequest`
|
|
6065
7316
|
|
|
6066
7317
|
</dd>
|
|
6067
7318
|
</dl>
|
|
@@ -6081,7 +7332,7 @@ await client.wallets.update({
|
|
|
6081
7332
|
</dl>
|
|
6082
7333
|
</details>
|
|
6083
7334
|
|
|
6084
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">
|
|
7335
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">attachAgent</a>({ ...params }) -> Natural.AttachAgentWalletsResponse</code></summary>
|
|
6085
7336
|
<dl>
|
|
6086
7337
|
<dd>
|
|
6087
7338
|
|
|
@@ -6093,7 +7344,7 @@ await client.wallets.update({
|
|
|
6093
7344
|
<dl>
|
|
6094
7345
|
<dd>
|
|
6095
7346
|
|
|
6096
|
-
|
|
7347
|
+
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.
|
|
6097
7348
|
</dd>
|
|
6098
7349
|
</dl>
|
|
6099
7350
|
</dd>
|
|
@@ -6108,9 +7359,10 @@ Set the party's default wallet, where payments addressed to their email, phone n
|
|
|
6108
7359
|
<dd>
|
|
6109
7360
|
|
|
6110
7361
|
```typescript
|
|
6111
|
-
await client.wallets.
|
|
7362
|
+
await client.wallets.attachAgent({
|
|
6112
7363
|
idempotencyKey: "Idempotency-Key",
|
|
6113
|
-
walletId: "walletId"
|
|
7364
|
+
walletId: "walletId",
|
|
7365
|
+
agentId: "agt_019cd1798d637a4da75dce386343931d"
|
|
6114
7366
|
});
|
|
6115
7367
|
|
|
6116
7368
|
```
|
|
@@ -6127,7 +7379,7 @@ await client.wallets.setDefault({
|
|
|
6127
7379
|
<dl>
|
|
6128
7380
|
<dd>
|
|
6129
7381
|
|
|
6130
|
-
**request:** `Natural.
|
|
7382
|
+
**request:** `Natural.AttachAgentWalletsRequest`
|
|
6131
7383
|
|
|
6132
7384
|
</dd>
|
|
6133
7385
|
</dl>
|
|
@@ -6147,7 +7399,7 @@ await client.wallets.setDefault({
|
|
|
6147
7399
|
</dl>
|
|
6148
7400
|
</details>
|
|
6149
7401
|
|
|
6150
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">
|
|
7402
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">setAgentDefaultWallet</a>({ ...params }) -> Natural.SetAgentDefaultWalletWalletsResponse</code></summary>
|
|
6151
7403
|
<dl>
|
|
6152
7404
|
<dd>
|
|
6153
7405
|
|
|
@@ -6159,7 +7411,7 @@ await client.wallets.setDefault({
|
|
|
6159
7411
|
<dl>
|
|
6160
7412
|
<dd>
|
|
6161
7413
|
|
|
6162
|
-
|
|
7414
|
+
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.
|
|
6163
7415
|
</dd>
|
|
6164
7416
|
</dl>
|
|
6165
7417
|
</dd>
|
|
@@ -6174,8 +7426,10 @@ Freeze a wallet
|
|
|
6174
7426
|
<dd>
|
|
6175
7427
|
|
|
6176
7428
|
```typescript
|
|
6177
|
-
await client.wallets.
|
|
6178
|
-
|
|
7429
|
+
await client.wallets.setAgentDefaultWallet({
|
|
7430
|
+
idempotencyKey: "Idempotency-Key",
|
|
7431
|
+
walletId: "walletId",
|
|
7432
|
+
agentId: "agentId"
|
|
6179
7433
|
});
|
|
6180
7434
|
|
|
6181
7435
|
```
|
|
@@ -6192,7 +7446,7 @@ await client.wallets.freeze({
|
|
|
6192
7446
|
<dl>
|
|
6193
7447
|
<dd>
|
|
6194
7448
|
|
|
6195
|
-
**request:** `Natural.
|
|
7449
|
+
**request:** `Natural.SetAgentDefaultWalletWalletsRequest`
|
|
6196
7450
|
|
|
6197
7451
|
</dd>
|
|
6198
7452
|
</dl>
|
|
@@ -6212,7 +7466,7 @@ await client.wallets.freeze({
|
|
|
6212
7466
|
</dl>
|
|
6213
7467
|
</details>
|
|
6214
7468
|
|
|
6215
|
-
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">
|
|
7469
|
+
<details><summary><code>client.wallets.<a href="/src/api/resources/wallets/client/Client.ts">detachAgent</a>({ ...params }) -> Natural.DetachAgentWalletsResponse</code></summary>
|
|
6216
7470
|
<dl>
|
|
6217
7471
|
<dd>
|
|
6218
7472
|
|
|
@@ -6224,7 +7478,7 @@ await client.wallets.freeze({
|
|
|
6224
7478
|
<dl>
|
|
6225
7479
|
<dd>
|
|
6226
7480
|
|
|
6227
|
-
|
|
7481
|
+
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.
|
|
6228
7482
|
</dd>
|
|
6229
7483
|
</dl>
|
|
6230
7484
|
</dd>
|
|
@@ -6239,8 +7493,10 @@ Unfreeze a wallet that was frozen through the API
|
|
|
6239
7493
|
<dd>
|
|
6240
7494
|
|
|
6241
7495
|
```typescript
|
|
6242
|
-
await client.wallets.
|
|
6243
|
-
|
|
7496
|
+
await client.wallets.detachAgent({
|
|
7497
|
+
idempotencyKey: "Idempotency-Key",
|
|
7498
|
+
walletId: "walletId",
|
|
7499
|
+
agentId: "agentId"
|
|
6244
7500
|
});
|
|
6245
7501
|
|
|
6246
7502
|
```
|
|
@@ -6257,7 +7513,7 @@ await client.wallets.unfreeze({
|
|
|
6257
7513
|
<dl>
|
|
6258
7514
|
<dd>
|
|
6259
7515
|
|
|
6260
|
-
**request:** `Natural.
|
|
7516
|
+
**request:** `Natural.DetachAgentWalletsRequest`
|
|
6261
7517
|
|
|
6262
7518
|
</dd>
|
|
6263
7519
|
</dl>
|
|
@@ -6277,7 +7533,8 @@ await client.wallets.unfreeze({
|
|
|
6277
7533
|
</dl>
|
|
6278
7534
|
</details>
|
|
6279
7535
|
|
|
6280
|
-
|
|
7536
|
+
## External Accounts
|
|
7537
|
+
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">createFromProcessorToken</a>({ ...params }) -> Natural.CreateFromProcessorTokenExternalAccountsResponse</code></summary>
|
|
6281
7538
|
<dl>
|
|
6282
7539
|
<dd>
|
|
6283
7540
|
|
|
@@ -6289,7 +7546,7 @@ await client.wallets.unfreeze({
|
|
|
6289
7546
|
<dl>
|
|
6290
7547
|
<dd>
|
|
6291
7548
|
|
|
6292
|
-
|
|
7549
|
+
Link or refresh a bank account using a Plaid processor token
|
|
6293
7550
|
</dd>
|
|
6294
7551
|
</dl>
|
|
6295
7552
|
</dd>
|
|
@@ -6304,8 +7561,14 @@ List owned and customer-connected agents granted access to a wallet. Connected a
|
|
|
6304
7561
|
<dd>
|
|
6305
7562
|
|
|
6306
7563
|
```typescript
|
|
6307
|
-
await client.
|
|
6308
|
-
|
|
7564
|
+
await client.externalAccounts.createFromProcessorToken({
|
|
7565
|
+
idempotencyKey: "Idempotency-Key",
|
|
7566
|
+
customerPartyId: "pty_550e8400e29b41d4a716446655440000",
|
|
7567
|
+
processorToken: "processor-sandbox-abc123",
|
|
7568
|
+
institutionName: "Plaid Sandbox",
|
|
7569
|
+
tags: {
|
|
7570
|
+
"environment": "sandbox"
|
|
7571
|
+
}
|
|
6309
7572
|
});
|
|
6310
7573
|
|
|
6311
7574
|
```
|
|
@@ -6322,7 +7585,7 @@ await client.wallets.listAgents({
|
|
|
6322
7585
|
<dl>
|
|
6323
7586
|
<dd>
|
|
6324
7587
|
|
|
6325
|
-
**request:** `Natural.
|
|
7588
|
+
**request:** `Natural.CreateFromProcessorTokenExternalAccountsRequest`
|
|
6326
7589
|
|
|
6327
7590
|
</dd>
|
|
6328
7591
|
</dl>
|
|
@@ -6330,7 +7593,7 @@ await client.wallets.listAgents({
|
|
|
6330
7593
|
<dl>
|
|
6331
7594
|
<dd>
|
|
6332
7595
|
|
|
6333
|
-
**requestOptions:** `
|
|
7596
|
+
**requestOptions:** `ExternalAccountsClient.RequestOptions`
|
|
6334
7597
|
|
|
6335
7598
|
</dd>
|
|
6336
7599
|
</dl>
|
|
@@ -6342,7 +7605,7 @@ await client.wallets.listAgents({
|
|
|
6342
7605
|
</dl>
|
|
6343
7606
|
</details>
|
|
6344
7607
|
|
|
6345
|
-
<details><summary><code>client.
|
|
7608
|
+
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListExternalAccountsResponseDataItem, Natural.ExtAcct></code></summary>
|
|
6346
7609
|
<dl>
|
|
6347
7610
|
<dd>
|
|
6348
7611
|
|
|
@@ -6354,7 +7617,7 @@ await client.wallets.listAgents({
|
|
|
6354
7617
|
<dl>
|
|
6355
7618
|
<dd>
|
|
6356
7619
|
|
|
6357
|
-
|
|
7620
|
+
List linked external accounts
|
|
6358
7621
|
</dd>
|
|
6359
7622
|
</dl>
|
|
6360
7623
|
</dd>
|
|
@@ -6369,11 +7632,19 @@ Grant an owned or customer-connected agent access to a standard wallet. Customer
|
|
|
6369
7632
|
<dd>
|
|
6370
7633
|
|
|
6371
7634
|
```typescript
|
|
6372
|
-
await client.
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
7635
|
+
const pageableResponse = await client.externalAccounts.list();
|
|
7636
|
+
for await (const item of pageableResponse) {
|
|
7637
|
+
console.log(item);
|
|
7638
|
+
}
|
|
7639
|
+
|
|
7640
|
+
// Or you can manually iterate page-by-page
|
|
7641
|
+
let page = await client.externalAccounts.list();
|
|
7642
|
+
while (page.hasNextPage()) {
|
|
7643
|
+
page = page.getNextPage();
|
|
7644
|
+
}
|
|
7645
|
+
|
|
7646
|
+
// You can also access the underlying response
|
|
7647
|
+
const response = page.response;
|
|
6377
7648
|
|
|
6378
7649
|
```
|
|
6379
7650
|
</dd>
|
|
@@ -6389,7 +7660,7 @@ await client.wallets.attachAgent({
|
|
|
6389
7660
|
<dl>
|
|
6390
7661
|
<dd>
|
|
6391
7662
|
|
|
6392
|
-
**request:** `Natural.
|
|
7663
|
+
**request:** `Natural.ListExternalAccountsRequest`
|
|
6393
7664
|
|
|
6394
7665
|
</dd>
|
|
6395
7666
|
</dl>
|
|
@@ -6397,7 +7668,7 @@ await client.wallets.attachAgent({
|
|
|
6397
7668
|
<dl>
|
|
6398
7669
|
<dd>
|
|
6399
7670
|
|
|
6400
|
-
**requestOptions:** `
|
|
7671
|
+
**requestOptions:** `ExternalAccountsClient.RequestOptions`
|
|
6401
7672
|
|
|
6402
7673
|
</dd>
|
|
6403
7674
|
</dl>
|
|
@@ -6409,7 +7680,7 @@ await client.wallets.attachAgent({
|
|
|
6409
7680
|
</dl>
|
|
6410
7681
|
</details>
|
|
6411
7682
|
|
|
6412
|
-
<details><summary><code>client.
|
|
7683
|
+
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">get</a>({ ...params }) -> Natural.GetExternalAccountsResponse</code></summary>
|
|
6413
7684
|
<dl>
|
|
6414
7685
|
<dd>
|
|
6415
7686
|
|
|
@@ -6421,7 +7692,7 @@ await client.wallets.attachAgent({
|
|
|
6421
7692
|
<dl>
|
|
6422
7693
|
<dd>
|
|
6423
7694
|
|
|
6424
|
-
|
|
7695
|
+
Get a linked external account
|
|
6425
7696
|
</dd>
|
|
6426
7697
|
</dl>
|
|
6427
7698
|
</dd>
|
|
@@ -6436,10 +7707,8 @@ Make this wallet the default for the attached agent. For a connected agent, the
|
|
|
6436
7707
|
<dd>
|
|
6437
7708
|
|
|
6438
7709
|
```typescript
|
|
6439
|
-
await client.
|
|
6440
|
-
|
|
6441
|
-
walletId: "walletId",
|
|
6442
|
-
agentId: "agentId"
|
|
7710
|
+
await client.externalAccounts.get({
|
|
7711
|
+
externalAccountId: "externalAccountId"
|
|
6443
7712
|
});
|
|
6444
7713
|
|
|
6445
7714
|
```
|
|
@@ -6456,7 +7725,7 @@ await client.wallets.setAgentDefaultWallet({
|
|
|
6456
7725
|
<dl>
|
|
6457
7726
|
<dd>
|
|
6458
7727
|
|
|
6459
|
-
**request:** `Natural.
|
|
7728
|
+
**request:** `Natural.GetExternalAccountsRequest`
|
|
6460
7729
|
|
|
6461
7730
|
</dd>
|
|
6462
7731
|
</dl>
|
|
@@ -6464,7 +7733,7 @@ await client.wallets.setAgentDefaultWallet({
|
|
|
6464
7733
|
<dl>
|
|
6465
7734
|
<dd>
|
|
6466
7735
|
|
|
6467
|
-
**requestOptions:** `
|
|
7736
|
+
**requestOptions:** `ExternalAccountsClient.RequestOptions`
|
|
6468
7737
|
|
|
6469
7738
|
</dd>
|
|
6470
7739
|
</dl>
|
|
@@ -6476,7 +7745,7 @@ await client.wallets.setAgentDefaultWallet({
|
|
|
6476
7745
|
</dl>
|
|
6477
7746
|
</details>
|
|
6478
7747
|
|
|
6479
|
-
<details><summary><code>client.
|
|
7748
|
+
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">remove</a>({ ...params }) -> Natural.DelExtAcct</code></summary>
|
|
6480
7749
|
<dl>
|
|
6481
7750
|
<dd>
|
|
6482
7751
|
|
|
@@ -6488,7 +7757,7 @@ await client.wallets.setAgentDefaultWallet({
|
|
|
6488
7757
|
<dl>
|
|
6489
7758
|
<dd>
|
|
6490
7759
|
|
|
6491
|
-
Remove
|
|
7760
|
+
Remove a linked external account
|
|
6492
7761
|
</dd>
|
|
6493
7762
|
</dl>
|
|
6494
7763
|
</dd>
|
|
@@ -6503,10 +7772,8 @@ Remove an owned or customer-connected agent from a wallet. The default wallet ca
|
|
|
6503
7772
|
<dd>
|
|
6504
7773
|
|
|
6505
7774
|
```typescript
|
|
6506
|
-
await client.
|
|
6507
|
-
|
|
6508
|
-
walletId: "walletId",
|
|
6509
|
-
agentId: "agentId"
|
|
7775
|
+
await client.externalAccounts.remove({
|
|
7776
|
+
externalAccountId: "externalAccountId"
|
|
6510
7777
|
});
|
|
6511
7778
|
|
|
6512
7779
|
```
|
|
@@ -6523,7 +7790,7 @@ await client.wallets.detachAgent({
|
|
|
6523
7790
|
<dl>
|
|
6524
7791
|
<dd>
|
|
6525
7792
|
|
|
6526
|
-
**request:** `Natural.
|
|
7793
|
+
**request:** `Natural.RemoveExternalAccountsRequest`
|
|
6527
7794
|
|
|
6528
7795
|
</dd>
|
|
6529
7796
|
</dl>
|
|
@@ -6531,7 +7798,7 @@ await client.wallets.detachAgent({
|
|
|
6531
7798
|
<dl>
|
|
6532
7799
|
<dd>
|
|
6533
7800
|
|
|
6534
|
-
**requestOptions:** `
|
|
7801
|
+
**requestOptions:** `ExternalAccountsClient.RequestOptions`
|
|
6535
7802
|
|
|
6536
7803
|
</dd>
|
|
6537
7804
|
</dl>
|
|
@@ -6543,8 +7810,7 @@ await client.wallets.detachAgent({
|
|
|
6543
7810
|
</dl>
|
|
6544
7811
|
</details>
|
|
6545
7812
|
|
|
6546
|
-
|
|
6547
|
-
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">createFromProcessorToken</a>({ ...params }) -> Natural.CreateFromProcessorTokenExternalAccountsResponse</code></summary>
|
|
7813
|
+
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">listCards</a>({ ...params }) -> core.Page<Natural.ListCardsExternalAccountsResponseDataItem, Natural.ListCardsExternalAccountsResponse></code></summary>
|
|
6548
7814
|
<dl>
|
|
6549
7815
|
<dd>
|
|
6550
7816
|
|
|
@@ -6556,7 +7822,7 @@ await client.wallets.detachAgent({
|
|
|
6556
7822
|
<dl>
|
|
6557
7823
|
<dd>
|
|
6558
7824
|
|
|
6559
|
-
|
|
7825
|
+
List linked card external accounts
|
|
6560
7826
|
</dd>
|
|
6561
7827
|
</dl>
|
|
6562
7828
|
</dd>
|
|
@@ -6571,15 +7837,19 @@ Link or refresh a bank account using a Plaid processor token
|
|
|
6571
7837
|
<dd>
|
|
6572
7838
|
|
|
6573
7839
|
```typescript
|
|
6574
|
-
await client.externalAccounts.
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
7840
|
+
const pageableResponse = await client.externalAccounts.listCards();
|
|
7841
|
+
for await (const item of pageableResponse) {
|
|
7842
|
+
console.log(item);
|
|
7843
|
+
}
|
|
7844
|
+
|
|
7845
|
+
// Or you can manually iterate page-by-page
|
|
7846
|
+
let page = await client.externalAccounts.listCards();
|
|
7847
|
+
while (page.hasNextPage()) {
|
|
7848
|
+
page = page.getNextPage();
|
|
7849
|
+
}
|
|
7850
|
+
|
|
7851
|
+
// You can also access the underlying response
|
|
7852
|
+
const response = page.response;
|
|
6583
7853
|
|
|
6584
7854
|
```
|
|
6585
7855
|
</dd>
|
|
@@ -6595,7 +7865,7 @@ await client.externalAccounts.createFromProcessorToken({
|
|
|
6595
7865
|
<dl>
|
|
6596
7866
|
<dd>
|
|
6597
7867
|
|
|
6598
|
-
**request:** `Natural.
|
|
7868
|
+
**request:** `Natural.ListCardsExternalAccountsRequest`
|
|
6599
7869
|
|
|
6600
7870
|
</dd>
|
|
6601
7871
|
</dl>
|
|
@@ -6615,7 +7885,8 @@ await client.externalAccounts.createFromProcessorToken({
|
|
|
6615
7885
|
</dl>
|
|
6616
7886
|
</details>
|
|
6617
7887
|
|
|
6618
|
-
|
|
7888
|
+
## API Keys
|
|
7889
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListApiKeysResponseDataItem, Natural.ApiKey></code></summary>
|
|
6619
7890
|
<dl>
|
|
6620
7891
|
<dd>
|
|
6621
7892
|
|
|
@@ -6627,7 +7898,7 @@ await client.externalAccounts.createFromProcessorToken({
|
|
|
6627
7898
|
<dl>
|
|
6628
7899
|
<dd>
|
|
6629
7900
|
|
|
6630
|
-
List
|
|
7901
|
+
List API keys
|
|
6631
7902
|
</dd>
|
|
6632
7903
|
</dl>
|
|
6633
7904
|
</dd>
|
|
@@ -6642,13 +7913,13 @@ List linked external accounts
|
|
|
6642
7913
|
<dd>
|
|
6643
7914
|
|
|
6644
7915
|
```typescript
|
|
6645
|
-
const pageableResponse = await client.
|
|
7916
|
+
const pageableResponse = await client.apiKeys.list();
|
|
6646
7917
|
for await (const item of pageableResponse) {
|
|
6647
7918
|
console.log(item);
|
|
6648
7919
|
}
|
|
6649
7920
|
|
|
6650
7921
|
// Or you can manually iterate page-by-page
|
|
6651
|
-
let page = await client.
|
|
7922
|
+
let page = await client.apiKeys.list();
|
|
6652
7923
|
while (page.hasNextPage()) {
|
|
6653
7924
|
page = page.getNextPage();
|
|
6654
7925
|
}
|
|
@@ -6670,7 +7941,7 @@ const response = page.response;
|
|
|
6670
7941
|
<dl>
|
|
6671
7942
|
<dd>
|
|
6672
7943
|
|
|
6673
|
-
**request:** `Natural.
|
|
7944
|
+
**request:** `Natural.ListApiKeysRequest`
|
|
6674
7945
|
|
|
6675
7946
|
</dd>
|
|
6676
7947
|
</dl>
|
|
@@ -6678,7 +7949,7 @@ const response = page.response;
|
|
|
6678
7949
|
<dl>
|
|
6679
7950
|
<dd>
|
|
6680
7951
|
|
|
6681
|
-
**requestOptions:** `
|
|
7952
|
+
**requestOptions:** `ApiKeysClient.RequestOptions`
|
|
6682
7953
|
|
|
6683
7954
|
</dd>
|
|
6684
7955
|
</dl>
|
|
@@ -6690,7 +7961,7 @@ const response = page.response;
|
|
|
6690
7961
|
</dl>
|
|
6691
7962
|
</details>
|
|
6692
7963
|
|
|
6693
|
-
<details><summary><code>client.
|
|
7964
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">create</a>({ ...params }) -> Natural.NewApiKey</code></summary>
|
|
6694
7965
|
<dl>
|
|
6695
7966
|
<dd>
|
|
6696
7967
|
|
|
@@ -6702,7 +7973,7 @@ const response = page.response;
|
|
|
6702
7973
|
<dl>
|
|
6703
7974
|
<dd>
|
|
6704
7975
|
|
|
6705
|
-
|
|
7976
|
+
Create an API key. The secret is returned only once.
|
|
6706
7977
|
</dd>
|
|
6707
7978
|
</dl>
|
|
6708
7979
|
</dd>
|
|
@@ -6717,8 +7988,12 @@ Get a linked external account
|
|
|
6717
7988
|
<dd>
|
|
6718
7989
|
|
|
6719
7990
|
```typescript
|
|
6720
|
-
await client.
|
|
6721
|
-
|
|
7991
|
+
await client.apiKeys.create({
|
|
7992
|
+
name: "Production Backend",
|
|
7993
|
+
scopes: ["payments.read", "payments.create"],
|
|
7994
|
+
tags: {
|
|
7995
|
+
"service": "checkout"
|
|
7996
|
+
}
|
|
6722
7997
|
});
|
|
6723
7998
|
|
|
6724
7999
|
```
|
|
@@ -6735,7 +8010,7 @@ await client.externalAccounts.get({
|
|
|
6735
8010
|
<dl>
|
|
6736
8011
|
<dd>
|
|
6737
8012
|
|
|
6738
|
-
**request:** `Natural.
|
|
8013
|
+
**request:** `Natural.NewApiKeyParams`
|
|
6739
8014
|
|
|
6740
8015
|
</dd>
|
|
6741
8016
|
</dl>
|
|
@@ -6743,7 +8018,7 @@ await client.externalAccounts.get({
|
|
|
6743
8018
|
<dl>
|
|
6744
8019
|
<dd>
|
|
6745
8020
|
|
|
6746
|
-
**requestOptions:** `
|
|
8021
|
+
**requestOptions:** `ApiKeysClient.RequestOptions`
|
|
6747
8022
|
|
|
6748
8023
|
</dd>
|
|
6749
8024
|
</dl>
|
|
@@ -6755,7 +8030,7 @@ await client.externalAccounts.get({
|
|
|
6755
8030
|
</dl>
|
|
6756
8031
|
</details>
|
|
6757
8032
|
|
|
6758
|
-
<details><summary><code>client.
|
|
8033
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">get</a>({ ...params }) -> Natural.ApiKeyDetail</code></summary>
|
|
6759
8034
|
<dl>
|
|
6760
8035
|
<dd>
|
|
6761
8036
|
|
|
@@ -6767,7 +8042,7 @@ await client.externalAccounts.get({
|
|
|
6767
8042
|
<dl>
|
|
6768
8043
|
<dd>
|
|
6769
8044
|
|
|
6770
|
-
|
|
8045
|
+
Get an API key
|
|
6771
8046
|
</dd>
|
|
6772
8047
|
</dl>
|
|
6773
8048
|
</dd>
|
|
@@ -6782,8 +8057,8 @@ Remove a linked external account
|
|
|
6782
8057
|
<dd>
|
|
6783
8058
|
|
|
6784
8059
|
```typescript
|
|
6785
|
-
await client.
|
|
6786
|
-
|
|
8060
|
+
await client.apiKeys.get({
|
|
8061
|
+
keyId: "keyId"
|
|
6787
8062
|
});
|
|
6788
8063
|
|
|
6789
8064
|
```
|
|
@@ -6800,7 +8075,7 @@ await client.externalAccounts.remove({
|
|
|
6800
8075
|
<dl>
|
|
6801
8076
|
<dd>
|
|
6802
8077
|
|
|
6803
|
-
**request:** `Natural.
|
|
8078
|
+
**request:** `Natural.GetApiKeysRequest`
|
|
6804
8079
|
|
|
6805
8080
|
</dd>
|
|
6806
8081
|
</dl>
|
|
@@ -6808,7 +8083,7 @@ await client.externalAccounts.remove({
|
|
|
6808
8083
|
<dl>
|
|
6809
8084
|
<dd>
|
|
6810
8085
|
|
|
6811
|
-
**requestOptions:** `
|
|
8086
|
+
**requestOptions:** `ApiKeysClient.RequestOptions`
|
|
6812
8087
|
|
|
6813
8088
|
</dd>
|
|
6814
8089
|
</dl>
|
|
@@ -6820,8 +8095,7 @@ await client.externalAccounts.remove({
|
|
|
6820
8095
|
</dl>
|
|
6821
8096
|
</details>
|
|
6822
8097
|
|
|
6823
|
-
|
|
6824
|
-
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">list</a>({ ...params }) -> core.Page<Natural.ListApiKeysResponseDataItem, Natural.ApiKey></code></summary>
|
|
8098
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">revoke</a>({ ...params }) -> Natural.DelApiKey</code></summary>
|
|
6825
8099
|
<dl>
|
|
6826
8100
|
<dd>
|
|
6827
8101
|
|
|
@@ -6833,7 +8107,7 @@ await client.externalAccounts.remove({
|
|
|
6833
8107
|
<dl>
|
|
6834
8108
|
<dd>
|
|
6835
8109
|
|
|
6836
|
-
|
|
8110
|
+
Revoke an API key
|
|
6837
8111
|
</dd>
|
|
6838
8112
|
</dl>
|
|
6839
8113
|
</dd>
|
|
@@ -6848,19 +8122,10 @@ List API keys
|
|
|
6848
8122
|
<dd>
|
|
6849
8123
|
|
|
6850
8124
|
```typescript
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
}
|
|
6855
|
-
|
|
6856
|
-
// Or you can manually iterate page-by-page
|
|
6857
|
-
let page = await client.apiKeys.list();
|
|
6858
|
-
while (page.hasNextPage()) {
|
|
6859
|
-
page = page.getNextPage();
|
|
6860
|
-
}
|
|
6861
|
-
|
|
6862
|
-
// You can also access the underlying response
|
|
6863
|
-
const response = page.response;
|
|
8125
|
+
await client.apiKeys.revoke({
|
|
8126
|
+
idempotencyKey: "Idempotency-Key",
|
|
8127
|
+
keyId: "keyId"
|
|
8128
|
+
});
|
|
6864
8129
|
|
|
6865
8130
|
```
|
|
6866
8131
|
</dd>
|
|
@@ -6876,7 +8141,7 @@ const response = page.response;
|
|
|
6876
8141
|
<dl>
|
|
6877
8142
|
<dd>
|
|
6878
8143
|
|
|
6879
|
-
**request:** `Natural.
|
|
8144
|
+
**request:** `Natural.RevokeApiKeysRequest`
|
|
6880
8145
|
|
|
6881
8146
|
</dd>
|
|
6882
8147
|
</dl>
|
|
@@ -6896,7 +8161,8 @@ const response = page.response;
|
|
|
6896
8161
|
</dl>
|
|
6897
8162
|
</details>
|
|
6898
8163
|
|
|
6899
|
-
|
|
8164
|
+
## Agent Keys
|
|
8165
|
+
<details><summary><code>client.agentKeys.<a href="/src/api/resources/agentKeys/client/Client.ts">list</a>({ ...params }) -> Natural.ListAgentKeysResponse</code></summary>
|
|
6900
8166
|
<dl>
|
|
6901
8167
|
<dd>
|
|
6902
8168
|
|
|
@@ -6908,7 +8174,7 @@ const response = page.response;
|
|
|
6908
8174
|
<dl>
|
|
6909
8175
|
<dd>
|
|
6910
8176
|
|
|
6911
|
-
|
|
8177
|
+
List agent keys
|
|
6912
8178
|
</dd>
|
|
6913
8179
|
</dl>
|
|
6914
8180
|
</dd>
|
|
@@ -6923,13 +8189,7 @@ Create an API key. The secret is returned only once.
|
|
|
6923
8189
|
<dd>
|
|
6924
8190
|
|
|
6925
8191
|
```typescript
|
|
6926
|
-
await client.
|
|
6927
|
-
name: "Production Backend",
|
|
6928
|
-
scopes: ["payments.read", "payments.create"],
|
|
6929
|
-
tags: {
|
|
6930
|
-
"service": "checkout"
|
|
6931
|
-
}
|
|
6932
|
-
});
|
|
8192
|
+
await client.agentKeys.list();
|
|
6933
8193
|
|
|
6934
8194
|
```
|
|
6935
8195
|
</dd>
|
|
@@ -6945,7 +8205,7 @@ await client.apiKeys.create({
|
|
|
6945
8205
|
<dl>
|
|
6946
8206
|
<dd>
|
|
6947
8207
|
|
|
6948
|
-
**request:** `Natural.
|
|
8208
|
+
**request:** `Natural.ListAgentKeysRequest`
|
|
6949
8209
|
|
|
6950
8210
|
</dd>
|
|
6951
8211
|
</dl>
|
|
@@ -6953,7 +8213,7 @@ await client.apiKeys.create({
|
|
|
6953
8213
|
<dl>
|
|
6954
8214
|
<dd>
|
|
6955
8215
|
|
|
6956
|
-
**requestOptions:** `
|
|
8216
|
+
**requestOptions:** `AgentKeysClient.RequestOptions`
|
|
6957
8217
|
|
|
6958
8218
|
</dd>
|
|
6959
8219
|
</dl>
|
|
@@ -6965,7 +8225,7 @@ await client.apiKeys.create({
|
|
|
6965
8225
|
</dl>
|
|
6966
8226
|
</details>
|
|
6967
8227
|
|
|
6968
|
-
<details><summary><code>client.
|
|
8228
|
+
<details><summary><code>client.agentKeys.<a href="/src/api/resources/agentKeys/client/Client.ts">create</a>({ ...params }) -> Natural.CreateAgentKeysResponse</code></summary>
|
|
6969
8229
|
<dl>
|
|
6970
8230
|
<dd>
|
|
6971
8231
|
|
|
@@ -6977,7 +8237,7 @@ await client.apiKeys.create({
|
|
|
6977
8237
|
<dl>
|
|
6978
8238
|
<dd>
|
|
6979
8239
|
|
|
6980
|
-
|
|
8240
|
+
Create an agent key for an agent. The secret is returned only once.
|
|
6981
8241
|
</dd>
|
|
6982
8242
|
</dl>
|
|
6983
8243
|
</dd>
|
|
@@ -6992,8 +8252,22 @@ Get an API key
|
|
|
6992
8252
|
<dd>
|
|
6993
8253
|
|
|
6994
8254
|
```typescript
|
|
6995
|
-
await client.
|
|
6996
|
-
|
|
8255
|
+
await client.agentKeys.create({
|
|
8256
|
+
data: {
|
|
8257
|
+
attributes: {
|
|
8258
|
+
tags: {
|
|
8259
|
+
"team": "payments"
|
|
8260
|
+
}
|
|
8261
|
+
},
|
|
8262
|
+
relationships: {
|
|
8263
|
+
agent: {
|
|
8264
|
+
data: {
|
|
8265
|
+
type: "agent",
|
|
8266
|
+
id: "agt_019cd1798d637a4da75dce386343931d"
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8270
|
+
}
|
|
6997
8271
|
});
|
|
6998
8272
|
|
|
6999
8273
|
```
|
|
@@ -7010,7 +8284,7 @@ await client.apiKeys.get({
|
|
|
7010
8284
|
<dl>
|
|
7011
8285
|
<dd>
|
|
7012
8286
|
|
|
7013
|
-
**request:** `Natural.
|
|
8287
|
+
**request:** `Natural.CreateAgentKeysRequest`
|
|
7014
8288
|
|
|
7015
8289
|
</dd>
|
|
7016
8290
|
</dl>
|
|
@@ -7018,7 +8292,7 @@ await client.apiKeys.get({
|
|
|
7018
8292
|
<dl>
|
|
7019
8293
|
<dd>
|
|
7020
8294
|
|
|
7021
|
-
**requestOptions:** `
|
|
8295
|
+
**requestOptions:** `AgentKeysClient.RequestOptions`
|
|
7022
8296
|
|
|
7023
8297
|
</dd>
|
|
7024
8298
|
</dl>
|
|
@@ -7030,7 +8304,7 @@ await client.apiKeys.get({
|
|
|
7030
8304
|
</dl>
|
|
7031
8305
|
</details>
|
|
7032
8306
|
|
|
7033
|
-
<details><summary><code>client.
|
|
8307
|
+
<details><summary><code>client.agentKeys.<a href="/src/api/resources/agentKeys/client/Client.ts">revoke</a>({ ...params }) -> Natural.RevokeAgentKeysResponse</code></summary>
|
|
7034
8308
|
<dl>
|
|
7035
8309
|
<dd>
|
|
7036
8310
|
|
|
@@ -7042,7 +8316,7 @@ await client.apiKeys.get({
|
|
|
7042
8316
|
<dl>
|
|
7043
8317
|
<dd>
|
|
7044
8318
|
|
|
7045
|
-
Revoke an
|
|
8319
|
+
Revoke an agent key
|
|
7046
8320
|
</dd>
|
|
7047
8321
|
</dl>
|
|
7048
8322
|
</dd>
|
|
@@ -7057,7 +8331,7 @@ Revoke an API key
|
|
|
7057
8331
|
<dd>
|
|
7058
8332
|
|
|
7059
8333
|
```typescript
|
|
7060
|
-
await client.
|
|
8334
|
+
await client.agentKeys.revoke({
|
|
7061
8335
|
idempotencyKey: "Idempotency-Key",
|
|
7062
8336
|
keyId: "keyId"
|
|
7063
8337
|
});
|
|
@@ -7076,7 +8350,7 @@ await client.apiKeys.revoke({
|
|
|
7076
8350
|
<dl>
|
|
7077
8351
|
<dd>
|
|
7078
8352
|
|
|
7079
|
-
**request:** `Natural.
|
|
8353
|
+
**request:** `Natural.RevokeAgentKeysRequest`
|
|
7080
8354
|
|
|
7081
8355
|
</dd>
|
|
7082
8356
|
</dl>
|
|
@@ -7084,7 +8358,7 @@ await client.apiKeys.revoke({
|
|
|
7084
8358
|
<dl>
|
|
7085
8359
|
<dd>
|
|
7086
8360
|
|
|
7087
|
-
**requestOptions:** `
|
|
8361
|
+
**requestOptions:** `AgentKeysClient.RequestOptions`
|
|
7088
8362
|
|
|
7089
8363
|
</dd>
|
|
7090
8364
|
</dl>
|
|
@@ -7096,8 +8370,7 @@ await client.apiKeys.revoke({
|
|
|
7096
8370
|
</dl>
|
|
7097
8371
|
</details>
|
|
7098
8372
|
|
|
7099
|
-
|
|
7100
|
-
<details><summary><code>client.agentKeys.<a href="/src/api/resources/agentKeys/client/Client.ts">list</a>({ ...params }) -> Natural.ListAgentKeysResponse</code></summary>
|
|
8373
|
+
<details><summary><code>client.agentKeys.<a href="/src/api/resources/agentKeys/client/Client.ts">rotate</a>({ ...params }) -> Natural.RotateAgentKeysResponse</code></summary>
|
|
7101
8374
|
<dl>
|
|
7102
8375
|
<dd>
|
|
7103
8376
|
|
|
@@ -7109,7 +8382,7 @@ await client.apiKeys.revoke({
|
|
|
7109
8382
|
<dl>
|
|
7110
8383
|
<dd>
|
|
7111
8384
|
|
|
7112
|
-
|
|
8385
|
+
Rotate an agent key. The new secret is returned only once.
|
|
7113
8386
|
</dd>
|
|
7114
8387
|
</dl>
|
|
7115
8388
|
</dd>
|
|
@@ -7124,7 +8397,14 @@ List agent keys
|
|
|
7124
8397
|
<dd>
|
|
7125
8398
|
|
|
7126
8399
|
```typescript
|
|
7127
|
-
await client.agentKeys.
|
|
8400
|
+
await client.agentKeys.rotate({
|
|
8401
|
+
idempotencyKey: "Idempotency-Key",
|
|
8402
|
+
keyId: "keyId",
|
|
8403
|
+
expiresInSeconds: 86400,
|
|
8404
|
+
tags: {
|
|
8405
|
+
"team": "payments"
|
|
8406
|
+
}
|
|
8407
|
+
});
|
|
7128
8408
|
|
|
7129
8409
|
```
|
|
7130
8410
|
</dd>
|
|
@@ -7140,7 +8420,7 @@ await client.agentKeys.list();
|
|
|
7140
8420
|
<dl>
|
|
7141
8421
|
<dd>
|
|
7142
8422
|
|
|
7143
|
-
**request:** `Natural.
|
|
8423
|
+
**request:** `Natural.RotateAgentKeysRequest`
|
|
7144
8424
|
|
|
7145
8425
|
</dd>
|
|
7146
8426
|
</dl>
|
|
@@ -7160,7 +8440,8 @@ await client.agentKeys.list();
|
|
|
7160
8440
|
</dl>
|
|
7161
8441
|
</details>
|
|
7162
8442
|
|
|
7163
|
-
|
|
8443
|
+
## Card Sessions
|
|
8444
|
+
<details><summary><code>client.cardSessions.<a href="/src/api/resources/cardSessions/client/Client.ts">create</a>({ ...params }) -> Natural.CreateCardSessionsResponse</code></summary>
|
|
7164
8445
|
<dl>
|
|
7165
8446
|
<dd>
|
|
7166
8447
|
|
|
@@ -7172,7 +8453,7 @@ await client.agentKeys.list();
|
|
|
7172
8453
|
<dl>
|
|
7173
8454
|
<dd>
|
|
7174
8455
|
|
|
7175
|
-
|
|
8456
|
+
Open a session to pay for one purchase with one card. Poll it until the user approves, then claim it once for a stand-in card and proxy login.
|
|
7176
8457
|
</dd>
|
|
7177
8458
|
</dl>
|
|
7178
8459
|
</dd>
|
|
@@ -7187,21 +8468,14 @@ Create an agent key for an agent. The secret is returned only once.
|
|
|
7187
8468
|
<dd>
|
|
7188
8469
|
|
|
7189
8470
|
```typescript
|
|
7190
|
-
await client.
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
agent: {
|
|
7199
|
-
data: {
|
|
7200
|
-
type: "agent",
|
|
7201
|
-
id: "agt_019cd1798d637a4da75dce386343931d"
|
|
7202
|
-
}
|
|
7203
|
-
}
|
|
7204
|
-
}
|
|
8471
|
+
await client.cardSessions.create({
|
|
8472
|
+
cardId: "eac_01a0e642ed4873d685273ce0e7d1ccab",
|
|
8473
|
+
allowedHosts: ["api.stripe.com"],
|
|
8474
|
+
ttlSeconds: 600,
|
|
8475
|
+
purchase: {
|
|
8476
|
+
merchantName: "Blue Bottle Coffee",
|
|
8477
|
+
amount: 2450,
|
|
8478
|
+
currency: "USD"
|
|
7205
8479
|
}
|
|
7206
8480
|
});
|
|
7207
8481
|
|
|
@@ -7219,7 +8493,7 @@ await client.agentKeys.create({
|
|
|
7219
8493
|
<dl>
|
|
7220
8494
|
<dd>
|
|
7221
8495
|
|
|
7222
|
-
**request:** `Natural.
|
|
8496
|
+
**request:** `Natural.CreateCardSessionsRequest`
|
|
7223
8497
|
|
|
7224
8498
|
</dd>
|
|
7225
8499
|
</dl>
|
|
@@ -7227,7 +8501,7 @@ await client.agentKeys.create({
|
|
|
7227
8501
|
<dl>
|
|
7228
8502
|
<dd>
|
|
7229
8503
|
|
|
7230
|
-
**requestOptions:** `
|
|
8504
|
+
**requestOptions:** `CardSessionsClient.RequestOptions`
|
|
7231
8505
|
|
|
7232
8506
|
</dd>
|
|
7233
8507
|
</dl>
|
|
@@ -7239,7 +8513,7 @@ await client.agentKeys.create({
|
|
|
7239
8513
|
</dl>
|
|
7240
8514
|
</details>
|
|
7241
8515
|
|
|
7242
|
-
<details><summary><code>client.
|
|
8516
|
+
<details><summary><code>client.cardSessions.<a href="/src/api/resources/cardSessions/client/Client.ts">get</a>({ ...params }) -> Natural.GetCardSessionsResponse</code></summary>
|
|
7243
8517
|
<dl>
|
|
7244
8518
|
<dd>
|
|
7245
8519
|
|
|
@@ -7251,7 +8525,7 @@ await client.agentKeys.create({
|
|
|
7251
8525
|
<dl>
|
|
7252
8526
|
<dd>
|
|
7253
8527
|
|
|
7254
|
-
|
|
8528
|
+
Get a card session's status. It never includes card data.
|
|
7255
8529
|
</dd>
|
|
7256
8530
|
</dl>
|
|
7257
8531
|
</dd>
|
|
@@ -7266,9 +8540,8 @@ Revoke an agent key
|
|
|
7266
8540
|
<dd>
|
|
7267
8541
|
|
|
7268
8542
|
```typescript
|
|
7269
|
-
await client.
|
|
7270
|
-
|
|
7271
|
-
keyId: "keyId"
|
|
8543
|
+
await client.cardSessions.get({
|
|
8544
|
+
sessionId: "sessionId"
|
|
7272
8545
|
});
|
|
7273
8546
|
|
|
7274
8547
|
```
|
|
@@ -7285,7 +8558,7 @@ await client.agentKeys.revoke({
|
|
|
7285
8558
|
<dl>
|
|
7286
8559
|
<dd>
|
|
7287
8560
|
|
|
7288
|
-
**request:** `Natural.
|
|
8561
|
+
**request:** `Natural.GetCardSessionsRequest`
|
|
7289
8562
|
|
|
7290
8563
|
</dd>
|
|
7291
8564
|
</dl>
|
|
@@ -7293,7 +8566,7 @@ await client.agentKeys.revoke({
|
|
|
7293
8566
|
<dl>
|
|
7294
8567
|
<dd>
|
|
7295
8568
|
|
|
7296
|
-
**requestOptions:** `
|
|
8569
|
+
**requestOptions:** `CardSessionsClient.RequestOptions`
|
|
7297
8570
|
|
|
7298
8571
|
</dd>
|
|
7299
8572
|
</dl>
|
|
@@ -7305,7 +8578,7 @@ await client.agentKeys.revoke({
|
|
|
7305
8578
|
</dl>
|
|
7306
8579
|
</details>
|
|
7307
8580
|
|
|
7308
|
-
<details><summary><code>client.
|
|
8581
|
+
<details><summary><code>client.cardSessions.<a href="/src/api/resources/cardSessions/client/Client.ts">claim</a>({ ...params }) -> Natural.ClaimCardSessionsResponse</code></summary>
|
|
7309
8582
|
<dl>
|
|
7310
8583
|
<dd>
|
|
7311
8584
|
|
|
@@ -7317,7 +8590,7 @@ await client.agentKeys.revoke({
|
|
|
7317
8590
|
<dl>
|
|
7318
8591
|
<dd>
|
|
7319
8592
|
|
|
7320
|
-
|
|
8593
|
+
Claim the stand-in card and proxy login for an approved session. It succeeds once, and the credential can't be fetched again.
|
|
7321
8594
|
</dd>
|
|
7322
8595
|
</dl>
|
|
7323
8596
|
</dd>
|
|
@@ -7332,13 +8605,8 @@ Rotate an agent key. The new secret is returned only once.
|
|
|
7332
8605
|
<dd>
|
|
7333
8606
|
|
|
7334
8607
|
```typescript
|
|
7335
|
-
await client.
|
|
7336
|
-
|
|
7337
|
-
keyId: "keyId",
|
|
7338
|
-
expiresInSeconds: 86400,
|
|
7339
|
-
tags: {
|
|
7340
|
-
"team": "payments"
|
|
7341
|
-
}
|
|
8608
|
+
await client.cardSessions.claim({
|
|
8609
|
+
sessionId: "sessionId"
|
|
7342
8610
|
});
|
|
7343
8611
|
|
|
7344
8612
|
```
|
|
@@ -7355,7 +8623,7 @@ await client.agentKeys.rotate({
|
|
|
7355
8623
|
<dl>
|
|
7356
8624
|
<dd>
|
|
7357
8625
|
|
|
7358
|
-
**request:** `Natural.
|
|
8626
|
+
**request:** `Natural.ClaimCardSessionsRequest`
|
|
7359
8627
|
|
|
7360
8628
|
</dd>
|
|
7361
8629
|
</dl>
|
|
@@ -7363,7 +8631,7 @@ await client.agentKeys.rotate({
|
|
|
7363
8631
|
<dl>
|
|
7364
8632
|
<dd>
|
|
7365
8633
|
|
|
7366
|
-
**requestOptions:** `
|
|
8634
|
+
**requestOptions:** `CardSessionsClient.RequestOptions`
|
|
7367
8635
|
|
|
7368
8636
|
</dd>
|
|
7369
8637
|
</dl>
|
|
@@ -8656,6 +9924,72 @@ await client.simulations.failWire({
|
|
|
8656
9924
|
</dl>
|
|
8657
9925
|
|
|
8658
9926
|
|
|
9927
|
+
</dd>
|
|
9928
|
+
</dl>
|
|
9929
|
+
</details>
|
|
9930
|
+
|
|
9931
|
+
<details><summary><code>client.simulations.<a href="/src/api/resources/simulations/client/Client.ts">settleCardPayment</a>({ ...params }) -> Natural.SettleCardPaymentSimulationsResponse</code></summary>
|
|
9932
|
+
<dl>
|
|
9933
|
+
<dd>
|
|
9934
|
+
|
|
9935
|
+
#### 📝 Description
|
|
9936
|
+
|
|
9937
|
+
<dl>
|
|
9938
|
+
<dd>
|
|
9939
|
+
|
|
9940
|
+
<dl>
|
|
9941
|
+
<dd>
|
|
9942
|
+
|
|
9943
|
+
Simulate settlement of a successful card payment into the receiving wallet. Sandbox only.
|
|
9944
|
+
</dd>
|
|
9945
|
+
</dl>
|
|
9946
|
+
</dd>
|
|
9947
|
+
</dl>
|
|
9948
|
+
|
|
9949
|
+
#### 🔌 Usage
|
|
9950
|
+
|
|
9951
|
+
<dl>
|
|
9952
|
+
<dd>
|
|
9953
|
+
|
|
9954
|
+
<dl>
|
|
9955
|
+
<dd>
|
|
9956
|
+
|
|
9957
|
+
```typescript
|
|
9958
|
+
await client.simulations.settleCardPayment({
|
|
9959
|
+
idempotencyKey: "Idempotency-Key",
|
|
9960
|
+
cardPaymentId: "cardPaymentId"
|
|
9961
|
+
});
|
|
9962
|
+
|
|
9963
|
+
```
|
|
9964
|
+
</dd>
|
|
9965
|
+
</dl>
|
|
9966
|
+
</dd>
|
|
9967
|
+
</dl>
|
|
9968
|
+
|
|
9969
|
+
#### ⚙️ Parameters
|
|
9970
|
+
|
|
9971
|
+
<dl>
|
|
9972
|
+
<dd>
|
|
9973
|
+
|
|
9974
|
+
<dl>
|
|
9975
|
+
<dd>
|
|
9976
|
+
|
|
9977
|
+
**request:** `Natural.SettleCardPaymentSimulationsRequest`
|
|
9978
|
+
|
|
9979
|
+
</dd>
|
|
9980
|
+
</dl>
|
|
9981
|
+
|
|
9982
|
+
<dl>
|
|
9983
|
+
<dd>
|
|
9984
|
+
|
|
9985
|
+
**requestOptions:** `SimulationsClient.RequestOptions`
|
|
9986
|
+
|
|
9987
|
+
</dd>
|
|
9988
|
+
</dl>
|
|
9989
|
+
</dd>
|
|
9990
|
+
</dl>
|
|
9991
|
+
|
|
9992
|
+
|
|
8659
9993
|
</dd>
|
|
8660
9994
|
</dl>
|
|
8661
9995
|
</details>
|