@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,15 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
export interface DisconnectCustomerSimulationsResponseDataAttributes {
|
|
3
|
+
/** Customer name. */
|
|
4
|
+
name: string;
|
|
5
|
+
/** Email address. */
|
|
6
|
+
email: string | null;
|
|
7
|
+
/** Public avatar URL, or null if none is set. */
|
|
8
|
+
avatarUrl: string | null;
|
|
9
|
+
/** When the customer was created. */
|
|
10
|
+
createdAt: Date | null;
|
|
11
|
+
/** Delegation details. */
|
|
12
|
+
delegation: Natural.DisconnectCustomerSimulationsResponseDataAttributesDelegation;
|
|
13
|
+
/** Connected agents. */
|
|
14
|
+
agents: Natural.DisconnectCustomerSimulationsResponseDataAttributesAgentsItem[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
export interface DisconnectCustomerSimulationsResponseDataAttributesAgentsItem {
|
|
3
|
+
/** Agent ID (agt_*). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Agent name. */
|
|
6
|
+
name: string | null;
|
|
7
|
+
/** The agent's composed public handle (@namespace-slug), or null when it has none. */
|
|
8
|
+
handle: string | null;
|
|
9
|
+
/** Connection status. */
|
|
10
|
+
status: string;
|
|
11
|
+
/** Permissions this agent holds. */
|
|
12
|
+
permissions: string[];
|
|
13
|
+
/** Spending limits in cents (per-transaction, daily, monthly) for this agent. */
|
|
14
|
+
limits: Natural.DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits {
|
|
2
|
+
/** Per-transaction spending limit in cents, or null for no limit. */
|
|
3
|
+
perTransaction?: number | null;
|
|
4
|
+
/** Daily spending limit in cents, or null for no limit. */
|
|
5
|
+
perDay?: number | null;
|
|
6
|
+
/** Monthly spending limit in cents, or null for no limit. */
|
|
7
|
+
perMonth?: number | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Delegation details.
|
|
4
|
+
*/
|
|
5
|
+
export interface DisconnectCustomerSimulationsResponseDataAttributesDelegation {
|
|
6
|
+
/** Delegation ID (dlg_*). */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Delegation status. */
|
|
9
|
+
status: Natural.DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus;
|
|
10
|
+
/** Granted permissions. */
|
|
11
|
+
permissions: string[];
|
|
12
|
+
/** When the customer was connected. */
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
/** When access was revoked, or null if not revoked. */
|
|
15
|
+
revokedAt: Date | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Delegation status. */
|
|
2
|
+
export declare const DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus: {
|
|
3
|
+
readonly Active: "ACTIVE";
|
|
4
|
+
readonly Suspended: "SUSPENDED";
|
|
5
|
+
readonly Revoked: "REVOKED";
|
|
6
|
+
readonly Expired: "EXPIRED";
|
|
7
|
+
};
|
|
8
|
+
export type DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus = (typeof DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus)[keyof typeof DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus = void 0;
|
|
5
|
+
/** Delegation status. */
|
|
6
|
+
exports.DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus = {
|
|
7
|
+
Active: "ACTIVE",
|
|
8
|
+
Suspended: "SUSPENDED",
|
|
9
|
+
Revoked: "REVOKED",
|
|
10
|
+
Expired: "EXPIRED",
|
|
11
|
+
};
|
package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const DisconnectCustomerSimulationsResponseDataType: {
|
|
2
|
+
readonly Customer: "customer";
|
|
3
|
+
};
|
|
4
|
+
export type DisconnectCustomerSimulationsResponseDataType = (typeof DisconnectCustomerSimulationsResponseDataType)[keyof typeof DisconnectCustomerSimulationsResponseDataType];
|
package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DisconnectCustomerSimulationsResponseDataType = void 0;
|
|
5
|
+
exports.DisconnectCustomerSimulationsResponseDataType = {
|
|
6
|
+
Customer: "customer",
|
|
7
|
+
};
|
|
@@ -76,6 +76,15 @@ export * from "./DeclinePaymentRequestSimulationsResponseDataRelationshipsWallet
|
|
|
76
76
|
export * from "./DeclinePaymentRequestSimulationsResponseDataRelationshipsWalletData.js";
|
|
77
77
|
export * from "./DeclinePaymentRequestSimulationsResponseDataRelationshipsWalletDataType.js";
|
|
78
78
|
export * from "./DeclinePaymentRequestSimulationsResponseDataType.js";
|
|
79
|
+
export * from "./DisconnectCustomerSimulationsResponse.js";
|
|
80
|
+
export * from "./DisconnectCustomerSimulationsResponseData.js";
|
|
81
|
+
export * from "./DisconnectCustomerSimulationsResponseDataAttributes.js";
|
|
82
|
+
export * from "./DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.js";
|
|
83
|
+
export * from "./DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.js";
|
|
84
|
+
export * from "./DisconnectCustomerSimulationsResponseDataAttributesDelegation.js";
|
|
85
|
+
export * from "./DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.js";
|
|
86
|
+
export * from "./DisconnectCustomerSimulationsResponseDataType.js";
|
|
87
|
+
export * from "./DisconnectCustomerSimulationsResponseMeta.js";
|
|
79
88
|
export * from "./FulfillPaymentRequestSimulationsResponse.js";
|
|
80
89
|
export * from "./FulfillPaymentRequestSimulationsResponseData.js";
|
|
81
90
|
export * from "./FulfillPaymentRequestSimulationsResponseDataAttributes.js";
|
|
@@ -92,6 +92,15 @@ __exportStar(require("./DeclinePaymentRequestSimulationsResponseDataRelationship
|
|
|
92
92
|
__exportStar(require("./DeclinePaymentRequestSimulationsResponseDataRelationshipsWalletData.js"), exports);
|
|
93
93
|
__exportStar(require("./DeclinePaymentRequestSimulationsResponseDataRelationshipsWalletDataType.js"), exports);
|
|
94
94
|
__exportStar(require("./DeclinePaymentRequestSimulationsResponseDataType.js"), exports);
|
|
95
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponse.js"), exports);
|
|
96
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseData.js"), exports);
|
|
97
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseDataAttributes.js"), exports);
|
|
98
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.js"), exports);
|
|
99
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.js"), exports);
|
|
100
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseDataAttributesDelegation.js"), exports);
|
|
101
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.js"), exports);
|
|
102
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseDataType.js"), exports);
|
|
103
|
+
__exportStar(require("./DisconnectCustomerSimulationsResponseMeta.js"), exports);
|
|
95
104
|
__exportStar(require("./FulfillPaymentRequestSimulationsResponse.js"), exports);
|
|
96
105
|
__exportStar(require("./FulfillPaymentRequestSimulationsResponseData.js"), exports);
|
|
97
106
|
__exportStar(require("./FulfillPaymentRequestSimulationsResponseDataAttributes.js"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related card payment, when accessible.
|
|
4
|
+
*/
|
|
5
|
+
export interface GetTransactionsResponseDataRelationshipsCardPayment {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.GetTransactionsResponseDataRelationshipsCardPaymentData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related resource identifier.
|
|
4
|
+
*/
|
|
5
|
+
export interface GetTransactionsResponseDataRelationshipsCardPaymentData {
|
|
6
|
+
type: Natural.GetTransactionsResponseDataRelationshipsCardPaymentDataType;
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const GetTransactionsResponseDataRelationshipsCardPaymentDataType: {
|
|
2
|
+
readonly CardPayment: "cardPayment";
|
|
3
|
+
};
|
|
4
|
+
export type GetTransactionsResponseDataRelationshipsCardPaymentDataType = (typeof GetTransactionsResponseDataRelationshipsCardPaymentDataType)[keyof typeof GetTransactionsResponseDataRelationshipsCardPaymentDataType];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetTransactionsResponseDataRelationshipsCardPaymentDataType = void 0;
|
|
5
|
+
exports.GetTransactionsResponseDataRelationshipsCardPaymentDataType = {
|
|
6
|
+
CardPayment: "cardPayment",
|
|
7
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related card payment, when accessible.
|
|
4
|
+
*/
|
|
5
|
+
export interface ListTransactionsResponseDataItemRelationshipsCardPayment {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.ListTransactionsResponseDataItemRelationshipsCardPaymentData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related resource identifier.
|
|
4
|
+
*/
|
|
5
|
+
export interface ListTransactionsResponseDataItemRelationshipsCardPaymentData {
|
|
6
|
+
type: Natural.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType;
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const ListTransactionsResponseDataItemRelationshipsCardPaymentDataType: {
|
|
2
|
+
readonly CardPayment: "cardPayment";
|
|
3
|
+
};
|
|
4
|
+
export type ListTransactionsResponseDataItemRelationshipsCardPaymentDataType = (typeof ListTransactionsResponseDataItemRelationshipsCardPaymentDataType)[keyof typeof ListTransactionsResponseDataItemRelationshipsCardPaymentDataType];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType = void 0;
|
|
5
|
+
exports.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType = {
|
|
6
|
+
CardPayment: "cardPayment",
|
|
7
|
+
};
|
|
@@ -6,6 +6,8 @@ export interface TxnDetailRels {
|
|
|
6
6
|
destinationParty: Natural.TxnDetailDestRel;
|
|
7
7
|
/** Related payment, when accessible. */
|
|
8
8
|
payment?: Natural.TxnDetailPaymentRel;
|
|
9
|
+
/** Related card payment, when accessible. */
|
|
10
|
+
cardPayment?: Natural.GetTransactionsResponseDataRelationshipsCardPayment;
|
|
9
11
|
/** Related transfer, when accessible. */
|
|
10
12
|
transfer?: Natural.TxnDetailTransferRel;
|
|
11
13
|
/** Wallet through which this transaction is visible. */
|
|
@@ -6,6 +6,8 @@ export interface TxnRels {
|
|
|
6
6
|
destinationParty: Natural.TxnDestRel;
|
|
7
7
|
/** Related payment, when accessible. */
|
|
8
8
|
payment?: Natural.TxnPaymentRel;
|
|
9
|
+
/** Related card payment, when accessible. */
|
|
10
|
+
cardPayment?: Natural.ListTransactionsResponseDataItemRelationshipsCardPayment;
|
|
9
11
|
/** Related transfer, when accessible. */
|
|
10
12
|
transfer?: Natural.TxnTransferRel;
|
|
11
13
|
/** Wallet through which this transaction is visible. */
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./GetTransactionsResponseDataRelationshipsCardPayment.js";
|
|
2
|
+
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.js";
|
|
3
|
+
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js";
|
|
1
4
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.js";
|
|
2
5
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js";
|
|
3
6
|
export * from "./GetTransactionsResponseDataRelationshipsSourcePartyData.js";
|
|
@@ -7,6 +10,9 @@ export * from "./GetTransactionsResponseDataRelationshipsWalletData.js";
|
|
|
7
10
|
export * from "./GetTransactionsResponseDataRelationshipsWalletDataType.js";
|
|
8
11
|
export * from "./ListTransactionsRequestType.js";
|
|
9
12
|
export * from "./ListTransactionsResponseDataItem.js";
|
|
13
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsCardPayment.js";
|
|
14
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js";
|
|
15
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js";
|
|
10
16
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js";
|
|
11
17
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js";
|
|
12
18
|
export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyData.js";
|
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPayment.js"), exports);
|
|
18
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentData.js"), exports);
|
|
19
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js"), exports);
|
|
17
20
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyData.js"), exports);
|
|
18
21
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js"), exports);
|
|
19
22
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsSourcePartyData.js"), exports);
|
|
@@ -23,6 +26,9 @@ __exportStar(require("./GetTransactionsResponseDataRelationshipsWalletData.js"),
|
|
|
23
26
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsWalletDataType.js"), exports);
|
|
24
27
|
__exportStar(require("./ListTransactionsRequestType.js"), exports);
|
|
25
28
|
__exportStar(require("./ListTransactionsResponseDataItem.js"), exports);
|
|
29
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPayment.js"), exports);
|
|
30
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js"), exports);
|
|
31
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js"), exports);
|
|
26
32
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js"), exports);
|
|
27
33
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js"), exports);
|
|
28
34
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsSourcePartyData.js"), exports);
|
|
@@ -65,6 +65,7 @@ export declare class WebhooksClient {
|
|
|
65
65
|
* url: "https://example.com/webhooks/natural",
|
|
66
66
|
* description: "Production webhook for wallet and party events",
|
|
67
67
|
* enabledEvents: ["wallet.created", "party.updated", "delegation.activated"],
|
|
68
|
+
* sources: ["own", "connected"],
|
|
68
69
|
* tags: {
|
|
69
70
|
* "env": "prod",
|
|
70
71
|
* "team": "payments"
|
|
@@ -158,6 +159,7 @@ export declare class WebhooksClient {
|
|
|
158
159
|
* description: "Production webhook for wallet, party, and delegation events",
|
|
159
160
|
* status: "DISABLED",
|
|
160
161
|
* enabledEvents: ["wallet.created", "party.updated"],
|
|
162
|
+
* sources: ["own", "connected"],
|
|
161
163
|
* tags: {
|
|
162
164
|
* "env": "staging",
|
|
163
165
|
* "team": null
|
|
@@ -218,6 +218,7 @@ class WebhooksClient {
|
|
|
218
218
|
* url: "https://example.com/webhooks/natural",
|
|
219
219
|
* description: "Production webhook for wallet and party events",
|
|
220
220
|
* enabledEvents: ["wallet.created", "party.updated", "delegation.activated"],
|
|
221
|
+
* sources: ["own", "connected"],
|
|
221
222
|
* tags: {
|
|
222
223
|
* "env": "prod",
|
|
223
224
|
* "team": "payments"
|
|
@@ -524,6 +525,7 @@ class WebhooksClient {
|
|
|
524
525
|
* description: "Production webhook for wallet, party, and delegation events",
|
|
525
526
|
* status: "DISABLED",
|
|
526
527
|
* enabledEvents: ["wallet.created", "party.updated"],
|
|
528
|
+
* sources: ["own", "connected"],
|
|
527
529
|
* tags: {
|
|
528
530
|
* "env": "staging",
|
|
529
531
|
* "team": null
|
|
@@ -6,6 +6,7 @@ import type * as Natural from "../../../../index.js";
|
|
|
6
6
|
* url: "https://example.com/webhooks/natural",
|
|
7
7
|
* description: "Production webhook for wallet and party events",
|
|
8
8
|
* enabledEvents: ["wallet.created", "party.updated", "delegation.activated"],
|
|
9
|
+
* sources: ["own", "connected"],
|
|
9
10
|
* tags: {
|
|
10
11
|
* "env": "prod",
|
|
11
12
|
* "team": "payments"
|
|
@@ -21,6 +22,8 @@ export interface NewWebhookParams {
|
|
|
21
22
|
description?: string;
|
|
22
23
|
/** Event types to subscribe to; use "*" to subscribe to all event types. */
|
|
23
24
|
enabledEvents: Natural.CreateWebhooksRequestEnabledEventsItem[];
|
|
25
|
+
/** Event sources to receive: "own" for your own party's events, "connected" for events of parties connected to you through an active authorization. Defaults to ["own"]. */
|
|
26
|
+
sources?: Natural.CreateWebhooksRequestSourcesItem[];
|
|
24
27
|
/** Tags applied to this webhook. */
|
|
25
28
|
tags?: Record<string, string>;
|
|
26
29
|
}
|
|
@@ -7,6 +7,7 @@ import type * as Natural from "../../../../index.js";
|
|
|
7
7
|
* description: "Production webhook for wallet, party, and delegation events",
|
|
8
8
|
* status: "DISABLED",
|
|
9
9
|
* enabledEvents: ["wallet.created", "party.updated"],
|
|
10
|
+
* sources: ["own", "connected"],
|
|
10
11
|
* tags: {
|
|
11
12
|
* "env": "staging",
|
|
12
13
|
* "team": null
|
|
@@ -25,6 +26,8 @@ export interface UpdWebhookParams {
|
|
|
25
26
|
status?: Natural.UpdateWebhooksRequestStatus;
|
|
26
27
|
/** Event types to subscribe to; use "*" to subscribe to all event types. */
|
|
27
28
|
enabledEvents?: Natural.UpdateWebhooksRequestEnabledEventsItem[];
|
|
29
|
+
/** Event sources to receive: "own" for your own party's events, "connected" for events of parties connected to you through an active authorization. */
|
|
30
|
+
sources?: Natural.UpdateWebhooksRequestSourcesItem[];
|
|
28
31
|
/** Tag updates. Pass null to remove a key. */
|
|
29
32
|
tags?: Record<string, string | null>;
|
|
30
33
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateWebhooksRequestSourcesItem = void 0;
|
|
5
|
+
exports.CreateWebhooksRequestSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.ts
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];
|
package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateWebhooksResponseDataAttributesSourcesItem = void 0;
|
|
5
|
+
exports.CreateWebhooksResponseDataAttributesSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
|
@@ -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/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.ts
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,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetWebhooksResponseDataAttributesSourcesItem = void 0;
|
|
5
|
+
exports.GetWebhooksResponseDataAttributesSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.ts
ADDED
|
@@ -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];
|
package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListWebhooksResponseDataItemAttributesSourcesItem = void 0;
|
|
5
|
+
exports.ListWebhooksResponseDataItemAttributesSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
|
@@ -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/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.ts
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];
|
package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RemoveWebhooksResponseDataAttributesSourcesItem = void 0;
|
|
5
|
+
exports.RemoveWebhooksResponseDataAttributesSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
|
@@ -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. */
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.UpdateWebhooksRequestSourcesItem = void 0;
|
|
5
|
+
exports.UpdateWebhooksRequestSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.ts
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];
|
package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.UpdateWebhooksResponseDataAttributesSourcesItem = void 0;
|
|
5
|
+
exports.UpdateWebhooksResponseDataAttributesSourcesItem = {
|
|
6
|
+
Own: "own",
|
|
7
|
+
Connected: "connected",
|
|
8
|
+
};
|
|
@@ -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.js";
|
|
2
|
+
export * from "./CreateWebhooksRequestSourcesItem.js";
|
|
2
3
|
export * from "./CreateWebhooksResponseDataAttributesEnabledEventsItem.js";
|
|
4
|
+
export * from "./CreateWebhooksResponseDataAttributesSourcesItem.js";
|
|
3
5
|
export * from "./DelWebhook.js";
|
|
4
6
|
export * from "./DelWebhookAttrs.js";
|
|
5
7
|
export * from "./DelWebhookData.js";
|
|
@@ -11,8 +13,10 @@ export * from "./DelWebhookPartyRel.js";
|
|
|
11
13
|
export * from "./DelWebhookRels.js";
|
|
12
14
|
export * from "./DelWebhookStatus.js";
|
|
13
15
|
export * from "./GetWebhooksResponseDataAttributesEnabledEventsItem.js";
|
|
16
|
+
export * from "./GetWebhooksResponseDataAttributesSourcesItem.js";
|
|
14
17
|
export * from "./ListWebhooksRequestStatus.js";
|
|
15
18
|
export * from "./ListWebhooksResponseDataItem.js";
|
|
19
|
+
export * from "./ListWebhooksResponseDataItemAttributesSourcesItem.js";
|
|
16
20
|
export * from "./NewWebhook.js";
|
|
17
21
|
export * from "./NewWebhookAttrs.js";
|
|
18
22
|
export * from "./NewWebhookData.js";
|
|
@@ -23,6 +27,7 @@ export * from "./NewWebhookPartyRel.js";
|
|
|
23
27
|
export * from "./NewWebhookRels.js";
|
|
24
28
|
export * from "./NewWebhookStatus.js";
|
|
25
29
|
export * from "./RemoveWebhooksResponseDataAttributesEnabledEventsItem.js";
|
|
30
|
+
export * from "./RemoveWebhooksResponseDataAttributesSourcesItem.js";
|
|
26
31
|
export * from "./RotatedWebhook.js";
|
|
27
32
|
export * from "./RotatedWebhookAttrs.js";
|
|
28
33
|
export * from "./RotatedWebhookData.js";
|
|
@@ -32,8 +37,10 @@ export * from "./RotatedWebhookPartyRefKind.js";
|
|
|
32
37
|
export * from "./RotatedWebhookPartyRel.js";
|
|
33
38
|
export * from "./RotatedWebhookRels.js";
|
|
34
39
|
export * from "./UpdateWebhooksRequestEnabledEventsItem.js";
|
|
40
|
+
export * from "./UpdateWebhooksRequestSourcesItem.js";
|
|
35
41
|
export * from "./UpdateWebhooksRequestStatus.js";
|
|
36
42
|
export * from "./UpdateWebhooksResponseDataAttributesEnabledEventsItem.js";
|
|
43
|
+
export * from "./UpdateWebhooksResponseDataAttributesSourcesItem.js";
|
|
37
44
|
export * from "./UpdWebhook.js";
|
|
38
45
|
export * from "./UpdWebhookAttrs.js";
|
|
39
46
|
export * from "./UpdWebhookData.js";
|