@naturalpay/sdk 1.2.6 → 1.3.0
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/customers/client/Client.d.ts +50 -1
- package/dist/cjs/api/resources/customers/client/Client.js +50 -1
- package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +51 -2
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +2 -4
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.ts} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.js} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.ts} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.js} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.ts} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.js} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.ts} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.js} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.ts} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.js} +2 -2
- package/dist/cjs/api/resources/customers/types/CustomerInvitationAccountType.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerInvitationAccountType.js +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerInvitationAddress.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +4 -4
- package/dist/cjs/api/resources/customers/types/CustomerInvitationBusiness.d.ts +2 -0
- package/dist/cjs/api/resources/customers/types/index.d.ts +5 -5
- package/dist/cjs/api/resources/customers/types/index.js +5 -5
- package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
- package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.js +1 -1
- package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
- package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.js +1 -1
- package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
- package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +1 -1
- package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -1
- package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/client/Client.js +1 -0
- package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +3 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +19 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +22 -0
- package/dist/cjs/api/resources/simulations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/index.js +1 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +1 -1
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +1 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +0 -2
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.js +0 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.ts} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.js} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.ts} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.js} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.ts} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.js} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.ts} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.js} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.ts} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.js} +2 -2
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.d.ts +2 -2
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.js +2 -2
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +8 -8
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.js +8 -8
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.d.ts +2 -0
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.js +2 -0
- package/dist/cjs/serialization/resources/customers/types/index.d.ts +5 -5
- package/dist/cjs/serialization/resources/customers/types/index.js +5 -5
- package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.js +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.js +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +1 -1
- package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +2 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +56 -0
- package/dist/cjs/serialization/resources/simulations/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/index.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.js +1 -1
- 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/customers/client/Client.d.mts +50 -1
- package/dist/esm/api/resources/customers/client/Client.mjs +50 -1
- package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +51 -2
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +2 -4
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.mts} +2 -2
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs} +1 -1
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.mts} +2 -2
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs} +1 -1
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.mts} +2 -2
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs} +1 -1
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.mts} +2 -2
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs} +1 -1
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.mts} +2 -2
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs} +1 -1
- package/dist/esm/api/resources/customers/types/CustomerInvitationAccountType.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CustomerInvitationAccountType.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CustomerInvitationAddress.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +4 -4
- package/dist/esm/api/resources/customers/types/CustomerInvitationBusiness.d.mts +2 -0
- package/dist/esm/api/resources/customers/types/index.d.mts +5 -5
- package/dist/esm/api/resources/customers/types/index.mjs +5 -5
- package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
- package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +1 -1
- package/dist/esm/api/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
- package/dist/esm/api/resources/events/types/ListEventsRequestEventType.mjs +1 -1
- package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
- package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +1 -1
- package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -1
- package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +1 -1
- package/dist/esm/api/resources/simulations/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/simulations/client/Client.mjs +1 -0
- package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +3 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +19 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +19 -0
- package/dist/esm/api/resources/simulations/types/index.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +1 -1
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +1 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +0 -2
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.mjs +0 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.mts} +2 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs} +1 -1
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.mts} +2 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs} +1 -1
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.mts} +2 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs} +1 -1
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.mts} +2 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs} +1 -1
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.mts} +2 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs} +1 -1
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.d.mts +2 -2
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.mjs +2 -2
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +8 -8
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.mjs +8 -8
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.d.mts +2 -0
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.mjs +2 -0
- package/dist/esm/serialization/resources/customers/types/index.d.mts +5 -5
- package/dist/esm/serialization/resources/customers/types/index.mjs +5 -5
- package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.mjs +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +1 -1
- package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +2 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +20 -0
- package/dist/esm/serialization/resources/simulations/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
- package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +51 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as Natural from "../../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
|
+
import { InviteCustomerSimulationsRequestPermissionsItem } from "../../types/InviteCustomerSimulationsRequestPermissionsItem.js";
|
|
4
5
|
import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.js";
|
|
5
6
|
export declare const InviteCustomerSimulationsRequest: core.serialization.Schema<serializers.InviteCustomerSimulationsRequest.Raw, Omit<Natural.InviteCustomerSimulationsRequest, "idempotencyKey">>;
|
|
6
7
|
export declare namespace InviteCustomerSimulationsRequest {
|
|
7
8
|
interface Raw {
|
|
8
9
|
agentIds: string[];
|
|
10
|
+
permissions?: InviteCustomerSimulationsRequestPermissionsItem.Raw[] | null;
|
|
9
11
|
type?: InviteCustomerSimulationsRequestType.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -36,8 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.InviteCustomerSimulationsRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
const InviteCustomerSimulationsRequestPermissionsItem_js_1 = require("../../types/InviteCustomerSimulationsRequestPermissionsItem.js");
|
|
39
40
|
const InviteCustomerSimulationsRequestType_js_1 = require("../../types/InviteCustomerSimulationsRequestType.js");
|
|
40
41
|
exports.InviteCustomerSimulationsRequest = core.serialization.object({
|
|
41
42
|
agentIds: core.serialization.list(core.serialization.string()),
|
|
43
|
+
permissions: core.serialization.list(InviteCustomerSimulationsRequestPermissionsItem_js_1.InviteCustomerSimulationsRequestPermissionsItem).optional(),
|
|
42
44
|
type: InviteCustomerSimulationsRequestType_js_1.InviteCustomerSimulationsRequestType.optional(),
|
|
43
45
|
});
|
|
@@ -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 InviteCustomerSimulationsRequestPermissionsItem: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsItem.Raw, Natural.InviteCustomerSimulationsRequestPermissionsItem>;
|
|
5
|
+
export declare namespace InviteCustomerSimulationsRequestPermissionsItem {
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update";
|
|
7
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.InviteCustomerSimulationsRequestPermissionsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.InviteCustomerSimulationsRequestPermissionsItem = core.serialization.enum_([
|
|
40
|
+
"payments.read",
|
|
41
|
+
"payments.create",
|
|
42
|
+
"external_parties.read",
|
|
43
|
+
"external_parties.create",
|
|
44
|
+
"direct.read",
|
|
45
|
+
"direct.create",
|
|
46
|
+
"external_accounts.create",
|
|
47
|
+
"wallets.read",
|
|
48
|
+
"wallets.create",
|
|
49
|
+
"wallets.update",
|
|
50
|
+
"wallets.fund",
|
|
51
|
+
"wallets.deposit",
|
|
52
|
+
"wallets.transfer",
|
|
53
|
+
"wallets.withdraw",
|
|
54
|
+
"party.read",
|
|
55
|
+
"party.update",
|
|
56
|
+
]);
|
|
@@ -125,6 +125,7 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.js";
|
|
|
125
125
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.js";
|
|
126
126
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.js";
|
|
127
127
|
export * from "./FundCustomerSimulationsResponseDataType.js";
|
|
128
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsItem.js";
|
|
128
129
|
export * from "./InviteCustomerSimulationsRequestType.js";
|
|
129
130
|
export * from "./InviteCustomerSimulationsResponse.js";
|
|
130
131
|
export * from "./InviteCustomerSimulationsResponseDataItem.js";
|
|
@@ -141,6 +141,7 @@ __exportStar(require("./FundCustomerSimulationsResponseDataRelationshipsWallet.j
|
|
|
141
141
|
__exportStar(require("./FundCustomerSimulationsResponseDataRelationshipsWalletData.js"), exports);
|
|
142
142
|
__exportStar(require("./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.js"), exports);
|
|
143
143
|
__exportStar(require("./FundCustomerSimulationsResponseDataType.js"), exports);
|
|
144
|
+
__exportStar(require("./InviteCustomerSimulationsRequestPermissionsItem.js"), exports);
|
|
144
145
|
__exportStar(require("./InviteCustomerSimulationsRequestType.js"), exports);
|
|
145
146
|
__exportStar(require("./InviteCustomerSimulationsResponse.js"), exports);
|
|
146
147
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItem.js"), exports);
|
package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.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 CreateWebhooksRequestEnabledEventsItem: core.serialization.Schema<serializers.CreateWebhooksRequestEnabledEventsItem.Raw, Natural.CreateWebhooksRequestEnabledEventsItem>;
|
|
5
5
|
export declare namespace CreateWebhooksRequestEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
|
@@ -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 CreateWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.CreateWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.CreateWebhooksResponseDataAttributesEnabledEventsItem>;
|
|
5
5
|
export declare namespace CreateWebhooksResponseDataAttributesEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
|
@@ -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 GetWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.GetWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.GetWebhooksResponseDataAttributesEnabledEventsItem>;
|
|
5
5
|
export declare namespace GetWebhooksResponseDataAttributesEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
|
@@ -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 RemoveWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.RemoveWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.RemoveWebhooksResponseDataAttributesEnabledEventsItem>;
|
|
5
5
|
export declare namespace RemoveWebhooksResponseDataAttributesEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.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 UpdateWebhooksRequestEnabledEventsItem: core.serialization.Schema<serializers.UpdateWebhooksRequestEnabledEventsItem.Raw, Natural.UpdateWebhooksRequestEnabledEventsItem>;
|
|
5
5
|
export declare namespace UpdateWebhooksRequestEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
|
@@ -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 UpdateWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.UpdateWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.UpdateWebhooksResponseDataAttributesEnabledEventsItem>;
|
|
5
5
|
export declare namespace UpdateWebhooksResponseDataAttributesEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
|
@@ -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 WebhookEnabledEventsItem: core.serialization.Schema<serializers.WebhookEnabledEventsItem.Raw, Natural.WebhookEnabledEventsItem>;
|
|
5
5
|
export declare namespace WebhookEnabledEventsItem {
|
|
6
|
-
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.
|
|
6
|
+
type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
|
|
7
7
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.3.0";
|
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.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.
|
|
9
|
+
"X-Fern-SDK-Version": "1.3.0",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.3.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Agent-ID": options === null || options === void 0 ? void 0 : options.agentId,
|
|
@@ -117,7 +117,56 @@ export declare class CustomersClient {
|
|
|
117
117
|
* await client.customers.createInvitations({
|
|
118
118
|
* recipients: [{
|
|
119
119
|
* type: "email",
|
|
120
|
-
* value: "ops@acme.com"
|
|
120
|
+
* value: "ops@acme.com",
|
|
121
|
+
* accountType: "business",
|
|
122
|
+
* firstName: "Morgan",
|
|
123
|
+
* lastName: "Lee",
|
|
124
|
+
* phone: "+14155550176",
|
|
125
|
+
* business: {
|
|
126
|
+
* legalName: "Acme Logistics LLC",
|
|
127
|
+
* displayName: "Acme Logistics",
|
|
128
|
+
* website: "https://acmelogistics.com",
|
|
129
|
+
* hasTradeName: true,
|
|
130
|
+
* tradeName: "Acme Freight",
|
|
131
|
+
* businessType: "llc",
|
|
132
|
+
* industry: "513210",
|
|
133
|
+
* stateOfIncorporation: "DE",
|
|
134
|
+
* incorporationDate: "2018-03-12",
|
|
135
|
+
* registeredAddress: {
|
|
136
|
+
* streetLine1: "251 Little Falls Dr",
|
|
137
|
+
* city: "Wilmington",
|
|
138
|
+
* subdivision: "DE",
|
|
139
|
+
* postalCode: "19808",
|
|
140
|
+
* country: "US"
|
|
141
|
+
* },
|
|
142
|
+
* physicalAddress: {
|
|
143
|
+
* streetLine1: "900 Harrison St",
|
|
144
|
+
* city: "San Francisco",
|
|
145
|
+
* subdivision: "CA",
|
|
146
|
+
* postalCode: "94107",
|
|
147
|
+
* country: "US"
|
|
148
|
+
* },
|
|
149
|
+
* sourceOfFunds: ["business_revenue"],
|
|
150
|
+
* countriesOfOperations: ["US", "CA"],
|
|
151
|
+
* beneficialOwners: [{
|
|
152
|
+
* firstName: "Morgan",
|
|
153
|
+
* lastName: "Lee",
|
|
154
|
+
* email: "morgan.lee@acme.com",
|
|
155
|
+
* phone: "+14155550176",
|
|
156
|
+
* dateOfBirth: "1985-09-02",
|
|
157
|
+
* address: {
|
|
158
|
+
* streetLine1: "128 Alamo Square",
|
|
159
|
+
* city: "San Francisco",
|
|
160
|
+
* subdivision: "CA",
|
|
161
|
+
* postalCode: "94117",
|
|
162
|
+
* country: "US"
|
|
163
|
+
* },
|
|
164
|
+
* ownershipPercentage: 60,
|
|
165
|
+
* title: "ceo",
|
|
166
|
+
* countryOfCitizenship: "US",
|
|
167
|
+
* employmentStatus: "employed"
|
|
168
|
+
* }]
|
|
169
|
+
* }
|
|
121
170
|
* }],
|
|
122
171
|
* agents: [{
|
|
123
172
|
* agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
|
|
@@ -372,7 +372,56 @@ export class CustomersClient {
|
|
|
372
372
|
* await client.customers.createInvitations({
|
|
373
373
|
* recipients: [{
|
|
374
374
|
* type: "email",
|
|
375
|
-
* value: "ops@acme.com"
|
|
375
|
+
* value: "ops@acme.com",
|
|
376
|
+
* accountType: "business",
|
|
377
|
+
* firstName: "Morgan",
|
|
378
|
+
* lastName: "Lee",
|
|
379
|
+
* phone: "+14155550176",
|
|
380
|
+
* business: {
|
|
381
|
+
* legalName: "Acme Logistics LLC",
|
|
382
|
+
* displayName: "Acme Logistics",
|
|
383
|
+
* website: "https://acmelogistics.com",
|
|
384
|
+
* hasTradeName: true,
|
|
385
|
+
* tradeName: "Acme Freight",
|
|
386
|
+
* businessType: "llc",
|
|
387
|
+
* industry: "513210",
|
|
388
|
+
* stateOfIncorporation: "DE",
|
|
389
|
+
* incorporationDate: "2018-03-12",
|
|
390
|
+
* registeredAddress: {
|
|
391
|
+
* streetLine1: "251 Little Falls Dr",
|
|
392
|
+
* city: "Wilmington",
|
|
393
|
+
* subdivision: "DE",
|
|
394
|
+
* postalCode: "19808",
|
|
395
|
+
* country: "US"
|
|
396
|
+
* },
|
|
397
|
+
* physicalAddress: {
|
|
398
|
+
* streetLine1: "900 Harrison St",
|
|
399
|
+
* city: "San Francisco",
|
|
400
|
+
* subdivision: "CA",
|
|
401
|
+
* postalCode: "94107",
|
|
402
|
+
* country: "US"
|
|
403
|
+
* },
|
|
404
|
+
* sourceOfFunds: ["business_revenue"],
|
|
405
|
+
* countriesOfOperations: ["US", "CA"],
|
|
406
|
+
* beneficialOwners: [{
|
|
407
|
+
* firstName: "Morgan",
|
|
408
|
+
* lastName: "Lee",
|
|
409
|
+
* email: "morgan.lee@acme.com",
|
|
410
|
+
* phone: "+14155550176",
|
|
411
|
+
* dateOfBirth: "1985-09-02",
|
|
412
|
+
* address: {
|
|
413
|
+
* streetLine1: "128 Alamo Square",
|
|
414
|
+
* city: "San Francisco",
|
|
415
|
+
* subdivision: "CA",
|
|
416
|
+
* postalCode: "94117",
|
|
417
|
+
* country: "US"
|
|
418
|
+
* },
|
|
419
|
+
* ownershipPercentage: 60,
|
|
420
|
+
* title: "ceo",
|
|
421
|
+
* countryOfCitizenship: "US",
|
|
422
|
+
* employmentStatus: "employed"
|
|
423
|
+
* }]
|
|
424
|
+
* }
|
|
376
425
|
* }],
|
|
377
426
|
* agents: [{
|
|
378
427
|
* agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
|
package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts
CHANGED
|
@@ -4,7 +4,56 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
4
4
|
* {
|
|
5
5
|
* recipients: [{
|
|
6
6
|
* type: "email",
|
|
7
|
-
* value: "ops@acme.com"
|
|
7
|
+
* value: "ops@acme.com",
|
|
8
|
+
* accountType: "business",
|
|
9
|
+
* firstName: "Morgan",
|
|
10
|
+
* lastName: "Lee",
|
|
11
|
+
* phone: "+14155550176",
|
|
12
|
+
* business: {
|
|
13
|
+
* legalName: "Acme Logistics LLC",
|
|
14
|
+
* displayName: "Acme Logistics",
|
|
15
|
+
* website: "https://acmelogistics.com",
|
|
16
|
+
* hasTradeName: true,
|
|
17
|
+
* tradeName: "Acme Freight",
|
|
18
|
+
* businessType: "llc",
|
|
19
|
+
* industry: "513210",
|
|
20
|
+
* stateOfIncorporation: "DE",
|
|
21
|
+
* incorporationDate: "2018-03-12",
|
|
22
|
+
* registeredAddress: {
|
|
23
|
+
* streetLine1: "251 Little Falls Dr",
|
|
24
|
+
* city: "Wilmington",
|
|
25
|
+
* subdivision: "DE",
|
|
26
|
+
* postalCode: "19808",
|
|
27
|
+
* country: "US"
|
|
28
|
+
* },
|
|
29
|
+
* physicalAddress: {
|
|
30
|
+
* streetLine1: "900 Harrison St",
|
|
31
|
+
* city: "San Francisco",
|
|
32
|
+
* subdivision: "CA",
|
|
33
|
+
* postalCode: "94107",
|
|
34
|
+
* country: "US"
|
|
35
|
+
* },
|
|
36
|
+
* sourceOfFunds: ["business_revenue"],
|
|
37
|
+
* countriesOfOperations: ["US", "CA"],
|
|
38
|
+
* beneficialOwners: [{
|
|
39
|
+
* firstName: "Morgan",
|
|
40
|
+
* lastName: "Lee",
|
|
41
|
+
* email: "morgan.lee@acme.com",
|
|
42
|
+
* phone: "+14155550176",
|
|
43
|
+
* dateOfBirth: "1985-09-02",
|
|
44
|
+
* address: {
|
|
45
|
+
* streetLine1: "128 Alamo Square",
|
|
46
|
+
* city: "San Francisco",
|
|
47
|
+
* subdivision: "CA",
|
|
48
|
+
* postalCode: "94117",
|
|
49
|
+
* country: "US"
|
|
50
|
+
* },
|
|
51
|
+
* ownershipPercentage: 60,
|
|
52
|
+
* title: "ceo",
|
|
53
|
+
* countryOfCitizenship: "US",
|
|
54
|
+
* employmentStatus: "employed"
|
|
55
|
+
* }]
|
|
56
|
+
* }
|
|
8
57
|
* }],
|
|
9
58
|
* agents: [{
|
|
10
59
|
* agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
|
|
@@ -31,6 +80,6 @@ export interface CreateInvitationsCustomersRequest {
|
|
|
31
80
|
message?: string;
|
|
32
81
|
/** Tags applied to each invitation. */
|
|
33
82
|
tags?: Record<string, string>;
|
|
34
|
-
/**
|
|
83
|
+
/** Set to ["recipient"] to skip our notification to the counterparty and deliver the returned link yourself. */
|
|
35
84
|
disableNotifications?: Natural.CreateInvitationsCustomersRequestDisableNotificationsItem[];
|
|
36
85
|
}
|
|
@@ -2,18 +2,16 @@ import type * as Natural from "../../../index.mjs";
|
|
|
2
2
|
export interface CreateInvitationsCustomersRequestRecipientsItemEmail {
|
|
3
3
|
/** Email address. */
|
|
4
4
|
value: string;
|
|
5
|
-
/**
|
|
5
|
+
/** Account type */
|
|
6
6
|
accountType?: Natural.CustomerInvitationAccountType;
|
|
7
7
|
/** Legal first name of the person signing up. */
|
|
8
8
|
firstName?: string;
|
|
9
9
|
/** Legal last name of the person signing up. */
|
|
10
10
|
lastName?: string;
|
|
11
|
-
/** Phone number of the person signing up (E.164)
|
|
11
|
+
/** Phone number of the person signing up (E.164) */
|
|
12
12
|
phone?: string;
|
|
13
13
|
/** Identity-verification details for individual accounts. */
|
|
14
14
|
individual?: Natural.CustomerInvitationIndividual;
|
|
15
15
|
/** Optional onboarding suggestion (business). The customer reviews and confirms every value. */
|
|
16
16
|
business?: Natural.CustomerInvitationBusiness;
|
|
17
|
-
/** Optional onboarding suggestion (beneficial owners). The customer reviews and confirms every value. */
|
|
18
|
-
beneficialOwners?: Natural.CustomerInvitationBeneficialOwner[];
|
|
19
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Country (ISO-3166-1 alpha-2). */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry: {
|
|
3
3
|
readonly Us: "US";
|
|
4
4
|
readonly Af: "AF";
|
|
5
5
|
readonly Al: "AL";
|
|
@@ -197,4 +197,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
|
|
|
197
197
|
readonly Zm: "ZM";
|
|
198
198
|
readonly Zw: "ZW";
|
|
199
199
|
};
|
|
200
|
-
export type
|
|
200
|
+
export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
/** Country (ISO-3166-1 alpha-2). */
|
|
3
|
-
export const
|
|
3
|
+
export const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry = {
|
|
4
4
|
Us: "US",
|
|
5
5
|
Af: "AF",
|
|
6
6
|
Al: "AL",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Annual income bucket. */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome: {
|
|
3
3
|
readonly Zero25000: "0-25000";
|
|
4
4
|
readonly Undefined50000: "25001-50000";
|
|
5
5
|
readonly Undefined100000: "50001-100000";
|
|
@@ -7,4 +7,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
|
|
|
7
7
|
readonly Undefined500000: "200001-500000";
|
|
8
8
|
readonly Undefined: "500001+";
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
/** Annual income bucket. */
|
|
3
|
-
export const
|
|
3
|
+
export const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome = {
|
|
4
4
|
Zero25000: "0-25000",
|
|
5
5
|
Undefined50000: "25001-50000",
|
|
6
6
|
Undefined100000: "50001-100000",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Country of citizenship (ISO-3166-1 alpha-2). */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship: {
|
|
3
3
|
readonly Us: "US";
|
|
4
4
|
readonly Af: "AF";
|
|
5
5
|
readonly Al: "AL";
|
|
@@ -197,4 +197,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
|
|
|
197
197
|
readonly Zm: "ZM";
|
|
198
198
|
readonly Zw: "ZW";
|
|
199
199
|
};
|
|
200
|
-
export type
|
|
200
|
+
export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
/** Country of citizenship (ISO-3166-1 alpha-2). */
|
|
3
|
-
export const
|
|
3
|
+
export const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship = {
|
|
4
4
|
Us: "US",
|
|
5
5
|
Af: "AF",
|
|
6
6
|
Al: "AL",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Employment status. */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus: {
|
|
3
3
|
readonly Employed: "employed";
|
|
4
4
|
readonly SelfEmployed: "self_employed";
|
|
5
5
|
readonly Unemployed: "unemployed";
|
|
@@ -7,4 +7,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
|
|
|
7
7
|
readonly Student: "student";
|
|
8
8
|
readonly Other: "other";
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus];
|