@naturalpay/sdk 1.6.53 → 1.6.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/ach/client/requests/NewAchParams.d.ts +2 -4
- package/dist/cjs/api/resources/ach/types/NewAchParamsDirection.d.ts +1 -2
- package/dist/cjs/api/resources/ach/types/NewAchParamsDirection.js +1 -2
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFee.js +3 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFee.d.ts +11 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFee.js +3 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.js +8 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.js +8 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.ts +5 -0
- package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.js +8 -0
- package/dist/cjs/api/resources/check/types/index.d.ts +16 -0
- package/dist/cjs/api/resources/check/types/index.js +16 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +4 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +4 -0
- package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.ts +1 -1
- package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts +2 -1
- package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js +2 -1
- package/dist/cjs/api/resources/paymentIntents/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/paymentIntents/client/Client.js +3 -3
- package/dist/cjs/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts +0 -1
- package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js +0 -1
- package/dist/cjs/api/types/PaymentIntentRelationships.d.ts +1 -1
- package/dist/cjs/api/types/PaymentIntentRelationshipsCardPayment.d.ts +1 -1
- package/dist/cjs/api/types/VoiceSessionAttributes.d.ts +2 -2
- package/dist/cjs/api/types/VoiceSessionAttributesStatus.d.ts +0 -1
- package/dist/cjs/api/types/VoiceSessionAttributesStatus.js +0 -1
- package/dist/cjs/api/types/VoiceSessionRelationships.d.ts +2 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingParty.d.ts +8 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingParty.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyData.d.ts +9 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyData.js +3 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.ts +5 -0
- package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.js +8 -0
- package/dist/cjs/api/types/index.d.ts +3 -0
- package/dist/cjs/api/types/index.js +3 -0
- package/dist/cjs/serialization/resources/ach/client/requests/NewAchParams.d.ts +0 -1
- package/dist/cjs/serialization/resources/ach/client/requests/NewAchParams.js +0 -1
- package/dist/cjs/serialization/resources/ach/types/NewAchParamsDirection.d.ts +1 -1
- package/dist/cjs/serialization/resources/ach/types/NewAchParamsDirection.js +1 -1
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributes.js +2 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.d.ts +15 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.js +47 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.js +39 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.js +39 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.ts +7 -0
- package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.js +39 -0
- package/dist/cjs/serialization/resources/check/types/index.d.ts +16 -0
- package/dist/cjs/serialization/resources/check/types/index.js +16 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.js +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js +1 -1
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts +1 -1
- package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js +1 -1
- package/dist/cjs/serialization/types/VoiceSessionAttributesStatus.d.ts +1 -1
- package/dist/cjs/serialization/types/VoiceSessionAttributesStatus.js +1 -1
- package/dist/cjs/serialization/types/VoiceSessionRelationships.d.ts +2 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationships.js +2 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingParty.d.ts +10 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingParty.js +42 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.d.ts +11 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.js +43 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.js +39 -0
- package/dist/cjs/serialization/types/index.d.ts +3 -0
- package/dist/cjs/serialization/types/index.js +3 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/ach/client/requests/NewAchParams.d.mts +2 -4
- package/dist/esm/api/resources/ach/types/NewAchParamsDirection.d.mts +1 -2
- package/dist/esm/api/resources/ach/types/NewAchParamsDirection.mjs +1 -2
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFee.d.mts +11 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFee.mjs +2 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts +5 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.mjs +5 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts +5 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.mjs +5 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.mts +5 -0
- package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.mjs +5 -0
- package/dist/esm/api/resources/check/types/index.d.mts +16 -0
- package/dist/esm/api/resources/check/types/index.mjs +16 -0
- package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +4 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +4 -0
- package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.mts +1 -1
- package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts +2 -1
- package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs +2 -1
- package/dist/esm/api/resources/paymentIntents/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/paymentIntents/client/Client.mjs +3 -3
- package/dist/esm/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.mts +1 -1
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.mts +0 -1
- package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.mjs +0 -1
- package/dist/esm/api/types/PaymentIntentRelationships.d.mts +1 -1
- package/dist/esm/api/types/PaymentIntentRelationshipsCardPayment.d.mts +1 -1
- package/dist/esm/api/types/VoiceSessionAttributes.d.mts +2 -2
- package/dist/esm/api/types/VoiceSessionAttributesStatus.d.mts +0 -1
- package/dist/esm/api/types/VoiceSessionAttributesStatus.mjs +0 -1
- package/dist/esm/api/types/VoiceSessionRelationships.d.mts +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingParty.d.mts +8 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingParty.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyData.d.mts +9 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyData.mjs +2 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.mts +5 -0
- package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.mjs +5 -0
- package/dist/esm/api/types/index.d.mts +3 -0
- package/dist/esm/api/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/ach/client/requests/NewAchParams.d.mts +0 -1
- package/dist/esm/serialization/resources/ach/client/requests/NewAchParams.mjs +0 -1
- package/dist/esm/serialization/resources/ach/types/NewAchParamsDirection.d.mts +1 -1
- package/dist/esm/serialization/resources/ach/types/NewAchParamsDirection.mjs +1 -1
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.d.mts +15 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.mjs +11 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.mts +7 -0
- package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.mjs +3 -0
- package/dist/esm/serialization/resources/check/types/index.d.mts +16 -0
- package/dist/esm/serialization/resources/check/types/index.mjs +16 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts +1 -1
- package/dist/esm/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs +1 -1
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.mts +1 -1
- package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.mjs +1 -1
- package/dist/esm/serialization/types/VoiceSessionAttributesStatus.d.mts +1 -1
- package/dist/esm/serialization/types/VoiceSessionAttributesStatus.mjs +1 -1
- package/dist/esm/serialization/types/VoiceSessionRelationships.d.mts +2 -0
- package/dist/esm/serialization/types/VoiceSessionRelationships.mjs +2 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingParty.d.mts +10 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingParty.mjs +6 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.d.mts +11 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.mjs +7 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.mts +7 -0
- package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.mjs +3 -0
- package/dist/esm/serialization/types/index.d.mts +3 -0
- package/dist/esm/serialization/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2 -2
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.6.
|
|
47
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
46
|
+
"X-Fern-SDK-Version": "1.6.55",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.55",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -17,18 +17,16 @@ export interface NewAchParams {
|
|
|
17
17
|
idempotencyKey: string;
|
|
18
18
|
/** Customer party to act for (pty_*). Omit to act as your own party. To act for another party, pass the ID of a party that has authorized you to act on its behalf. */
|
|
19
19
|
customerPartyId?: string;
|
|
20
|
-
/** Direction of the payment. */
|
|
20
|
+
/** Direction of the payment. Direct ACH only sends money, so this is always credit. */
|
|
21
21
|
direction: Natural.NewAchParamsDirection;
|
|
22
22
|
/** Amount in cents. */
|
|
23
23
|
amount: number;
|
|
24
24
|
/** Currency code. Defaults to USD. */
|
|
25
25
|
currency?: Natural.NewAchParamsCurrency;
|
|
26
|
-
/** Wallet (wal_*) that funds
|
|
26
|
+
/** Wallet (wal_*) that funds the ACH credit. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
|
|
27
27
|
walletId?: string;
|
|
28
28
|
/** External party account (epa_*) to pay. */
|
|
29
29
|
externalPartyAccountId: string;
|
|
30
|
-
/** Mandate (mdt_*) authorizing the debit. Required for debits; not allowed for credits. */
|
|
31
|
-
mandateId?: string;
|
|
32
30
|
/** ACH company entry description. Delivered to the receiving bank on the entry. Maximum 10 characters. */
|
|
33
31
|
companyEntryDescription: string;
|
|
34
32
|
/** Description for your internal reference. Never shared with the counterparty or the banking network. Maximum 255 characters. */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/** Direction of the payment. */
|
|
1
|
+
/** Direction of the payment. Direct ACH only sends money, so this is always credit. */
|
|
2
2
|
export declare const NewAchParamsDirection: {
|
|
3
|
-
readonly Debit: "debit";
|
|
4
3
|
readonly Credit: "credit";
|
|
5
4
|
};
|
|
6
5
|
export type NewAchParamsDirection = (typeof NewAchParamsDirection)[keyof typeof NewAchParamsDirection];
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.NewAchParamsDirection = void 0;
|
|
5
|
-
/** Direction of the payment. */
|
|
5
|
+
/** Direction of the payment. Direct ACH only sends money, so this is always credit. */
|
|
6
6
|
exports.NewAchParamsDirection = {
|
|
7
|
-
Debit: "debit",
|
|
8
7
|
Credit: "credit",
|
|
9
8
|
};
|
|
@@ -4,6 +4,8 @@ export interface CancelCheckResponseDataAttributes {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
/** Currency code. */
|
|
6
6
|
currency: Natural.CancelCheckResponseDataAttributesCurrency;
|
|
7
|
+
/** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
|
|
8
|
+
fee: Natural.CancelCheckResponseDataAttributesFee | null;
|
|
7
9
|
/** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
|
|
8
10
|
status: Natural.CancelCheckResponseDataAttributesStatus;
|
|
9
11
|
/** Memo printed on the check. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
export interface CancelCheckResponseDataAttributesFee {
|
|
3
|
+
/** Fee amount in cents. */
|
|
4
|
+
amount: number;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
currency: Natural.CancelCheckResponseDataAttributesFeeCurrency;
|
|
7
|
+
/** Party role charged the fee. */
|
|
8
|
+
payer: Natural.CancelCheckResponseDataAttributesFeePayer;
|
|
9
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
10
|
+
applied: Natural.CancelCheckResponseDataAttributesFeeApplied;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
2
|
+
export declare const CancelCheckResponseDataAttributesFeeApplied: {
|
|
3
|
+
readonly OnTop: "on_top";
|
|
4
|
+
};
|
|
5
|
+
export type CancelCheckResponseDataAttributesFeeApplied = (typeof CancelCheckResponseDataAttributesFeeApplied)[keyof typeof CancelCheckResponseDataAttributesFeeApplied];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CancelCheckResponseDataAttributesFeeApplied = void 0;
|
|
5
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
6
|
+
exports.CancelCheckResponseDataAttributesFeeApplied = {
|
|
7
|
+
OnTop: "on_top",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Currency of the fee. */
|
|
2
|
+
export declare const CancelCheckResponseDataAttributesFeeCurrency: {
|
|
3
|
+
readonly Usd: "USD";
|
|
4
|
+
};
|
|
5
|
+
export type CancelCheckResponseDataAttributesFeeCurrency = (typeof CancelCheckResponseDataAttributesFeeCurrency)[keyof typeof CancelCheckResponseDataAttributesFeeCurrency];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CancelCheckResponseDataAttributesFeeCurrency = void 0;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
exports.CancelCheckResponseDataAttributesFeeCurrency = {
|
|
7
|
+
Usd: "USD",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Party role charged the fee. */
|
|
2
|
+
export declare const CancelCheckResponseDataAttributesFeePayer: {
|
|
3
|
+
readonly Sender: "sender";
|
|
4
|
+
};
|
|
5
|
+
export type CancelCheckResponseDataAttributesFeePayer = (typeof CancelCheckResponseDataAttributesFeePayer)[keyof typeof CancelCheckResponseDataAttributesFeePayer];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CancelCheckResponseDataAttributesFeePayer = void 0;
|
|
5
|
+
/** Party role charged the fee. */
|
|
6
|
+
exports.CancelCheckResponseDataAttributesFeePayer = {
|
|
7
|
+
Sender: "sender",
|
|
8
|
+
};
|
|
@@ -4,6 +4,8 @@ export interface CreateCheckResponseDataAttributes {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
/** Currency code. */
|
|
6
6
|
currency: Natural.CreateCheckResponseDataAttributesCurrency;
|
|
7
|
+
/** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
|
|
8
|
+
fee: Natural.CreateCheckResponseDataAttributesFee | null;
|
|
7
9
|
/** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
|
|
8
10
|
status: Natural.CreateCheckResponseDataAttributesStatus;
|
|
9
11
|
/** Memo printed on the check. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
export interface CreateCheckResponseDataAttributesFee {
|
|
3
|
+
/** Fee amount in cents. */
|
|
4
|
+
amount: number;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
currency: Natural.CreateCheckResponseDataAttributesFeeCurrency;
|
|
7
|
+
/** Party role charged the fee. */
|
|
8
|
+
payer: Natural.CreateCheckResponseDataAttributesFeePayer;
|
|
9
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
10
|
+
applied: Natural.CreateCheckResponseDataAttributesFeeApplied;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
2
|
+
export declare const CreateCheckResponseDataAttributesFeeApplied: {
|
|
3
|
+
readonly OnTop: "on_top";
|
|
4
|
+
};
|
|
5
|
+
export type CreateCheckResponseDataAttributesFeeApplied = (typeof CreateCheckResponseDataAttributesFeeApplied)[keyof typeof CreateCheckResponseDataAttributesFeeApplied];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateCheckResponseDataAttributesFeeApplied = void 0;
|
|
5
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
6
|
+
exports.CreateCheckResponseDataAttributesFeeApplied = {
|
|
7
|
+
OnTop: "on_top",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Currency of the fee. */
|
|
2
|
+
export declare const CreateCheckResponseDataAttributesFeeCurrency: {
|
|
3
|
+
readonly Usd: "USD";
|
|
4
|
+
};
|
|
5
|
+
export type CreateCheckResponseDataAttributesFeeCurrency = (typeof CreateCheckResponseDataAttributesFeeCurrency)[keyof typeof CreateCheckResponseDataAttributesFeeCurrency];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateCheckResponseDataAttributesFeeCurrency = void 0;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
exports.CreateCheckResponseDataAttributesFeeCurrency = {
|
|
7
|
+
Usd: "USD",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Party role charged the fee. */
|
|
2
|
+
export declare const CreateCheckResponseDataAttributesFeePayer: {
|
|
3
|
+
readonly Sender: "sender";
|
|
4
|
+
};
|
|
5
|
+
export type CreateCheckResponseDataAttributesFeePayer = (typeof CreateCheckResponseDataAttributesFeePayer)[keyof typeof CreateCheckResponseDataAttributesFeePayer];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateCheckResponseDataAttributesFeePayer = void 0;
|
|
5
|
+
/** Party role charged the fee. */
|
|
6
|
+
exports.CreateCheckResponseDataAttributesFeePayer = {
|
|
7
|
+
Sender: "sender",
|
|
8
|
+
};
|
|
@@ -4,6 +4,8 @@ export interface GetCheckResponseDataAttributes {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
/** Currency code. */
|
|
6
6
|
currency: Natural.GetCheckResponseDataAttributesCurrency;
|
|
7
|
+
/** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
|
|
8
|
+
fee: Natural.GetCheckResponseDataAttributesFee | null;
|
|
7
9
|
/** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
|
|
8
10
|
status: Natural.GetCheckResponseDataAttributesStatus;
|
|
9
11
|
/** Memo printed on the check. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
export interface GetCheckResponseDataAttributesFee {
|
|
3
|
+
/** Fee amount in cents. */
|
|
4
|
+
amount: number;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
currency: Natural.GetCheckResponseDataAttributesFeeCurrency;
|
|
7
|
+
/** Party role charged the fee. */
|
|
8
|
+
payer: Natural.GetCheckResponseDataAttributesFeePayer;
|
|
9
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
10
|
+
applied: Natural.GetCheckResponseDataAttributesFeeApplied;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
2
|
+
export declare const GetCheckResponseDataAttributesFeeApplied: {
|
|
3
|
+
readonly OnTop: "on_top";
|
|
4
|
+
};
|
|
5
|
+
export type GetCheckResponseDataAttributesFeeApplied = (typeof GetCheckResponseDataAttributesFeeApplied)[keyof typeof GetCheckResponseDataAttributesFeeApplied];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetCheckResponseDataAttributesFeeApplied = void 0;
|
|
5
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
6
|
+
exports.GetCheckResponseDataAttributesFeeApplied = {
|
|
7
|
+
OnTop: "on_top",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Currency of the fee. */
|
|
2
|
+
export declare const GetCheckResponseDataAttributesFeeCurrency: {
|
|
3
|
+
readonly Usd: "USD";
|
|
4
|
+
};
|
|
5
|
+
export type GetCheckResponseDataAttributesFeeCurrency = (typeof GetCheckResponseDataAttributesFeeCurrency)[keyof typeof GetCheckResponseDataAttributesFeeCurrency];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetCheckResponseDataAttributesFeeCurrency = void 0;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
exports.GetCheckResponseDataAttributesFeeCurrency = {
|
|
7
|
+
Usd: "USD",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Party role charged the fee. */
|
|
2
|
+
export declare const GetCheckResponseDataAttributesFeePayer: {
|
|
3
|
+
readonly Sender: "sender";
|
|
4
|
+
};
|
|
5
|
+
export type GetCheckResponseDataAttributesFeePayer = (typeof GetCheckResponseDataAttributesFeePayer)[keyof typeof GetCheckResponseDataAttributesFeePayer];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetCheckResponseDataAttributesFeePayer = void 0;
|
|
5
|
+
/** Party role charged the fee. */
|
|
6
|
+
exports.GetCheckResponseDataAttributesFeePayer = {
|
|
7
|
+
Sender: "sender",
|
|
8
|
+
};
|
|
@@ -4,6 +4,8 @@ export interface ListCheckResponseDataItemAttributes {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
/** Currency code. */
|
|
6
6
|
currency: Natural.ListCheckResponseDataItemAttributesCurrency;
|
|
7
|
+
/** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
|
|
8
|
+
fee: Natural.ListCheckResponseDataItemAttributesFee | null;
|
|
7
9
|
/** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
|
|
8
10
|
status: Natural.ListCheckResponseDataItemAttributesStatus;
|
|
9
11
|
/** Memo printed on the check. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
export interface ListCheckResponseDataItemAttributesFee {
|
|
3
|
+
/** Fee amount in cents. */
|
|
4
|
+
amount: number;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
currency: Natural.ListCheckResponseDataItemAttributesFeeCurrency;
|
|
7
|
+
/** Party role charged the fee. */
|
|
8
|
+
payer: Natural.ListCheckResponseDataItemAttributesFeePayer;
|
|
9
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
10
|
+
applied: Natural.ListCheckResponseDataItemAttributesFeeApplied;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
2
|
+
export declare const ListCheckResponseDataItemAttributesFeeApplied: {
|
|
3
|
+
readonly OnTop: "on_top";
|
|
4
|
+
};
|
|
5
|
+
export type ListCheckResponseDataItemAttributesFeeApplied = (typeof ListCheckResponseDataItemAttributesFeeApplied)[keyof typeof ListCheckResponseDataItemAttributesFeeApplied];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListCheckResponseDataItemAttributesFeeApplied = void 0;
|
|
5
|
+
/** The fee is added to the sender's cost without reducing the principal amount. */
|
|
6
|
+
exports.ListCheckResponseDataItemAttributesFeeApplied = {
|
|
7
|
+
OnTop: "on_top",
|
|
8
|
+
};
|
package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Currency of the fee. */
|
|
2
|
+
export declare const ListCheckResponseDataItemAttributesFeeCurrency: {
|
|
3
|
+
readonly Usd: "USD";
|
|
4
|
+
};
|
|
5
|
+
export type ListCheckResponseDataItemAttributesFeeCurrency = (typeof ListCheckResponseDataItemAttributesFeeCurrency)[keyof typeof ListCheckResponseDataItemAttributesFeeCurrency];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListCheckResponseDataItemAttributesFeeCurrency = void 0;
|
|
5
|
+
/** Currency of the fee. */
|
|
6
|
+
exports.ListCheckResponseDataItemAttributesFeeCurrency = {
|
|
7
|
+
Usd: "USD",
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Party role charged the fee. */
|
|
2
|
+
export declare const ListCheckResponseDataItemAttributesFeePayer: {
|
|
3
|
+
readonly Sender: "sender";
|
|
4
|
+
};
|
|
5
|
+
export type ListCheckResponseDataItemAttributesFeePayer = (typeof ListCheckResponseDataItemAttributesFeePayer)[keyof typeof ListCheckResponseDataItemAttributesFeePayer];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListCheckResponseDataItemAttributesFeePayer = void 0;
|
|
5
|
+
/** Party role charged the fee. */
|
|
6
|
+
exports.ListCheckResponseDataItemAttributesFeePayer = {
|
|
7
|
+
Sender: "sender",
|
|
8
|
+
};
|
|
@@ -7,6 +7,10 @@ export * from "./CancelCheckResponseDataAttributesDelivery.js";
|
|
|
7
7
|
export * from "./CancelCheckResponseDataAttributesDeliveryMethod.js";
|
|
8
8
|
export * from "./CancelCheckResponseDataAttributesDeliveryStatus.js";
|
|
9
9
|
export * from "./CancelCheckResponseDataAttributesFailure.js";
|
|
10
|
+
export * from "./CancelCheckResponseDataAttributesFee.js";
|
|
11
|
+
export * from "./CancelCheckResponseDataAttributesFeeApplied.js";
|
|
12
|
+
export * from "./CancelCheckResponseDataAttributesFeeCurrency.js";
|
|
13
|
+
export * from "./CancelCheckResponseDataAttributesFeePayer.js";
|
|
10
14
|
export * from "./CancelCheckResponseDataAttributesPayee.js";
|
|
11
15
|
export * from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.js";
|
|
12
16
|
export * from "./CancelCheckResponseDataAttributesReturn.js";
|
|
@@ -33,6 +37,10 @@ export * from "./CreateCheckResponseDataAttributesDelivery.js";
|
|
|
33
37
|
export * from "./CreateCheckResponseDataAttributesDeliveryMethod.js";
|
|
34
38
|
export * from "./CreateCheckResponseDataAttributesDeliveryStatus.js";
|
|
35
39
|
export * from "./CreateCheckResponseDataAttributesFailure.js";
|
|
40
|
+
export * from "./CreateCheckResponseDataAttributesFee.js";
|
|
41
|
+
export * from "./CreateCheckResponseDataAttributesFeeApplied.js";
|
|
42
|
+
export * from "./CreateCheckResponseDataAttributesFeeCurrency.js";
|
|
43
|
+
export * from "./CreateCheckResponseDataAttributesFeePayer.js";
|
|
36
44
|
export * from "./CreateCheckResponseDataAttributesPayee.js";
|
|
37
45
|
export * from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.js";
|
|
38
46
|
export * from "./CreateCheckResponseDataAttributesReturn.js";
|
|
@@ -57,6 +65,10 @@ export * from "./GetCheckResponseDataAttributesDelivery.js";
|
|
|
57
65
|
export * from "./GetCheckResponseDataAttributesDeliveryMethod.js";
|
|
58
66
|
export * from "./GetCheckResponseDataAttributesDeliveryStatus.js";
|
|
59
67
|
export * from "./GetCheckResponseDataAttributesFailure.js";
|
|
68
|
+
export * from "./GetCheckResponseDataAttributesFee.js";
|
|
69
|
+
export * from "./GetCheckResponseDataAttributesFeeApplied.js";
|
|
70
|
+
export * from "./GetCheckResponseDataAttributesFeeCurrency.js";
|
|
71
|
+
export * from "./GetCheckResponseDataAttributesFeePayer.js";
|
|
60
72
|
export * from "./GetCheckResponseDataAttributesPayee.js";
|
|
61
73
|
export * from "./GetCheckResponseDataAttributesPresentmentReturnsItem.js";
|
|
62
74
|
export * from "./GetCheckResponseDataAttributesReturn.js";
|
|
@@ -82,6 +94,10 @@ export * from "./ListCheckResponseDataItemAttributesDelivery.js";
|
|
|
82
94
|
export * from "./ListCheckResponseDataItemAttributesDeliveryMethod.js";
|
|
83
95
|
export * from "./ListCheckResponseDataItemAttributesDeliveryStatus.js";
|
|
84
96
|
export * from "./ListCheckResponseDataItemAttributesFailure.js";
|
|
97
|
+
export * from "./ListCheckResponseDataItemAttributesFee.js";
|
|
98
|
+
export * from "./ListCheckResponseDataItemAttributesFeeApplied.js";
|
|
99
|
+
export * from "./ListCheckResponseDataItemAttributesFeeCurrency.js";
|
|
100
|
+
export * from "./ListCheckResponseDataItemAttributesFeePayer.js";
|
|
85
101
|
export * from "./ListCheckResponseDataItemAttributesPayee.js";
|
|
86
102
|
export * from "./ListCheckResponseDataItemAttributesPresentmentReturnsItem.js";
|
|
87
103
|
export * from "./ListCheckResponseDataItemAttributesReturn.js";
|
|
@@ -23,6 +23,10 @@ __exportStar(require("./CancelCheckResponseDataAttributesDelivery.js"), exports)
|
|
|
23
23
|
__exportStar(require("./CancelCheckResponseDataAttributesDeliveryMethod.js"), exports);
|
|
24
24
|
__exportStar(require("./CancelCheckResponseDataAttributesDeliveryStatus.js"), exports);
|
|
25
25
|
__exportStar(require("./CancelCheckResponseDataAttributesFailure.js"), exports);
|
|
26
|
+
__exportStar(require("./CancelCheckResponseDataAttributesFee.js"), exports);
|
|
27
|
+
__exportStar(require("./CancelCheckResponseDataAttributesFeeApplied.js"), exports);
|
|
28
|
+
__exportStar(require("./CancelCheckResponseDataAttributesFeeCurrency.js"), exports);
|
|
29
|
+
__exportStar(require("./CancelCheckResponseDataAttributesFeePayer.js"), exports);
|
|
26
30
|
__exportStar(require("./CancelCheckResponseDataAttributesPayee.js"), exports);
|
|
27
31
|
__exportStar(require("./CancelCheckResponseDataAttributesPresentmentReturnsItem.js"), exports);
|
|
28
32
|
__exportStar(require("./CancelCheckResponseDataAttributesReturn.js"), exports);
|
|
@@ -49,6 +53,10 @@ __exportStar(require("./CreateCheckResponseDataAttributesDelivery.js"), exports)
|
|
|
49
53
|
__exportStar(require("./CreateCheckResponseDataAttributesDeliveryMethod.js"), exports);
|
|
50
54
|
__exportStar(require("./CreateCheckResponseDataAttributesDeliveryStatus.js"), exports);
|
|
51
55
|
__exportStar(require("./CreateCheckResponseDataAttributesFailure.js"), exports);
|
|
56
|
+
__exportStar(require("./CreateCheckResponseDataAttributesFee.js"), exports);
|
|
57
|
+
__exportStar(require("./CreateCheckResponseDataAttributesFeeApplied.js"), exports);
|
|
58
|
+
__exportStar(require("./CreateCheckResponseDataAttributesFeeCurrency.js"), exports);
|
|
59
|
+
__exportStar(require("./CreateCheckResponseDataAttributesFeePayer.js"), exports);
|
|
52
60
|
__exportStar(require("./CreateCheckResponseDataAttributesPayee.js"), exports);
|
|
53
61
|
__exportStar(require("./CreateCheckResponseDataAttributesPresentmentReturnsItem.js"), exports);
|
|
54
62
|
__exportStar(require("./CreateCheckResponseDataAttributesReturn.js"), exports);
|
|
@@ -73,6 +81,10 @@ __exportStar(require("./GetCheckResponseDataAttributesDelivery.js"), exports);
|
|
|
73
81
|
__exportStar(require("./GetCheckResponseDataAttributesDeliveryMethod.js"), exports);
|
|
74
82
|
__exportStar(require("./GetCheckResponseDataAttributesDeliveryStatus.js"), exports);
|
|
75
83
|
__exportStar(require("./GetCheckResponseDataAttributesFailure.js"), exports);
|
|
84
|
+
__exportStar(require("./GetCheckResponseDataAttributesFee.js"), exports);
|
|
85
|
+
__exportStar(require("./GetCheckResponseDataAttributesFeeApplied.js"), exports);
|
|
86
|
+
__exportStar(require("./GetCheckResponseDataAttributesFeeCurrency.js"), exports);
|
|
87
|
+
__exportStar(require("./GetCheckResponseDataAttributesFeePayer.js"), exports);
|
|
76
88
|
__exportStar(require("./GetCheckResponseDataAttributesPayee.js"), exports);
|
|
77
89
|
__exportStar(require("./GetCheckResponseDataAttributesPresentmentReturnsItem.js"), exports);
|
|
78
90
|
__exportStar(require("./GetCheckResponseDataAttributesReturn.js"), exports);
|
|
@@ -98,6 +110,10 @@ __exportStar(require("./ListCheckResponseDataItemAttributesDelivery.js"), export
|
|
|
98
110
|
__exportStar(require("./ListCheckResponseDataItemAttributesDeliveryMethod.js"), exports);
|
|
99
111
|
__exportStar(require("./ListCheckResponseDataItemAttributesDeliveryStatus.js"), exports);
|
|
100
112
|
__exportStar(require("./ListCheckResponseDataItemAttributesFailure.js"), exports);
|
|
113
|
+
__exportStar(require("./ListCheckResponseDataItemAttributesFee.js"), exports);
|
|
114
|
+
__exportStar(require("./ListCheckResponseDataItemAttributesFeeApplied.js"), exports);
|
|
115
|
+
__exportStar(require("./ListCheckResponseDataItemAttributesFeeCurrency.js"), exports);
|
|
116
|
+
__exportStar(require("./ListCheckResponseDataItemAttributesFeePayer.js"), exports);
|
|
101
117
|
__exportStar(require("./ListCheckResponseDataItemAttributesPayee.js"), exports);
|
|
102
118
|
__exportStar(require("./ListCheckResponseDataItemAttributesPresentmentReturnsItem.js"), exports);
|
|
103
119
|
__exportStar(require("./ListCheckResponseDataItemAttributesReturn.js"), exports);
|
|
@@ -4,6 +4,10 @@ export interface ListCardsExternalAccountsResponseDataItemAttributes {
|
|
|
4
4
|
brand: Natural.ListCardsExternalAccountsResponseDataItemAttributesBrand;
|
|
5
5
|
/** Last four digits of the card number. */
|
|
6
6
|
lastFour: string;
|
|
7
|
+
/** Card expiry month, 1 to 12. Null when the expiry is not on file. */
|
|
8
|
+
expiryMonth: number | null;
|
|
9
|
+
/** Card expiry year, four digits. Null when the expiry is not on file. */
|
|
10
|
+
expiryYear: number | null;
|
|
7
11
|
/** Name the customer gave the card, e.g. "Work Amex". Defaults to "<Brand> card ending <last4>". */
|
|
8
12
|
nickname: string;
|
|
9
13
|
/** The card's billing address on file, for filling a merchant's checkout (the ZIP drives the bank's AVS check). */
|
|
@@ -4,6 +4,10 @@ export interface RemoveCardExternalAccountsResponseDataAttributes {
|
|
|
4
4
|
brand: Natural.RemoveCardExternalAccountsResponseDataAttributesBrand;
|
|
5
5
|
/** Last four digits of the card number. */
|
|
6
6
|
lastFour: string;
|
|
7
|
+
/** Card expiry month, 1 to 12. Null when the expiry is not on file. */
|
|
8
|
+
expiryMonth: number | null;
|
|
9
|
+
/** Card expiry year, four digits. Null when the expiry is not on file. */
|
|
10
|
+
expiryYear: number | null;
|
|
7
11
|
/** Name the customer gave the card, e.g. "Work Amex". Defaults to "<Brand> card ending <last4>". */
|
|
8
12
|
nickname: string;
|
|
9
13
|
/** The card's billing address on file, for filling a merchant's checkout (the ZIP drives the bank's AVS check). */
|
package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ import type * as Natural from "../../../index.js";
|
|
|
5
5
|
export interface CreateInvitationsRequestInvitationsItem {
|
|
6
6
|
/** Email address to invite. */
|
|
7
7
|
email: string;
|
|
8
|
-
/** Role to assign on acceptance. */
|
|
8
|
+
/** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
|
|
9
9
|
role: Natural.CreateInvitationsRequestInvitationsItemRole;
|
|
10
10
|
}
|
package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/** Role to assign on acceptance. */
|
|
1
|
+
/** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
|
|
2
2
|
export declare const CreateInvitationsRequestInvitationsItemRole: {
|
|
3
|
+
readonly Owner: "OWNER";
|
|
3
4
|
readonly Admin: "ADMIN";
|
|
4
5
|
readonly Member: "MEMBER";
|
|
5
6
|
};
|
package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.CreateInvitationsRequestInvitationsItemRole = void 0;
|
|
5
|
-
/** Role to assign on acceptance. */
|
|
5
|
+
/** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
|
|
6
6
|
exports.CreateInvitationsRequestInvitationsItemRole = {
|
|
7
|
+
Owner: "OWNER",
|
|
7
8
|
Admin: "ADMIN",
|
|
8
9
|
Member: "MEMBER",
|
|
9
10
|
};
|
|
@@ -8,7 +8,7 @@ export declare namespace PaymentIntentsClient {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* Accept card payments by link or voice
|
|
11
|
+
* Accept card payments by link or voice, or charge a saved card
|
|
12
12
|
*/
|
|
13
13
|
export declare class PaymentIntentsClient {
|
|
14
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<PaymentIntentsClient.Options>;
|
|
@@ -39,7 +39,7 @@ export declare class PaymentIntentsClient {
|
|
|
39
39
|
*/
|
|
40
40
|
list(request?: Natural.ListPaymentIntentsRequest, requestOptions?: PaymentIntentsClient.RequestOptions): Promise<core.Page<Natural.PaymentIntent, Natural.ListPaymentIntentsResponse>>;
|
|
41
41
|
/**
|
|
42
|
-
* Create a payment intent
|
|
42
|
+
* Create a payment intent to collect a payment
|
|
43
43
|
*
|
|
44
44
|
* @param {Natural.CreatePaymentIntentsRequest} request
|
|
45
45
|
* @param {PaymentIntentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -150,7 +150,7 @@ export declare class PaymentIntentsClient {
|
|
|
150
150
|
update(request: Natural.UpdatePaymentIntentsRequest, requestOptions?: PaymentIntentsClient.RequestOptions): core.HttpResponsePromise<Natural.UpdatePaymentIntentsResponse>;
|
|
151
151
|
private __update;
|
|
152
152
|
/**
|
|
153
|
-
* Cancel
|
|
153
|
+
* Cancel a payment intent that isn't paid yet
|
|
154
154
|
*
|
|
155
155
|
* @param {Natural.CancelPaymentIntentsRequest} request
|
|
156
156
|
* @param {PaymentIntentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -65,7 +65,7 @@ const errors = __importStar(require("../../../../errors/index.js"));
|
|
|
65
65
|
const serializers = __importStar(require("../../../../serialization/index.js"));
|
|
66
66
|
const Natural = __importStar(require("../../../index.js"));
|
|
67
67
|
/**
|
|
68
|
-
* Accept card payments by link or voice
|
|
68
|
+
* Accept card payments by link or voice, or charge a saved card
|
|
69
69
|
*/
|
|
70
70
|
class PaymentIntentsClient {
|
|
71
71
|
constructor(options = {}) {
|
|
@@ -195,7 +195,7 @@ class PaymentIntentsClient {
|
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
|
-
* Create a payment intent
|
|
198
|
+
* Create a payment intent to collect a payment
|
|
199
199
|
*
|
|
200
200
|
* @param {Natural.CreatePaymentIntentsRequest} request
|
|
201
201
|
* @param {PaymentIntentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -532,7 +532,7 @@ class PaymentIntentsClient {
|
|
|
532
532
|
});
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
|
-
* Cancel
|
|
535
|
+
* Cancel a payment intent that isn't paid yet
|
|
536
536
|
*
|
|
537
537
|
* @param {Natural.CancelPaymentIntentsRequest} request
|
|
538
538
|
* @param {PaymentIntentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/cjs/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.ts
CHANGED
|
@@ -23,6 +23,6 @@ export interface CreateVoiceSessionsRequest {
|
|
|
23
23
|
callerPhone: string;
|
|
24
24
|
/** Your reference for this voice session. */
|
|
25
25
|
referenceId?: string;
|
|
26
|
-
/** SIP URI to request a return transfer to when the payment call finishes. */
|
|
26
|
+
/** SIP URI with a public host to request a return transfer to when the payment call finishes. */
|
|
27
27
|
returnTarget?: string;
|
|
28
28
|
}
|
|
@@ -2,7 +2,7 @@ import type * as Natural from "../index.js";
|
|
|
2
2
|
export interface PaymentIntentRelationships {
|
|
3
3
|
/** The party being paid. */
|
|
4
4
|
customerParty: Natural.PaymentIntentRelationshipsCustomerParty;
|
|
5
|
-
/**
|
|
5
|
+
/** The card payment the issuer approved. Null until one is approved. */
|
|
6
6
|
cardPayment: Natural.PaymentIntentRelationshipsCardPayment;
|
|
7
7
|
/** Latest voice session for this intent. Null when no session has been created. */
|
|
8
8
|
voiceSession: Natural.PaymentIntentRelationshipsVoiceSession;
|