@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/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts
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,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];
|
|
@@ -7,6 +7,10 @@ export * from "./CancelCheckResponseDataAttributesDelivery.mjs";
|
|
|
7
7
|
export * from "./CancelCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
8
8
|
export * from "./CancelCheckResponseDataAttributesDeliveryStatus.mjs";
|
|
9
9
|
export * from "./CancelCheckResponseDataAttributesFailure.mjs";
|
|
10
|
+
export * from "./CancelCheckResponseDataAttributesFee.mjs";
|
|
11
|
+
export * from "./CancelCheckResponseDataAttributesFeeApplied.mjs";
|
|
12
|
+
export * from "./CancelCheckResponseDataAttributesFeeCurrency.mjs";
|
|
13
|
+
export * from "./CancelCheckResponseDataAttributesFeePayer.mjs";
|
|
10
14
|
export * from "./CancelCheckResponseDataAttributesPayee.mjs";
|
|
11
15
|
export * from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
12
16
|
export * from "./CancelCheckResponseDataAttributesReturn.mjs";
|
|
@@ -33,6 +37,10 @@ export * from "./CreateCheckResponseDataAttributesDelivery.mjs";
|
|
|
33
37
|
export * from "./CreateCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
34
38
|
export * from "./CreateCheckResponseDataAttributesDeliveryStatus.mjs";
|
|
35
39
|
export * from "./CreateCheckResponseDataAttributesFailure.mjs";
|
|
40
|
+
export * from "./CreateCheckResponseDataAttributesFee.mjs";
|
|
41
|
+
export * from "./CreateCheckResponseDataAttributesFeeApplied.mjs";
|
|
42
|
+
export * from "./CreateCheckResponseDataAttributesFeeCurrency.mjs";
|
|
43
|
+
export * from "./CreateCheckResponseDataAttributesFeePayer.mjs";
|
|
36
44
|
export * from "./CreateCheckResponseDataAttributesPayee.mjs";
|
|
37
45
|
export * from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
38
46
|
export * from "./CreateCheckResponseDataAttributesReturn.mjs";
|
|
@@ -57,6 +65,10 @@ export * from "./GetCheckResponseDataAttributesDelivery.mjs";
|
|
|
57
65
|
export * from "./GetCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
58
66
|
export * from "./GetCheckResponseDataAttributesDeliveryStatus.mjs";
|
|
59
67
|
export * from "./GetCheckResponseDataAttributesFailure.mjs";
|
|
68
|
+
export * from "./GetCheckResponseDataAttributesFee.mjs";
|
|
69
|
+
export * from "./GetCheckResponseDataAttributesFeeApplied.mjs";
|
|
70
|
+
export * from "./GetCheckResponseDataAttributesFeeCurrency.mjs";
|
|
71
|
+
export * from "./GetCheckResponseDataAttributesFeePayer.mjs";
|
|
60
72
|
export * from "./GetCheckResponseDataAttributesPayee.mjs";
|
|
61
73
|
export * from "./GetCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
62
74
|
export * from "./GetCheckResponseDataAttributesReturn.mjs";
|
|
@@ -82,6 +94,10 @@ export * from "./ListCheckResponseDataItemAttributesDelivery.mjs";
|
|
|
82
94
|
export * from "./ListCheckResponseDataItemAttributesDeliveryMethod.mjs";
|
|
83
95
|
export * from "./ListCheckResponseDataItemAttributesDeliveryStatus.mjs";
|
|
84
96
|
export * from "./ListCheckResponseDataItemAttributesFailure.mjs";
|
|
97
|
+
export * from "./ListCheckResponseDataItemAttributesFee.mjs";
|
|
98
|
+
export * from "./ListCheckResponseDataItemAttributesFeeApplied.mjs";
|
|
99
|
+
export * from "./ListCheckResponseDataItemAttributesFeeCurrency.mjs";
|
|
100
|
+
export * from "./ListCheckResponseDataItemAttributesFeePayer.mjs";
|
|
85
101
|
export * from "./ListCheckResponseDataItemAttributesPayee.mjs";
|
|
86
102
|
export * from "./ListCheckResponseDataItemAttributesPresentmentReturnsItem.mjs";
|
|
87
103
|
export * from "./ListCheckResponseDataItemAttributesReturn.mjs";
|
|
@@ -7,6 +7,10 @@ export * from "./CancelCheckResponseDataAttributesDelivery.mjs";
|
|
|
7
7
|
export * from "./CancelCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
8
8
|
export * from "./CancelCheckResponseDataAttributesDeliveryStatus.mjs";
|
|
9
9
|
export * from "./CancelCheckResponseDataAttributesFailure.mjs";
|
|
10
|
+
export * from "./CancelCheckResponseDataAttributesFee.mjs";
|
|
11
|
+
export * from "./CancelCheckResponseDataAttributesFeeApplied.mjs";
|
|
12
|
+
export * from "./CancelCheckResponseDataAttributesFeeCurrency.mjs";
|
|
13
|
+
export * from "./CancelCheckResponseDataAttributesFeePayer.mjs";
|
|
10
14
|
export * from "./CancelCheckResponseDataAttributesPayee.mjs";
|
|
11
15
|
export * from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
12
16
|
export * from "./CancelCheckResponseDataAttributesReturn.mjs";
|
|
@@ -33,6 +37,10 @@ export * from "./CreateCheckResponseDataAttributesDelivery.mjs";
|
|
|
33
37
|
export * from "./CreateCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
34
38
|
export * from "./CreateCheckResponseDataAttributesDeliveryStatus.mjs";
|
|
35
39
|
export * from "./CreateCheckResponseDataAttributesFailure.mjs";
|
|
40
|
+
export * from "./CreateCheckResponseDataAttributesFee.mjs";
|
|
41
|
+
export * from "./CreateCheckResponseDataAttributesFeeApplied.mjs";
|
|
42
|
+
export * from "./CreateCheckResponseDataAttributesFeeCurrency.mjs";
|
|
43
|
+
export * from "./CreateCheckResponseDataAttributesFeePayer.mjs";
|
|
36
44
|
export * from "./CreateCheckResponseDataAttributesPayee.mjs";
|
|
37
45
|
export * from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
38
46
|
export * from "./CreateCheckResponseDataAttributesReturn.mjs";
|
|
@@ -57,6 +65,10 @@ export * from "./GetCheckResponseDataAttributesDelivery.mjs";
|
|
|
57
65
|
export * from "./GetCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
58
66
|
export * from "./GetCheckResponseDataAttributesDeliveryStatus.mjs";
|
|
59
67
|
export * from "./GetCheckResponseDataAttributesFailure.mjs";
|
|
68
|
+
export * from "./GetCheckResponseDataAttributesFee.mjs";
|
|
69
|
+
export * from "./GetCheckResponseDataAttributesFeeApplied.mjs";
|
|
70
|
+
export * from "./GetCheckResponseDataAttributesFeeCurrency.mjs";
|
|
71
|
+
export * from "./GetCheckResponseDataAttributesFeePayer.mjs";
|
|
60
72
|
export * from "./GetCheckResponseDataAttributesPayee.mjs";
|
|
61
73
|
export * from "./GetCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
62
74
|
export * from "./GetCheckResponseDataAttributesReturn.mjs";
|
|
@@ -82,6 +94,10 @@ export * from "./ListCheckResponseDataItemAttributesDelivery.mjs";
|
|
|
82
94
|
export * from "./ListCheckResponseDataItemAttributesDeliveryMethod.mjs";
|
|
83
95
|
export * from "./ListCheckResponseDataItemAttributesDeliveryStatus.mjs";
|
|
84
96
|
export * from "./ListCheckResponseDataItemAttributesFailure.mjs";
|
|
97
|
+
export * from "./ListCheckResponseDataItemAttributesFee.mjs";
|
|
98
|
+
export * from "./ListCheckResponseDataItemAttributesFeeApplied.mjs";
|
|
99
|
+
export * from "./ListCheckResponseDataItemAttributesFeeCurrency.mjs";
|
|
100
|
+
export * from "./ListCheckResponseDataItemAttributesFeePayer.mjs";
|
|
85
101
|
export * from "./ListCheckResponseDataItemAttributesPayee.mjs";
|
|
86
102
|
export * from "./ListCheckResponseDataItemAttributesPresentmentReturnsItem.mjs";
|
|
87
103
|
export * from "./ListCheckResponseDataItemAttributesReturn.mjs";
|
|
@@ -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/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.mts
CHANGED
|
@@ -5,6 +5,6 @@ import type * as Natural from "../../../index.mjs";
|
|
|
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/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts
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/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Role to assign on acceptance. */
|
|
2
|
+
/** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
|
|
3
3
|
export const CreateInvitationsRequestInvitationsItemRole = {
|
|
4
|
+
Owner: "OWNER",
|
|
4
5
|
Admin: "ADMIN",
|
|
5
6
|
Member: "MEMBER",
|
|
6
7
|
};
|
|
@@ -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.
|
|
@@ -29,7 +29,7 @@ import * as errors from "../../../../errors/index.mjs";
|
|
|
29
29
|
import * as serializers from "../../../../serialization/index.mjs";
|
|
30
30
|
import * as Natural from "../../../index.mjs";
|
|
31
31
|
/**
|
|
32
|
-
* Accept card payments by link or voice
|
|
32
|
+
* Accept card payments by link or voice, or charge a saved card
|
|
33
33
|
*/
|
|
34
34
|
export class PaymentIntentsClient {
|
|
35
35
|
constructor(options = {}) {
|
|
@@ -159,7 +159,7 @@ export class PaymentIntentsClient {
|
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* Create a payment intent
|
|
162
|
+
* Create a payment intent to collect a payment
|
|
163
163
|
*
|
|
164
164
|
* @param {Natural.CreatePaymentIntentsRequest} request
|
|
165
165
|
* @param {PaymentIntentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -496,7 +496,7 @@ export class PaymentIntentsClient {
|
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
* Cancel
|
|
499
|
+
* Cancel a payment intent that isn't paid yet
|
|
500
500
|
*
|
|
501
501
|
* @param {Natural.CancelPaymentIntentsRequest} request
|
|
502
502
|
* @param {PaymentIntentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.mts
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.mjs";
|
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Natural from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The card payment the issuer approved. Null until one is approved.
|
|
4
4
|
*/
|
|
5
5
|
export interface PaymentIntentRelationshipsCardPayment {
|
|
6
6
|
/** Related resource identifier. */
|
|
@@ -8,14 +8,14 @@ export interface VoiceSessionAttributes {
|
|
|
8
8
|
referenceId: string | null;
|
|
9
9
|
/** Supplied caller phone number, or null for a session without one. */
|
|
10
10
|
callerPhone: string | null;
|
|
11
|
-
/** Dial destination while the session accepts a call and you have permission to create payment voice sessions. Otherwise null. */
|
|
11
|
+
/** Dial destination while the session accepts a call and you have permission to create payment voice sessions. Otherwise null. Treat it as opaque: store it from the create response and never build it from the session ID. */
|
|
12
12
|
dialUri: string | null;
|
|
13
13
|
/** RFC 3339 deadline for starting the session's one permitted call. */
|
|
14
14
|
dialExpiresAt: string;
|
|
15
15
|
/** Requested return destination, or null. This does not confirm the destination answered. */
|
|
16
16
|
returnTarget: string | null;
|
|
17
17
|
call: Natural.VoiceSessionAttributesCall;
|
|
18
|
-
/** RFC 3339 time the session
|
|
18
|
+
/** RFC 3339 time the session closed, or null. Set once the call has ended and its result is known, or the session expired or was canceled. `voiceSession.completed` fires once then. */
|
|
19
19
|
completedAt: string | null;
|
|
20
20
|
/** RFC 3339 time the session was created. */
|
|
21
21
|
createdAt: string;
|
|
@@ -4,4 +4,6 @@ export interface VoiceSessionRelationships {
|
|
|
4
4
|
paymentIntent: Natural.VoiceSessionRelationshipsPaymentIntent;
|
|
5
5
|
/** Associated Natural customer, or null when none is associated. */
|
|
6
6
|
customerParty: Natural.VoiceSessionRelationshipsCustomerParty;
|
|
7
|
+
/** The party that created the session: the platform calling for the customer, or the customer itself. */
|
|
8
|
+
initiatingParty: Natural.VoiceSessionRelationshipsInitiatingParty;
|
|
7
9
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The party that created the session: the platform calling for the customer, or the customer itself.
|
|
4
|
+
*/
|
|
5
|
+
export interface VoiceSessionRelationshipsInitiatingParty {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.VoiceSessionRelationshipsInitiatingPartyData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Natural from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Related resource identifier.
|
|
4
|
+
*/
|
|
5
|
+
export interface VoiceSessionRelationshipsInitiatingPartyData {
|
|
6
|
+
/** Resource type. Always `party`. */
|
|
7
|
+
type: Natural.VoiceSessionRelationshipsInitiatingPartyDataType;
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Resource type. Always `party`. */
|
|
2
|
+
export declare const VoiceSessionRelationshipsInitiatingPartyDataType: {
|
|
3
|
+
readonly Party: "party";
|
|
4
|
+
};
|
|
5
|
+
export type VoiceSessionRelationshipsInitiatingPartyDataType = (typeof VoiceSessionRelationshipsInitiatingPartyDataType)[keyof typeof VoiceSessionRelationshipsInitiatingPartyDataType];
|
|
@@ -185,6 +185,9 @@ export * from "./VoiceSessionRelationships.mjs";
|
|
|
185
185
|
export * from "./VoiceSessionRelationshipsCustomerParty.mjs";
|
|
186
186
|
export * from "./VoiceSessionRelationshipsCustomerPartyData.mjs";
|
|
187
187
|
export * from "./VoiceSessionRelationshipsCustomerPartyDataType.mjs";
|
|
188
|
+
export * from "./VoiceSessionRelationshipsInitiatingParty.mjs";
|
|
189
|
+
export * from "./VoiceSessionRelationshipsInitiatingPartyData.mjs";
|
|
190
|
+
export * from "./VoiceSessionRelationshipsInitiatingPartyDataType.mjs";
|
|
188
191
|
export * from "./VoiceSessionRelationshipsPaymentIntent.mjs";
|
|
189
192
|
export * from "./VoiceSessionRelationshipsPaymentIntentData.mjs";
|
|
190
193
|
export * from "./VoiceSessionRelationshipsPaymentIntentDataType.mjs";
|
|
@@ -185,6 +185,9 @@ export * from "./VoiceSessionRelationships.mjs";
|
|
|
185
185
|
export * from "./VoiceSessionRelationshipsCustomerParty.mjs";
|
|
186
186
|
export * from "./VoiceSessionRelationshipsCustomerPartyData.mjs";
|
|
187
187
|
export * from "./VoiceSessionRelationshipsCustomerPartyDataType.mjs";
|
|
188
|
+
export * from "./VoiceSessionRelationshipsInitiatingParty.mjs";
|
|
189
|
+
export * from "./VoiceSessionRelationshipsInitiatingPartyData.mjs";
|
|
190
|
+
export * from "./VoiceSessionRelationshipsInitiatingPartyDataType.mjs";
|
|
188
191
|
export * from "./VoiceSessionRelationshipsPaymentIntent.mjs";
|
|
189
192
|
export * from "./VoiceSessionRelationshipsPaymentIntentData.mjs";
|
|
190
193
|
export * from "./VoiceSessionRelationshipsPaymentIntentDataType.mjs";
|
|
@@ -12,7 +12,6 @@ export declare namespace NewAchParams {
|
|
|
12
12
|
currency?: NewAchParamsCurrency.Raw | null;
|
|
13
13
|
walletId?: string | null;
|
|
14
14
|
externalPartyAccountId: string;
|
|
15
|
-
mandateId?: string | null;
|
|
16
15
|
companyEntryDescription: string;
|
|
17
16
|
internalDescription?: string | null;
|
|
18
17
|
addenda?: string | null;
|
|
@@ -9,7 +9,6 @@ export const NewAchParams = core.serialization.object({
|
|
|
9
9
|
currency: NewAchParamsCurrency.optional(),
|
|
10
10
|
walletId: core.serialization.string().optional(),
|
|
11
11
|
externalPartyAccountId: core.serialization.string(),
|
|
12
|
-
mandateId: core.serialization.string().optional(),
|
|
13
12
|
companyEntryDescription: core.serialization.string(),
|
|
14
13
|
internalDescription: core.serialization.string().optional(),
|
|
15
14
|
addenda: core.serialization.string().optional(),
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const NewAchParamsDirection: core.serialization.Schema<serializers.NewAchParamsDirection.Raw, Natural.NewAchParamsDirection>;
|
|
5
5
|
export declare namespace NewAchParamsDirection {
|
|
6
|
-
type Raw = "
|
|
6
|
+
type Raw = "credit";
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
export const NewAchParamsDirection = core.serialization.enum_(["
|
|
3
|
+
export const NewAchParamsDirection = core.serialization.enum_(["credit"]);
|
package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ import { CancelCheckResponseDataAttributesCurrency } from "./CancelCheckResponse
|
|
|
6
6
|
import { CancelCheckResponseDataAttributesDelivery } from "./CancelCheckResponseDataAttributesDelivery.mjs";
|
|
7
7
|
import { CancelCheckResponseDataAttributesDeliveryMethod } from "./CancelCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
8
8
|
import { CancelCheckResponseDataAttributesFailure } from "./CancelCheckResponseDataAttributesFailure.mjs";
|
|
9
|
+
import { CancelCheckResponseDataAttributesFee } from "./CancelCheckResponseDataAttributesFee.mjs";
|
|
9
10
|
import { CancelCheckResponseDataAttributesPayee } from "./CancelCheckResponseDataAttributesPayee.mjs";
|
|
10
11
|
import { CancelCheckResponseDataAttributesPresentmentReturnsItem } from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
11
12
|
import { CancelCheckResponseDataAttributesReturn } from "./CancelCheckResponseDataAttributesReturn.mjs";
|
|
@@ -15,6 +16,7 @@ export declare namespace CancelCheckResponseDataAttributes {
|
|
|
15
16
|
interface Raw {
|
|
16
17
|
amount: number;
|
|
17
18
|
currency: CancelCheckResponseDataAttributesCurrency.Raw;
|
|
19
|
+
fee?: CancelCheckResponseDataAttributesFee.Raw | null;
|
|
18
20
|
status: CancelCheckResponseDataAttributesStatus.Raw;
|
|
19
21
|
memo: string;
|
|
20
22
|
message?: string | null;
|
|
@@ -5,6 +5,7 @@ import { CancelCheckResponseDataAttributesCurrency } from "./CancelCheckResponse
|
|
|
5
5
|
import { CancelCheckResponseDataAttributesDelivery } from "./CancelCheckResponseDataAttributesDelivery.mjs";
|
|
6
6
|
import { CancelCheckResponseDataAttributesDeliveryMethod } from "./CancelCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
7
7
|
import { CancelCheckResponseDataAttributesFailure } from "./CancelCheckResponseDataAttributesFailure.mjs";
|
|
8
|
+
import { CancelCheckResponseDataAttributesFee } from "./CancelCheckResponseDataAttributesFee.mjs";
|
|
8
9
|
import { CancelCheckResponseDataAttributesPayee } from "./CancelCheckResponseDataAttributesPayee.mjs";
|
|
9
10
|
import { CancelCheckResponseDataAttributesPresentmentReturnsItem } from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
10
11
|
import { CancelCheckResponseDataAttributesReturn } from "./CancelCheckResponseDataAttributesReturn.mjs";
|
|
@@ -12,6 +13,7 @@ import { CancelCheckResponseDataAttributesStatus } from "./CancelCheckResponseDa
|
|
|
12
13
|
export const CancelCheckResponseDataAttributes = core.serialization.object({
|
|
13
14
|
amount: core.serialization.number(),
|
|
14
15
|
currency: CancelCheckResponseDataAttributesCurrency,
|
|
16
|
+
fee: CancelCheckResponseDataAttributesFee.nullable(),
|
|
15
17
|
status: CancelCheckResponseDataAttributesStatus,
|
|
16
18
|
memo: core.serialization.string(),
|
|
17
19
|
message: core.serialization.string().nullable(),
|
package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { CancelCheckResponseDataAttributesFeeApplied } from "./CancelCheckResponseDataAttributesFeeApplied.mjs";
|
|
5
|
+
import { CancelCheckResponseDataAttributesFeeCurrency } from "./CancelCheckResponseDataAttributesFeeCurrency.mjs";
|
|
6
|
+
import { CancelCheckResponseDataAttributesFeePayer } from "./CancelCheckResponseDataAttributesFeePayer.mjs";
|
|
7
|
+
export declare const CancelCheckResponseDataAttributesFee: core.serialization.ObjectSchema<serializers.CancelCheckResponseDataAttributesFee.Raw, Natural.CancelCheckResponseDataAttributesFee>;
|
|
8
|
+
export declare namespace CancelCheckResponseDataAttributesFee {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount: number;
|
|
11
|
+
currency: CancelCheckResponseDataAttributesFeeCurrency.Raw;
|
|
12
|
+
payer: CancelCheckResponseDataAttributesFeePayer.Raw;
|
|
13
|
+
applied: CancelCheckResponseDataAttributesFeeApplied.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { CancelCheckResponseDataAttributesFeeApplied } from "./CancelCheckResponseDataAttributesFeeApplied.mjs";
|
|
4
|
+
import { CancelCheckResponseDataAttributesFeeCurrency } from "./CancelCheckResponseDataAttributesFeeCurrency.mjs";
|
|
5
|
+
import { CancelCheckResponseDataAttributesFeePayer } from "./CancelCheckResponseDataAttributesFeePayer.mjs";
|
|
6
|
+
export const CancelCheckResponseDataAttributesFee = core.serialization.object({
|
|
7
|
+
amount: core.serialization.number(),
|
|
8
|
+
currency: CancelCheckResponseDataAttributesFeeCurrency,
|
|
9
|
+
payer: CancelCheckResponseDataAttributesFeePayer,
|
|
10
|
+
applied: CancelCheckResponseDataAttributesFeeApplied,
|
|
11
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const CancelCheckResponseDataAttributesFeeApplied: core.serialization.Schema<serializers.CancelCheckResponseDataAttributesFeeApplied.Raw, Natural.CancelCheckResponseDataAttributesFeeApplied>;
|
|
5
|
+
export declare namespace CancelCheckResponseDataAttributesFeeApplied {
|
|
6
|
+
type Raw = "on_top";
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const CancelCheckResponseDataAttributesFeeCurrency: core.serialization.Schema<serializers.CancelCheckResponseDataAttributesFeeCurrency.Raw, Natural.CancelCheckResponseDataAttributesFeeCurrency>;
|
|
5
|
+
export declare namespace CancelCheckResponseDataAttributesFeeCurrency {
|
|
6
|
+
type Raw = "USD";
|
|
7
|
+
}
|
package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const CancelCheckResponseDataAttributesFeePayer: core.serialization.Schema<serializers.CancelCheckResponseDataAttributesFeePayer.Raw, Natural.CancelCheckResponseDataAttributesFeePayer>;
|
|
5
|
+
export declare namespace CancelCheckResponseDataAttributesFeePayer {
|
|
6
|
+
type Raw = "sender";
|
|
7
|
+
}
|
package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ import { CreateCheckResponseDataAttributesCurrency } from "./CreateCheckResponse
|
|
|
6
6
|
import { CreateCheckResponseDataAttributesDelivery } from "./CreateCheckResponseDataAttributesDelivery.mjs";
|
|
7
7
|
import { CreateCheckResponseDataAttributesDeliveryMethod } from "./CreateCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
8
8
|
import { CreateCheckResponseDataAttributesFailure } from "./CreateCheckResponseDataAttributesFailure.mjs";
|
|
9
|
+
import { CreateCheckResponseDataAttributesFee } from "./CreateCheckResponseDataAttributesFee.mjs";
|
|
9
10
|
import { CreateCheckResponseDataAttributesPayee } from "./CreateCheckResponseDataAttributesPayee.mjs";
|
|
10
11
|
import { CreateCheckResponseDataAttributesPresentmentReturnsItem } from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
11
12
|
import { CreateCheckResponseDataAttributesReturn } from "./CreateCheckResponseDataAttributesReturn.mjs";
|
|
@@ -15,6 +16,7 @@ export declare namespace CreateCheckResponseDataAttributes {
|
|
|
15
16
|
interface Raw {
|
|
16
17
|
amount: number;
|
|
17
18
|
currency: CreateCheckResponseDataAttributesCurrency.Raw;
|
|
19
|
+
fee?: CreateCheckResponseDataAttributesFee.Raw | null;
|
|
18
20
|
status: CreateCheckResponseDataAttributesStatus.Raw;
|
|
19
21
|
memo: string;
|
|
20
22
|
message?: string | null;
|
|
@@ -5,6 +5,7 @@ import { CreateCheckResponseDataAttributesCurrency } from "./CreateCheckResponse
|
|
|
5
5
|
import { CreateCheckResponseDataAttributesDelivery } from "./CreateCheckResponseDataAttributesDelivery.mjs";
|
|
6
6
|
import { CreateCheckResponseDataAttributesDeliveryMethod } from "./CreateCheckResponseDataAttributesDeliveryMethod.mjs";
|
|
7
7
|
import { CreateCheckResponseDataAttributesFailure } from "./CreateCheckResponseDataAttributesFailure.mjs";
|
|
8
|
+
import { CreateCheckResponseDataAttributesFee } from "./CreateCheckResponseDataAttributesFee.mjs";
|
|
8
9
|
import { CreateCheckResponseDataAttributesPayee } from "./CreateCheckResponseDataAttributesPayee.mjs";
|
|
9
10
|
import { CreateCheckResponseDataAttributesPresentmentReturnsItem } from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.mjs";
|
|
10
11
|
import { CreateCheckResponseDataAttributesReturn } from "./CreateCheckResponseDataAttributesReturn.mjs";
|
|
@@ -12,6 +13,7 @@ import { CreateCheckResponseDataAttributesStatus } from "./CreateCheckResponseDa
|
|
|
12
13
|
export const CreateCheckResponseDataAttributes = core.serialization.object({
|
|
13
14
|
amount: core.serialization.number(),
|
|
14
15
|
currency: CreateCheckResponseDataAttributesCurrency,
|
|
16
|
+
fee: CreateCheckResponseDataAttributesFee.nullable(),
|
|
15
17
|
status: CreateCheckResponseDataAttributesStatus,
|
|
16
18
|
memo: core.serialization.string(),
|
|
17
19
|
message: core.serialization.string().nullable(),
|
package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { CreateCheckResponseDataAttributesFeeApplied } from "./CreateCheckResponseDataAttributesFeeApplied.mjs";
|
|
5
|
+
import { CreateCheckResponseDataAttributesFeeCurrency } from "./CreateCheckResponseDataAttributesFeeCurrency.mjs";
|
|
6
|
+
import { CreateCheckResponseDataAttributesFeePayer } from "./CreateCheckResponseDataAttributesFeePayer.mjs";
|
|
7
|
+
export declare const CreateCheckResponseDataAttributesFee: core.serialization.ObjectSchema<serializers.CreateCheckResponseDataAttributesFee.Raw, Natural.CreateCheckResponseDataAttributesFee>;
|
|
8
|
+
export declare namespace CreateCheckResponseDataAttributesFee {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount: number;
|
|
11
|
+
currency: CreateCheckResponseDataAttributesFeeCurrency.Raw;
|
|
12
|
+
payer: CreateCheckResponseDataAttributesFeePayer.Raw;
|
|
13
|
+
applied: CreateCheckResponseDataAttributesFeeApplied.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { CreateCheckResponseDataAttributesFeeApplied } from "./CreateCheckResponseDataAttributesFeeApplied.mjs";
|
|
4
|
+
import { CreateCheckResponseDataAttributesFeeCurrency } from "./CreateCheckResponseDataAttributesFeeCurrency.mjs";
|
|
5
|
+
import { CreateCheckResponseDataAttributesFeePayer } from "./CreateCheckResponseDataAttributesFeePayer.mjs";
|
|
6
|
+
export const CreateCheckResponseDataAttributesFee = core.serialization.object({
|
|
7
|
+
amount: core.serialization.number(),
|
|
8
|
+
currency: CreateCheckResponseDataAttributesFeeCurrency,
|
|
9
|
+
payer: CreateCheckResponseDataAttributesFeePayer,
|
|
10
|
+
applied: CreateCheckResponseDataAttributesFeeApplied,
|
|
11
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const CreateCheckResponseDataAttributesFeeApplied: core.serialization.Schema<serializers.CreateCheckResponseDataAttributesFeeApplied.Raw, Natural.CreateCheckResponseDataAttributesFeeApplied>;
|
|
5
|
+
export declare namespace CreateCheckResponseDataAttributesFeeApplied {
|
|
6
|
+
type Raw = "on_top";
|
|
7
|
+
}
|