@naturalpay/sdk 1.2.2 → 1.2.3
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/README.md +3 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agentKeys/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/agentKeys/client/Client.js +7 -2
- package/dist/cjs/api/resources/agentKeys/client/requests/CreateAgentKeysRequest.d.ts +3 -1
- package/dist/cjs/api/resources/agentKeys/client/requests/RotateAgentKeysRequest.d.ts +6 -1
- package/dist/cjs/api/resources/agentKeys/types/CreateAgentKeysRequestData.d.ts +1 -1
- package/dist/cjs/api/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.d.ts +4 -0
- package/dist/cjs/api/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.js +3 -0
- package/dist/cjs/api/resources/agentKeys/types/CreateAgentKeysResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/agentKeys/types/RevokeAgentKeysResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/agentKeys/types/RotateAgentKeysResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/agentKeys/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentKeys/types/index.js +1 -0
- package/dist/cjs/api/resources/agents/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/agents/client/Client.js +7 -1
- package/dist/cjs/api/resources/agents/client/requests/NewAgentParams.d.ts +4 -0
- package/dist/cjs/api/resources/agents/client/requests/UpdAgentParams.d.ts +6 -1
- package/dist/cjs/api/resources/agents/types/AgentAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/AgentDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/agents/types/DelAgentAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/NewAgentAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/UpdAgentAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/apiKeys/client/Client.js +4 -1
- package/dist/cjs/api/resources/apiKeys/client/requests/NewApiKeyParams.d.ts +6 -1
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +2 -2
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +2 -2
- package/dist/cjs/api/resources/apiKeys/types/DelApiKeyAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/types/NewApiKeyAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.js +1 -1
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.js +1 -1
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.js +1 -1
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.ts +1 -1
- package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/externalAccounts/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/externalAccounts/client/Client.js +4 -1
- package/dist/cjs/api/resources/externalAccounts/client/requests/CreateFromProcessorTokenExternalAccountsRequest.d.ts +5 -1
- package/dist/cjs/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.ts +2 -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/invitationLinks/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/invitationLinks/client/Client.js +4 -1
- package/dist/cjs/api/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.d.ts +5 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/api/resources/invitations/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/invitations/client/Client.js +4 -1
- package/dist/cjs/api/resources/invitations/client/requests/CreateInvitationsRequest.d.ts +6 -1
- package/dist/cjs/api/resources/invitations/types/CreateInvitationsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/invitations/types/ListInvitationsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/invitations/types/RevokeInvitationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/paymentRequests/client/Client.js +6 -0
- package/dist/cjs/api/resources/paymentRequests/client/requests/NewFulfilledReqParams.d.ts +4 -0
- package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +4 -0
- package/dist/cjs/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/FulfilledReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/IncomingReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/NewPayReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/PayReqAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/payments/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/payments/client/Client.js +4 -1
- package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +5 -1
- package/dist/cjs/api/resources/payments/types/CancelledPmtAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/payments/types/NewPaymentAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/payments/types/PaymentAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/payments/types/PaymentDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/CompletePaymentClaimSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/FulfillPaymentRequestSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/transfers/client/Client.d.ts +12 -3
- package/dist/cjs/api/resources/transfers/client/Client.js +12 -3
- package/dist/cjs/api/resources/transfers/client/requests/InitiateInternalTransfersRequest.d.ts +5 -1
- package/dist/cjs/api/resources/transfers/client/requests/NewDepositParams.d.ts +5 -1
- package/dist/cjs/api/resources/transfers/client/requests/NewWithdrawalParams.d.ts +5 -1
- package/dist/cjs/api/resources/transfers/types/DepositAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.ts +1 -0
- package/dist/cjs/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.js +1 -0
- package/dist/cjs/api/resources/transfers/types/TransferAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/transfers/types/TransferDetailAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/transfers/types/WithdrawalAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/client/Client.d.ts +10 -3
- package/dist/cjs/api/resources/wallets/client/Client.js +10 -3
- package/dist/cjs/api/resources/wallets/client/requests/CreateWalletsRequest.d.ts +5 -1
- package/dist/cjs/api/resources/wallets/client/requests/UpdateWalletsRequest.d.ts +7 -1
- package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/WalletAttrs.d.ts +2 -0
- package/dist/cjs/api/resources/wallets/types/WalletDetailAttrs.d.ts +2 -0
- package/dist/cjs/serialization/resources/agentKeys/client/requests/RotateAgentKeysRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentKeys/client/requests/RotateAgentKeysRequest.js +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/CreateAgentKeysRequestData.d.ts +2 -1
- package/dist/cjs/serialization/resources/agentKeys/types/CreateAgentKeysRequestData.js +2 -1
- package/dist/cjs/serialization/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.d.ts +9 -0
- package/dist/cjs/serialization/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.js +41 -0
- package/dist/cjs/serialization/resources/agentKeys/types/CreateAgentKeysResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/CreateAgentKeysResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/RevokeAgentKeysResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/RevokeAgentKeysResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/RotateAgentKeysResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/RotateAgentKeysResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentKeys/types/index.js +1 -0
- package/dist/cjs/serialization/resources/agents/client/requests/NewAgentParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/client/requests/NewAgentParams.js +1 -0
- package/dist/cjs/serialization/resources/agents/client/requests/UpdAgentParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/client/requests/UpdAgentParams.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/AgentAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/AgentAttrs.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/AgentDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/AgentDetailAttrs.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +2 -2
- package/dist/cjs/serialization/resources/agents/types/DelAgentAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/DelAgentAttrs.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/NewAgentAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/NewAgentAttrs.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/UpdAgentAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/UpdAgentAttrs.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/NewApiKeyParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/NewApiKeyParams.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyAttrs.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyDetailAttrs.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +2 -2
- package/dist/cjs/serialization/resources/apiKeys/types/DelApiKeyAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/DelApiKeyAttrs.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/NewApiKeyAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/NewApiKeyAttrs.js +1 -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 +2 -2
- package/dist/cjs/serialization/resources/externalAccounts/client/requests/CreateFromProcessorTokenExternalAccountsRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/client/requests/CreateFromProcessorTokenExternalAccountsRequest.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/DelExtAcctAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/DelExtAcctAttrs.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ExtAcctAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/ExtAcctAttrs.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +2 -2
- package/dist/cjs/serialization/resources/invitations/client/requests/CreateInvitationsRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitations/client/requests/CreateInvitationsRequest.js +1 -0
- package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitations/types/ListInvitationsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitations/types/ListInvitationsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/invitations/types/RevokeInvitationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/invitations/types/RevokeInvitationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/client/requests/NewFulfilledReqParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/client/requests/NewFulfilledReqParams.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/client/requests/NewPayReqParams.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/FulfilledReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/FulfilledReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.js +1 -0
- package/dist/cjs/serialization/resources/payments/client/requests/NewPaymentParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/payments/client/requests/NewPaymentParams.js +1 -0
- package/dist/cjs/serialization/resources/payments/types/CancelledPmtAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/payments/types/CancelledPmtAttrs.js +1 -0
- package/dist/cjs/serialization/resources/payments/types/NewPaymentAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/payments/types/NewPaymentAttrs.js +1 -0
- package/dist/cjs/serialization/resources/payments/types/PaymentAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/payments/types/PaymentAttrs.js +1 -0
- package/dist/cjs/serialization/resources/payments/types/PaymentDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/payments/types/PaymentDetailAttrs.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/CompletePaymentClaimSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/CompletePaymentClaimSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/FulfillPaymentRequestSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/FulfillPaymentRequestSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/InitiateInternalTransfersRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/InitiateInternalTransfersRequest.js +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/NewDepositParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/NewDepositParams.js +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/NewWithdrawalParams.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/client/requests/NewWithdrawalParams.js +1 -0
- package/dist/cjs/serialization/resources/transfers/types/DepositAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/types/DepositAttrs.js +1 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.ts +1 -1
- package/dist/cjs/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.js +1 -1
- package/dist/cjs/serialization/resources/transfers/types/TransferAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferAttrs.js +1 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/types/TransferDetailAttrs.js +1 -0
- package/dist/cjs/serialization/resources/transfers/types/WithdrawalAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/transfers/types/WithdrawalAttrs.js +1 -0
- package/dist/cjs/serialization/resources/wallets/client/requests/CreateWalletsRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/client/requests/CreateWalletsRequest.js +1 -0
- package/dist/cjs/serialization/resources/wallets/client/requests/UpdateWalletsRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/client/requests/UpdateWalletsRequest.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/CreateWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/CreateWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/WalletAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/WalletAttrs.js +1 -0
- package/dist/cjs/serialization/resources/wallets/types/WalletDetailAttrs.d.ts +1 -0
- package/dist/cjs/serialization/resources/wallets/types/WalletDetailAttrs.js +1 -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/agentKeys/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/agentKeys/client/Client.mjs +7 -2
- package/dist/esm/api/resources/agentKeys/client/requests/CreateAgentKeysRequest.d.mts +3 -1
- package/dist/esm/api/resources/agentKeys/client/requests/RotateAgentKeysRequest.d.mts +6 -1
- package/dist/esm/api/resources/agentKeys/types/CreateAgentKeysRequestData.d.mts +1 -1
- package/dist/esm/api/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.d.mts +4 -0
- package/dist/esm/api/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/agentKeys/types/CreateAgentKeysResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/agentKeys/types/RevokeAgentKeysResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/agentKeys/types/RotateAgentKeysResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/agentKeys/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agentKeys/types/index.mjs +1 -0
- package/dist/esm/api/resources/agents/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/agents/client/Client.mjs +7 -1
- package/dist/esm/api/resources/agents/client/requests/NewAgentParams.d.mts +4 -0
- package/dist/esm/api/resources/agents/client/requests/UpdAgentParams.d.mts +6 -1
- package/dist/esm/api/resources/agents/types/AgentAttrs.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/AgentDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/agents/types/DelAgentAttrs.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/NewAgentAttrs.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/UpdAgentAttrs.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +4 -1
- package/dist/esm/api/resources/apiKeys/client/requests/NewApiKeyParams.d.mts +6 -1
- package/dist/esm/api/resources/apiKeys/types/ApiKeyAttrs.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/types/ApiKeyDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +2 -2
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +2 -2
- package/dist/esm/api/resources/apiKeys/types/DelApiKeyAttrs.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/types/NewApiKeyAttrs.d.mts +2 -0
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesTargetType.mjs +1 -1
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.mjs +1 -1
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.mjs +1 -1
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.d.mts +1 -1
- package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesTargetType.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/externalAccounts/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/externalAccounts/client/Client.mjs +4 -1
- package/dist/esm/api/resources/externalAccounts/client/requests/CreateFromProcessorTokenExternalAccountsRequest.d.mts +5 -1
- package/dist/esm/api/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.mts +2 -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/invitationLinks/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/invitationLinks/client/Client.mjs +4 -1
- package/dist/esm/api/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.d.mts +5 -1
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/api/resources/invitations/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/invitations/client/Client.mjs +4 -1
- package/dist/esm/api/resources/invitations/client/requests/CreateInvitationsRequest.d.mts +6 -1
- package/dist/esm/api/resources/invitations/types/CreateInvitationsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/invitations/types/ListInvitationsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/invitations/types/RevokeInvitationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/paymentRequests/client/Client.mjs +6 -0
- package/dist/esm/api/resources/paymentRequests/client/requests/NewFulfilledReqParams.d.mts +4 -0
- package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +4 -0
- package/dist/esm/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/FulfilledReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/IncomingReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/NewPayReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/PayReqAttrs.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/payments/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/payments/client/Client.mjs +4 -1
- package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +5 -1
- package/dist/esm/api/resources/payments/types/CancelledPmtAttrs.d.mts +2 -0
- package/dist/esm/api/resources/payments/types/NewPaymentAttrs.d.mts +2 -0
- package/dist/esm/api/resources/payments/types/PaymentAttrs.d.mts +2 -0
- package/dist/esm/api/resources/payments/types/PaymentDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/CompletePaymentClaimSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/FulfillPaymentRequestSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/transfers/client/Client.d.mts +12 -3
- package/dist/esm/api/resources/transfers/client/Client.mjs +12 -3
- package/dist/esm/api/resources/transfers/client/requests/InitiateInternalTransfersRequest.d.mts +5 -1
- package/dist/esm/api/resources/transfers/client/requests/NewDepositParams.d.mts +5 -1
- package/dist/esm/api/resources/transfers/client/requests/NewWithdrawalParams.d.mts +5 -1
- package/dist/esm/api/resources/transfers/types/DepositAttrs.d.mts +2 -0
- package/dist/esm/api/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.mts +1 -0
- package/dist/esm/api/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.mjs +1 -0
- package/dist/esm/api/resources/transfers/types/TransferAttrs.d.mts +2 -0
- package/dist/esm/api/resources/transfers/types/TransferDetailAttrs.d.mts +2 -0
- package/dist/esm/api/resources/transfers/types/WithdrawalAttrs.d.mts +2 -0
- package/dist/esm/api/resources/wallets/client/Client.d.mts +10 -3
- package/dist/esm/api/resources/wallets/client/Client.mjs +10 -3
- package/dist/esm/api/resources/wallets/client/requests/CreateWalletsRequest.d.mts +5 -1
- package/dist/esm/api/resources/wallets/client/requests/UpdateWalletsRequest.d.mts +7 -1
- package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/WalletAttrs.d.mts +2 -0
- package/dist/esm/api/resources/wallets/types/WalletDetailAttrs.d.mts +2 -0
- package/dist/esm/serialization/resources/agentKeys/client/requests/RotateAgentKeysRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/agentKeys/client/requests/RotateAgentKeysRequest.mjs +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/CreateAgentKeysRequestData.d.mts +2 -1
- package/dist/esm/serialization/resources/agentKeys/types/CreateAgentKeysRequestData.mjs +2 -1
- package/dist/esm/serialization/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.d.mts +9 -0
- package/dist/esm/serialization/resources/agentKeys/types/CreateAgentKeysRequestDataAttributes.mjs +5 -0
- package/dist/esm/serialization/resources/agentKeys/types/CreateAgentKeysResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/CreateAgentKeysResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/RevokeAgentKeysResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/RevokeAgentKeysResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/RotateAgentKeysResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/RotateAgentKeysResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/agentKeys/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/agents/client/requests/NewAgentParams.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/client/requests/NewAgentParams.mjs +1 -0
- package/dist/esm/serialization/resources/agents/client/requests/UpdAgentParams.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/client/requests/UpdAgentParams.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/AgentAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/AgentAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/AgentDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/AgentDetailAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +2 -2
- package/dist/esm/serialization/resources/agents/types/DelAgentAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/DelAgentAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/NewAgentAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/NewAgentAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/UpdAgentAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/UpdAgentAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/NewApiKeyParams.d.mts +1 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/NewApiKeyParams.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyDetailAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +2 -2
- package/dist/esm/serialization/resources/apiKeys/types/DelApiKeyAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/DelApiKeyAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/NewApiKeyAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/NewApiKeyAttrs.mjs +1 -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 +2 -2
- package/dist/esm/serialization/resources/externalAccounts/client/requests/CreateFromProcessorTokenExternalAccountsRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/externalAccounts/client/requests/CreateFromProcessorTokenExternalAccountsRequest.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/CreateFromProcessorTokenExternalAccountsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/DelExtAcctAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/DelExtAcctAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ExtAcctAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/ExtAcctAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/GetExternalAccountsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +2 -2
- package/dist/esm/serialization/resources/invitations/client/requests/CreateInvitationsRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/invitations/client/requests/CreateInvitationsRequest.mjs +1 -0
- package/dist/esm/serialization/resources/invitations/types/CreateInvitationsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitations/types/CreateInvitationsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitations/types/ListInvitationsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitations/types/ListInvitationsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/invitations/types/RevokeInvitationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/invitations/types/RevokeInvitationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/client/requests/NewFulfilledReqParams.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/client/requests/NewFulfilledReqParams.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/client/requests/NewPayReqParams.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/FulfilledReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/FulfilledReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/payments/client/requests/NewPaymentParams.d.mts +1 -0
- package/dist/esm/serialization/resources/payments/client/requests/NewPaymentParams.mjs +1 -0
- package/dist/esm/serialization/resources/payments/types/CancelledPmtAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/payments/types/CancelledPmtAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/payments/types/NewPaymentAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/payments/types/NewPaymentAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/payments/types/PaymentAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/payments/types/PaymentAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/payments/types/PaymentDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/payments/types/PaymentDetailAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/CompletePaymentClaimSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/CompletePaymentClaimSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/FulfillPaymentRequestSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/FulfillPaymentRequestSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/FundCustomerSimulationsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/LinkExternalAccountSimulationsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/InitiateInternalTransfersRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/InitiateInternalTransfersRequest.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/NewDepositParams.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/NewDepositParams.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/NewWithdrawalParams.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/client/requests/NewWithdrawalParams.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/types/DepositAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/types/DepositAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateInternalTransfersResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.d.mts +1 -1
- package/dist/esm/serialization/resources/transfers/types/InitiateWithdrawalTransfersRequestMethod.mjs +1 -1
- package/dist/esm/serialization/resources/transfers/types/TransferAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/types/TransferAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/types/TransferDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/types/TransferDetailAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/transfers/types/WithdrawalAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/transfers/types/WithdrawalAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/client/requests/CreateWalletsRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/client/requests/CreateWalletsRequest.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/client/requests/UpdateWalletsRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/client/requests/UpdateWalletsRequest.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/CreateWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/CreateWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/FreezeWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/WalletAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/WalletAttrs.mjs +1 -0
- package/dist/esm/serialization/resources/wallets/types/WalletDetailAttrs.d.mts +1 -0
- package/dist/esm/serialization/resources/wallets/types/WalletDetailAttrs.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +62 -14
|
@@ -8,6 +8,7 @@ export declare namespace ListAgentsWalletsResponseDataItemAttributes {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
name: string;
|
|
10
10
|
description?: string | null;
|
|
11
|
+
tags: Record<string, string>;
|
|
11
12
|
handle?: string | null;
|
|
12
13
|
status: ListAgentsWalletsResponseDataItemAttributesStatus.Raw;
|
|
13
14
|
limits?: ListAgentsWalletsResponseDataItemAttributesLimits.Raw | null;
|
|
@@ -41,6 +41,7 @@ const ListAgentsWalletsResponseDataItemAttributesStatus_js_1 = require("./ListAg
|
|
|
41
41
|
exports.ListAgentsWalletsResponseDataItemAttributes = core.serialization.object({
|
|
42
42
|
name: core.serialization.string(),
|
|
43
43
|
description: core.serialization.string().nullable(),
|
|
44
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
44
45
|
handle: core.serialization.string().nullable(),
|
|
45
46
|
status: ListAgentsWalletsResponseDataItemAttributesStatus_js_1.ListAgentsWalletsResponseDataItemAttributesStatus,
|
|
46
47
|
limits: ListAgentsWalletsResponseDataItemAttributesLimits_js_1.ListAgentsWalletsResponseDataItemAttributesLimits.nullable(),
|
|
@@ -8,6 +8,7 @@ export declare namespace SetAgentDefaultWalletWalletsResponseDataAttributes {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
name: string;
|
|
10
10
|
description?: string | null;
|
|
11
|
+
tags: Record<string, string>;
|
|
11
12
|
handle?: string | null;
|
|
12
13
|
status: SetAgentDefaultWalletWalletsResponseDataAttributesStatus.Raw;
|
|
13
14
|
limits?: SetAgentDefaultWalletWalletsResponseDataAttributesLimits.Raw | null;
|
|
@@ -41,6 +41,7 @@ const SetAgentDefaultWalletWalletsResponseDataAttributesStatus_js_1 = require(".
|
|
|
41
41
|
exports.SetAgentDefaultWalletWalletsResponseDataAttributes = core.serialization.object({
|
|
42
42
|
name: core.serialization.string(),
|
|
43
43
|
description: core.serialization.string().nullable(),
|
|
44
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
44
45
|
handle: core.serialization.string().nullable(),
|
|
45
46
|
status: SetAgentDefaultWalletWalletsResponseDataAttributesStatus_js_1.SetAgentDefaultWalletWalletsResponseDataAttributesStatus,
|
|
46
47
|
limits: SetAgentDefaultWalletWalletsResponseDataAttributesLimits_js_1.SetAgentDefaultWalletWalletsResponseDataAttributesLimits.nullable(),
|
package/dist/cjs/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare namespace SetDefaultWalletsResponseDataAttributes {
|
|
|
15
15
|
createdAt?: string | null;
|
|
16
16
|
displayName?: string | null;
|
|
17
17
|
description?: string | null;
|
|
18
|
+
tags: Record<string, string>;
|
|
18
19
|
balance?: SetDefaultWalletsResponseDataAttributesBalance.Raw | null;
|
|
19
20
|
claims: SetDefaultWalletsResponseDataAttributesClaims.Raw;
|
|
20
21
|
depositInstructions?: SetDefaultWalletsResponseDataAttributesDepositInstructions.Raw | null;
|
package/dist/cjs/serialization/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.js
CHANGED
|
@@ -48,6 +48,7 @@ exports.SetDefaultWalletsResponseDataAttributes = core.serialization.object({
|
|
|
48
48
|
createdAt: core.serialization.date().nullable(),
|
|
49
49
|
displayName: core.serialization.string().nullable(),
|
|
50
50
|
description: core.serialization.string().nullable(),
|
|
51
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
51
52
|
balance: SetDefaultWalletsResponseDataAttributesBalance_js_1.SetDefaultWalletsResponseDataAttributesBalance.nullable(),
|
|
52
53
|
claims: SetDefaultWalletsResponseDataAttributesClaims_js_1.SetDefaultWalletsResponseDataAttributesClaims,
|
|
53
54
|
depositInstructions: SetDefaultWalletsResponseDataAttributesDepositInstructions_js_1.SetDefaultWalletsResponseDataAttributesDepositInstructions.nullable(),
|
package/dist/cjs/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare namespace UnfreezeWalletsResponseDataAttributes {
|
|
|
15
15
|
createdAt?: string | null;
|
|
16
16
|
displayName?: string | null;
|
|
17
17
|
description?: string | null;
|
|
18
|
+
tags: Record<string, string>;
|
|
18
19
|
balance?: UnfreezeWalletsResponseDataAttributesBalance.Raw | null;
|
|
19
20
|
claims: UnfreezeWalletsResponseDataAttributesClaims.Raw;
|
|
20
21
|
depositInstructions?: UnfreezeWalletsResponseDataAttributesDepositInstructions.Raw | null;
|
package/dist/cjs/serialization/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.js
CHANGED
|
@@ -48,6 +48,7 @@ exports.UnfreezeWalletsResponseDataAttributes = core.serialization.object({
|
|
|
48
48
|
createdAt: core.serialization.date().nullable(),
|
|
49
49
|
displayName: core.serialization.string().nullable(),
|
|
50
50
|
description: core.serialization.string().nullable(),
|
|
51
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
51
52
|
balance: UnfreezeWalletsResponseDataAttributesBalance_js_1.UnfreezeWalletsResponseDataAttributesBalance.nullable(),
|
|
52
53
|
claims: UnfreezeWalletsResponseDataAttributesClaims_js_1.UnfreezeWalletsResponseDataAttributesClaims,
|
|
53
54
|
depositInstructions: UnfreezeWalletsResponseDataAttributesDepositInstructions_js_1.UnfreezeWalletsResponseDataAttributesDepositInstructions.nullable(),
|
package/dist/cjs/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare namespace UpdateWalletsResponseDataAttributes {
|
|
|
15
15
|
createdAt?: string | null;
|
|
16
16
|
displayName?: string | null;
|
|
17
17
|
description?: string | null;
|
|
18
|
+
tags: Record<string, string>;
|
|
18
19
|
balance?: UpdateWalletsResponseDataAttributesBalance.Raw | null;
|
|
19
20
|
claims: UpdateWalletsResponseDataAttributesClaims.Raw;
|
|
20
21
|
depositInstructions?: UpdateWalletsResponseDataAttributesDepositInstructions.Raw | null;
|
package/dist/cjs/serialization/resources/wallets/types/UpdateWalletsResponseDataAttributes.js
CHANGED
|
@@ -48,6 +48,7 @@ exports.UpdateWalletsResponseDataAttributes = core.serialization.object({
|
|
|
48
48
|
createdAt: core.serialization.date().nullable(),
|
|
49
49
|
displayName: core.serialization.string().nullable(),
|
|
50
50
|
description: core.serialization.string().nullable(),
|
|
51
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
51
52
|
balance: UpdateWalletsResponseDataAttributesBalance_js_1.UpdateWalletsResponseDataAttributesBalance.nullable(),
|
|
52
53
|
claims: UpdateWalletsResponseDataAttributesClaims_js_1.UpdateWalletsResponseDataAttributesClaims,
|
|
53
54
|
depositInstructions: UpdateWalletsResponseDataAttributesDepositInstructions_js_1.UpdateWalletsResponseDataAttributesDepositInstructions.nullable(),
|
|
@@ -15,6 +15,7 @@ export declare namespace WalletAttrs {
|
|
|
15
15
|
createdAt?: string | null;
|
|
16
16
|
displayName?: string | null;
|
|
17
17
|
description?: string | null;
|
|
18
|
+
tags: Record<string, string>;
|
|
18
19
|
balance?: ListWalletsResponseDataItemAttributesBalance.Raw | null;
|
|
19
20
|
claims: WalletClaims.Raw;
|
|
20
21
|
depositInstructions?: ListWalletsResponseDataItemAttributesDepositInstructions.Raw | null;
|
|
@@ -48,6 +48,7 @@ exports.WalletAttrs = core.serialization.object({
|
|
|
48
48
|
createdAt: core.serialization.date().nullable(),
|
|
49
49
|
displayName: core.serialization.string().nullable(),
|
|
50
50
|
description: core.serialization.string().nullable(),
|
|
51
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
51
52
|
balance: ListWalletsResponseDataItemAttributesBalance_js_1.ListWalletsResponseDataItemAttributesBalance.nullable(),
|
|
52
53
|
claims: WalletClaims_js_1.WalletClaims,
|
|
53
54
|
depositInstructions: ListWalletsResponseDataItemAttributesDepositInstructions_js_1.ListWalletsResponseDataItemAttributesDepositInstructions.nullable(),
|
|
@@ -15,6 +15,7 @@ export declare namespace WalletDetailAttrs {
|
|
|
15
15
|
createdAt?: string | null;
|
|
16
16
|
displayName?: string | null;
|
|
17
17
|
description?: string | null;
|
|
18
|
+
tags: Record<string, string>;
|
|
18
19
|
balance?: GetWalletsResponseDataAttributesBalance.Raw | null;
|
|
19
20
|
claims: WalletDetailClaims.Raw;
|
|
20
21
|
depositInstructions?: GetWalletsResponseDataAttributesDepositInstructions.Raw | null;
|
|
@@ -48,6 +48,7 @@ exports.WalletDetailAttrs = core.serialization.object({
|
|
|
48
48
|
createdAt: core.serialization.date().nullable(),
|
|
49
49
|
displayName: core.serialization.string().nullable(),
|
|
50
50
|
description: core.serialization.string().nullable(),
|
|
51
|
+
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
51
52
|
balance: GetWalletsResponseDataAttributesBalance_js_1.GetWalletsResponseDataAttributesBalance.nullable(),
|
|
52
53
|
claims: WalletDetailClaims_js_1.WalletDetailClaims,
|
|
53
54
|
depositInstructions: GetWalletsResponseDataAttributesDepositInstructions_js_1.GetWalletsResponseDataAttributesDepositInstructions.nullable(),
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.3";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.2.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.2.
|
|
9
|
+
"X-Fern-SDK-Version": "1.2.3",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.2.3",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Agent-ID": options === null || options === void 0 ? void 0 : options.agentId,
|
|
@@ -64,7 +64,9 @@ export declare class AgentKeysClient {
|
|
|
64
64
|
* await client.agentKeys.create({
|
|
65
65
|
* data: {
|
|
66
66
|
* attributes: {
|
|
67
|
-
*
|
|
67
|
+
* tags: {
|
|
68
|
+
* "team": "payments"
|
|
69
|
+
* }
|
|
68
70
|
* },
|
|
69
71
|
* relationships: {
|
|
70
72
|
* agent: {
|
|
@@ -133,7 +135,10 @@ export declare class AgentKeysClient {
|
|
|
133
135
|
* await client.agentKeys.rotate({
|
|
134
136
|
* idempotencyKey: "Idempotency-Key",
|
|
135
137
|
* keyId: "keyId",
|
|
136
|
-
* expiresInSeconds: 86400
|
|
138
|
+
* expiresInSeconds: 86400,
|
|
139
|
+
* tags: {
|
|
140
|
+
* "team": "payments"
|
|
141
|
+
* }
|
|
137
142
|
* })
|
|
138
143
|
*/
|
|
139
144
|
rotate(request: Natural.RotateAgentKeysRequest, requestOptions?: AgentKeysClient.RequestOptions): core.HttpResponsePromise<Natural.RotateAgentKeysResponse>;
|
|
@@ -165,7 +165,9 @@ export class AgentKeysClient {
|
|
|
165
165
|
* await client.agentKeys.create({
|
|
166
166
|
* data: {
|
|
167
167
|
* attributes: {
|
|
168
|
-
*
|
|
168
|
+
* tags: {
|
|
169
|
+
* "team": "payments"
|
|
170
|
+
* }
|
|
169
171
|
* },
|
|
170
172
|
* relationships: {
|
|
171
173
|
* agent: {
|
|
@@ -380,7 +382,10 @@ export class AgentKeysClient {
|
|
|
380
382
|
* await client.agentKeys.rotate({
|
|
381
383
|
* idempotencyKey: "Idempotency-Key",
|
|
382
384
|
* keyId: "keyId",
|
|
383
|
-
* expiresInSeconds: 86400
|
|
385
|
+
* expiresInSeconds: 86400,
|
|
386
|
+
* tags: {
|
|
387
|
+
* "team": "payments"
|
|
388
|
+
* }
|
|
384
389
|
* })
|
|
385
390
|
*/
|
|
386
391
|
rotate(request, requestOptions) {
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
* {
|
|
4
4
|
* idempotencyKey: "Idempotency-Key",
|
|
5
5
|
* keyId: "keyId",
|
|
6
|
-
* expiresInSeconds: 86400
|
|
6
|
+
* expiresInSeconds: 86400,
|
|
7
|
+
* tags: {
|
|
8
|
+
* "team": "payments"
|
|
9
|
+
* }
|
|
7
10
|
* }
|
|
8
11
|
*/
|
|
9
12
|
export interface RotateAgentKeysRequest {
|
|
@@ -12,4 +15,6 @@ export interface RotateAgentKeysRequest {
|
|
|
12
15
|
idempotencyKey: string;
|
|
13
16
|
/** Grace period in seconds for the previous key (0 = immediate cutover, max 86400). */
|
|
14
17
|
expiresInSeconds: number;
|
|
18
|
+
/** Tags applied to the replacement agent key. */
|
|
19
|
+
tags?: Record<string, string>;
|
|
15
20
|
}
|
|
@@ -16,6 +16,8 @@ export interface CreateAgentKeysResponseDataAttributes {
|
|
|
16
16
|
revokedBy: string | null;
|
|
17
17
|
/** When this key stops authenticating, or null if it has no scheduled expiration. */
|
|
18
18
|
expiresAt: Date | null;
|
|
19
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
20
|
+
tags: Record<string, string>;
|
|
19
21
|
/** Full agent key secret. Returned only once. */
|
|
20
22
|
agentKey: string;
|
|
21
23
|
}
|
package/dist/esm/api/resources/agentKeys/types/ListAgentKeysResponseDataItemAttributes.d.mts
CHANGED
|
@@ -16,4 +16,6 @@ export interface ListAgentKeysResponseDataItemAttributes {
|
|
|
16
16
|
revokedBy: string | null;
|
|
17
17
|
/** When this key stops authenticating, or null if it has no scheduled expiration. */
|
|
18
18
|
expiresAt: Date | null;
|
|
19
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
20
|
+
tags: Record<string, string>;
|
|
19
21
|
}
|
|
@@ -16,4 +16,6 @@ export interface RevokeAgentKeysResponseDataAttributes {
|
|
|
16
16
|
revokedBy: string | null;
|
|
17
17
|
/** When this key stops authenticating, or null if it has no scheduled expiration. */
|
|
18
18
|
expiresAt: Date | null;
|
|
19
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
20
|
+
tags: Record<string, string>;
|
|
19
21
|
}
|
|
@@ -16,6 +16,8 @@ export interface RotateAgentKeysResponseDataAttributes {
|
|
|
16
16
|
revokedBy: string | null;
|
|
17
17
|
/** When this key stops authenticating, or null if it has no scheduled expiration. */
|
|
18
18
|
expiresAt: Date | null;
|
|
19
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
20
|
+
tags: Record<string, string>;
|
|
19
21
|
/** Full agent key secret. Returned only once. */
|
|
20
22
|
agentKey: string;
|
|
21
23
|
/** When the previous key stops authenticating, or null for immediate cutover. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./CreateAgentKeysRequestData.mjs";
|
|
2
|
+
export * from "./CreateAgentKeysRequestDataAttributes.mjs";
|
|
2
3
|
export * from "./CreateAgentKeysRequestDataRelationships.mjs";
|
|
3
4
|
export * from "./CreateAgentKeysRequestDataRelationshipsAgent.mjs";
|
|
4
5
|
export * from "./CreateAgentKeysRequestDataRelationshipsAgentData.mjs";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./CreateAgentKeysRequestData.mjs";
|
|
2
|
+
export * from "./CreateAgentKeysRequestDataAttributes.mjs";
|
|
2
3
|
export * from "./CreateAgentKeysRequestDataRelationships.mjs";
|
|
3
4
|
export * from "./CreateAgentKeysRequestDataRelationshipsAgent.mjs";
|
|
4
5
|
export * from "./CreateAgentKeysRequestDataRelationshipsAgentData.mjs";
|
|
@@ -64,6 +64,9 @@ export declare class AgentsClient {
|
|
|
64
64
|
* idempotencyKey: "Idempotency-Key",
|
|
65
65
|
* name: "Carrier Payment Agent v2.1",
|
|
66
66
|
* description: "Autonomous agent that pays delivery carriers",
|
|
67
|
+
* tags: {
|
|
68
|
+
* "department": "logistics"
|
|
69
|
+
* },
|
|
67
70
|
* slug: "carrier_payments",
|
|
68
71
|
* limits: {
|
|
69
72
|
* perTransaction: 100000
|
|
@@ -155,7 +158,10 @@ export declare class AgentsClient {
|
|
|
155
158
|
* idempotencyKey: "Idempotency-Key",
|
|
156
159
|
* agentId: "agentId",
|
|
157
160
|
* name: "Carrier Payment Agent v3.0",
|
|
158
|
-
* description: "Autonomous agent that pays delivery carriers with enhanced fraud detection"
|
|
161
|
+
* description: "Autonomous agent that pays delivery carriers with enhanced fraud detection",
|
|
162
|
+
* tags: {
|
|
163
|
+
* "release": "v3"
|
|
164
|
+
* }
|
|
159
165
|
* })
|
|
160
166
|
*/
|
|
161
167
|
update(request: Natural.UpdAgentParams, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<Natural.UpdAgent>;
|
|
@@ -182,6 +182,9 @@ export class AgentsClient {
|
|
|
182
182
|
* idempotencyKey: "Idempotency-Key",
|
|
183
183
|
* name: "Carrier Payment Agent v2.1",
|
|
184
184
|
* description: "Autonomous agent that pays delivery carriers",
|
|
185
|
+
* tags: {
|
|
186
|
+
* "department": "logistics"
|
|
187
|
+
* },
|
|
185
188
|
* slug: "carrier_payments",
|
|
186
189
|
* limits: {
|
|
187
190
|
* perTransaction: 100000
|
|
@@ -488,7 +491,10 @@ export class AgentsClient {
|
|
|
488
491
|
* idempotencyKey: "Idempotency-Key",
|
|
489
492
|
* agentId: "agentId",
|
|
490
493
|
* name: "Carrier Payment Agent v3.0",
|
|
491
|
-
* description: "Autonomous agent that pays delivery carriers with enhanced fraud detection"
|
|
494
|
+
* description: "Autonomous agent that pays delivery carriers with enhanced fraud detection",
|
|
495
|
+
* tags: {
|
|
496
|
+
* "release": "v3"
|
|
497
|
+
* }
|
|
492
498
|
* })
|
|
493
499
|
*/
|
|
494
500
|
update(request, requestOptions) {
|
|
@@ -5,6 +5,9 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
5
5
|
* idempotencyKey: "Idempotency-Key",
|
|
6
6
|
* name: "Carrier Payment Agent v2.1",
|
|
7
7
|
* description: "Autonomous agent that pays delivery carriers",
|
|
8
|
+
* tags: {
|
|
9
|
+
* "department": "logistics"
|
|
10
|
+
* },
|
|
8
11
|
* slug: "carrier_payments",
|
|
9
12
|
* limits: {
|
|
10
13
|
* perTransaction: 100000
|
|
@@ -18,6 +21,7 @@ export interface NewAgentParams {
|
|
|
18
21
|
name: string;
|
|
19
22
|
/** Agent description. */
|
|
20
23
|
description?: string;
|
|
24
|
+
tags?: Record<string, string>;
|
|
21
25
|
/** Agent-specific part of the handle, such as support in @acme-support. */
|
|
22
26
|
slug?: string;
|
|
23
27
|
/** Agent spending limits. Agent credentials cannot set them. */
|
|
@@ -5,7 +5,10 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
5
5
|
* idempotencyKey: "Idempotency-Key",
|
|
6
6
|
* agentId: "agentId",
|
|
7
7
|
* name: "Carrier Payment Agent v3.0",
|
|
8
|
-
* description: "Autonomous agent that pays delivery carriers with enhanced fraud detection"
|
|
8
|
+
* description: "Autonomous agent that pays delivery carriers with enhanced fraud detection",
|
|
9
|
+
* tags: {
|
|
10
|
+
* "release": "v3"
|
|
11
|
+
* }
|
|
9
12
|
* }
|
|
10
13
|
*/
|
|
11
14
|
export interface UpdAgentParams {
|
|
@@ -16,6 +19,8 @@ export interface UpdAgentParams {
|
|
|
16
19
|
name?: string | null;
|
|
17
20
|
/** Agent description. */
|
|
18
21
|
description?: string | null;
|
|
22
|
+
/** Metadata changes. A null value removes the key. */
|
|
23
|
+
tags?: Record<string, string | null>;
|
|
19
24
|
/** Agent-specific part of the handle, such as support in @acme-support. Renames the handle; omission leaves it unchanged. Handles cannot be cleared. */
|
|
20
25
|
slug?: string;
|
|
21
26
|
/** Agent spending limits. Null clears all limits; omission leaves them unchanged. Within the object, a null or omitted window clears that limit. */
|
|
@@ -4,6 +4,8 @@ export interface AgentAttrs {
|
|
|
4
4
|
name: string;
|
|
5
5
|
/** Agent description. */
|
|
6
6
|
description: string | null;
|
|
7
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
8
|
+
tags: Record<string, string>;
|
|
7
9
|
/** Agent handle, such as @acme-support, or null if none is configured. */
|
|
8
10
|
handle: string | null;
|
|
9
11
|
/** Agent status. */
|
|
@@ -4,6 +4,8 @@ export interface AgentDetailAttrs {
|
|
|
4
4
|
name: string;
|
|
5
5
|
/** Agent description. */
|
|
6
6
|
description: string | null;
|
|
7
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
8
|
+
tags: Record<string, string>;
|
|
7
9
|
/** Agent handle, such as @acme-support, or null if none is configured. */
|
|
8
10
|
handle: string | null;
|
|
9
11
|
/** Agent status. */
|
package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
3
3
|
readonly PaymentsCreate: "payments.create";
|
|
4
4
|
readonly ExternalPartiesRead: "external_parties.read";
|
|
5
5
|
readonly ExternalPartiesCreate: "external_parties.create";
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
6
|
+
readonly DirectRead: "direct.read";
|
|
7
|
+
readonly DirectCreate: "direct.create";
|
|
8
8
|
readonly ExternalAccountsCreate: "external_accounts.create";
|
|
9
9
|
readonly WalletsRead: "wallets.read";
|
|
10
10
|
readonly WalletsUpdate: "wallets.update";
|
|
@@ -4,8 +4,8 @@ export const CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
4
4
|
PaymentsCreate: "payments.create",
|
|
5
5
|
ExternalPartiesRead: "external_parties.read",
|
|
6
6
|
ExternalPartiesCreate: "external_parties.create",
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
DirectRead: "direct.read",
|
|
8
|
+
DirectCreate: "direct.create",
|
|
9
9
|
ExternalAccountsCreate: "external_accounts.create",
|
|
10
10
|
WalletsRead: "wallets.read",
|
|
11
11
|
WalletsUpdate: "wallets.update",
|
|
@@ -4,6 +4,8 @@ export interface DelAgentAttrs {
|
|
|
4
4
|
name: string;
|
|
5
5
|
/** Agent description. */
|
|
6
6
|
description: string | null;
|
|
7
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
8
|
+
tags: Record<string, string>;
|
|
7
9
|
/** Agent handle, such as @acme-support, or null if none is configured. */
|
|
8
10
|
handle: string | null;
|
|
9
11
|
/** Agent status. */
|
|
@@ -4,6 +4,8 @@ export interface NewAgentAttrs {
|
|
|
4
4
|
name: string;
|
|
5
5
|
/** Agent description. */
|
|
6
6
|
description: string | null;
|
|
7
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
8
|
+
tags: Record<string, string>;
|
|
7
9
|
/** Agent handle, such as @acme-support, or null if none is configured. */
|
|
8
10
|
handle: string | null;
|
|
9
11
|
/** Agent status. */
|
|
@@ -4,6 +4,8 @@ export interface UpdAgentAttrs {
|
|
|
4
4
|
name: string;
|
|
5
5
|
/** Agent description. */
|
|
6
6
|
description: string | null;
|
|
7
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
8
|
+
tags: Record<string, string>;
|
|
7
9
|
/** Agent handle, such as @acme-support, or null if none is configured. */
|
|
8
10
|
handle: string | null;
|
|
9
11
|
/** Agent status. */
|
|
@@ -62,7 +62,10 @@ export declare class ApiKeysClient {
|
|
|
62
62
|
* @example
|
|
63
63
|
* await client.apiKeys.create({
|
|
64
64
|
* name: "Production Backend",
|
|
65
|
-
* scopes: ["payments.read", "payments.create"]
|
|
65
|
+
* scopes: ["payments.read", "payments.create"],
|
|
66
|
+
* tags: {
|
|
67
|
+
* "service": "checkout"
|
|
68
|
+
* }
|
|
66
69
|
* })
|
|
67
70
|
*/
|
|
68
71
|
create(request: Natural.NewApiKeyParams, requestOptions?: ApiKeysClient.RequestOptions): core.HttpResponsePromise<Natural.NewApiKey>;
|
|
@@ -169,7 +169,10 @@ export class ApiKeysClient {
|
|
|
169
169
|
* @example
|
|
170
170
|
* await client.apiKeys.create({
|
|
171
171
|
* name: "Production Backend",
|
|
172
|
-
* scopes: ["payments.read", "payments.create"]
|
|
172
|
+
* scopes: ["payments.read", "payments.create"],
|
|
173
|
+
* tags: {
|
|
174
|
+
* "service": "checkout"
|
|
175
|
+
* }
|
|
173
176
|
* })
|
|
174
177
|
*/
|
|
175
178
|
create(request, requestOptions) {
|
|
@@ -3,7 +3,10 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* name: "Production Backend",
|
|
6
|
-
* scopes: ["payments.read", "payments.create"]
|
|
6
|
+
* scopes: ["payments.read", "payments.create"],
|
|
7
|
+
* tags: {
|
|
8
|
+
* "service": "checkout"
|
|
9
|
+
* }
|
|
7
10
|
* }
|
|
8
11
|
*/
|
|
9
12
|
export interface NewApiKeyParams {
|
|
@@ -11,4 +14,6 @@ export interface NewApiKeyParams {
|
|
|
11
14
|
name: string;
|
|
12
15
|
/** Permission scopes for the API key. */
|
|
13
16
|
scopes?: Natural.CreateApiKeysRequestScopesItem[];
|
|
17
|
+
/** Tags applied to this API key. */
|
|
18
|
+
tags?: Record<string, string>;
|
|
14
19
|
}
|
|
@@ -13,8 +13,8 @@ export declare const CreateApiKeysRequestScopesItem: {
|
|
|
13
13
|
readonly PaymentsRead: "payments.read";
|
|
14
14
|
readonly ExternalPartiesCreate: "external_parties.create";
|
|
15
15
|
readonly ExternalPartiesRead: "external_parties.read";
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
16
|
+
readonly DirectCreate: "direct.create";
|
|
17
|
+
readonly DirectRead: "direct.read";
|
|
18
18
|
readonly ExternalAccountsCreate: "external_accounts.create";
|
|
19
19
|
readonly WalletsRead: "wallets.read";
|
|
20
20
|
readonly WalletsCreate: "wallets.create";
|
|
@@ -14,8 +14,8 @@ export const CreateApiKeysRequestScopesItem = {
|
|
|
14
14
|
PaymentsRead: "payments.read",
|
|
15
15
|
ExternalPartiesCreate: "external_parties.create",
|
|
16
16
|
ExternalPartiesRead: "external_parties.read",
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
DirectCreate: "direct.create",
|
|
18
|
+
DirectRead: "direct.read",
|
|
19
19
|
ExternalAccountsCreate: "external_accounts.create",
|
|
20
20
|
WalletsRead: "wallets.read",
|
|
21
21
|
WalletsCreate: "wallets.create",
|
|
@@ -20,6 +20,8 @@ export interface NewApiKeyAttrs {
|
|
|
20
20
|
createdBy: string | null;
|
|
21
21
|
/** User who revoked this key (usr_*). */
|
|
22
22
|
revokedBy: string | null;
|
|
23
|
+
/** Metadata visible to anyone who can read the resource. */
|
|
24
|
+
tags: Record<string, string>;
|
|
23
25
|
/** Full API key secret. Returned only once. */
|
|
24
26
|
apiKey: string;
|
|
25
27
|
}
|
|
@@ -3,6 +3,6 @@ export declare const ApproveApprovalsResponseDataAttributesTargetType: {
|
|
|
3
3
|
readonly Payment: "payment";
|
|
4
4
|
readonly Deposit: "deposit";
|
|
5
5
|
readonly Withdrawal: "withdrawal";
|
|
6
|
-
readonly
|
|
6
|
+
readonly Ach: "ach";
|
|
7
7
|
};
|
|
8
8
|
export type ApproveApprovalsResponseDataAttributesTargetType = (typeof ApproveApprovalsResponseDataAttributesTargetType)[keyof typeof ApproveApprovalsResponseDataAttributesTargetType];
|
package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesTargetType.d.mts
CHANGED
|
@@ -3,6 +3,6 @@ export declare const DenyApprovalsResponseDataAttributesTargetType: {
|
|
|
3
3
|
readonly Payment: "payment";
|
|
4
4
|
readonly Deposit: "deposit";
|
|
5
5
|
readonly Withdrawal: "withdrawal";
|
|
6
|
-
readonly
|
|
6
|
+
readonly Ach: "ach";
|
|
7
7
|
};
|
|
8
8
|
export type DenyApprovalsResponseDataAttributesTargetType = (typeof DenyApprovalsResponseDataAttributesTargetType)[keyof typeof DenyApprovalsResponseDataAttributesTargetType];
|
package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesTargetType.d.mts
CHANGED
|
@@ -3,6 +3,6 @@ export declare const GetApprovalsResponseDataAttributesTargetType: {
|
|
|
3
3
|
readonly Payment: "payment";
|
|
4
4
|
readonly Deposit: "deposit";
|
|
5
5
|
readonly Withdrawal: "withdrawal";
|
|
6
|
-
readonly
|
|
6
|
+
readonly Ach: "ach";
|
|
7
7
|
};
|
|
8
8
|
export type GetApprovalsResponseDataAttributesTargetType = (typeof GetApprovalsResponseDataAttributesTargetType)[keyof typeof GetApprovalsResponseDataAttributesTargetType];
|