@naturalpay/sdk 1.6.6 → 1.6.8
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 +29 -0
- package/dist/cjs/api/resources/customers/client/Client.js +99 -0
- package/dist/cjs/api/resources/customers/client/requests/RemoveCustomersRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/RemoveCustomersRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponse.d.ts +6 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponse.js +3 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseData.d.ts +10 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseData.js +3 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributes.d.ts +15 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.ts +15 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.js +3 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.ts +8 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.js +3 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.ts +16 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.js +3 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.ts +8 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.js +11 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataType.d.ts +4 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataType.js +7 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseMeta.js +3 -0
- package/dist/cjs/api/resources/customers/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/customers/types/index.js +9 -0
- package/dist/cjs/api/resources/paymentRequests/client/Client.js +5 -2
- package/dist/cjs/api/resources/paymentRequests/client/requests/ListIncomingPaymentRequestsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/simulations/client/Client.js +102 -0
- package/dist/cjs/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.js +3 -0
- package/dist/cjs/api/resources/simulations/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.js +3 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.ts +10 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.js +3 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.ts +15 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.ts +15 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.js +3 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.ts +8 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.js +3 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.ts +16 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.js +3 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.ts +8 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.js +11 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.ts +4 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.js +7 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/simulations/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/simulations/types/index.js +9 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.ts +4 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.js +7 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.ts +4 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js +7 -0
- package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/transactions/types/index.js +6 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +2 -0
- package/dist/cjs/api/resources/webhooks/client/requests/NewWebhookParams.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdWebhookParams.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/DelWebhookAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/NewWebhookAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/UpdWebhookAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.js +8 -0
- package/dist/cjs/api/resources/webhooks/types/WebhookAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/WebhookDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +7 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponse.js +44 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseData.d.ts +13 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseData.js +45 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.ts +16 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.js +48 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.ts +15 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.js +47 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.ts +11 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.js +43 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.ts +14 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.js +46 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.js +39 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseMeta.d.ts +9 -0
- package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseMeta.js +41 -0
- package/dist/cjs/serialization/resources/customers/types/index.d.ts +9 -0
- package/dist/cjs/serialization/resources/customers/types/index.js +9 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.js +44 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.ts +13 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.js +45 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.ts +16 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.js +48 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.ts +15 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.js +47 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.ts +11 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.js +43 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.ts +14 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.js +46 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.js +39 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.ts +9 -0
- package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.js +41 -0
- package/dist/cjs/serialization/resources/simulations/types/index.d.ts +9 -0
- package/dist/cjs/serialization/resources/simulations/types/index.js +9 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +10 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.js +42 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.ts +11 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.js +43 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.js +39 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +10 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.js +42 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.ts +11 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.js +43 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js +39 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
- package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
- package/dist/cjs/serialization/resources/webhooks/client/requests/NewWebhookParams.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/client/requests/NewWebhookParams.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/client/requests/UpdWebhookParams.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/client/requests/UpdWebhookParams.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/DelWebhookAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/DelWebhookAttrs.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/NewWebhookAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/NewWebhookAttrs.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdWebhookAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdWebhookAttrs.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.js +39 -0
- package/dist/cjs/serialization/resources/webhooks/types/WebhookAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/WebhookAttrs.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/WebhookDetailAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/WebhookDetailAttrs.js +2 -0
- package/dist/cjs/serialization/resources/webhooks/types/index.d.ts +7 -0
- package/dist/cjs/serialization/resources/webhooks/types/index.js +7 -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/customers/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/customers/client/Client.mjs +99 -0
- package/dist/esm/api/resources/customers/client/requests/RemoveCustomersRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/RemoveCustomersRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponse.d.mts +6 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponse.mjs +2 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseData.d.mts +10 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseData.mjs +2 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts +15 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.mts +15 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.mjs +2 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.mts +8 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs +2 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.mts +16 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.mjs +2 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.mts +8 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.mjs +8 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataType.d.mts +4 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataType.mjs +4 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/customers/types/index.d.mts +9 -0
- package/dist/esm/api/resources/customers/types/index.mjs +9 -0
- package/dist/esm/api/resources/paymentRequests/client/Client.mjs +5 -2
- package/dist/esm/api/resources/paymentRequests/client/requests/ListIncomingPaymentRequestsRequest.d.mts +1 -0
- package/dist/esm/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.mts +2 -0
- package/dist/esm/api/resources/simulations/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/simulations/client/Client.mjs +102 -0
- package/dist/esm/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.d.mts +12 -0
- package/dist/esm/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.mjs +2 -0
- package/dist/esm/api/resources/simulations/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.mts +6 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.mts +10 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.mts +15 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.mts +15 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.mts +8 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.mts +16 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.mts +8 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.mjs +8 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.mts +4 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.mjs +4 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/index.d.mts +9 -0
- package/dist/esm/api/resources/simulations/types/index.mjs +9 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.mts +4 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.mts +4 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +2 -0
- package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +2 -0
- package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/NewWebhookParams.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdWebhookParams.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/DelWebhookAttrs.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/NewWebhookAttrs.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/UpdWebhookAttrs.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
- package/dist/esm/api/resources/webhooks/types/WebhookAttrs.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/WebhookDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +7 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +7 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponse.mjs +8 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseData.d.mts +13 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseData.mjs +9 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts +16 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.mjs +12 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.mts +15 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.mjs +11 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.mts +11 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs +7 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.mts +14 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.mjs +10 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.mjs +3 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseMeta.d.mts +9 -0
- package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseMeta.mjs +5 -0
- package/dist/esm/serialization/resources/customers/types/index.d.mts +9 -0
- package/dist/esm/serialization/resources/customers/types/index.mjs +9 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.mts +13 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.mjs +9 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.mts +16 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.mjs +12 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.mts +15 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.mjs +11 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.mts +11 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.mjs +7 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.mts +14 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.mjs +10 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.mjs +3 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.mts +9 -0
- package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.mjs +5 -0
- package/dist/esm/serialization/resources/simulations/types/index.d.mts +9 -0
- package/dist/esm/serialization/resources/simulations/types/index.mjs +9 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +10 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.mjs +6 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.mts +11 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.mjs +7 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs +3 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +10 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.mjs +6 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.mts +11 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.mjs +7 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs +3 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
- package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/webhooks/client/requests/NewWebhookParams.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/client/requests/NewWebhookParams.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/client/requests/UpdWebhookParams.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/client/requests/UpdWebhookParams.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/DelWebhookAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/types/DelWebhookAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/NewWebhookAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/types/NewWebhookAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdWebhookAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdWebhookAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
- package/dist/esm/serialization/resources/webhooks/types/WebhookAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/types/WebhookAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/types/WebhookDetailAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/webhooks/types/WebhookDetailAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/webhooks/types/index.d.mts +7 -0
- package/dist/esm/serialization/resources/webhooks/types/index.mjs +7 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +134 -0
|
@@ -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 ListWebhooksResponseDataItemAttributesSourcesItem: core.serialization.Schema<serializers.ListWebhooksResponseDataItemAttributesSourcesItem.Raw, Natural.ListWebhooksResponseDataItemAttributesSourcesItem>;
|
|
5
|
+
export declare namespace ListWebhooksResponseDataItemAttributesSourcesItem {
|
|
6
|
+
type Raw = "own" | "connected";
|
|
7
|
+
}
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { CreateWebhooksResponseDataAttributesEnabledEventsItem } from "./CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
5
|
+
import { CreateWebhooksResponseDataAttributesSourcesItem } from "./CreateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
5
6
|
import { NewWebhookStatus } from "./NewWebhookStatus.mjs";
|
|
6
7
|
export declare const NewWebhookAttrs: core.serialization.ObjectSchema<serializers.NewWebhookAttrs.Raw, Natural.NewWebhookAttrs>;
|
|
7
8
|
export declare namespace NewWebhookAttrs {
|
|
@@ -10,6 +11,7 @@ export declare namespace NewWebhookAttrs {
|
|
|
10
11
|
description: string;
|
|
11
12
|
status: NewWebhookStatus.Raw;
|
|
12
13
|
enabledEvents: CreateWebhooksResponseDataAttributesEnabledEventsItem.Raw[];
|
|
14
|
+
sources: CreateWebhooksResponseDataAttributesSourcesItem.Raw[];
|
|
13
15
|
tags: Record<string, string>;
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { CreateWebhooksResponseDataAttributesEnabledEventsItem } from "./CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
4
|
+
import { CreateWebhooksResponseDataAttributesSourcesItem } from "./CreateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
4
5
|
import { NewWebhookStatus } from "./NewWebhookStatus.mjs";
|
|
5
6
|
export const NewWebhookAttrs = core.serialization.object({
|
|
6
7
|
url: core.serialization.string(),
|
|
7
8
|
description: core.serialization.string(),
|
|
8
9
|
status: NewWebhookStatus,
|
|
9
10
|
enabledEvents: core.serialization.list(CreateWebhooksResponseDataAttributesEnabledEventsItem),
|
|
11
|
+
sources: core.serialization.list(CreateWebhooksResponseDataAttributesSourcesItem),
|
|
10
12
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
11
13
|
createdAt: core.serialization.date(),
|
|
12
14
|
updatedAt: core.serialization.date(),
|
|
@@ -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 RemoveWebhooksResponseDataAttributesSourcesItem: core.serialization.Schema<serializers.RemoveWebhooksResponseDataAttributesSourcesItem.Raw, Natural.RemoveWebhooksResponseDataAttributesSourcesItem>;
|
|
5
|
+
export declare namespace RemoveWebhooksResponseDataAttributesSourcesItem {
|
|
6
|
+
type Raw = "own" | "connected";
|
|
7
|
+
}
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { UpdateWebhooksResponseDataAttributesEnabledEventsItem } from "./UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
5
|
+
import { UpdateWebhooksResponseDataAttributesSourcesItem } from "./UpdateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
5
6
|
import { UpdWebhookStatus } from "./UpdWebhookStatus.mjs";
|
|
6
7
|
export declare const UpdWebhookAttrs: core.serialization.ObjectSchema<serializers.UpdWebhookAttrs.Raw, Natural.UpdWebhookAttrs>;
|
|
7
8
|
export declare namespace UpdWebhookAttrs {
|
|
@@ -10,6 +11,7 @@ export declare namespace UpdWebhookAttrs {
|
|
|
10
11
|
description: string;
|
|
11
12
|
status: UpdWebhookStatus.Raw;
|
|
12
13
|
enabledEvents: UpdateWebhooksResponseDataAttributesEnabledEventsItem.Raw[];
|
|
14
|
+
sources: UpdateWebhooksResponseDataAttributesSourcesItem.Raw[];
|
|
13
15
|
tags: Record<string, string>;
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { UpdateWebhooksResponseDataAttributesEnabledEventsItem } from "./UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
4
|
+
import { UpdateWebhooksResponseDataAttributesSourcesItem } from "./UpdateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
4
5
|
import { UpdWebhookStatus } from "./UpdWebhookStatus.mjs";
|
|
5
6
|
export const UpdWebhookAttrs = core.serialization.object({
|
|
6
7
|
url: core.serialization.string(),
|
|
7
8
|
description: core.serialization.string(),
|
|
8
9
|
status: UpdWebhookStatus,
|
|
9
10
|
enabledEvents: core.serialization.list(UpdateWebhooksResponseDataAttributesEnabledEventsItem),
|
|
11
|
+
sources: core.serialization.list(UpdateWebhooksResponseDataAttributesSourcesItem),
|
|
10
12
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
11
13
|
createdAt: core.serialization.date(),
|
|
12
14
|
updatedAt: core.serialization.date(),
|
package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const UpdateWebhooksRequestSourcesItem: core.serialization.Schema<serializers.UpdateWebhooksRequestSourcesItem.Raw, Natural.UpdateWebhooksRequestSourcesItem>;
|
|
5
|
+
export declare namespace UpdateWebhooksRequestSourcesItem {
|
|
6
|
+
type Raw = "own" | "connected";
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const UpdateWebhooksResponseDataAttributesSourcesItem: core.serialization.Schema<serializers.UpdateWebhooksResponseDataAttributesSourcesItem.Raw, Natural.UpdateWebhooksResponseDataAttributesSourcesItem>;
|
|
5
|
+
export declare namespace UpdateWebhooksResponseDataAttributesSourcesItem {
|
|
6
|
+
type Raw = "own" | "connected";
|
|
7
|
+
}
|
|
@@ -1,6 +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 { ListWebhooksResponseDataItemAttributesSourcesItem } from "./ListWebhooksResponseDataItemAttributesSourcesItem.mjs";
|
|
4
5
|
import { WebhookEnabledEventsItem } from "./WebhookEnabledEventsItem.mjs";
|
|
5
6
|
import { WebhookStatus } from "./WebhookStatus.mjs";
|
|
6
7
|
export declare const WebhookAttrs: core.serialization.ObjectSchema<serializers.WebhookAttrs.Raw, Natural.WebhookAttrs>;
|
|
@@ -10,6 +11,7 @@ export declare namespace WebhookAttrs {
|
|
|
10
11
|
description: string;
|
|
11
12
|
status: WebhookStatus.Raw;
|
|
12
13
|
enabledEvents: WebhookEnabledEventsItem.Raw[];
|
|
14
|
+
sources: ListWebhooksResponseDataItemAttributesSourcesItem.Raw[];
|
|
13
15
|
tags: Record<string, string>;
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { ListWebhooksResponseDataItemAttributesSourcesItem } from "./ListWebhooksResponseDataItemAttributesSourcesItem.mjs";
|
|
3
4
|
import { WebhookEnabledEventsItem } from "./WebhookEnabledEventsItem.mjs";
|
|
4
5
|
import { WebhookStatus } from "./WebhookStatus.mjs";
|
|
5
6
|
export const WebhookAttrs = core.serialization.object({
|
|
@@ -7,6 +8,7 @@ export const WebhookAttrs = core.serialization.object({
|
|
|
7
8
|
description: core.serialization.string(),
|
|
8
9
|
status: WebhookStatus,
|
|
9
10
|
enabledEvents: core.serialization.list(WebhookEnabledEventsItem),
|
|
11
|
+
sources: core.serialization.list(ListWebhooksResponseDataItemAttributesSourcesItem),
|
|
10
12
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
11
13
|
createdAt: core.serialization.date(),
|
|
12
14
|
updatedAt: core.serialization.date(),
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { GetWebhooksResponseDataAttributesEnabledEventsItem } from "./GetWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
5
|
+
import { GetWebhooksResponseDataAttributesSourcesItem } from "./GetWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
5
6
|
import { WebhookDetailStatus } from "./WebhookDetailStatus.mjs";
|
|
6
7
|
export declare const WebhookDetailAttrs: core.serialization.ObjectSchema<serializers.WebhookDetailAttrs.Raw, Natural.WebhookDetailAttrs>;
|
|
7
8
|
export declare namespace WebhookDetailAttrs {
|
|
@@ -10,6 +11,7 @@ export declare namespace WebhookDetailAttrs {
|
|
|
10
11
|
description: string;
|
|
11
12
|
status: WebhookDetailStatus.Raw;
|
|
12
13
|
enabledEvents: GetWebhooksResponseDataAttributesEnabledEventsItem.Raw[];
|
|
14
|
+
sources: GetWebhooksResponseDataAttributesSourcesItem.Raw[];
|
|
13
15
|
tags: Record<string, string>;
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { GetWebhooksResponseDataAttributesEnabledEventsItem } from "./GetWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
4
|
+
import { GetWebhooksResponseDataAttributesSourcesItem } from "./GetWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
4
5
|
import { WebhookDetailStatus } from "./WebhookDetailStatus.mjs";
|
|
5
6
|
export const WebhookDetailAttrs = core.serialization.object({
|
|
6
7
|
url: core.serialization.string(),
|
|
7
8
|
description: core.serialization.string(),
|
|
8
9
|
status: WebhookDetailStatus,
|
|
9
10
|
enabledEvents: core.serialization.list(GetWebhooksResponseDataAttributesEnabledEventsItem),
|
|
11
|
+
sources: core.serialization.list(GetWebhooksResponseDataAttributesSourcesItem),
|
|
10
12
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
11
13
|
createdAt: core.serialization.date(),
|
|
12
14
|
updatedAt: core.serialization.date(),
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./CreateWebhooksRequestEnabledEventsItem.mjs";
|
|
2
|
+
export * from "./CreateWebhooksRequestSourcesItem.mjs";
|
|
2
3
|
export * from "./CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
4
|
+
export * from "./CreateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
3
5
|
export * from "./DelWebhook.mjs";
|
|
4
6
|
export * from "./DelWebhookAttrs.mjs";
|
|
5
7
|
export * from "./DelWebhookData.mjs";
|
|
@@ -11,8 +13,10 @@ export * from "./DelWebhookPartyRel.mjs";
|
|
|
11
13
|
export * from "./DelWebhookRels.mjs";
|
|
12
14
|
export * from "./DelWebhookStatus.mjs";
|
|
13
15
|
export * from "./GetWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
16
|
+
export * from "./GetWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
14
17
|
export * from "./ListWebhooksRequestStatus.mjs";
|
|
15
18
|
export * from "./ListWebhooksResponseDataItem.mjs";
|
|
19
|
+
export * from "./ListWebhooksResponseDataItemAttributesSourcesItem.mjs";
|
|
16
20
|
export * from "./NewWebhook.mjs";
|
|
17
21
|
export * from "./NewWebhookAttrs.mjs";
|
|
18
22
|
export * from "./NewWebhookData.mjs";
|
|
@@ -23,6 +27,7 @@ export * from "./NewWebhookPartyRel.mjs";
|
|
|
23
27
|
export * from "./NewWebhookRels.mjs";
|
|
24
28
|
export * from "./NewWebhookStatus.mjs";
|
|
25
29
|
export * from "./RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
30
|
+
export * from "./RemoveWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
26
31
|
export * from "./RotatedWebhook.mjs";
|
|
27
32
|
export * from "./RotatedWebhookAttrs.mjs";
|
|
28
33
|
export * from "./RotatedWebhookData.mjs";
|
|
@@ -32,8 +37,10 @@ export * from "./RotatedWebhookPartyRefKind.mjs";
|
|
|
32
37
|
export * from "./RotatedWebhookPartyRel.mjs";
|
|
33
38
|
export * from "./RotatedWebhookRels.mjs";
|
|
34
39
|
export * from "./UpdateWebhooksRequestEnabledEventsItem.mjs";
|
|
40
|
+
export * from "./UpdateWebhooksRequestSourcesItem.mjs";
|
|
35
41
|
export * from "./UpdateWebhooksRequestStatus.mjs";
|
|
36
42
|
export * from "./UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
43
|
+
export * from "./UpdateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
37
44
|
export * from "./UpdWebhook.mjs";
|
|
38
45
|
export * from "./UpdWebhookAttrs.mjs";
|
|
39
46
|
export * from "./UpdWebhookData.mjs";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./CreateWebhooksRequestEnabledEventsItem.mjs";
|
|
2
|
+
export * from "./CreateWebhooksRequestSourcesItem.mjs";
|
|
2
3
|
export * from "./CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
4
|
+
export * from "./CreateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
3
5
|
export * from "./DelWebhook.mjs";
|
|
4
6
|
export * from "./DelWebhookAttrs.mjs";
|
|
5
7
|
export * from "./DelWebhookData.mjs";
|
|
@@ -11,8 +13,10 @@ export * from "./DelWebhookPartyRel.mjs";
|
|
|
11
13
|
export * from "./DelWebhookRels.mjs";
|
|
12
14
|
export * from "./DelWebhookStatus.mjs";
|
|
13
15
|
export * from "./GetWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
16
|
+
export * from "./GetWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
14
17
|
export * from "./ListWebhooksRequestStatus.mjs";
|
|
15
18
|
export * from "./ListWebhooksResponseDataItem.mjs";
|
|
19
|
+
export * from "./ListWebhooksResponseDataItemAttributesSourcesItem.mjs";
|
|
16
20
|
export * from "./NewWebhook.mjs";
|
|
17
21
|
export * from "./NewWebhookAttrs.mjs";
|
|
18
22
|
export * from "./NewWebhookData.mjs";
|
|
@@ -23,6 +27,7 @@ export * from "./NewWebhookPartyRel.mjs";
|
|
|
23
27
|
export * from "./NewWebhookRels.mjs";
|
|
24
28
|
export * from "./NewWebhookStatus.mjs";
|
|
25
29
|
export * from "./RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
30
|
+
export * from "./RemoveWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
26
31
|
export * from "./RotatedWebhook.mjs";
|
|
27
32
|
export * from "./RotatedWebhookAttrs.mjs";
|
|
28
33
|
export * from "./RotatedWebhookData.mjs";
|
|
@@ -32,8 +37,10 @@ export * from "./RotatedWebhookPartyRefKind.mjs";
|
|
|
32
37
|
export * from "./RotatedWebhookPartyRel.mjs";
|
|
33
38
|
export * from "./RotatedWebhookRels.mjs";
|
|
34
39
|
export * from "./UpdateWebhooksRequestEnabledEventsItem.mjs";
|
|
40
|
+
export * from "./UpdateWebhooksRequestSourcesItem.mjs";
|
|
35
41
|
export * from "./UpdateWebhooksRequestStatus.mjs";
|
|
36
42
|
export * from "./UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs";
|
|
43
|
+
export * from "./UpdateWebhooksResponseDataAttributesSourcesItem.mjs";
|
|
37
44
|
export * from "./UpdWebhook.mjs";
|
|
38
45
|
export * from "./UpdWebhookAttrs.mjs";
|
|
39
46
|
export * from "./UpdWebhookData.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.8";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.8";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -820,6 +820,72 @@ await client.customers.get({
|
|
|
820
820
|
</dl>
|
|
821
821
|
|
|
822
822
|
|
|
823
|
+
</dd>
|
|
824
|
+
</dl>
|
|
825
|
+
</details>
|
|
826
|
+
|
|
827
|
+
<details><summary><code>client.customers.<a href="/src/api/resources/customers/client/Client.ts">remove</a>({ ...params }) -> Natural.RemoveCustomersResponse</code></summary>
|
|
828
|
+
<dl>
|
|
829
|
+
<dd>
|
|
830
|
+
|
|
831
|
+
#### 📝 Description
|
|
832
|
+
|
|
833
|
+
<dl>
|
|
834
|
+
<dd>
|
|
835
|
+
|
|
836
|
+
<dl>
|
|
837
|
+
<dd>
|
|
838
|
+
|
|
839
|
+
Revoke the customer connection and all remaining agent access
|
|
840
|
+
</dd>
|
|
841
|
+
</dl>
|
|
842
|
+
</dd>
|
|
843
|
+
</dl>
|
|
844
|
+
|
|
845
|
+
#### 🔌 Usage
|
|
846
|
+
|
|
847
|
+
<dl>
|
|
848
|
+
<dd>
|
|
849
|
+
|
|
850
|
+
<dl>
|
|
851
|
+
<dd>
|
|
852
|
+
|
|
853
|
+
```typescript
|
|
854
|
+
await client.customers.remove({
|
|
855
|
+
idempotencyKey: "Idempotency-Key",
|
|
856
|
+
customerId: "customerId"
|
|
857
|
+
});
|
|
858
|
+
|
|
859
|
+
```
|
|
860
|
+
</dd>
|
|
861
|
+
</dl>
|
|
862
|
+
</dd>
|
|
863
|
+
</dl>
|
|
864
|
+
|
|
865
|
+
#### ⚙️ Parameters
|
|
866
|
+
|
|
867
|
+
<dl>
|
|
868
|
+
<dd>
|
|
869
|
+
|
|
870
|
+
<dl>
|
|
871
|
+
<dd>
|
|
872
|
+
|
|
873
|
+
**request:** `Natural.RemoveCustomersRequest`
|
|
874
|
+
|
|
875
|
+
</dd>
|
|
876
|
+
</dl>
|
|
877
|
+
|
|
878
|
+
<dl>
|
|
879
|
+
<dd>
|
|
880
|
+
|
|
881
|
+
**requestOptions:** `CustomersClient.RequestOptions`
|
|
882
|
+
|
|
883
|
+
</dd>
|
|
884
|
+
</dl>
|
|
885
|
+
</dd>
|
|
886
|
+
</dl>
|
|
887
|
+
|
|
888
|
+
|
|
823
889
|
</dd>
|
|
824
890
|
</dl>
|
|
825
891
|
</details>
|
|
@@ -6067,6 +6133,7 @@ await client.webhooks.create({
|
|
|
6067
6133
|
url: "https://example.com/webhooks/natural",
|
|
6068
6134
|
description: "Production webhook for wallet and party events",
|
|
6069
6135
|
enabledEvents: ["wallet.created", "party.updated", "delegation.activated"],
|
|
6136
|
+
sources: ["own", "connected"],
|
|
6070
6137
|
tags: {
|
|
6071
6138
|
"env": "prod",
|
|
6072
6139
|
"team": "payments"
|
|
@@ -6271,6 +6338,7 @@ await client.webhooks.update({
|
|
|
6271
6338
|
description: "Production webhook for wallet, party, and delegation events",
|
|
6272
6339
|
status: "DISABLED",
|
|
6273
6340
|
enabledEvents: ["wallet.created", "party.updated"],
|
|
6341
|
+
sources: ["own", "connected"],
|
|
6274
6342
|
tags: {
|
|
6275
6343
|
"env": "staging",
|
|
6276
6344
|
"team": null
|
|
@@ -7175,3 +7243,69 @@ await client.simulations.revokeAgentConnection({
|
|
|
7175
7243
|
</dl>
|
|
7176
7244
|
</details>
|
|
7177
7245
|
|
|
7246
|
+
<details><summary><code>client.simulations.<a href="/src/api/resources/simulations/client/Client.ts">disconnectCustomer</a>({ ...params }) -> Natural.DisconnectCustomerSimulationsResponse</code></summary>
|
|
7247
|
+
<dl>
|
|
7248
|
+
<dd>
|
|
7249
|
+
|
|
7250
|
+
#### 📝 Description
|
|
7251
|
+
|
|
7252
|
+
<dl>
|
|
7253
|
+
<dd>
|
|
7254
|
+
|
|
7255
|
+
<dl>
|
|
7256
|
+
<dd>
|
|
7257
|
+
|
|
7258
|
+
End a test customer's connection and revoke all remaining agent access
|
|
7259
|
+
</dd>
|
|
7260
|
+
</dl>
|
|
7261
|
+
</dd>
|
|
7262
|
+
</dl>
|
|
7263
|
+
|
|
7264
|
+
#### 🔌 Usage
|
|
7265
|
+
|
|
7266
|
+
<dl>
|
|
7267
|
+
<dd>
|
|
7268
|
+
|
|
7269
|
+
<dl>
|
|
7270
|
+
<dd>
|
|
7271
|
+
|
|
7272
|
+
```typescript
|
|
7273
|
+
await client.simulations.disconnectCustomer({
|
|
7274
|
+
idempotencyKey: "Idempotency-Key",
|
|
7275
|
+
customerId: "customerId"
|
|
7276
|
+
});
|
|
7277
|
+
|
|
7278
|
+
```
|
|
7279
|
+
</dd>
|
|
7280
|
+
</dl>
|
|
7281
|
+
</dd>
|
|
7282
|
+
</dl>
|
|
7283
|
+
|
|
7284
|
+
#### ⚙️ Parameters
|
|
7285
|
+
|
|
7286
|
+
<dl>
|
|
7287
|
+
<dd>
|
|
7288
|
+
|
|
7289
|
+
<dl>
|
|
7290
|
+
<dd>
|
|
7291
|
+
|
|
7292
|
+
**request:** `Natural.DisconnectCustomerSimulationsRequest`
|
|
7293
|
+
|
|
7294
|
+
</dd>
|
|
7295
|
+
</dl>
|
|
7296
|
+
|
|
7297
|
+
<dl>
|
|
7298
|
+
<dd>
|
|
7299
|
+
|
|
7300
|
+
**requestOptions:** `SimulationsClient.RequestOptions`
|
|
7301
|
+
|
|
7302
|
+
</dd>
|
|
7303
|
+
</dl>
|
|
7304
|
+
</dd>
|
|
7305
|
+
</dl>
|
|
7306
|
+
|
|
7307
|
+
|
|
7308
|
+
</dd>
|
|
7309
|
+
</dl>
|
|
7310
|
+
</details>
|
|
7311
|
+
|