@naturalpay/sdk 1.6.6 → 1.6.7
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/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/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/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/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
package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.mts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const CreateWebhooksResponseDataAttributesSourcesItem: {
|
|
2
|
+
readonly Own: "own";
|
|
3
|
+
readonly Connected: "connected";
|
|
4
|
+
};
|
|
5
|
+
export type CreateWebhooksResponseDataAttributesSourcesItem = (typeof CreateWebhooksResponseDataAttributesSourcesItem)[keyof typeof CreateWebhooksResponseDataAttributesSourcesItem];
|
|
@@ -8,6 +8,8 @@ export interface DelWebhookAttrs {
|
|
|
8
8
|
status: Natural.DelWebhookStatus;
|
|
9
9
|
/** Event types this webhook listens to. */
|
|
10
10
|
enabledEvents: Natural.RemoveWebhooksResponseDataAttributesEnabledEventsItem[];
|
|
11
|
+
/** Event sources this webhook receives: "own" for your own party, "connected" for parties connected to you through an active authorization. */
|
|
12
|
+
sources: Natural.RemoveWebhooksResponseDataAttributesSourcesItem[];
|
|
11
13
|
/** Metadata visible to anyone who can read the resource. */
|
|
12
14
|
tags: Record<string, string>;
|
|
13
15
|
/** When this webhook was created. */
|
package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.mts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetWebhooksResponseDataAttributesSourcesItem: {
|
|
2
|
+
readonly Own: "own";
|
|
3
|
+
readonly Connected: "connected";
|
|
4
|
+
};
|
|
5
|
+
export type GetWebhooksResponseDataAttributesSourcesItem = (typeof GetWebhooksResponseDataAttributesSourcesItem)[keyof typeof GetWebhooksResponseDataAttributesSourcesItem];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ListWebhooksResponseDataItemAttributesSourcesItem: {
|
|
2
|
+
readonly Own: "own";
|
|
3
|
+
readonly Connected: "connected";
|
|
4
|
+
};
|
|
5
|
+
export type ListWebhooksResponseDataItemAttributesSourcesItem = (typeof ListWebhooksResponseDataItemAttributesSourcesItem)[keyof typeof ListWebhooksResponseDataItemAttributesSourcesItem];
|
|
@@ -8,6 +8,8 @@ export interface NewWebhookAttrs {
|
|
|
8
8
|
status: Natural.NewWebhookStatus;
|
|
9
9
|
/** Event types this webhook listens to. */
|
|
10
10
|
enabledEvents: Natural.CreateWebhooksResponseDataAttributesEnabledEventsItem[];
|
|
11
|
+
/** Event sources this webhook receives: "own" for your own party, "connected" for parties connected to you through an active authorization. */
|
|
12
|
+
sources: Natural.CreateWebhooksResponseDataAttributesSourcesItem[];
|
|
11
13
|
/** Metadata visible to anyone who can read the resource. */
|
|
12
14
|
tags: Record<string, string>;
|
|
13
15
|
/** When this webhook was created. */
|
package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.mts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const RemoveWebhooksResponseDataAttributesSourcesItem: {
|
|
2
|
+
readonly Own: "own";
|
|
3
|
+
readonly Connected: "connected";
|
|
4
|
+
};
|
|
5
|
+
export type RemoveWebhooksResponseDataAttributesSourcesItem = (typeof RemoveWebhooksResponseDataAttributesSourcesItem)[keyof typeof RemoveWebhooksResponseDataAttributesSourcesItem];
|
|
@@ -8,6 +8,8 @@ export interface UpdWebhookAttrs {
|
|
|
8
8
|
status: Natural.UpdWebhookStatus;
|
|
9
9
|
/** Event types this webhook listens to. */
|
|
10
10
|
enabledEvents: Natural.UpdateWebhooksResponseDataAttributesEnabledEventsItem[];
|
|
11
|
+
/** Event sources this webhook receives: "own" for your own party, "connected" for parties connected to you through an active authorization. */
|
|
12
|
+
sources: Natural.UpdateWebhooksResponseDataAttributesSourcesItem[];
|
|
11
13
|
/** Metadata visible to anyone who can read the resource. */
|
|
12
14
|
tags: Record<string, string>;
|
|
13
15
|
/** When this webhook was created. */
|
package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.mts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const UpdateWebhooksResponseDataAttributesSourcesItem: {
|
|
2
|
+
readonly Own: "own";
|
|
3
|
+
readonly Connected: "connected";
|
|
4
|
+
};
|
|
5
|
+
export type UpdateWebhooksResponseDataAttributesSourcesItem = (typeof UpdateWebhooksResponseDataAttributesSourcesItem)[keyof typeof UpdateWebhooksResponseDataAttributesSourcesItem];
|
|
@@ -8,6 +8,8 @@ export interface WebhookAttrs {
|
|
|
8
8
|
status: Natural.WebhookStatus;
|
|
9
9
|
/** Event types this webhook listens to. */
|
|
10
10
|
enabledEvents: Natural.WebhookEnabledEventsItem[];
|
|
11
|
+
/** Event sources this webhook receives: "own" for your own party, "connected" for parties connected to you through an active authorization. */
|
|
12
|
+
sources: Natural.ListWebhooksResponseDataItemAttributesSourcesItem[];
|
|
11
13
|
/** Metadata visible to anyone who can read the resource. */
|
|
12
14
|
tags: Record<string, string>;
|
|
13
15
|
/** When this webhook was created. */
|
|
@@ -8,6 +8,8 @@ export interface WebhookDetailAttrs {
|
|
|
8
8
|
status: Natural.WebhookDetailStatus;
|
|
9
9
|
/** Event types this webhook listens to. */
|
|
10
10
|
enabledEvents: Natural.GetWebhooksResponseDataAttributesEnabledEventsItem[];
|
|
11
|
+
/** Event sources this webhook receives: "own" for your own party, "connected" for parties connected to you through an active authorization. */
|
|
12
|
+
sources: Natural.GetWebhooksResponseDataAttributesSourcesItem[];
|
|
11
13
|
/** Metadata visible to anyone who can read the resource. */
|
|
12
14
|
tags: Record<string, string>;
|
|
13
15
|
/** When this webhook was created. */
|
|
@@ -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";
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
import { RemoveCustomersResponseData } from "./RemoveCustomersResponseData.mjs";
|
|
5
|
+
import { RemoveCustomersResponseMeta } from "./RemoveCustomersResponseMeta.mjs";
|
|
6
|
+
export declare const RemoveCustomersResponse: core.serialization.ObjectSchema<serializers.RemoveCustomersResponse.Raw, Natural.RemoveCustomersResponse>;
|
|
7
|
+
export declare namespace RemoveCustomersResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: RemoveCustomersResponseData.Raw;
|
|
10
|
+
meta: RemoveCustomersResponseMeta.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCustomersResponseData } from "./RemoveCustomersResponseData.mjs";
|
|
4
|
+
import { RemoveCustomersResponseMeta } from "./RemoveCustomersResponseMeta.mjs";
|
|
5
|
+
export const RemoveCustomersResponse = core.serialization.object({
|
|
6
|
+
data: RemoveCustomersResponseData,
|
|
7
|
+
meta: RemoveCustomersResponseMeta,
|
|
8
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
import { RemoveCustomersResponseDataAttributes } from "./RemoveCustomersResponseDataAttributes.mjs";
|
|
5
|
+
import { RemoveCustomersResponseDataType } from "./RemoveCustomersResponseDataType.mjs";
|
|
6
|
+
export declare const RemoveCustomersResponseData: core.serialization.ObjectSchema<serializers.RemoveCustomersResponseData.Raw, Natural.RemoveCustomersResponseData>;
|
|
7
|
+
export declare namespace RemoveCustomersResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
type: RemoveCustomersResponseDataType.Raw;
|
|
10
|
+
id: string;
|
|
11
|
+
attributes: RemoveCustomersResponseDataAttributes.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCustomersResponseDataAttributes } from "./RemoveCustomersResponseDataAttributes.mjs";
|
|
4
|
+
import { RemoveCustomersResponseDataType } from "./RemoveCustomersResponseDataType.mjs";
|
|
5
|
+
export const RemoveCustomersResponseData = core.serialization.object({
|
|
6
|
+
type: RemoveCustomersResponseDataType,
|
|
7
|
+
id: core.serialization.string(),
|
|
8
|
+
attributes: RemoveCustomersResponseDataAttributes,
|
|
9
|
+
});
|
package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
import { RemoveCustomersResponseDataAttributesAgentsItem } from "./RemoveCustomersResponseDataAttributesAgentsItem.mjs";
|
|
5
|
+
import { RemoveCustomersResponseDataAttributesDelegation } from "./RemoveCustomersResponseDataAttributesDelegation.mjs";
|
|
6
|
+
export declare const RemoveCustomersResponseDataAttributes: core.serialization.ObjectSchema<serializers.RemoveCustomersResponseDataAttributes.Raw, Natural.RemoveCustomersResponseDataAttributes>;
|
|
7
|
+
export declare namespace RemoveCustomersResponseDataAttributes {
|
|
8
|
+
interface Raw {
|
|
9
|
+
name: string;
|
|
10
|
+
email?: string | null;
|
|
11
|
+
avatarUrl?: string | null;
|
|
12
|
+
createdAt?: string | null;
|
|
13
|
+
delegation: RemoveCustomersResponseDataAttributesDelegation.Raw;
|
|
14
|
+
agents: RemoveCustomersResponseDataAttributesAgentsItem.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.mjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCustomersResponseDataAttributesAgentsItem } from "./RemoveCustomersResponseDataAttributesAgentsItem.mjs";
|
|
4
|
+
import { RemoveCustomersResponseDataAttributesDelegation } from "./RemoveCustomersResponseDataAttributesDelegation.mjs";
|
|
5
|
+
export const RemoveCustomersResponseDataAttributes = core.serialization.object({
|
|
6
|
+
name: core.serialization.string(),
|
|
7
|
+
email: core.serialization.string().nullable(),
|
|
8
|
+
avatarUrl: core.serialization.string().nullable(),
|
|
9
|
+
createdAt: core.serialization.date().nullable(),
|
|
10
|
+
delegation: RemoveCustomersResponseDataAttributesDelegation,
|
|
11
|
+
agents: core.serialization.list(RemoveCustomersResponseDataAttributesAgentsItem),
|
|
12
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
import { RemoveCustomersResponseDataAttributesAgentsItemLimits } from "./RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs";
|
|
5
|
+
export declare const RemoveCustomersResponseDataAttributesAgentsItem: core.serialization.ObjectSchema<serializers.RemoveCustomersResponseDataAttributesAgentsItem.Raw, Natural.RemoveCustomersResponseDataAttributesAgentsItem>;
|
|
6
|
+
export declare namespace RemoveCustomersResponseDataAttributesAgentsItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
id: string;
|
|
9
|
+
name?: string | null;
|
|
10
|
+
handle?: string | null;
|
|
11
|
+
status: string;
|
|
12
|
+
permissions: string[];
|
|
13
|
+
limits?: RemoveCustomersResponseDataAttributesAgentsItemLimits.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCustomersResponseDataAttributesAgentsItemLimits } from "./RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs";
|
|
4
|
+
export const RemoveCustomersResponseDataAttributesAgentsItem = core.serialization.object({
|
|
5
|
+
id: core.serialization.string(),
|
|
6
|
+
name: core.serialization.string().nullable(),
|
|
7
|
+
handle: core.serialization.string().nullable(),
|
|
8
|
+
status: core.serialization.string(),
|
|
9
|
+
permissions: core.serialization.list(core.serialization.string()),
|
|
10
|
+
limits: RemoveCustomersResponseDataAttributesAgentsItemLimits.nullable(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
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 RemoveCustomersResponseDataAttributesAgentsItemLimits: core.serialization.ObjectSchema<serializers.RemoveCustomersResponseDataAttributesAgentsItemLimits.Raw, Natural.RemoveCustomersResponseDataAttributesAgentsItemLimits>;
|
|
5
|
+
export declare namespace RemoveCustomersResponseDataAttributesAgentsItemLimits {
|
|
6
|
+
interface Raw {
|
|
7
|
+
perTransaction?: (number | null | undefined) | null;
|
|
8
|
+
perDay?: (number | null | undefined) | null;
|
|
9
|
+
perMonth?: (number | null | undefined) | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const RemoveCustomersResponseDataAttributesAgentsItemLimits = core.serialization.object({
|
|
4
|
+
perTransaction: core.serialization.number().optionalNullable(),
|
|
5
|
+
perDay: core.serialization.number().optionalNullable(),
|
|
6
|
+
perMonth: core.serialization.number().optionalNullable(),
|
|
7
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
import { RemoveCustomersResponseDataAttributesDelegationStatus } from "./RemoveCustomersResponseDataAttributesDelegationStatus.mjs";
|
|
5
|
+
export declare const RemoveCustomersResponseDataAttributesDelegation: core.serialization.ObjectSchema<serializers.RemoveCustomersResponseDataAttributesDelegation.Raw, Natural.RemoveCustomersResponseDataAttributesDelegation>;
|
|
6
|
+
export declare namespace RemoveCustomersResponseDataAttributesDelegation {
|
|
7
|
+
interface Raw {
|
|
8
|
+
id: string;
|
|
9
|
+
status: RemoveCustomersResponseDataAttributesDelegationStatus.Raw;
|
|
10
|
+
permissions: string[];
|
|
11
|
+
createdAt: string;
|
|
12
|
+
revokedAt?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCustomersResponseDataAttributesDelegationStatus } from "./RemoveCustomersResponseDataAttributesDelegationStatus.mjs";
|
|
4
|
+
export const RemoveCustomersResponseDataAttributesDelegation = core.serialization.object({
|
|
5
|
+
id: core.serialization.string(),
|
|
6
|
+
status: RemoveCustomersResponseDataAttributesDelegationStatus,
|
|
7
|
+
permissions: core.serialization.list(core.serialization.string()),
|
|
8
|
+
createdAt: core.serialization.date(),
|
|
9
|
+
revokedAt: core.serialization.date().nullable(),
|
|
10
|
+
});
|
|
@@ -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 RemoveCustomersResponseDataAttributesDelegationStatus: core.serialization.Schema<serializers.RemoveCustomersResponseDataAttributesDelegationStatus.Raw, Natural.RemoveCustomersResponseDataAttributesDelegationStatus>;
|
|
5
|
+
export declare namespace RemoveCustomersResponseDataAttributesDelegationStatus {
|
|
6
|
+
type Raw = "ACTIVE" | "SUSPENDED" | "REVOKED" | "EXPIRED";
|
|
7
|
+
}
|
package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataType.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 RemoveCustomersResponseDataType: core.serialization.Schema<serializers.RemoveCustomersResponseDataType.Raw, Natural.RemoveCustomersResponseDataType>;
|
|
5
|
+
export declare namespace RemoveCustomersResponseDataType {
|
|
6
|
+
type Raw = "customer";
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 RemoveCustomersResponseMeta: core.serialization.ObjectSchema<serializers.RemoveCustomersResponseMeta.Raw, Natural.RemoveCustomersResponseMeta>;
|
|
5
|
+
export declare namespace RemoveCustomersResponseMeta {
|
|
6
|
+
interface Raw {
|
|
7
|
+
deleted: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -80,6 +80,15 @@ export * from "./ListInvitationsCustomersResponseDataItemAttributesParty.mjs";
|
|
|
80
80
|
export * from "./ListInvitationsCustomersResponseDataItemType.mjs";
|
|
81
81
|
export * from "./ListInvitationsCustomersResponseMeta.mjs";
|
|
82
82
|
export * from "./ListInvitationsCustomersResponseMetaPagination.mjs";
|
|
83
|
+
export * from "./RemoveCustomersResponse.mjs";
|
|
84
|
+
export * from "./RemoveCustomersResponseData.mjs";
|
|
85
|
+
export * from "./RemoveCustomersResponseDataAttributes.mjs";
|
|
86
|
+
export * from "./RemoveCustomersResponseDataAttributesAgentsItem.mjs";
|
|
87
|
+
export * from "./RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs";
|
|
88
|
+
export * from "./RemoveCustomersResponseDataAttributesDelegation.mjs";
|
|
89
|
+
export * from "./RemoveCustomersResponseDataAttributesDelegationStatus.mjs";
|
|
90
|
+
export * from "./RemoveCustomersResponseDataType.mjs";
|
|
91
|
+
export * from "./RemoveCustomersResponseMeta.mjs";
|
|
83
92
|
export * from "./RevokeAgentCustomersResponse.mjs";
|
|
84
93
|
export * from "./RevokeAgentCustomersResponseMeta.mjs";
|
|
85
94
|
export * from "./RevokeAgentCustomersResponseMetaData.mjs";
|
|
@@ -80,6 +80,15 @@ export * from "./ListInvitationsCustomersResponseDataItemAttributesParty.mjs";
|
|
|
80
80
|
export * from "./ListInvitationsCustomersResponseDataItemType.mjs";
|
|
81
81
|
export * from "./ListInvitationsCustomersResponseMeta.mjs";
|
|
82
82
|
export * from "./ListInvitationsCustomersResponseMetaPagination.mjs";
|
|
83
|
+
export * from "./RemoveCustomersResponse.mjs";
|
|
84
|
+
export * from "./RemoveCustomersResponseData.mjs";
|
|
85
|
+
export * from "./RemoveCustomersResponseDataAttributes.mjs";
|
|
86
|
+
export * from "./RemoveCustomersResponseDataAttributesAgentsItem.mjs";
|
|
87
|
+
export * from "./RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs";
|
|
88
|
+
export * from "./RemoveCustomersResponseDataAttributesDelegation.mjs";
|
|
89
|
+
export * from "./RemoveCustomersResponseDataAttributesDelegationStatus.mjs";
|
|
90
|
+
export * from "./RemoveCustomersResponseDataType.mjs";
|
|
91
|
+
export * from "./RemoveCustomersResponseMeta.mjs";
|
|
83
92
|
export * from "./RevokeAgentCustomersResponse.mjs";
|
|
84
93
|
export * from "./RevokeAgentCustomersResponseMeta.mjs";
|
|
85
94
|
export * from "./RevokeAgentCustomersResponseMetaData.mjs";
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
import { DisconnectCustomerSimulationsResponseData } from "./DisconnectCustomerSimulationsResponseData.mjs";
|
|
5
|
+
import { DisconnectCustomerSimulationsResponseMeta } from "./DisconnectCustomerSimulationsResponseMeta.mjs";
|
|
6
|
+
export declare const DisconnectCustomerSimulationsResponse: core.serialization.ObjectSchema<serializers.DisconnectCustomerSimulationsResponse.Raw, Natural.DisconnectCustomerSimulationsResponse>;
|
|
7
|
+
export declare namespace DisconnectCustomerSimulationsResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: DisconnectCustomerSimulationsResponseData.Raw;
|
|
10
|
+
meta: DisconnectCustomerSimulationsResponseMeta.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { DisconnectCustomerSimulationsResponseData } from "./DisconnectCustomerSimulationsResponseData.mjs";
|
|
4
|
+
import { DisconnectCustomerSimulationsResponseMeta } from "./DisconnectCustomerSimulationsResponseMeta.mjs";
|
|
5
|
+
export const DisconnectCustomerSimulationsResponse = core.serialization.object({
|
|
6
|
+
data: DisconnectCustomerSimulationsResponseData,
|
|
7
|
+
meta: DisconnectCustomerSimulationsResponseMeta,
|
|
8
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
import { DisconnectCustomerSimulationsResponseDataAttributes } from "./DisconnectCustomerSimulationsResponseDataAttributes.mjs";
|
|
5
|
+
import { DisconnectCustomerSimulationsResponseDataType } from "./DisconnectCustomerSimulationsResponseDataType.mjs";
|
|
6
|
+
export declare const DisconnectCustomerSimulationsResponseData: core.serialization.ObjectSchema<serializers.DisconnectCustomerSimulationsResponseData.Raw, Natural.DisconnectCustomerSimulationsResponseData>;
|
|
7
|
+
export declare namespace DisconnectCustomerSimulationsResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
type: DisconnectCustomerSimulationsResponseDataType.Raw;
|
|
10
|
+
id: string;
|
|
11
|
+
attributes: DisconnectCustomerSimulationsResponseDataAttributes.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { DisconnectCustomerSimulationsResponseDataAttributes } from "./DisconnectCustomerSimulationsResponseDataAttributes.mjs";
|
|
4
|
+
import { DisconnectCustomerSimulationsResponseDataType } from "./DisconnectCustomerSimulationsResponseDataType.mjs";
|
|
5
|
+
export const DisconnectCustomerSimulationsResponseData = core.serialization.object({
|
|
6
|
+
type: DisconnectCustomerSimulationsResponseDataType,
|
|
7
|
+
id: core.serialization.string(),
|
|
8
|
+
attributes: DisconnectCustomerSimulationsResponseDataAttributes,
|
|
9
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
import { DisconnectCustomerSimulationsResponseDataAttributesAgentsItem } from "./DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.mjs";
|
|
5
|
+
import { DisconnectCustomerSimulationsResponseDataAttributesDelegation } from "./DisconnectCustomerSimulationsResponseDataAttributesDelegation.mjs";
|
|
6
|
+
export declare const DisconnectCustomerSimulationsResponseDataAttributes: core.serialization.ObjectSchema<serializers.DisconnectCustomerSimulationsResponseDataAttributes.Raw, Natural.DisconnectCustomerSimulationsResponseDataAttributes>;
|
|
7
|
+
export declare namespace DisconnectCustomerSimulationsResponseDataAttributes {
|
|
8
|
+
interface Raw {
|
|
9
|
+
name: string;
|
|
10
|
+
email?: string | null;
|
|
11
|
+
avatarUrl?: string | null;
|
|
12
|
+
createdAt?: string | null;
|
|
13
|
+
delegation: DisconnectCustomerSimulationsResponseDataAttributesDelegation.Raw;
|
|
14
|
+
agents: DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { DisconnectCustomerSimulationsResponseDataAttributesAgentsItem } from "./DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.mjs";
|
|
4
|
+
import { DisconnectCustomerSimulationsResponseDataAttributesDelegation } from "./DisconnectCustomerSimulationsResponseDataAttributesDelegation.mjs";
|
|
5
|
+
export const DisconnectCustomerSimulationsResponseDataAttributes = core.serialization.object({
|
|
6
|
+
name: core.serialization.string(),
|
|
7
|
+
email: core.serialization.string().nullable(),
|
|
8
|
+
avatarUrl: core.serialization.string().nullable(),
|
|
9
|
+
createdAt: core.serialization.date().nullable(),
|
|
10
|
+
delegation: DisconnectCustomerSimulationsResponseDataAttributesDelegation,
|
|
11
|
+
agents: core.serialization.list(DisconnectCustomerSimulationsResponseDataAttributesAgentsItem),
|
|
12
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
import { DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits } from "./DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.mjs";
|
|
5
|
+
export declare const DisconnectCustomerSimulationsResponseDataAttributesAgentsItem: core.serialization.ObjectSchema<serializers.DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.Raw, Natural.DisconnectCustomerSimulationsResponseDataAttributesAgentsItem>;
|
|
6
|
+
export declare namespace DisconnectCustomerSimulationsResponseDataAttributesAgentsItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
id: string;
|
|
9
|
+
name?: string | null;
|
|
10
|
+
handle?: string | null;
|
|
11
|
+
status: string;
|
|
12
|
+
permissions: string[];
|
|
13
|
+
limits?: DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits } from "./DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.mjs";
|
|
4
|
+
export const DisconnectCustomerSimulationsResponseDataAttributesAgentsItem = core.serialization.object({
|
|
5
|
+
id: core.serialization.string(),
|
|
6
|
+
name: core.serialization.string().nullable(),
|
|
7
|
+
handle: core.serialization.string().nullable(),
|
|
8
|
+
status: core.serialization.string(),
|
|
9
|
+
permissions: core.serialization.list(core.serialization.string()),
|
|
10
|
+
limits: DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.nullable(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
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 DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits: core.serialization.ObjectSchema<serializers.DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.Raw, Natural.DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits>;
|
|
5
|
+
export declare namespace DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits {
|
|
6
|
+
interface Raw {
|
|
7
|
+
perTransaction?: (number | null | undefined) | null;
|
|
8
|
+
perDay?: (number | null | undefined) | null;
|
|
9
|
+
perMonth?: (number | null | undefined) | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits = core.serialization.object({
|
|
4
|
+
perTransaction: core.serialization.number().optionalNullable(),
|
|
5
|
+
perDay: core.serialization.number().optionalNullable(),
|
|
6
|
+
perMonth: core.serialization.number().optionalNullable(),
|
|
7
|
+
});
|