@naturalpay/sdk 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +4 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.ts +1 -0
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.js +1 -0
- package/dist/cjs/api/resources/customers/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/customers/client/Client.js +3 -3
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/events/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/events/client/Client.js +101 -0
- package/dist/cjs/api/resources/events/client/requests/RedeliverEventsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/events/client/requests/RedeliverEventsRequest.js +3 -0
- package/dist/cjs/api/resources/events/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponse.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseData.d.ts +11 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseData.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataAttributes.d.ts +28 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.d.ts +8 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.js +11 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataAttributesStatus.d.ts +10 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataAttributesStatus.js +13 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationships.d.ts +10 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationships.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.d.ts +8 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.d.ts +8 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.d.ts +4 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.js +7 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.d.ts +8 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.d.ts +8 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.js +3 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.d.ts +4 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.js +7 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataType.d.ts +5 -0
- package/dist/cjs/api/resources/events/types/RedeliverEventsResponseDataType.js +8 -0
- package/dist/cjs/api/resources/events/types/index.d.ts +13 -0
- package/dist/cjs/api/resources/events/types/index.js +13 -0
- package/dist/cjs/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/DelExtAcctAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/externalAccounts/types/ExtAcctAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/externalAccounts/types/index.js +4 -0
- package/dist/cjs/api/resources/invitationLinks/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/invitationLinks/client/Client.js +4 -4
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +4 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.ts +2 -2
- package/dist/cjs/api/resources/simulations/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/simulations/client/Client.js +9 -9
- package/dist/cjs/api/resources/simulations/client/requests/AcceptCustomerInvitationSimulationsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/client/requests/DeclineCustomerInvitationSimulationsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.ts +4 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestType.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestType.js +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseMetaCustomer.d.ts +3 -3
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseMetaCustomerPartyType.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseMetaCustomerPartyType.js +1 -1
- package/dist/cjs/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.d.ts +5 -0
- package/dist/cjs/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.js +8 -0
- package/dist/cjs/api/resources/simulations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/index.js +1 -0
- package/dist/cjs/api/resources/transfers/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/transfers/client/Client.js +1 -0
- package/dist/cjs/api/resources/transfers/client/requests/NewWithdrawalParams.d.ts +3 -0
- package/dist/cjs/api/resources/transfers/types/DepositAttrs.d.ts +4 -0
- package/dist/cjs/api/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.ts +4 -0
- package/dist/cjs/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.ts +6 -0
- package/dist/cjs/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.js +9 -0
- package/dist/cjs/api/resources/transfers/types/TransferAttrs.d.ts +4 -0
- package/dist/cjs/api/resources/transfers/types/TransferDetailAttrs.d.ts +4 -0
- package/dist/cjs/api/resources/transfers/types/WithdrawalAttrs.d.ts +4 -0
- package/dist/cjs/api/resources/transfers/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/transfers/types/index.js +1 -0
- package/dist/cjs/api/resources/wallets/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/wallets/client/Client.js +1 -1
- package/dist/cjs/api/resources/wallets/types/CreateWalletsResponseDataAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/resources/wallets/types/FreezeWalletsResponseDataAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/resources/wallets/types/GetWalletsResponseDataAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/resources/wallets/types/ListWalletsResponseDataItemAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/resources/wallets/types/UpdateWalletsResponseDataAttributesDepositInstructions.d.ts +4 -0
- package/dist/cjs/api/types/ComplianceSessionStatusResponseDataAttributesStatus.d.ts +2 -0
- package/dist/cjs/api/types/ComplianceSessionStatusResponseDataAttributesStatus.js +2 -0
- package/dist/cjs/api/types/PartyComplianceStatusResponseDataAttributesCaseStatus.d.ts +2 -0
- package/dist/cjs/api/types/PartyComplianceStatusResponseDataAttributesCaseStatus.js +2 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +4 -0
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.js +1 -1
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.js +1 -1
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.js +1 -1
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.ts +1 -1
- package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.js +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponse.js +42 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseData.d.ts +15 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseData.js +47 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataAttributes.d.ts +21 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataAttributes.js +53 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.d.ts +7 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.js +39 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataAttributesStatus.js +39 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationships.d.ts +12 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationships.js +44 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.d.ts +10 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.js +42 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.d.ts +11 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.js +43 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.js +39 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.d.ts +10 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.js +42 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.d.ts +11 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.js +43 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.js +39 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/events/types/RedeliverEventsResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/events/types/index.d.ts +13 -0
- package/dist/cjs/serialization/resources/events/types/index.js +13 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.js +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/DelExtAcctAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/DelExtAcctAttrs.js +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ExtAcctAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ExtAcctAttrs.js +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/index.js +4 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +4 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.ts +1 -1
- package/dist/cjs/serialization/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.js +1 -1
- package/dist/cjs/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.js +2 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.js +39 -0
- package/dist/cjs/serialization/resources/simulations/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/index.js +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/NewWithdrawalParams.d.ts +2 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/NewWithdrawalParams.js +2 -0
- package/dist/cjs/serialization/resources/transfers/types/DepositAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/transfers/types/DepositAttrs.js +2 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.js +2 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.ts +7 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.js +39 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferAttrs.js +2 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferDetailAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferDetailAttrs.js +2 -0
- package/dist/cjs/serialization/resources/transfers/types/WithdrawalAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/transfers/types/WithdrawalAttrs.js +2 -0
- package/dist/cjs/serialization/resources/transfers/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/types/index.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/CreateWalletsResponseDataAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/CreateWalletsResponseDataAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/GetWalletsResponseDataAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/GetWalletsResponseDataAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/ListWalletsResponseDataItemAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/ListWalletsResponseDataItemAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributesDepositInstructions.d.ts +2 -0
- package/dist/cjs/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributesDepositInstructions.js +2 -0
- package/dist/cjs/serialization/types/ComplianceSessionStatusResponseDataAttributesStatus.d.ts +1 -1
- package/dist/cjs/serialization/types/ComplianceSessionStatusResponseDataAttributesStatus.js +2 -0
- package/dist/cjs/serialization/types/PartyComplianceStatusResponseDataAttributesCaseStatus.d.ts +1 -1
- package/dist/cjs/serialization/types/PartyComplianceStatusResponseDataAttributesCaseStatus.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +4 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.mts +1 -0
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.mjs +1 -0
- package/dist/esm/api/resources/customers/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/customers/client/Client.mjs +3 -3
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/events/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/events/client/Client.mjs +101 -0
- package/dist/esm/api/resources/events/client/requests/RedeliverEventsRequest.d.mts +14 -0
- package/dist/esm/api/resources/events/client/requests/RedeliverEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/events/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseData.d.mts +11 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseData.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributes.d.mts +28 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.d.mts +8 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.mjs +8 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributesStatus.d.mts +10 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributesStatus.mjs +10 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationships.d.mts +10 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationships.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.d.mts +8 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.d.mts +8 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.d.mts +4 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.mjs +4 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.d.mts +8 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.d.mts +8 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.mjs +2 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.d.mts +4 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.mjs +4 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataType.d.mts +5 -0
- package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataType.mjs +5 -0
- package/dist/esm/api/resources/events/types/index.d.mts +13 -0
- package/dist/esm/api/resources/events/types/index.mjs +13 -0
- package/dist/esm/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs +5 -0
- package/dist/esm/api/resources/externalAccounts/types/DelExtAcctAttrs.d.mts +2 -0
- package/dist/esm/api/resources/externalAccounts/types/ExtAcctAttrs.d.mts +2 -0
- package/dist/esm/api/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs +5 -0
- package/dist/esm/api/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs +5 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs +5 -0
- package/dist/esm/api/resources/externalAccounts/types/index.d.mts +4 -0
- package/dist/esm/api/resources/externalAccounts/types/index.mjs +4 -0
- package/dist/esm/api/resources/invitationLinks/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/invitationLinks/client/Client.mjs +4 -4
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +4 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.mts +2 -2
- package/dist/esm/api/resources/simulations/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/simulations/client/Client.mjs +9 -9
- package/dist/esm/api/resources/simulations/client/requests/AcceptCustomerInvitationSimulationsRequest.d.mts +1 -1
- package/dist/esm/api/resources/simulations/client/requests/DeclineCustomerInvitationSimulationsRequest.d.mts +1 -1
- package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -2
- package/dist/esm/api/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.mts +4 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestType.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestType.mjs +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponse.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseMetaCustomer.d.mts +3 -3
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseMetaCustomerPartyType.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseMetaCustomerPartyType.mjs +1 -1
- package/dist/esm/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.d.mts +5 -0
- package/dist/esm/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.mjs +5 -0
- package/dist/esm/api/resources/simulations/types/index.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/index.mjs +1 -0
- package/dist/esm/api/resources/transfers/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/transfers/client/Client.mjs +1 -0
- package/dist/esm/api/resources/transfers/client/requests/NewWithdrawalParams.d.mts +3 -0
- package/dist/esm/api/resources/transfers/types/DepositAttrs.d.mts +4 -0
- package/dist/esm/api/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.mts +4 -0
- package/dist/esm/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.mts +6 -0
- package/dist/esm/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.mjs +6 -0
- package/dist/esm/api/resources/transfers/types/TransferAttrs.d.mts +4 -0
- package/dist/esm/api/resources/transfers/types/TransferDetailAttrs.d.mts +4 -0
- package/dist/esm/api/resources/transfers/types/WithdrawalAttrs.d.mts +4 -0
- package/dist/esm/api/resources/transfers/types/index.d.mts +1 -0
- package/dist/esm/api/resources/transfers/types/index.mjs +1 -0
- package/dist/esm/api/resources/wallets/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/wallets/client/Client.mjs +1 -1
- package/dist/esm/api/resources/wallets/types/CreateWalletsResponseDataAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/resources/wallets/types/FreezeWalletsResponseDataAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/resources/wallets/types/GetWalletsResponseDataAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/resources/wallets/types/ListWalletsResponseDataItemAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/resources/wallets/types/UpdateWalletsResponseDataAttributesDepositInstructions.d.mts +4 -0
- package/dist/esm/api/types/ComplianceSessionStatusResponseDataAttributesStatus.d.mts +2 -0
- package/dist/esm/api/types/ComplianceSessionStatusResponseDataAttributesStatus.mjs +2 -0
- package/dist/esm/api/types/PartyComplianceStatusResponseDataAttributesCaseStatus.d.mts +2 -0
- package/dist/esm/api/types/PartyComplianceStatusResponseDataAttributesCaseStatus.mjs +2 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +4 -0
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.mjs +1 -1
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.mjs +1 -1
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.mjs +1 -1
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.mts +1 -1
- package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.mjs +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponse.d.mts +10 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponse.mjs +6 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseData.d.mts +15 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseData.mjs +11 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataAttributes.d.mts +21 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataAttributes.mjs +17 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.d.mts +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.mjs +3 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationships.d.mts +12 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationships.mjs +8 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.d.mts +10 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.mjs +6 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.d.mts +11 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventData.mjs +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsEventDataType.mjs +3 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.d.mts +10 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.mjs +6 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.d.mts +11 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookData.mjs +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhookDataType.mjs +3 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/events/types/RedeliverEventsResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/events/types/index.d.mts +13 -0
- package/dist/esm/serialization/resources/events/types/index.mjs +13 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/DelExtAcctAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/DelExtAcctAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ExtAcctAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ExtAcctAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/index.d.mts +4 -0
- package/dist/esm/serialization/resources/externalAccounts/types/index.mjs +4 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +4 -0
- package/dist/esm/serialization/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.mts +1 -1
- package/dist/esm/serialization/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.mjs +1 -1
- package/dist/esm/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributesAvailableMethodsItem.mjs +3 -0
- package/dist/esm/serialization/resources/simulations/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/NewWithdrawalParams.d.mts +2 -0
- package/dist/esm/serialization/resources/transfers/client/requests/NewWithdrawalParams.mjs +2 -0
- package/dist/esm/serialization/resources/transfers/types/DepositAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/transfers/types/DepositAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.mts +2 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.mjs +2 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.mts +7 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.mjs +3 -0
- package/dist/esm/serialization/resources/transfers/types/TransferAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/transfers/types/TransferAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/transfers/types/TransferDetailAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/transfers/types/TransferDetailAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/transfers/types/WithdrawalAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/transfers/types/WithdrawalAttrs.mjs +2 -0
- package/dist/esm/serialization/resources/transfers/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/CreateWalletsResponseDataAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/CreateWalletsResponseDataAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/GetWalletsResponseDataAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/GetWalletsResponseDataAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/ListWalletsResponseDataItemAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/ListWalletsResponseDataItemAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributesDepositInstructions.d.mts +2 -0
- package/dist/esm/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributesDepositInstructions.mjs +2 -0
- package/dist/esm/serialization/types/ComplianceSessionStatusResponseDataAttributesStatus.d.mts +1 -1
- package/dist/esm/serialization/types/ComplianceSessionStatusResponseDataAttributesStatus.mjs +2 -0
- package/dist/esm/serialization/types/PartyComplianceStatusResponseDataAttributesCaseStatus.d.mts +1 -1
- package/dist/esm/serialization/types/PartyComplianceStatusResponseDataAttributesCaseStatus.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +85 -17
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsItem: {
|
|
2
2
|
readonly PaymentsRead: "payments.read";
|
|
3
3
|
readonly PaymentsCreate: "payments.create";
|
|
4
|
+
readonly ExternalPartiesRead: "external_parties.read";
|
|
5
|
+
readonly ExternalPartiesCreate: "external_parties.create";
|
|
6
|
+
readonly DirectPaymentsRead: "direct_payments.read";
|
|
7
|
+
readonly DirectPaymentsCreate: "direct_payments.create";
|
|
4
8
|
readonly ExternalAccountsCreate: "external_accounts.create";
|
|
5
9
|
readonly WalletsRead: "wallets.read";
|
|
6
10
|
readonly WalletsUpdate: "wallets.update";
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
export const CreateInvitationsCustomersRequestAgentsItemPermissionsItem = {
|
|
3
3
|
PaymentsRead: "payments.read",
|
|
4
4
|
PaymentsCreate: "payments.create",
|
|
5
|
+
ExternalPartiesRead: "external_parties.read",
|
|
6
|
+
ExternalPartiesCreate: "external_parties.create",
|
|
7
|
+
DirectPaymentsRead: "direct_payments.read",
|
|
8
|
+
DirectPaymentsCreate: "direct_payments.create",
|
|
5
9
|
ExternalAccountsCreate: "external_accounts.create",
|
|
6
10
|
WalletsRead: "wallets.read",
|
|
7
11
|
WalletsUpdate: "wallets.update",
|
|
@@ -67,4 +67,34 @@ export declare class EventsClient {
|
|
|
67
67
|
*/
|
|
68
68
|
get(request: Natural.GetEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<Natural.GetEventsResponse>;
|
|
69
69
|
private __get;
|
|
70
|
+
/**
|
|
71
|
+
* Send the stored event once to the same webhook using its current URL and signing secret. Automatic retries continue independently, and delegated events require the original delegation to remain active.
|
|
72
|
+
*
|
|
73
|
+
* @param {Natural.RedeliverEventsRequest} request
|
|
74
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link Natural.BadRequestError}
|
|
77
|
+
* @throws {@link Natural.UnauthorizedError}
|
|
78
|
+
* @throws {@link Natural.ForbiddenError}
|
|
79
|
+
* @throws {@link Natural.NotFoundError}
|
|
80
|
+
* @throws {@link Natural.ConflictError}
|
|
81
|
+
* @throws {@link Natural.UnprocessableEntityError}
|
|
82
|
+
* @throws {@link Natural.PreconditionError}
|
|
83
|
+
* @throws {@link Natural.TooManyRequestsError}
|
|
84
|
+
* @throws {@link Natural.InternalServerError}
|
|
85
|
+
* @throws {@link Natural.NotImplementedError}
|
|
86
|
+
* @throws {@link Natural.BadGatewayError}
|
|
87
|
+
* @throws {@link Natural.ServiceUnavailableError}
|
|
88
|
+
* @throws {@link errors.NaturalError}
|
|
89
|
+
* @throws {@link errors.NaturalTimeoutError}
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* await client.events.redeliver({
|
|
93
|
+
* idempotencyKey: "Idempotency-Key",
|
|
94
|
+
* webhookId: "webhookId",
|
|
95
|
+
* eventId: "eventId"
|
|
96
|
+
* })
|
|
97
|
+
*/
|
|
98
|
+
redeliver(request: Natural.RedeliverEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<Natural.RedeliverEventsResponse>;
|
|
99
|
+
private __redeliver;
|
|
70
100
|
}
|
|
@@ -241,4 +241,105 @@ export class EventsClient {
|
|
|
241
241
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/events/{eventId}");
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Send the stored event once to the same webhook using its current URL and signing secret. Automatic retries continue independently, and delegated events require the original delegation to remain active.
|
|
246
|
+
*
|
|
247
|
+
* @param {Natural.RedeliverEventsRequest} request
|
|
248
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
249
|
+
*
|
|
250
|
+
* @throws {@link Natural.BadRequestError}
|
|
251
|
+
* @throws {@link Natural.UnauthorizedError}
|
|
252
|
+
* @throws {@link Natural.ForbiddenError}
|
|
253
|
+
* @throws {@link Natural.NotFoundError}
|
|
254
|
+
* @throws {@link Natural.ConflictError}
|
|
255
|
+
* @throws {@link Natural.UnprocessableEntityError}
|
|
256
|
+
* @throws {@link Natural.PreconditionError}
|
|
257
|
+
* @throws {@link Natural.TooManyRequestsError}
|
|
258
|
+
* @throws {@link Natural.InternalServerError}
|
|
259
|
+
* @throws {@link Natural.NotImplementedError}
|
|
260
|
+
* @throws {@link Natural.BadGatewayError}
|
|
261
|
+
* @throws {@link Natural.ServiceUnavailableError}
|
|
262
|
+
* @throws {@link errors.NaturalError}
|
|
263
|
+
* @throws {@link errors.NaturalTimeoutError}
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* await client.events.redeliver({
|
|
267
|
+
* idempotencyKey: "Idempotency-Key",
|
|
268
|
+
* webhookId: "webhookId",
|
|
269
|
+
* eventId: "eventId"
|
|
270
|
+
* })
|
|
271
|
+
*/
|
|
272
|
+
redeliver(request, requestOptions) {
|
|
273
|
+
return core.HttpResponsePromise.fromPromise(this.__redeliver(request, requestOptions));
|
|
274
|
+
}
|
|
275
|
+
__redeliver(request, requestOptions) {
|
|
276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
277
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
278
|
+
const { webhookId, eventId, idempotencyKey } = request;
|
|
279
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
280
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
281
|
+
"Idempotency-Key": idempotencyKey,
|
|
282
|
+
"X-Agent-ID": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.agentId,
|
|
283
|
+
"X-Instance-ID": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.instanceId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.instanceId,
|
|
284
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
285
|
+
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
286
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.NaturalEnvironment.Production, `webhooks/${core.url.encodePathParam(webhookId)}/events/${core.url.encodePathParam(eventId)}/redeliver`),
|
|
287
|
+
method: "POST",
|
|
288
|
+
headers: _headers,
|
|
289
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
290
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
291
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
292
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
293
|
+
fetchFn: (_p = this._options) === null || _p === void 0 ? void 0 : _p.fetch,
|
|
294
|
+
logging: this._options.logging,
|
|
295
|
+
});
|
|
296
|
+
if (_response.ok) {
|
|
297
|
+
return {
|
|
298
|
+
data: serializers.RedeliverEventsResponse.parseOrThrow(_response.body, {
|
|
299
|
+
unrecognizedObjectKeys: "passthrough",
|
|
300
|
+
allowUnrecognizedUnionMembers: true,
|
|
301
|
+
allowUnrecognizedEnumValues: true,
|
|
302
|
+
skipValidation: true,
|
|
303
|
+
breadcrumbsPrefix: ["response"],
|
|
304
|
+
}),
|
|
305
|
+
rawResponse: _response.rawResponse,
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
if (_response.error.reason === "status-code") {
|
|
309
|
+
switch (_response.error.statusCode) {
|
|
310
|
+
case 400:
|
|
311
|
+
throw new Natural.BadRequestError(_response.error.body, _response.rawResponse);
|
|
312
|
+
case 401:
|
|
313
|
+
throw new Natural.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
314
|
+
case 403:
|
|
315
|
+
throw new Natural.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
316
|
+
case 404:
|
|
317
|
+
throw new Natural.NotFoundError(_response.error.body, _response.rawResponse);
|
|
318
|
+
case 409:
|
|
319
|
+
throw new Natural.ConflictError(_response.error.body, _response.rawResponse);
|
|
320
|
+
case 422:
|
|
321
|
+
throw new Natural.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
322
|
+
case 428:
|
|
323
|
+
throw new Natural.PreconditionError(_response.error.body, _response.rawResponse);
|
|
324
|
+
case 429:
|
|
325
|
+
throw new Natural.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
326
|
+
case 500:
|
|
327
|
+
throw new Natural.InternalServerError(_response.error.body, _response.rawResponse);
|
|
328
|
+
case 501:
|
|
329
|
+
throw new Natural.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
330
|
+
case 502:
|
|
331
|
+
throw new Natural.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
332
|
+
case 503:
|
|
333
|
+
throw new Natural.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
334
|
+
default:
|
|
335
|
+
throw new errors.NaturalError({
|
|
336
|
+
statusCode: _response.error.statusCode,
|
|
337
|
+
body: _response.error.body,
|
|
338
|
+
rawResponse: _response.rawResponse,
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/webhooks/{webhookId}/events/{eventId}/redeliver");
|
|
343
|
+
});
|
|
344
|
+
}
|
|
244
345
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* idempotencyKey: "Idempotency-Key",
|
|
5
|
+
* webhookId: "webhookId",
|
|
6
|
+
* eventId: "eventId"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface RedeliverEventsRequest {
|
|
10
|
+
webhookId: string;
|
|
11
|
+
eventId: string;
|
|
12
|
+
/** Unique key for safely retrying a request without creating duplicates. */
|
|
13
|
+
idempotencyKey: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
export interface RedeliverEventsResponseData {
|
|
3
|
+
/** Resource type */
|
|
4
|
+
type: Natural.RedeliverEventsResponseDataType;
|
|
5
|
+
/** Redelivery ID (rdy_xxx) */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Resource attributes */
|
|
8
|
+
attributes: Natural.RedeliverEventsResponseDataAttributes;
|
|
9
|
+
/** Resource relationships */
|
|
10
|
+
relationships: Natural.RedeliverEventsResponseDataRelationships;
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Resource attributes
|
|
4
|
+
*/
|
|
5
|
+
export interface RedeliverEventsResponseDataAttributes {
|
|
6
|
+
/** Result of this manual redelivery */
|
|
7
|
+
status: Natural.RedeliverEventsResponseDataAttributesStatus;
|
|
8
|
+
/** Number of attempts made for this redelivery */
|
|
9
|
+
attemptCount: number;
|
|
10
|
+
/** Maximum attempts for this redelivery */
|
|
11
|
+
maxAttempts: number;
|
|
12
|
+
/** HTTP response code, or null when no response was received */
|
|
13
|
+
responseCode: number | null;
|
|
14
|
+
/** Sanitized failure category, or null when no failure was recorded */
|
|
15
|
+
errorCategory: Natural.RedeliverEventsResponseDataAttributesErrorCategory | null;
|
|
16
|
+
/** Safe failure summary, or null when no failure was recorded */
|
|
17
|
+
sanitizedError: string | null;
|
|
18
|
+
/** When the redelivery attempt began */
|
|
19
|
+
firstAttemptAt: Date | null;
|
|
20
|
+
/** When the redelivery attempt finished */
|
|
21
|
+
lastAttemptAt: Date | null;
|
|
22
|
+
/** When this redelivery reached a terminal state */
|
|
23
|
+
completedAt: Date | null;
|
|
24
|
+
/** When this redelivery was requested */
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
/** Last redelivery state change */
|
|
27
|
+
updatedAt: Date;
|
|
28
|
+
}
|
package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataAttributesErrorCategory.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const RedeliverEventsResponseDataAttributesErrorCategory: {
|
|
2
|
+
readonly Http: "HTTP";
|
|
3
|
+
readonly Network: "NETWORK";
|
|
4
|
+
readonly Ssrf: "SSRF";
|
|
5
|
+
readonly Configuration: "CONFIGURATION";
|
|
6
|
+
readonly Unknown: "UNKNOWN";
|
|
7
|
+
};
|
|
8
|
+
export type RedeliverEventsResponseDataAttributesErrorCategory = (typeof RedeliverEventsResponseDataAttributesErrorCategory)[keyof typeof RedeliverEventsResponseDataAttributesErrorCategory];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Result of this manual redelivery */
|
|
2
|
+
export declare const RedeliverEventsResponseDataAttributesStatus: {
|
|
3
|
+
readonly Pending: "PENDING";
|
|
4
|
+
readonly Delivering: "DELIVERING";
|
|
5
|
+
readonly Delivered: "DELIVERED";
|
|
6
|
+
readonly Failed: "FAILED";
|
|
7
|
+
readonly Unknown: "UNKNOWN";
|
|
8
|
+
readonly Canceled: "CANCELED";
|
|
9
|
+
};
|
|
10
|
+
export type RedeliverEventsResponseDataAttributesStatus = (typeof RedeliverEventsResponseDataAttributesStatus)[keyof typeof RedeliverEventsResponseDataAttributesStatus];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Result of this manual redelivery */
|
|
3
|
+
export const RedeliverEventsResponseDataAttributesStatus = {
|
|
4
|
+
Pending: "PENDING",
|
|
5
|
+
Delivering: "DELIVERING",
|
|
6
|
+
Delivered: "DELIVERED",
|
|
7
|
+
Failed: "FAILED",
|
|
8
|
+
Unknown: "UNKNOWN",
|
|
9
|
+
Canceled: "CANCELED",
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Resource relationships
|
|
4
|
+
*/
|
|
5
|
+
export interface RedeliverEventsResponseDataRelationships {
|
|
6
|
+
/** Parent webhook endpoint */
|
|
7
|
+
webhook: Natural.RedeliverEventsResponseDataRelationshipsWebhook;
|
|
8
|
+
/** Event being redelivered */
|
|
9
|
+
event: Natural.RedeliverEventsResponseDataRelationshipsEvent;
|
|
10
|
+
}
|
package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsEvent.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Event being redelivered
|
|
4
|
+
*/
|
|
5
|
+
export interface RedeliverEventsResponseDataRelationshipsEvent {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.RedeliverEventsResponseDataRelationshipsEventData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const RedeliverEventsResponseDataRelationshipsEventDataType: {
|
|
2
|
+
readonly Event: "event";
|
|
3
|
+
};
|
|
4
|
+
export type RedeliverEventsResponseDataRelationshipsEventDataType = (typeof RedeliverEventsResponseDataRelationshipsEventDataType)[keyof typeof RedeliverEventsResponseDataRelationshipsEventDataType];
|
package/dist/esm/api/resources/events/types/RedeliverEventsResponseDataRelationshipsWebhook.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Parent webhook endpoint
|
|
4
|
+
*/
|
|
5
|
+
export interface RedeliverEventsResponseDataRelationshipsWebhook {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.RedeliverEventsResponseDataRelationshipsWebhookData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const RedeliverEventsResponseDataRelationshipsWebhookDataType: {
|
|
2
|
+
readonly Webhook: "webhook";
|
|
3
|
+
};
|
|
4
|
+
export type RedeliverEventsResponseDataRelationshipsWebhookDataType = (typeof RedeliverEventsResponseDataRelationshipsWebhookDataType)[keyof typeof RedeliverEventsResponseDataRelationshipsWebhookDataType];
|
|
@@ -21,3 +21,16 @@ export * from "./ListEventsResponseDataItemRelationshipsPartyDataType.mjs";
|
|
|
21
21
|
export * from "./ListEventsResponseDataItemType.mjs";
|
|
22
22
|
export * from "./ListEventsResponseMeta.mjs";
|
|
23
23
|
export * from "./ListEventsResponseMetaPagination.mjs";
|
|
24
|
+
export * from "./RedeliverEventsResponse.mjs";
|
|
25
|
+
export * from "./RedeliverEventsResponseData.mjs";
|
|
26
|
+
export * from "./RedeliverEventsResponseDataAttributes.mjs";
|
|
27
|
+
export * from "./RedeliverEventsResponseDataAttributesErrorCategory.mjs";
|
|
28
|
+
export * from "./RedeliverEventsResponseDataAttributesStatus.mjs";
|
|
29
|
+
export * from "./RedeliverEventsResponseDataRelationships.mjs";
|
|
30
|
+
export * from "./RedeliverEventsResponseDataRelationshipsEvent.mjs";
|
|
31
|
+
export * from "./RedeliverEventsResponseDataRelationshipsEventData.mjs";
|
|
32
|
+
export * from "./RedeliverEventsResponseDataRelationshipsEventDataType.mjs";
|
|
33
|
+
export * from "./RedeliverEventsResponseDataRelationshipsWebhook.mjs";
|
|
34
|
+
export * from "./RedeliverEventsResponseDataRelationshipsWebhookData.mjs";
|
|
35
|
+
export * from "./RedeliverEventsResponseDataRelationshipsWebhookDataType.mjs";
|
|
36
|
+
export * from "./RedeliverEventsResponseDataType.mjs";
|
|
@@ -21,3 +21,16 @@ export * from "./ListEventsResponseDataItemRelationshipsPartyDataType.mjs";
|
|
|
21
21
|
export * from "./ListEventsResponseDataItemType.mjs";
|
|
22
22
|
export * from "./ListEventsResponseMeta.mjs";
|
|
23
23
|
export * from "./ListEventsResponseMetaPagination.mjs";
|
|
24
|
+
export * from "./RedeliverEventsResponse.mjs";
|
|
25
|
+
export * from "./RedeliverEventsResponseData.mjs";
|
|
26
|
+
export * from "./RedeliverEventsResponseDataAttributes.mjs";
|
|
27
|
+
export * from "./RedeliverEventsResponseDataAttributesErrorCategory.mjs";
|
|
28
|
+
export * from "./RedeliverEventsResponseDataAttributesStatus.mjs";
|
|
29
|
+
export * from "./RedeliverEventsResponseDataRelationships.mjs";
|
|
30
|
+
export * from "./RedeliverEventsResponseDataRelationshipsEvent.mjs";
|
|
31
|
+
export * from "./RedeliverEventsResponseDataRelationshipsEventData.mjs";
|
|
32
|
+
export * from "./RedeliverEventsResponseDataRelationshipsEventDataType.mjs";
|
|
33
|
+
export * from "./RedeliverEventsResponseDataRelationshipsWebhook.mjs";
|
|
34
|
+
export * from "./RedeliverEventsResponseDataRelationshipsWebhookData.mjs";
|
|
35
|
+
export * from "./RedeliverEventsResponseDataRelationshipsWebhookDataType.mjs";
|
|
36
|
+
export * from "./RedeliverEventsResponseDataType.mjs";
|
|
@@ -6,6 +6,8 @@ export interface CreateFromProcessorTokenExternalAccountsResponseDataItemAttribu
|
|
|
6
6
|
status: Natural.CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesStatus;
|
|
7
7
|
/** Provider connection health for this external account. */
|
|
8
8
|
connectionStatus: Natural.CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesConnectionStatus;
|
|
9
|
+
/** Withdrawal delivery methods currently available for this external account. */
|
|
10
|
+
availableMethods: Natural.CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem[];
|
|
9
11
|
/** Time when the external account was linked. */
|
|
10
12
|
createdAt: Date;
|
|
11
13
|
/** Bank institution name, when available. */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem: {
|
|
2
|
+
readonly Standard: "standard";
|
|
3
|
+
readonly Instant: "instant";
|
|
4
|
+
};
|
|
5
|
+
export type CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem = (typeof CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem)[keyof typeof CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem];
|
|
@@ -6,6 +6,8 @@ export interface DelExtAcctAttrs {
|
|
|
6
6
|
status: Natural.DelExtAcctStatus;
|
|
7
7
|
/** Provider connection health for this external account. */
|
|
8
8
|
connectionStatus: Natural.RemoveExternalAccountsResponseDataAttributesConnectionStatus;
|
|
9
|
+
/** Withdrawal delivery methods currently available for this external account. */
|
|
10
|
+
availableMethods: Natural.RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem[];
|
|
9
11
|
/** Time when the external account was linked. */
|
|
10
12
|
createdAt: Date;
|
|
11
13
|
/** Bank institution name, when available. */
|
|
@@ -6,6 +6,8 @@ export interface ExtAcctAttrs {
|
|
|
6
6
|
status: Natural.ExtAcctStatus;
|
|
7
7
|
/** Provider connection health for this external account. */
|
|
8
8
|
connectionStatus: Natural.ListExternalAccountsResponseDataItemAttributesConnectionStatus;
|
|
9
|
+
/** Withdrawal delivery methods currently available for this external account. */
|
|
10
|
+
availableMethods: Natural.ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem[];
|
|
9
11
|
/** Time when the external account was linked. */
|
|
10
12
|
createdAt: Date;
|
|
11
13
|
/** Bank institution name, when available. */
|
|
@@ -6,6 +6,8 @@ export interface GetExternalAccountsResponseDataAttributes {
|
|
|
6
6
|
status: Natural.GetExternalAccountsResponseDataAttributesStatus;
|
|
7
7
|
/** Provider connection health for this external account. */
|
|
8
8
|
connectionStatus: Natural.GetExternalAccountsResponseDataAttributesConnectionStatus;
|
|
9
|
+
/** Withdrawal delivery methods currently available for this external account. */
|
|
10
|
+
availableMethods: Natural.GetExternalAccountsResponseDataAttributesAvailableMethodsItem[];
|
|
9
11
|
/** Time when the external account was linked. */
|
|
10
12
|
createdAt: Date;
|
|
11
13
|
/** Bank institution name, when available. */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetExternalAccountsResponseDataAttributesAvailableMethodsItem: {
|
|
2
|
+
readonly Standard: "standard";
|
|
3
|
+
readonly Instant: "instant";
|
|
4
|
+
};
|
|
5
|
+
export type GetExternalAccountsResponseDataAttributesAvailableMethodsItem = (typeof GetExternalAccountsResponseDataAttributesAvailableMethodsItem)[keyof typeof GetExternalAccountsResponseDataAttributesAvailableMethodsItem];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem: {
|
|
2
|
+
readonly Standard: "standard";
|
|
3
|
+
readonly Instant: "instant";
|
|
4
|
+
};
|
|
5
|
+
export type ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem = (typeof ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem)[keyof typeof ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem: {
|
|
2
|
+
readonly Standard: "standard";
|
|
3
|
+
readonly Instant: "instant";
|
|
4
|
+
};
|
|
5
|
+
export type RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem = (typeof RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem)[keyof typeof RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem];
|
|
@@ -2,6 +2,7 @@ export * from "./CreateFromProcessorTokenExternalAccountsResponse.mjs";
|
|
|
2
2
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItem.mjs";
|
|
3
3
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.mjs";
|
|
4
4
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAccountType.mjs";
|
|
5
|
+
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs";
|
|
5
6
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesConnectionStatus.mjs";
|
|
6
7
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesStatus.mjs";
|
|
7
8
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemRelationships.mjs";
|
|
@@ -37,6 +38,7 @@ export * from "./GetExternalAccountsResponse.mjs";
|
|
|
37
38
|
export * from "./GetExternalAccountsResponseData.mjs";
|
|
38
39
|
export * from "./GetExternalAccountsResponseDataAttributes.mjs";
|
|
39
40
|
export * from "./GetExternalAccountsResponseDataAttributesAccountType.mjs";
|
|
41
|
+
export * from "./GetExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs";
|
|
40
42
|
export * from "./GetExternalAccountsResponseDataAttributesConnectionStatus.mjs";
|
|
41
43
|
export * from "./GetExternalAccountsResponseDataAttributesStatus.mjs";
|
|
42
44
|
export * from "./GetExternalAccountsResponseDataRelationships.mjs";
|
|
@@ -46,6 +48,8 @@ export * from "./GetExternalAccountsResponseDataRelationshipsPartyDataType.mjs";
|
|
|
46
48
|
export * from "./GetExternalAccountsResponseDataType.mjs";
|
|
47
49
|
export * from "./ListExternalAccountsResponseDataItem.mjs";
|
|
48
50
|
export * from "./ListExternalAccountsResponseDataItemAttributesAccountType.mjs";
|
|
51
|
+
export * from "./ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs";
|
|
49
52
|
export * from "./ListExternalAccountsResponseDataItemAttributesConnectionStatus.mjs";
|
|
50
53
|
export * from "./RemoveExternalAccountsResponseDataAttributesAccountType.mjs";
|
|
54
|
+
export * from "./RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs";
|
|
51
55
|
export * from "./RemoveExternalAccountsResponseDataAttributesConnectionStatus.mjs";
|
|
@@ -2,6 +2,7 @@ export * from "./CreateFromProcessorTokenExternalAccountsResponse.mjs";
|
|
|
2
2
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItem.mjs";
|
|
3
3
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.mjs";
|
|
4
4
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAccountType.mjs";
|
|
5
|
+
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs";
|
|
5
6
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesConnectionStatus.mjs";
|
|
6
7
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemAttributesStatus.mjs";
|
|
7
8
|
export * from "./CreateFromProcessorTokenExternalAccountsResponseDataItemRelationships.mjs";
|
|
@@ -37,6 +38,7 @@ export * from "./GetExternalAccountsResponse.mjs";
|
|
|
37
38
|
export * from "./GetExternalAccountsResponseData.mjs";
|
|
38
39
|
export * from "./GetExternalAccountsResponseDataAttributes.mjs";
|
|
39
40
|
export * from "./GetExternalAccountsResponseDataAttributesAccountType.mjs";
|
|
41
|
+
export * from "./GetExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs";
|
|
40
42
|
export * from "./GetExternalAccountsResponseDataAttributesConnectionStatus.mjs";
|
|
41
43
|
export * from "./GetExternalAccountsResponseDataAttributesStatus.mjs";
|
|
42
44
|
export * from "./GetExternalAccountsResponseDataRelationships.mjs";
|
|
@@ -46,6 +48,8 @@ export * from "./GetExternalAccountsResponseDataRelationshipsPartyDataType.mjs";
|
|
|
46
48
|
export * from "./GetExternalAccountsResponseDataType.mjs";
|
|
47
49
|
export * from "./ListExternalAccountsResponseDataItem.mjs";
|
|
48
50
|
export * from "./ListExternalAccountsResponseDataItemAttributesAccountType.mjs";
|
|
51
|
+
export * from "./ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs";
|
|
49
52
|
export * from "./ListExternalAccountsResponseDataItemAttributesConnectionStatus.mjs";
|
|
50
53
|
export * from "./RemoveExternalAccountsResponseDataAttributesAccountType.mjs";
|
|
54
|
+
export * from "./RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs";
|
|
51
55
|
export * from "./RemoveExternalAccountsResponseDataAttributesConnectionStatus.mjs";
|