@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,7 +1,7 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
|
|
5
5
|
export declare const CustomerInvitationAddress: core.serialization.ObjectSchema<serializers.CustomerInvitationAddress.Raw, Natural.CustomerInvitationAddress>;
|
|
6
6
|
export declare namespace CustomerInvitationAddress {
|
|
7
7
|
interface Raw {
|
|
@@ -10,6 +10,6 @@ export declare namespace CustomerInvitationAddress {
|
|
|
10
10
|
city?: string | null;
|
|
11
11
|
subdivision?: string | null;
|
|
12
12
|
postalCode?: string | null;
|
|
13
|
-
country?:
|
|
13
|
+
country?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.Raw | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
|
|
4
4
|
export const CustomerInvitationAddress = core.serialization.object({
|
|
5
5
|
streetLine1: core.serialization.string().optional(),
|
|
6
6
|
streetLine2: core.serialization.string().optional(),
|
|
7
7
|
city: core.serialization.string().optional(),
|
|
8
8
|
subdivision: core.serialization.string().optional(),
|
|
9
9
|
postalCode: core.serialization.string().optional(),
|
|
10
|
-
country:
|
|
10
|
+
country: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.optional(),
|
|
11
11
|
});
|
package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
|
|
5
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
|
|
6
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
|
|
7
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
|
|
8
8
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
|
|
9
9
|
export declare const CustomerInvitationBeneficialOwner: core.serialization.ObjectSchema<serializers.CustomerInvitationBeneficialOwner.Raw, Natural.CustomerInvitationBeneficialOwner>;
|
|
10
10
|
export declare namespace CustomerInvitationBeneficialOwner {
|
|
@@ -16,9 +16,9 @@ export declare namespace CustomerInvitationBeneficialOwner {
|
|
|
16
16
|
dateOfBirth?: string | null;
|
|
17
17
|
address?: CustomerInvitationAddress.Raw | null;
|
|
18
18
|
ownershipPercentage?: number | null;
|
|
19
|
-
title?:
|
|
20
|
-
countryOfCitizenship?:
|
|
21
|
-
employmentStatus?:
|
|
22
|
-
annualIncome?:
|
|
19
|
+
title?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.Raw | null;
|
|
20
|
+
countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.Raw | null;
|
|
21
|
+
employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.Raw | null;
|
|
22
|
+
annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.Raw | null;
|
|
23
23
|
}
|
|
24
24
|
}
|
package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
|
|
4
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
|
|
5
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
|
|
6
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
|
|
7
7
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
|
|
8
8
|
export const CustomerInvitationBeneficialOwner = core.serialization.object({
|
|
9
9
|
firstName: core.serialization.string().optional(),
|
|
@@ -13,8 +13,8 @@ export const CustomerInvitationBeneficialOwner = core.serialization.object({
|
|
|
13
13
|
dateOfBirth: core.serialization.string().optional(),
|
|
14
14
|
address: CustomerInvitationAddress.optional(),
|
|
15
15
|
ownershipPercentage: core.serialization.number().optional(),
|
|
16
|
-
title:
|
|
17
|
-
countryOfCitizenship:
|
|
18
|
-
employmentStatus:
|
|
19
|
-
annualIncome:
|
|
16
|
+
title: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.optional(),
|
|
17
|
+
countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.optional(),
|
|
18
|
+
employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.optional(),
|
|
19
|
+
annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.optional(),
|
|
20
20
|
});
|
|
@@ -6,6 +6,7 @@ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOf
|
|
|
6
6
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
|
|
7
7
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
|
|
8
8
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
|
|
9
|
+
import { CustomerInvitationBeneficialOwner } from "./CustomerInvitationBeneficialOwner.mjs";
|
|
9
10
|
export declare const CustomerInvitationBusiness: core.serialization.ObjectSchema<serializers.CustomerInvitationBusiness.Raw, Natural.CustomerInvitationBusiness>;
|
|
10
11
|
export declare namespace CustomerInvitationBusiness {
|
|
11
12
|
interface Raw {
|
|
@@ -22,5 +23,6 @@ export declare namespace CustomerInvitationBusiness {
|
|
|
22
23
|
physicalAddress?: CustomerInvitationAddress.Raw | null;
|
|
23
24
|
sourceOfFunds?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.Raw[] | null;
|
|
24
25
|
countriesOfOperations?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.Raw[] | null;
|
|
26
|
+
beneficialOwners?: CustomerInvitationBeneficialOwner.Raw[] | null;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
@@ -5,6 +5,7 @@ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOf
|
|
|
5
5
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
|
|
6
6
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
|
|
7
7
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
|
|
8
|
+
import { CustomerInvitationBeneficialOwner } from "./CustomerInvitationBeneficialOwner.mjs";
|
|
8
9
|
export const CustomerInvitationBusiness = core.serialization.object({
|
|
9
10
|
legalName: core.serialization.string().optional(),
|
|
10
11
|
displayName: core.serialization.string().optional(),
|
|
@@ -23,4 +24,5 @@ export const CustomerInvitationBusiness = core.serialization.object({
|
|
|
23
24
|
countriesOfOperations: core.serialization
|
|
24
25
|
.list(CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem)
|
|
25
26
|
.optional(),
|
|
27
|
+
beneficialOwners: core.serialization.list(CustomerInvitationBeneficialOwner).optional(),
|
|
26
28
|
});
|
|
@@ -4,11 +4,11 @@ export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs"
|
|
|
4
4
|
export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.mjs";
|
|
5
5
|
export * from "./CreateInvitationsCustomersRequestRecipientsItem.mjs";
|
|
6
6
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.mjs";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
7
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
|
|
8
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
|
|
9
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
|
|
10
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
|
|
11
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
|
|
12
12
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
|
|
13
13
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
|
|
14
14
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs";
|
|
@@ -4,11 +4,11 @@ export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs"
|
|
|
4
4
|
export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.mjs";
|
|
5
5
|
export * from "./CreateInvitationsCustomersRequestRecipientsItem.mjs";
|
|
6
6
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.mjs";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
7
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
|
|
8
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
|
|
9
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
|
|
10
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
|
|
11
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
|
|
12
12
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
|
|
13
13
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
|
|
14
14
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs";
|
package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const GetEventsResponseDataAttributesEventType: core.serialization.Schema<serializers.GetEventsResponseDataAttributesEventType.Raw, Natural.GetEventsResponseDataAttributesEventType>;
|
|
5
5
|
export declare namespace GetEventsResponseDataAttributesEventType {
|
|
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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const ListEventsRequestEventType: core.serialization.Schema<serializers.ListEventsRequestEventType.Raw, Natural.ListEventsRequestEventType>;
|
|
5
5
|
export declare namespace ListEventsRequestEventType {
|
|
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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const ListEventsResponseDataItemAttributesEventType: core.serialization.Schema<serializers.ListEventsResponseDataItemAttributesEventType.Raw, Natural.ListEventsResponseDataItemAttributesEventType>;
|
|
5
5
|
export declare namespace ListEventsResponseDataItemAttributesEventType {
|
|
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
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as Natural from "../../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
|
+
import { InviteCustomerSimulationsRequestPermissionsItem } from "../../types/InviteCustomerSimulationsRequestPermissionsItem.mjs";
|
|
4
5
|
import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.mjs";
|
|
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
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import { InviteCustomerSimulationsRequestPermissionsItem } from "../../types/InviteCustomerSimulationsRequestPermissionsItem.mjs";
|
|
3
4
|
import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.mjs";
|
|
4
5
|
export const InviteCustomerSimulationsRequest = core.serialization.object({
|
|
5
6
|
agentIds: core.serialization.list(core.serialization.string()),
|
|
7
|
+
permissions: core.serialization.list(InviteCustomerSimulationsRequestPermissionsItem).optional(),
|
|
6
8
|
type: InviteCustomerSimulationsRequestType.optional(),
|
|
7
9
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const 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,20 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const InviteCustomerSimulationsRequestPermissionsItem = core.serialization.enum_([
|
|
4
|
+
"payments.read",
|
|
5
|
+
"payments.create",
|
|
6
|
+
"external_parties.read",
|
|
7
|
+
"external_parties.create",
|
|
8
|
+
"direct.read",
|
|
9
|
+
"direct.create",
|
|
10
|
+
"external_accounts.create",
|
|
11
|
+
"wallets.read",
|
|
12
|
+
"wallets.create",
|
|
13
|
+
"wallets.update",
|
|
14
|
+
"wallets.fund",
|
|
15
|
+
"wallets.deposit",
|
|
16
|
+
"wallets.transfer",
|
|
17
|
+
"wallets.withdraw",
|
|
18
|
+
"party.read",
|
|
19
|
+
"party.update",
|
|
20
|
+
]);
|
|
@@ -125,6 +125,7 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
|
|
|
125
125
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
|
|
126
126
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
|
|
127
127
|
export * from "./FundCustomerSimulationsResponseDataType.mjs";
|
|
128
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsItem.mjs";
|
|
128
129
|
export * from "./InviteCustomerSimulationsRequestType.mjs";
|
|
129
130
|
export * from "./InviteCustomerSimulationsResponse.mjs";
|
|
130
131
|
export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
|
|
@@ -125,6 +125,7 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
|
|
|
125
125
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
|
|
126
126
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
|
|
127
127
|
export * from "./FundCustomerSimulationsResponseDataType.mjs";
|
|
128
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsItem.mjs";
|
|
128
129
|
export * from "./InviteCustomerSimulationsRequestType.mjs";
|
|
129
130
|
export * from "./InviteCustomerSimulationsResponse.mjs";
|
|
130
131
|
export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
|
package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const 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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
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/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const 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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
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.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
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/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.3.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.3.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -917,7 +917,56 @@ Invite specific customers by email or phone to approve a set of your agents, eac
|
|
|
917
917
|
await client.customers.createInvitations({
|
|
918
918
|
recipients: [{
|
|
919
919
|
type: "email",
|
|
920
|
-
value: "ops@acme.com"
|
|
920
|
+
value: "ops@acme.com",
|
|
921
|
+
accountType: "business",
|
|
922
|
+
firstName: "Morgan",
|
|
923
|
+
lastName: "Lee",
|
|
924
|
+
phone: "+14155550176",
|
|
925
|
+
business: {
|
|
926
|
+
legalName: "Acme Logistics LLC",
|
|
927
|
+
displayName: "Acme Logistics",
|
|
928
|
+
website: "https://acmelogistics.com",
|
|
929
|
+
hasTradeName: true,
|
|
930
|
+
tradeName: "Acme Freight",
|
|
931
|
+
businessType: "llc",
|
|
932
|
+
industry: "513210",
|
|
933
|
+
stateOfIncorporation: "DE",
|
|
934
|
+
incorporationDate: "2018-03-12",
|
|
935
|
+
registeredAddress: {
|
|
936
|
+
streetLine1: "251 Little Falls Dr",
|
|
937
|
+
city: "Wilmington",
|
|
938
|
+
subdivision: "DE",
|
|
939
|
+
postalCode: "19808",
|
|
940
|
+
country: "US"
|
|
941
|
+
},
|
|
942
|
+
physicalAddress: {
|
|
943
|
+
streetLine1: "900 Harrison St",
|
|
944
|
+
city: "San Francisco",
|
|
945
|
+
subdivision: "CA",
|
|
946
|
+
postalCode: "94107",
|
|
947
|
+
country: "US"
|
|
948
|
+
},
|
|
949
|
+
sourceOfFunds: ["business_revenue"],
|
|
950
|
+
countriesOfOperations: ["US", "CA"],
|
|
951
|
+
beneficialOwners: [{
|
|
952
|
+
firstName: "Morgan",
|
|
953
|
+
lastName: "Lee",
|
|
954
|
+
email: "morgan.lee@acme.com",
|
|
955
|
+
phone: "+14155550176",
|
|
956
|
+
dateOfBirth: "1985-09-02",
|
|
957
|
+
address: {
|
|
958
|
+
streetLine1: "128 Alamo Square",
|
|
959
|
+
city: "San Francisco",
|
|
960
|
+
subdivision: "CA",
|
|
961
|
+
postalCode: "94117",
|
|
962
|
+
country: "US"
|
|
963
|
+
},
|
|
964
|
+
ownershipPercentage: 60,
|
|
965
|
+
title: "ceo",
|
|
966
|
+
countryOfCitizenship: "US",
|
|
967
|
+
employmentStatus: "employed"
|
|
968
|
+
}]
|
|
969
|
+
}
|
|
921
970
|
}],
|
|
922
971
|
agents: [{
|
|
923
972
|
agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
|
|
@@ -5891,6 +5940,7 @@ Create a test customer and a pending invitation for each agent you name
|
|
|
5891
5940
|
await client.simulations.inviteCustomer({
|
|
5892
5941
|
idempotencyKey: "Idempotency-Key",
|
|
5893
5942
|
agentIds: ["agt_550e8400e29b41d4a716446655440000"],
|
|
5943
|
+
permissions: ["wallets.create", "wallets.deposit", "wallets.withdraw", "wallets.transfer"],
|
|
5894
5944
|
type: "ORG"
|
|
5895
5945
|
});
|
|
5896
5946
|
|