@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
|
@@ -42,6 +42,8 @@ const ListCardsExternalAccountsResponseDataItemAttributesStatus_js_1 = require("
|
|
|
42
42
|
exports.ListCardsExternalAccountsResponseDataItemAttributes = core.serialization.object({
|
|
43
43
|
brand: ListCardsExternalAccountsResponseDataItemAttributesBrand_js_1.ListCardsExternalAccountsResponseDataItemAttributesBrand,
|
|
44
44
|
lastFour: core.serialization.string(),
|
|
45
|
+
expiryMonth: core.serialization.number().nullable(),
|
|
46
|
+
expiryYear: core.serialization.number().nullable(),
|
|
45
47
|
nickname: core.serialization.string(),
|
|
46
48
|
billingAddress: ListCardsExternalAccountsResponseDataItemAttributesBillingAddress_js_1.ListCardsExternalAccountsResponseDataItemAttributesBillingAddress.nullable(),
|
|
47
49
|
status: ListCardsExternalAccountsResponseDataItemAttributesStatus_js_1.ListCardsExternalAccountsResponseDataItemAttributesStatus,
|
|
@@ -9,6 +9,8 @@ export declare namespace RemoveCardExternalAccountsResponseDataAttributes {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
brand: RemoveCardExternalAccountsResponseDataAttributesBrand.Raw;
|
|
11
11
|
lastFour: string;
|
|
12
|
+
expiryMonth?: number | null;
|
|
13
|
+
expiryYear?: number | null;
|
|
12
14
|
nickname: string;
|
|
13
15
|
billingAddress?: RemoveCardExternalAccountsResponseDataAttributesBillingAddress.Raw | null;
|
|
14
16
|
status: RemoveCardExternalAccountsResponseDataAttributesStatus.Raw;
|
|
@@ -42,6 +42,8 @@ const RemoveCardExternalAccountsResponseDataAttributesStatus_js_1 = require("./R
|
|
|
42
42
|
exports.RemoveCardExternalAccountsResponseDataAttributes = core.serialization.object({
|
|
43
43
|
brand: RemoveCardExternalAccountsResponseDataAttributesBrand_js_1.RemoveCardExternalAccountsResponseDataAttributesBrand,
|
|
44
44
|
lastFour: core.serialization.string(),
|
|
45
|
+
expiryMonth: core.serialization.number().nullable(),
|
|
46
|
+
expiryYear: core.serialization.number().nullable(),
|
|
45
47
|
nickname: core.serialization.string(),
|
|
46
48
|
billingAddress: RemoveCardExternalAccountsResponseDataAttributesBillingAddress_js_1.RemoveCardExternalAccountsResponseDataAttributesBillingAddress.nullable(),
|
|
47
49
|
status: RemoveCardExternalAccountsResponseDataAttributesStatus_js_1.RemoveCardExternalAccountsResponseDataAttributesStatus,
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateInvitationsRequestInvitationsItemRole: core.serialization.Schema<serializers.CreateInvitationsRequestInvitationsItemRole.Raw, Natural.CreateInvitationsRequestInvitationsItemRole>;
|
|
5
5
|
export declare namespace CreateInvitationsRequestInvitationsItemRole {
|
|
6
|
-
type Raw = "ADMIN" | "MEMBER";
|
|
6
|
+
type Raw = "OWNER" | "ADMIN" | "MEMBER";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CreateInvitationsRequestInvitationsItemRole = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.CreateInvitationsRequestInvitationsItemRole = core.serialization.enum_(["ADMIN", "MEMBER"]);
|
|
39
|
+
exports.CreateInvitationsRequestInvitationsItemRole = core.serialization.enum_(["OWNER", "ADMIN", "MEMBER"]);
|
package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const ListVoiceSessionsRequestStatus: core.serialization.Schema<serializers.ListVoiceSessionsRequestStatus.Raw, Natural.ListVoiceSessionsRequestStatus>;
|
|
5
5
|
export declare namespace ListVoiceSessionsRequestStatus {
|
|
6
|
-
type Raw = "awaitingCall" | "inProgress" | "ended" | "
|
|
6
|
+
type Raw = "awaitingCall" | "inProgress" | "ended" | "canceled" | "expired";
|
|
7
7
|
}
|
package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js
CHANGED
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ListVoiceSessionsRequestStatus = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.ListVoiceSessionsRequestStatus = core.serialization.enum_(["awaitingCall", "inProgress", "ended", "
|
|
39
|
+
exports.ListVoiceSessionsRequestStatus = core.serialization.enum_(["awaitingCall", "inProgress", "ended", "canceled", "expired"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const VoiceSessionAttributesStatus: core.serialization.Schema<serializers.VoiceSessionAttributesStatus.Raw, Natural.VoiceSessionAttributesStatus>;
|
|
5
5
|
export declare namespace VoiceSessionAttributesStatus {
|
|
6
|
-
type Raw = "awaitingCall" | "inProgress" | "ended" | "
|
|
6
|
+
type Raw = "awaitingCall" | "inProgress" | "ended" | "canceled" | "expired";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.VoiceSessionAttributesStatus = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.VoiceSessionAttributesStatus = core.serialization.enum_(["awaitingCall", "inProgress", "ended", "
|
|
39
|
+
exports.VoiceSessionAttributesStatus = core.serialization.enum_(["awaitingCall", "inProgress", "ended", "canceled", "expired"]);
|
|
@@ -2,11 +2,13 @@ import type * as Natural from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { VoiceSessionRelationshipsCustomerParty } from "./VoiceSessionRelationshipsCustomerParty.js";
|
|
5
|
+
import { VoiceSessionRelationshipsInitiatingParty } from "./VoiceSessionRelationshipsInitiatingParty.js";
|
|
5
6
|
import { VoiceSessionRelationshipsPaymentIntent } from "./VoiceSessionRelationshipsPaymentIntent.js";
|
|
6
7
|
export declare const VoiceSessionRelationships: core.serialization.ObjectSchema<serializers.VoiceSessionRelationships.Raw, Natural.VoiceSessionRelationships>;
|
|
7
8
|
export declare namespace VoiceSessionRelationships {
|
|
8
9
|
interface Raw {
|
|
9
10
|
paymentIntent: VoiceSessionRelationshipsPaymentIntent.Raw;
|
|
10
11
|
customerParty: VoiceSessionRelationshipsCustomerParty.Raw;
|
|
12
|
+
initiatingParty: VoiceSessionRelationshipsInitiatingParty.Raw;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -37,8 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.VoiceSessionRelationships = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const VoiceSessionRelationshipsCustomerParty_js_1 = require("./VoiceSessionRelationshipsCustomerParty.js");
|
|
40
|
+
const VoiceSessionRelationshipsInitiatingParty_js_1 = require("./VoiceSessionRelationshipsInitiatingParty.js");
|
|
40
41
|
const VoiceSessionRelationshipsPaymentIntent_js_1 = require("./VoiceSessionRelationshipsPaymentIntent.js");
|
|
41
42
|
exports.VoiceSessionRelationships = core.serialization.object({
|
|
42
43
|
paymentIntent: VoiceSessionRelationshipsPaymentIntent_js_1.VoiceSessionRelationshipsPaymentIntent,
|
|
43
44
|
customerParty: VoiceSessionRelationshipsCustomerParty_js_1.VoiceSessionRelationshipsCustomerParty,
|
|
45
|
+
initiatingParty: VoiceSessionRelationshipsInitiatingParty_js_1.VoiceSessionRelationshipsInitiatingParty,
|
|
44
46
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { VoiceSessionRelationshipsInitiatingPartyData } from "./VoiceSessionRelationshipsInitiatingPartyData.js";
|
|
5
|
+
export declare const VoiceSessionRelationshipsInitiatingParty: core.serialization.ObjectSchema<serializers.VoiceSessionRelationshipsInitiatingParty.Raw, Natural.VoiceSessionRelationshipsInitiatingParty>;
|
|
6
|
+
export declare namespace VoiceSessionRelationshipsInitiatingParty {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: VoiceSessionRelationshipsInitiatingPartyData.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.VoiceSessionRelationshipsInitiatingParty = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const VoiceSessionRelationshipsInitiatingPartyData_js_1 = require("./VoiceSessionRelationshipsInitiatingPartyData.js");
|
|
40
|
+
exports.VoiceSessionRelationshipsInitiatingParty = core.serialization.object({
|
|
41
|
+
data: VoiceSessionRelationshipsInitiatingPartyData_js_1.VoiceSessionRelationshipsInitiatingPartyData,
|
|
42
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { VoiceSessionRelationshipsInitiatingPartyDataType } from "./VoiceSessionRelationshipsInitiatingPartyDataType.js";
|
|
5
|
+
export declare const VoiceSessionRelationshipsInitiatingPartyData: core.serialization.ObjectSchema<serializers.VoiceSessionRelationshipsInitiatingPartyData.Raw, Natural.VoiceSessionRelationshipsInitiatingPartyData>;
|
|
6
|
+
export declare namespace VoiceSessionRelationshipsInitiatingPartyData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: VoiceSessionRelationshipsInitiatingPartyDataType.Raw;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.VoiceSessionRelationshipsInitiatingPartyData = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const VoiceSessionRelationshipsInitiatingPartyDataType_js_1 = require("./VoiceSessionRelationshipsInitiatingPartyDataType.js");
|
|
40
|
+
exports.VoiceSessionRelationshipsInitiatingPartyData = core.serialization.object({
|
|
41
|
+
type: VoiceSessionRelationshipsInitiatingPartyDataType_js_1.VoiceSessionRelationshipsInitiatingPartyDataType,
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const VoiceSessionRelationshipsInitiatingPartyDataType: core.serialization.Schema<serializers.VoiceSessionRelationshipsInitiatingPartyDataType.Raw, Natural.VoiceSessionRelationshipsInitiatingPartyDataType>;
|
|
5
|
+
export declare namespace VoiceSessionRelationshipsInitiatingPartyDataType {
|
|
6
|
+
type Raw = "party";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.VoiceSessionRelationshipsInitiatingPartyDataType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.VoiceSessionRelationshipsInitiatingPartyDataType = core.serialization.enum_(["party"]);
|
|
@@ -185,6 +185,9 @@ export * from "./VoiceSessionRelationships.js";
|
|
|
185
185
|
export * from "./VoiceSessionRelationshipsCustomerParty.js";
|
|
186
186
|
export * from "./VoiceSessionRelationshipsCustomerPartyData.js";
|
|
187
187
|
export * from "./VoiceSessionRelationshipsCustomerPartyDataType.js";
|
|
188
|
+
export * from "./VoiceSessionRelationshipsInitiatingParty.js";
|
|
189
|
+
export * from "./VoiceSessionRelationshipsInitiatingPartyData.js";
|
|
190
|
+
export * from "./VoiceSessionRelationshipsInitiatingPartyDataType.js";
|
|
188
191
|
export * from "./VoiceSessionRelationshipsPaymentIntent.js";
|
|
189
192
|
export * from "./VoiceSessionRelationshipsPaymentIntentData.js";
|
|
190
193
|
export * from "./VoiceSessionRelationshipsPaymentIntentDataType.js";
|
|
@@ -201,6 +201,9 @@ __exportStar(require("./VoiceSessionRelationships.js"), exports);
|
|
|
201
201
|
__exportStar(require("./VoiceSessionRelationshipsCustomerParty.js"), exports);
|
|
202
202
|
__exportStar(require("./VoiceSessionRelationshipsCustomerPartyData.js"), exports);
|
|
203
203
|
__exportStar(require("./VoiceSessionRelationshipsCustomerPartyDataType.js"), exports);
|
|
204
|
+
__exportStar(require("./VoiceSessionRelationshipsInitiatingParty.js"), exports);
|
|
205
|
+
__exportStar(require("./VoiceSessionRelationshipsInitiatingPartyData.js"), exports);
|
|
206
|
+
__exportStar(require("./VoiceSessionRelationshipsInitiatingPartyDataType.js"), exports);
|
|
204
207
|
__exportStar(require("./VoiceSessionRelationshipsPaymentIntent.js"), exports);
|
|
205
208
|
__exportStar(require("./VoiceSessionRelationshipsPaymentIntentData.js"), exports);
|
|
206
209
|
__exportStar(require("./VoiceSessionRelationshipsPaymentIntentDataType.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.55";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.6.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
9
|
+
"X-Fern-SDK-Version": "1.6.55",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.55",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -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];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Direction of the payment. */
|
|
2
|
+
/** Direction of the payment. Direct ACH only sends money, so this is always credit. */
|
|
3
3
|
export const NewAchParamsDirection = {
|
|
4
|
-
Debit: "debit",
|
|
5
4
|
Credit: "credit",
|
|
6
5
|
};
|
|
@@ -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.mjs";
|
|
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,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,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];
|
|
@@ -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.mjs";
|
|
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,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,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];
|
|
@@ -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.mjs";
|
|
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,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,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];
|
|
@@ -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.mjs";
|
|
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
|
+
}
|
package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts
ADDED
|
@@ -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];
|