@naturalpay/sdk 1.6.13 → 1.6.14
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/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +6 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +6 -0
- package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/customers/client/Client.js +1 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +3 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +16 -0
- package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.js +16 -0
- package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.d.ts +16 -0
- package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.js +16 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +16 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +16 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/parties/client/Client.d.ts +88 -0
- package/dist/cjs/api/resources/parties/client/Client.js +315 -0
- package/dist/cjs/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.js +3 -0
- package/dist/cjs/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.js +3 -0
- package/dist/cjs/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.js +3 -0
- package/dist/cjs/api/resources/parties/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.ts +7 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.js +10 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.js +3 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.ts +6 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.js +3 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.ts +8 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.ts +4 -0
- package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.js +7 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponse.js +3 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.ts +6 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.js +3 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.ts +5 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.ts +4 -0
- package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.js +7 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.js +3 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.ts +6 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.js +3 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.ts +5 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.ts +4 -0
- package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.js +7 -0
- package/dist/cjs/api/resources/parties/types/index.d.ts +13 -0
- package/dist/cjs/api/resources/parties/types/index.js +13 -0
- package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +6 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +6 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +6 -0
- package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.js +1 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.js +16 -0
- package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.js +16 -0
- package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +16 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.js +43 -0
- package/dist/cjs/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.js +42 -0
- package/dist/cjs/serialization/resources/parties/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/parties/client/requests/index.js +5 -1
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.ts +7 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.js +39 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.js +42 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.ts +13 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.js +45 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.ts +11 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.js +43 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.js +42 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.ts +13 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.js +45 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.ts +10 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.js +42 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.js +42 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.ts +13 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.js +45 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.ts +10 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.js +42 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/parties/types/index.d.ts +13 -0
- package/dist/cjs/serialization/resources/parties/types/index.js +13 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +6 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
- package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.js +18 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +6 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +6 -0
- package/dist/esm/api/resources/customers/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/customers/client/Client.mjs +1 -0
- package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +3 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +16 -0
- package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +16 -0
- package/dist/esm/api/resources/events/types/ListEventsRequestEventType.d.mts +16 -0
- package/dist/esm/api/resources/events/types/ListEventsRequestEventType.mjs +16 -0
- package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +16 -0
- package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +16 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/parties/client/Client.d.mts +88 -0
- package/dist/esm/api/resources/parties/client/Client.mjs +315 -0
- package/dist/esm/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.mts +16 -0
- package/dist/esm/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.mjs +2 -0
- package/dist/esm/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.d.mts +9 -0
- package/dist/esm/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.mjs +2 -0
- package/dist/esm/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.mts +16 -0
- package/dist/esm/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.mjs +2 -0
- package/dist/esm/api/resources/parties/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.mts +7 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.mjs +7 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.mts +4 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.mjs +2 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.mts +6 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.mjs +2 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.mts +8 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.mts +4 -0
- package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.mjs +4 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponse.d.mts +4 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponse.mjs +2 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.mts +6 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.mjs +2 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.mts +5 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.mts +4 -0
- package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.mjs +4 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.mts +4 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.mjs +2 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.mts +6 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.mjs +2 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.mts +5 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.mts +4 -0
- package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.mjs +4 -0
- package/dist/esm/api/resources/parties/types/index.d.mts +13 -0
- package/dist/esm/api/resources/parties/types/index.mjs +13 -0
- package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +6 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +6 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +18 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +18 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +6 -0
- package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.mjs +1 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +16 -0
- package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.mjs +16 -0
- package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +16 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.mjs +7 -0
- package/dist/esm/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.mjs +6 -0
- package/dist/esm/serialization/resources/parties/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/parties/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.mts +7 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.mjs +3 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.mjs +6 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.mts +13 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.mjs +9 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.mts +11 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs +7 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.mjs +6 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.mts +13 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.mjs +9 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.mts +10 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.mjs +6 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.mjs +6 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.mts +13 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.mjs +9 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.mts +10 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.mjs +6 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/parties/types/index.d.mts +13 -0
- package/dist/esm/serialization/resources/parties/types/index.mjs +13 -0
- package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +6 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
- package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.mjs +18 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +200 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.6.
|
|
47
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
46
|
+
"X-Fern-SDK-Version": "1.6.14",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.14",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -17,5 +17,11 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type CreateCustomerAgentsRequestPermissionsItem = (typeof CreateCustomerAgentsRequestPermissionsItem)[keyof typeof CreateCustomerAgentsRequestPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface ListInvitationsAgentsResponseDataItemAttributes {
|
|
|
29
29
|
declinedAt: string | null;
|
|
30
30
|
/** Reason for cancellation. */
|
|
31
31
|
cancelReason: Natural.ListInvitationsAgentsResponseDataItemAttributesCancelReason | null;
|
|
32
|
+
/** Where the customer is sent after accepting and finishing setup, or null. */
|
|
33
|
+
redirectUrl: string | null;
|
|
32
34
|
/** Metadata visible to anyone who can read the resource. */
|
|
33
35
|
tags: Record<string, string>;
|
|
34
36
|
/** RFC 3339 timestamp when the invitation was created. */
|
package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface RevokeInvitationAgentsResponseDataAttributes {
|
|
|
29
29
|
declinedAt: string | null;
|
|
30
30
|
/** Reason for cancellation. */
|
|
31
31
|
cancelReason: Natural.RevokeInvitationAgentsResponseDataAttributesCancelReason | null;
|
|
32
|
+
/** Where the customer is sent after accepting and finishing setup, or null. */
|
|
33
|
+
redirectUrl: string | null;
|
|
32
34
|
/** Metadata visible to anyone who can read the resource. */
|
|
33
35
|
tags: Record<string, string>;
|
|
34
36
|
/** RFC 3339 timestamp when the invitation was created. */
|
|
@@ -38,5 +38,11 @@ export declare const CreateApiKeysRequestScopesItem: {
|
|
|
38
38
|
readonly AgentsDelete: "agents.delete";
|
|
39
39
|
readonly DisputesRead: "disputes.read";
|
|
40
40
|
readonly DisputesCreate: "disputes.create";
|
|
41
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
42
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
43
|
+
readonly RefundsRead: "refunds.read";
|
|
44
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
45
|
+
readonly MandatesRead: "mandates.read";
|
|
46
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
41
47
|
};
|
|
42
48
|
export type CreateApiKeysRequestScopesItem = (typeof CreateApiKeysRequestScopesItem)[keyof typeof CreateApiKeysRequestScopesItem];
|
|
@@ -42,4 +42,10 @@ exports.CreateApiKeysRequestScopesItem = {
|
|
|
42
42
|
AgentsDelete: "agents.delete",
|
|
43
43
|
DisputesRead: "disputes.read",
|
|
44
44
|
DisputesCreate: "disputes.create",
|
|
45
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
46
|
+
CardPaymentsRead: "card_payments.read",
|
|
47
|
+
RefundsRead: "refunds.read",
|
|
48
|
+
ChargebacksRead: "chargebacks.read",
|
|
49
|
+
MandatesRead: "mandates.read",
|
|
50
|
+
EnrollmentRead: "enrollment.read",
|
|
45
51
|
};
|
|
@@ -157,6 +157,7 @@ export declare class CustomersClient {
|
|
|
157
157
|
* }],
|
|
158
158
|
* expiresAt: new Date("2026-01-12T10:15:00.000Z"),
|
|
159
159
|
* message: "We use Natural to let our agents help manage payments for your business.",
|
|
160
|
+
* redirectUrl: "https://app.acmepayments.com/connected",
|
|
160
161
|
* tags: {
|
|
161
162
|
* "campaign": "q3_reactivation"
|
|
162
163
|
* }
|
|
@@ -511,6 +511,7 @@ class CustomersClient {
|
|
|
511
511
|
* }],
|
|
512
512
|
* expiresAt: new Date("2026-01-12T10:15:00.000Z"),
|
|
513
513
|
* message: "We use Natural to let our agents help manage payments for your business.",
|
|
514
|
+
* redirectUrl: "https://app.acmepayments.com/connected",
|
|
514
515
|
* tags: {
|
|
515
516
|
* "campaign": "q3_reactivation"
|
|
516
517
|
* }
|
package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type * as Natural from "../../../../index.js";
|
|
|
15
15
|
* }],
|
|
16
16
|
* expiresAt: new Date("2026-01-12T10:15:00.000Z"),
|
|
17
17
|
* message: "We use Natural to let our agents help manage payments for your business.",
|
|
18
|
+
* redirectUrl: "https://app.acmepayments.com/connected",
|
|
18
19
|
* tags: {
|
|
19
20
|
* "campaign": "q3_reactivation"
|
|
20
21
|
* }
|
|
@@ -29,6 +30,8 @@ export interface CreateInvitationsCustomersRequest {
|
|
|
29
30
|
expiresAt?: Date;
|
|
30
31
|
/** Message stored with each recipient's invitation. It is not included in the invitation email. */
|
|
31
32
|
message?: string;
|
|
33
|
+
/** Where to send the customer after they accept and finish setup on Natural: an https URL, an app deep link, or an sms: link. */
|
|
34
|
+
redirectUrl?: string;
|
|
32
35
|
/** Tags applied to each invitation. */
|
|
33
36
|
tags?: Record<string, string>;
|
|
34
37
|
/** Deprecated. Previously skipped our notification to the counterparty; Natural now always sends its own notifications and this field is accepted but ignored. The returned link is unaffected. */
|
|
@@ -17,5 +17,11 @@ export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsItem:
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type CreateInvitationsCustomersRequestAgentsItemPermissionsItem = (typeof CreateInvitationsCustomersRequestAgentsItemPermissionsItem)[keyof typeof CreateInvitationsCustomersRequestAgentsItemPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.CreateInvitationsCustomersRequestAgentsItemPermissionsItem = {
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
|
@@ -29,6 +29,8 @@ export interface CreateInvitationsCustomersResponseDataItemAttributes {
|
|
|
29
29
|
declinedAt: string | null;
|
|
30
30
|
/** Reason for cancellation. */
|
|
31
31
|
cancelReason: Natural.CreateInvitationsCustomersResponseDataItemAttributesCancelReason | null;
|
|
32
|
+
/** Where the customer is sent after accepting and finishing setup, or null. */
|
|
33
|
+
redirectUrl: string | null;
|
|
32
34
|
/** Metadata visible to anyone who can read the resource. */
|
|
33
35
|
tags: Record<string, string>;
|
|
34
36
|
/** RFC 3339 timestamp when the invitation was created. */
|
package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface RevokeInvitationCustomersResponseDataAttributes {
|
|
|
29
29
|
declinedAt: string | null;
|
|
30
30
|
/** Reason for cancellation. */
|
|
31
31
|
cancelReason: Natural.RevokeInvitationCustomersResponseDataAttributesCancelReason | null;
|
|
32
|
+
/** Where the customer is sent after accepting and finishing setup, or null. */
|
|
33
|
+
redirectUrl: string | null;
|
|
32
34
|
/** Metadata visible to anyone who can read the resource. */
|
|
33
35
|
tags: Record<string, string>;
|
|
34
36
|
/** RFC 3339 timestamp when the invitation was created. */
|
|
@@ -58,7 +58,23 @@ export declare const GetEventsResponseDataAttributesEventType: {
|
|
|
58
58
|
readonly PaymentRequestCanceled: "payment_request.canceled";
|
|
59
59
|
readonly PaymentRequestDeclined: "payment_request.declined";
|
|
60
60
|
readonly PaymentRequestIncoming: "payment_request.incoming";
|
|
61
|
+
readonly PaymentIntentCompleted: "paymentIntent.completed";
|
|
62
|
+
readonly CardPaymentSucceeded: "cardPayment.succeeded";
|
|
63
|
+
readonly CardPaymentFailed: "cardPayment.failed";
|
|
64
|
+
readonly PaymentIntentCanceled: "paymentIntent.canceled";
|
|
65
|
+
readonly CardPaymentCreated: "cardPayment.created";
|
|
66
|
+
readonly RefundCreated: "refund.created";
|
|
67
|
+
readonly RefundSucceeded: "refund.succeeded";
|
|
68
|
+
readonly RefundFailed: "refund.failed";
|
|
69
|
+
readonly ChargebackCreated: "chargeback.created";
|
|
70
|
+
readonly ChargebackUpdated: "chargeback.updated";
|
|
71
|
+
readonly ChargebackClosed: "chargeback.closed";
|
|
72
|
+
readonly EnrollmentApplied: "enrollment.applied";
|
|
73
|
+
readonly EnrollmentActivated: "enrollment.activated";
|
|
74
|
+
readonly EnrollmentRejected: "enrollment.rejected";
|
|
75
|
+
readonly EnrollmentOffboarded: "enrollment.offboarded";
|
|
61
76
|
readonly MandateCreated: "mandate.created";
|
|
77
|
+
readonly MandateUpdated: "mandate.updated";
|
|
62
78
|
readonly MandateRevoked: "mandate.revoked";
|
|
63
79
|
};
|
|
64
80
|
export type GetEventsResponseDataAttributesEventType = (typeof GetEventsResponseDataAttributesEventType)[keyof typeof GetEventsResponseDataAttributesEventType];
|
|
@@ -62,6 +62,22 @@ exports.GetEventsResponseDataAttributesEventType = {
|
|
|
62
62
|
PaymentRequestCanceled: "payment_request.canceled",
|
|
63
63
|
PaymentRequestDeclined: "payment_request.declined",
|
|
64
64
|
PaymentRequestIncoming: "payment_request.incoming",
|
|
65
|
+
PaymentIntentCompleted: "paymentIntent.completed",
|
|
66
|
+
CardPaymentSucceeded: "cardPayment.succeeded",
|
|
67
|
+
CardPaymentFailed: "cardPayment.failed",
|
|
68
|
+
PaymentIntentCanceled: "paymentIntent.canceled",
|
|
69
|
+
CardPaymentCreated: "cardPayment.created",
|
|
70
|
+
RefundCreated: "refund.created",
|
|
71
|
+
RefundSucceeded: "refund.succeeded",
|
|
72
|
+
RefundFailed: "refund.failed",
|
|
73
|
+
ChargebackCreated: "chargeback.created",
|
|
74
|
+
ChargebackUpdated: "chargeback.updated",
|
|
75
|
+
ChargebackClosed: "chargeback.closed",
|
|
76
|
+
EnrollmentApplied: "enrollment.applied",
|
|
77
|
+
EnrollmentActivated: "enrollment.activated",
|
|
78
|
+
EnrollmentRejected: "enrollment.rejected",
|
|
79
|
+
EnrollmentOffboarded: "enrollment.offboarded",
|
|
65
80
|
MandateCreated: "mandate.created",
|
|
81
|
+
MandateUpdated: "mandate.updated",
|
|
66
82
|
MandateRevoked: "mandate.revoked",
|
|
67
83
|
};
|
|
@@ -58,7 +58,23 @@ export declare const ListEventsRequestEventType: {
|
|
|
58
58
|
readonly PaymentRequestCanceled: "payment_request.canceled";
|
|
59
59
|
readonly PaymentRequestDeclined: "payment_request.declined";
|
|
60
60
|
readonly PaymentRequestIncoming: "payment_request.incoming";
|
|
61
|
+
readonly PaymentIntentCompleted: "paymentIntent.completed";
|
|
62
|
+
readonly CardPaymentSucceeded: "cardPayment.succeeded";
|
|
63
|
+
readonly CardPaymentFailed: "cardPayment.failed";
|
|
64
|
+
readonly PaymentIntentCanceled: "paymentIntent.canceled";
|
|
65
|
+
readonly CardPaymentCreated: "cardPayment.created";
|
|
66
|
+
readonly RefundCreated: "refund.created";
|
|
67
|
+
readonly RefundSucceeded: "refund.succeeded";
|
|
68
|
+
readonly RefundFailed: "refund.failed";
|
|
69
|
+
readonly ChargebackCreated: "chargeback.created";
|
|
70
|
+
readonly ChargebackUpdated: "chargeback.updated";
|
|
71
|
+
readonly ChargebackClosed: "chargeback.closed";
|
|
72
|
+
readonly EnrollmentApplied: "enrollment.applied";
|
|
73
|
+
readonly EnrollmentActivated: "enrollment.activated";
|
|
74
|
+
readonly EnrollmentRejected: "enrollment.rejected";
|
|
75
|
+
readonly EnrollmentOffboarded: "enrollment.offboarded";
|
|
61
76
|
readonly MandateCreated: "mandate.created";
|
|
77
|
+
readonly MandateUpdated: "mandate.updated";
|
|
62
78
|
readonly MandateRevoked: "mandate.revoked";
|
|
63
79
|
};
|
|
64
80
|
export type ListEventsRequestEventType = (typeof ListEventsRequestEventType)[keyof typeof ListEventsRequestEventType];
|
|
@@ -62,6 +62,22 @@ exports.ListEventsRequestEventType = {
|
|
|
62
62
|
PaymentRequestCanceled: "payment_request.canceled",
|
|
63
63
|
PaymentRequestDeclined: "payment_request.declined",
|
|
64
64
|
PaymentRequestIncoming: "payment_request.incoming",
|
|
65
|
+
PaymentIntentCompleted: "paymentIntent.completed",
|
|
66
|
+
CardPaymentSucceeded: "cardPayment.succeeded",
|
|
67
|
+
CardPaymentFailed: "cardPayment.failed",
|
|
68
|
+
PaymentIntentCanceled: "paymentIntent.canceled",
|
|
69
|
+
CardPaymentCreated: "cardPayment.created",
|
|
70
|
+
RefundCreated: "refund.created",
|
|
71
|
+
RefundSucceeded: "refund.succeeded",
|
|
72
|
+
RefundFailed: "refund.failed",
|
|
73
|
+
ChargebackCreated: "chargeback.created",
|
|
74
|
+
ChargebackUpdated: "chargeback.updated",
|
|
75
|
+
ChargebackClosed: "chargeback.closed",
|
|
76
|
+
EnrollmentApplied: "enrollment.applied",
|
|
77
|
+
EnrollmentActivated: "enrollment.activated",
|
|
78
|
+
EnrollmentRejected: "enrollment.rejected",
|
|
79
|
+
EnrollmentOffboarded: "enrollment.offboarded",
|
|
65
80
|
MandateCreated: "mandate.created",
|
|
81
|
+
MandateUpdated: "mandate.updated",
|
|
66
82
|
MandateRevoked: "mandate.revoked",
|
|
67
83
|
};
|
package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts
CHANGED
|
@@ -58,7 +58,23 @@ export declare const ListEventsResponseDataItemAttributesEventType: {
|
|
|
58
58
|
readonly PaymentRequestCanceled: "payment_request.canceled";
|
|
59
59
|
readonly PaymentRequestDeclined: "payment_request.declined";
|
|
60
60
|
readonly PaymentRequestIncoming: "payment_request.incoming";
|
|
61
|
+
readonly PaymentIntentCompleted: "paymentIntent.completed";
|
|
62
|
+
readonly CardPaymentSucceeded: "cardPayment.succeeded";
|
|
63
|
+
readonly CardPaymentFailed: "cardPayment.failed";
|
|
64
|
+
readonly PaymentIntentCanceled: "paymentIntent.canceled";
|
|
65
|
+
readonly CardPaymentCreated: "cardPayment.created";
|
|
66
|
+
readonly RefundCreated: "refund.created";
|
|
67
|
+
readonly RefundSucceeded: "refund.succeeded";
|
|
68
|
+
readonly RefundFailed: "refund.failed";
|
|
69
|
+
readonly ChargebackCreated: "chargeback.created";
|
|
70
|
+
readonly ChargebackUpdated: "chargeback.updated";
|
|
71
|
+
readonly ChargebackClosed: "chargeback.closed";
|
|
72
|
+
readonly EnrollmentApplied: "enrollment.applied";
|
|
73
|
+
readonly EnrollmentActivated: "enrollment.activated";
|
|
74
|
+
readonly EnrollmentRejected: "enrollment.rejected";
|
|
75
|
+
readonly EnrollmentOffboarded: "enrollment.offboarded";
|
|
61
76
|
readonly MandateCreated: "mandate.created";
|
|
77
|
+
readonly MandateUpdated: "mandate.updated";
|
|
62
78
|
readonly MandateRevoked: "mandate.revoked";
|
|
63
79
|
};
|
|
64
80
|
export type ListEventsResponseDataItemAttributesEventType = (typeof ListEventsResponseDataItemAttributesEventType)[keyof typeof ListEventsResponseDataItemAttributesEventType];
|
package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js
CHANGED
|
@@ -62,6 +62,22 @@ exports.ListEventsResponseDataItemAttributesEventType = {
|
|
|
62
62
|
PaymentRequestCanceled: "payment_request.canceled",
|
|
63
63
|
PaymentRequestDeclined: "payment_request.declined",
|
|
64
64
|
PaymentRequestIncoming: "payment_request.incoming",
|
|
65
|
+
PaymentIntentCompleted: "paymentIntent.completed",
|
|
66
|
+
CardPaymentSucceeded: "cardPayment.succeeded",
|
|
67
|
+
CardPaymentFailed: "cardPayment.failed",
|
|
68
|
+
PaymentIntentCanceled: "paymentIntent.canceled",
|
|
69
|
+
CardPaymentCreated: "cardPayment.created",
|
|
70
|
+
RefundCreated: "refund.created",
|
|
71
|
+
RefundSucceeded: "refund.succeeded",
|
|
72
|
+
RefundFailed: "refund.failed",
|
|
73
|
+
ChargebackCreated: "chargeback.created",
|
|
74
|
+
ChargebackUpdated: "chargeback.updated",
|
|
75
|
+
ChargebackClosed: "chargeback.closed",
|
|
76
|
+
EnrollmentApplied: "enrollment.applied",
|
|
77
|
+
EnrollmentActivated: "enrollment.activated",
|
|
78
|
+
EnrollmentRejected: "enrollment.rejected",
|
|
79
|
+
EnrollmentOffboarded: "enrollment.offboarded",
|
|
65
80
|
MandateCreated: "mandate.created",
|
|
81
|
+
MandateUpdated: "mandate.updated",
|
|
66
82
|
MandateRevoked: "mandate.revoked",
|
|
67
83
|
};
|
|
@@ -17,5 +17,11 @@ export declare const CreateInvitationLinksRequestProposedAgentsItemPermissionsIt
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = (typeof CreateInvitationLinksRequestProposedAgentsItemPermissionsItem)[keyof typeof CreateInvitationLinksRequestProposedAgentsItemPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = {
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
|
@@ -17,5 +17,11 @@ export declare const CreateInvitationLinksResponseDataAttributesProposedAgentsIt
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem = (typeof CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem)[keyof typeof CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissions
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
|
@@ -17,5 +17,11 @@ export declare const GetInvitationLinksResponseDataAttributesProposedAgentsItemP
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem = (typeof GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem)[keyof typeof GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsIte
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
|
@@ -17,5 +17,11 @@ export declare const ListInvitationLinksResponseDataItemAttributesProposedAgents
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem = (typeof ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem)[keyof typeof ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissio
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
|
@@ -17,5 +17,11 @@ export declare const RevokeInvitationLinksResponseDataAttributesProposedAgentsIt
|
|
|
17
17
|
readonly PartyRead: "party.read";
|
|
18
18
|
readonly PartyUpdate: "party.update";
|
|
19
19
|
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
20
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
22
|
+
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
24
|
+
readonly MandatesRead: "mandates.read";
|
|
25
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
20
26
|
};
|
|
21
27
|
export type RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem = (typeof RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem)[keyof typeof RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem];
|
|
@@ -21,4 +21,10 @@ exports.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissions
|
|
|
21
21
|
PartyRead: "party.read",
|
|
22
22
|
PartyUpdate: "party.update",
|
|
23
23
|
PaymentIntentsCreate: "payment_intents.create",
|
|
24
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
25
|
+
CardPaymentsRead: "card_payments.read",
|
|
26
|
+
RefundsRead: "refunds.read",
|
|
27
|
+
ChargebacksRead: "chargebacks.read",
|
|
28
|
+
MandatesRead: "mandates.read",
|
|
29
|
+
EnrollmentRead: "enrollment.read",
|
|
24
30
|
};
|
|
@@ -119,6 +119,94 @@ export declare class PartiesClient {
|
|
|
119
119
|
*/
|
|
120
120
|
getCompliance(request: Natural.GetCompliancePartiesRequest, requestOptions?: PartiesClient.RequestOptions): core.HttpResponsePromise<Natural.GetCompliancePartiesResponse>;
|
|
121
121
|
private __getCompliance;
|
|
122
|
+
/**
|
|
123
|
+
* Get branding for your party or a party that has delegated party read permission to you
|
|
124
|
+
*
|
|
125
|
+
* @param {Natural.GetBrandingForPartyPartiesRequest} request
|
|
126
|
+
* @param {PartiesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link Natural.BadRequestError}
|
|
129
|
+
* @throws {@link Natural.UnauthorizedError}
|
|
130
|
+
* @throws {@link Natural.ForbiddenError}
|
|
131
|
+
* @throws {@link Natural.NotFoundError}
|
|
132
|
+
* @throws {@link Natural.ConflictError}
|
|
133
|
+
* @throws {@link Natural.UnprocessableEntityError}
|
|
134
|
+
* @throws {@link Natural.PreconditionError}
|
|
135
|
+
* @throws {@link Natural.TooManyRequestsError}
|
|
136
|
+
* @throws {@link Natural.InternalServerError}
|
|
137
|
+
* @throws {@link Natural.NotImplementedError}
|
|
138
|
+
* @throws {@link Natural.BadGatewayError}
|
|
139
|
+
* @throws {@link Natural.ServiceUnavailableError}
|
|
140
|
+
* @throws {@link errors.NaturalError}
|
|
141
|
+
* @throws {@link errors.NaturalTimeoutError}
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* await client.parties.getBrandingForParty({
|
|
145
|
+
* partyId: "partyId"
|
|
146
|
+
* })
|
|
147
|
+
*/
|
|
148
|
+
getBrandingForParty(request: Natural.GetBrandingForPartyPartiesRequest, requestOptions?: PartiesClient.RequestOptions): core.HttpResponsePromise<Natural.GetBrandingForPartyPartiesResponse>;
|
|
149
|
+
private __getBrandingForParty;
|
|
150
|
+
/**
|
|
151
|
+
* Update branding for your party or a party that has delegated party update permission to you. Profile photo changes require a business party in Live.
|
|
152
|
+
*
|
|
153
|
+
* @param {Natural.UpdateBrandingForPartyPartiesRequest} request
|
|
154
|
+
* @param {PartiesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link Natural.BadRequestError}
|
|
157
|
+
* @throws {@link Natural.UnauthorizedError}
|
|
158
|
+
* @throws {@link Natural.ForbiddenError}
|
|
159
|
+
* @throws {@link Natural.NotFoundError}
|
|
160
|
+
* @throws {@link Natural.ConflictError}
|
|
161
|
+
* @throws {@link Natural.UnprocessableEntityError}
|
|
162
|
+
* @throws {@link Natural.PreconditionError}
|
|
163
|
+
* @throws {@link Natural.TooManyRequestsError}
|
|
164
|
+
* @throws {@link Natural.InternalServerError}
|
|
165
|
+
* @throws {@link Natural.NotImplementedError}
|
|
166
|
+
* @throws {@link Natural.BadGatewayError}
|
|
167
|
+
* @throws {@link Natural.ServiceUnavailableError}
|
|
168
|
+
* @throws {@link errors.NaturalError}
|
|
169
|
+
* @throws {@link errors.NaturalTimeoutError}
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* await client.parties.updateBrandingForParty({
|
|
173
|
+
* idempotencyKey: "Idempotency-Key",
|
|
174
|
+
* partyId: "partyId",
|
|
175
|
+
* brandColor: "#2563EB"
|
|
176
|
+
* })
|
|
177
|
+
*/
|
|
178
|
+
updateBrandingForParty(request: Natural.UpdateBrandingForPartyPartiesRequest, requestOptions?: PartiesClient.RequestOptions): core.HttpResponsePromise<Natural.UpdateBrandingForPartyPartiesResponse>;
|
|
179
|
+
private __updateBrandingForParty;
|
|
180
|
+
/**
|
|
181
|
+
* Create an upload for a business profile photo in Live using your own or delegated party update permission
|
|
182
|
+
*
|
|
183
|
+
* @param {Natural.CreateBrandingPhotoUploadPartiesRequest} request
|
|
184
|
+
* @param {PartiesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link Natural.BadRequestError}
|
|
187
|
+
* @throws {@link Natural.UnauthorizedError}
|
|
188
|
+
* @throws {@link Natural.ForbiddenError}
|
|
189
|
+
* @throws {@link Natural.NotFoundError}
|
|
190
|
+
* @throws {@link Natural.ConflictError}
|
|
191
|
+
* @throws {@link Natural.UnprocessableEntityError}
|
|
192
|
+
* @throws {@link Natural.PreconditionError}
|
|
193
|
+
* @throws {@link Natural.TooManyRequestsError}
|
|
194
|
+
* @throws {@link Natural.InternalServerError}
|
|
195
|
+
* @throws {@link Natural.NotImplementedError}
|
|
196
|
+
* @throws {@link Natural.BadGatewayError}
|
|
197
|
+
* @throws {@link Natural.ServiceUnavailableError}
|
|
198
|
+
* @throws {@link errors.NaturalError}
|
|
199
|
+
* @throws {@link errors.NaturalTimeoutError}
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* await client.parties.createBrandingPhotoUpload({
|
|
203
|
+
* partyId: "partyId",
|
|
204
|
+
* contentType: "image/png",
|
|
205
|
+
* sizeBytes: 128000
|
|
206
|
+
* })
|
|
207
|
+
*/
|
|
208
|
+
createBrandingPhotoUpload(request: Natural.CreateBrandingPhotoUploadPartiesRequest, requestOptions?: PartiesClient.RequestOptions): core.HttpResponsePromise<Natural.CreateBrandingPhotoUploadPartiesResponse>;
|
|
209
|
+
private __createBrandingPhotoUpload;
|
|
122
210
|
/**
|
|
123
211
|
* Set your party's handle
|
|
124
212
|
*
|