@naturalpay/sdk 1.6.25 → 1.6.27
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/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/agents/client/Client.js +2 -2
- package/dist/cjs/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.ts +4 -4
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyAttrs.d.ts +1 -1
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyDetailAttrs.d.ts +1 -1
- package/dist/cjs/api/resources/apiKeys/types/DelApiKeyAttrs.d.ts +1 -1
- package/dist/cjs/api/resources/apiKeys/types/NewApiKeyAttrs.d.ts +1 -1
- package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customers/client/Client.js +1 -1
- package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.ts +2 -2
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.d.ts +11 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.js +3 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.d.ts +8 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.js +3 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.d.ts +5 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.js +8 -0
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts} +2 -2
- package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js} +2 -2
- package/dist/cjs/api/resources/customers/types/CustomerConnectedAgent.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerDetailConnectedAgent.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerDetailDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributesAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributesDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributesAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributesDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/index.d.ts +4 -1
- package/dist/cjs/api/resources/customers/types/index.js +4 -1
- package/dist/cjs/api/resources/invitationLinks/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/invitationLinks/client/Client.js +1 -1
- package/dist/cjs/api/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.d.ts +1 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.ts +2 -2
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.ts +11 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.js +3 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.d.ts +8 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.js +3 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.d.ts +5 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.js +8 -0
- package/dist/{esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts → cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts} +2 -2
- package/dist/cjs/api/resources/simulations/types/{InviteCustomerSimulationsRequestPermissionsItem.js → InviteCustomerSimulationsRequestPermissionsZeroItem.js} +2 -2
- package/dist/cjs/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributesAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributesAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/index.d.ts +4 -1
- package/dist/cjs/api/resources/simulations/types/index.js +4 -1
- package/dist/cjs/serialization/resources/agents/client/requests/CreateCustomerAgentsRequest.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/client/requests/CreateCustomerAgentsRequest.js +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.ts +2 -2
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.js +2 -2
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.d.ts +9 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.js +44 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.d.ts +10 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.js +42 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.js +39 -0
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts} +2 -2
- package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js} +2 -2
- package/dist/cjs/serialization/resources/customers/types/index.d.ts +4 -1
- package/dist/cjs/serialization/resources/customers/types/index.js +4 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.js +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +3 -0
- package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -2
- package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +2 -2
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.ts +9 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.js +44 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.d.ts +10 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.js +42 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.js +39 -0
- package/dist/cjs/serialization/resources/simulations/types/{InviteCustomerSimulationsRequestPermissionsItem.d.ts → InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts} +2 -2
- package/dist/cjs/serialization/resources/simulations/types/{InviteCustomerSimulationsRequestPermissionsItem.js → InviteCustomerSimulationsRequestPermissionsZeroItem.js} +2 -2
- package/dist/cjs/serialization/resources/simulations/types/index.d.ts +4 -1
- package/dist/cjs/serialization/resources/simulations/types/index.js +4 -1
- 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/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/agents/client/Client.mjs +2 -2
- package/dist/esm/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.mts +4 -4
- package/dist/esm/api/resources/apiKeys/types/ApiKeyAttrs.d.mts +1 -1
- package/dist/esm/api/resources/apiKeys/types/ApiKeyDetailAttrs.d.mts +1 -1
- package/dist/esm/api/resources/apiKeys/types/DelApiKeyAttrs.d.mts +1 -1
- package/dist/esm/api/resources/apiKeys/types/NewApiKeyAttrs.d.mts +1 -1
- package/dist/esm/api/resources/customers/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customers/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.mts +2 -2
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.d.mts +11 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.mjs +2 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.d.mts +8 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.mjs +2 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.d.mts +5 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs +5 -0
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts} +2 -2
- package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs} +1 -1
- package/dist/esm/api/resources/customers/types/CustomerConnectedAgent.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CustomerDelegation.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CustomerDetailConnectedAgent.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CustomerDetailDelegation.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributesAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributesDelegation.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributesAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributesDelegation.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/index.d.mts +4 -1
- package/dist/esm/api/resources/customers/types/index.mjs +4 -1
- package/dist/esm/api/resources/invitationLinks/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/invitationLinks/client/Client.mjs +1 -1
- package/dist/esm/api/resources/invitationLinks/client/requests/CreateInvitationLinksRequest.d.mts +1 -1
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.mts +2 -2
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +3 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +3 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +3 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +3 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -2
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.mts +11 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.d.mts +8 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.mjs +2 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.d.mts +5 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.mjs +5 -0
- package/dist/{cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts → esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts} +2 -2
- package/dist/esm/api/resources/simulations/types/{InviteCustomerSimulationsRequestPermissionsItem.mjs → InviteCustomerSimulationsRequestPermissionsZeroItem.mjs} +1 -1
- package/dist/esm/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributesAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributesAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/index.d.mts +4 -1
- package/dist/esm/api/resources/simulations/types/index.mjs +4 -1
- package/dist/esm/serialization/resources/agents/client/requests/CreateCustomerAgentsRequest.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/client/requests/CreateCustomerAgentsRequest.mjs +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.mts +2 -2
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.mjs +2 -2
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.d.mts +9 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.mjs +8 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.d.mts +10 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.mjs +6 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs +3 -0
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts} +2 -2
- package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs → CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs} +1 -1
- package/dist/esm/serialization/resources/customers/types/index.d.mts +4 -1
- package/dist/esm/serialization/resources/customers/types/index.mjs +4 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.mjs +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +3 -0
- package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -2
- package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +2 -2
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.mts +9 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.mjs +8 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.d.mts +10 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.mjs +6 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.mjs +3 -0
- package/dist/esm/serialization/resources/simulations/types/{InviteCustomerSimulationsRequestPermissionsItem.d.mts → InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts} +2 -2
- package/dist/esm/serialization/resources/simulations/types/{InviteCustomerSimulationsRequestPermissionsItem.mjs → InviteCustomerSimulationsRequestPermissionsZeroItem.mjs} +1 -1
- package/dist/esm/serialization/resources/simulations/types/index.d.mts +4 -1
- package/dist/esm/serialization/resources/simulations/types/index.mjs +4 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -4
|
@@ -7,7 +7,7 @@ export interface DisconnectCustomerSimulationsResponseDataAttributesDelegation {
|
|
|
7
7
|
id: string;
|
|
8
8
|
/** Connection status: ACTIVE, SUSPENDED (paused by the customer), REVOKED, or EXPIRED. */
|
|
9
9
|
status: Natural.DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus;
|
|
10
|
-
/**
|
|
10
|
+
/** Permissions granted by the customer. */
|
|
11
11
|
permissions: string[];
|
|
12
12
|
/** RFC 3339 timestamp when the customer connected. */
|
|
13
13
|
createdAt: Date;
|
package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Permissions for each agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created.
|
|
4
|
+
*/
|
|
5
|
+
export type InviteCustomerSimulationsRequestPermissions =
|
|
6
|
+
/**
|
|
7
|
+
* Specific permissions to request. */
|
|
8
|
+
Natural.InviteCustomerSimulationsRequestPermissionsZeroItem[]
|
|
9
|
+
/**
|
|
10
|
+
* Request every permission available to your party today. */
|
|
11
|
+
| Natural.InviteCustomerSimulationsRequestPermissionsType;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Request every permission available to your party today.
|
|
4
|
+
*/
|
|
5
|
+
export interface InviteCustomerSimulationsRequestPermissionsType {
|
|
6
|
+
/** Set to `ALL`. */
|
|
7
|
+
type: Natural.InviteCustomerSimulationsRequestPermissionsTypeType;
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Set to `ALL`. */
|
|
2
|
+
export declare const InviteCustomerSimulationsRequestPermissionsTypeType: {
|
|
3
|
+
readonly All: "ALL";
|
|
4
|
+
};
|
|
5
|
+
export type InviteCustomerSimulationsRequestPermissionsTypeType = (typeof InviteCustomerSimulationsRequestPermissionsTypeType)[keyof typeof InviteCustomerSimulationsRequestPermissionsTypeType];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const InviteCustomerSimulationsRequestPermissionsZeroItem: {
|
|
2
2
|
readonly DisputesRead: "disputes.read";
|
|
3
3
|
readonly DisputesCreate: "disputes.create";
|
|
4
4
|
readonly PaymentsRead: "payments.read";
|
|
@@ -31,4 +31,4 @@ export declare const InviteCustomerSimulationsRequestPermissionsItem: {
|
|
|
31
31
|
readonly EnrollmentRead: "enrollment.read";
|
|
32
32
|
readonly CardsRead: "cards.read";
|
|
33
33
|
};
|
|
34
|
-
export type
|
|
34
|
+
export type InviteCustomerSimulationsRequestPermissionsZeroItem = (typeof InviteCustomerSimulationsRequestPermissionsZeroItem)[keyof typeof InviteCustomerSimulationsRequestPermissionsZeroItem];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export const
|
|
2
|
+
export const InviteCustomerSimulationsRequestPermissionsZeroItem = {
|
|
3
3
|
DisputesRead: "disputes.read",
|
|
4
4
|
DisputesCreate: "disputes.create",
|
|
5
5
|
PaymentsRead: "payments.read",
|
|
@@ -8,7 +8,7 @@ export interface RevokeAgentConnectionSimulationsResponseMetaDataAttributesAgent
|
|
|
8
8
|
handle: string | null;
|
|
9
9
|
/** Connection status. */
|
|
10
10
|
status: string;
|
|
11
|
-
/** Permissions this agent
|
|
11
|
+
/** Permissions granted to this agent. */
|
|
12
12
|
permissions: string[];
|
|
13
13
|
/** Spending limits in cents (per-transaction, daily, monthly) for this agent. */
|
|
14
14
|
limits: Natural.RevokeAgentConnectionSimulationsResponseMetaDataAttributesAgentsItemLimits | null;
|
|
@@ -7,7 +7,7 @@ export interface RevokeAgentConnectionSimulationsResponseMetaDataAttributesDeleg
|
|
|
7
7
|
id: string;
|
|
8
8
|
/** Connection status: ACTIVE, SUSPENDED (paused by the customer), REVOKED, or EXPIRED. */
|
|
9
9
|
status: Natural.RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegationStatus;
|
|
10
|
-
/**
|
|
10
|
+
/** Permissions granted by the customer. */
|
|
11
11
|
permissions: string[];
|
|
12
12
|
/** RFC 3339 timestamp when the customer connected. */
|
|
13
13
|
createdAt: Date;
|
|
@@ -8,7 +8,7 @@ export interface RevokeAgentConnectionSimulationsResponseZeroDataAttributesAgent
|
|
|
8
8
|
handle: string | null;
|
|
9
9
|
/** Connection status. */
|
|
10
10
|
status: string;
|
|
11
|
-
/** Permissions this agent
|
|
11
|
+
/** Permissions granted to this agent. */
|
|
12
12
|
permissions: string[];
|
|
13
13
|
/** Spending limits in cents (per-transaction, daily, monthly) for this agent. */
|
|
14
14
|
limits: Natural.RevokeAgentConnectionSimulationsResponseZeroDataAttributesAgentsItemLimits | null;
|
|
@@ -7,7 +7,7 @@ export interface RevokeAgentConnectionSimulationsResponseZeroDataAttributesDeleg
|
|
|
7
7
|
id: string;
|
|
8
8
|
/** Connection status: ACTIVE, SUSPENDED (paused by the customer), REVOKED, or EXPIRED. */
|
|
9
9
|
status: Natural.RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegationStatus;
|
|
10
|
-
/**
|
|
10
|
+
/** Permissions granted by the customer. */
|
|
11
11
|
permissions: string[];
|
|
12
12
|
/** RFC 3339 timestamp when the customer connected. */
|
|
13
13
|
createdAt: Date;
|
|
@@ -173,7 +173,10 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
|
|
|
173
173
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
|
|
174
174
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
|
|
175
175
|
export * from "./FundCustomerSimulationsResponseDataType.mjs";
|
|
176
|
-
export * from "./
|
|
176
|
+
export * from "./InviteCustomerSimulationsRequestPermissions.mjs";
|
|
177
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsType.mjs";
|
|
178
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsTypeType.mjs";
|
|
179
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsZeroItem.mjs";
|
|
177
180
|
export * from "./InviteCustomerSimulationsRequestType.mjs";
|
|
178
181
|
export * from "./InviteCustomerSimulationsResponse.mjs";
|
|
179
182
|
export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
|
|
@@ -173,7 +173,10 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
|
|
|
173
173
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
|
|
174
174
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
|
|
175
175
|
export * from "./FundCustomerSimulationsResponseDataType.mjs";
|
|
176
|
-
export * from "./
|
|
176
|
+
export * from "./InviteCustomerSimulationsRequestPermissions.mjs";
|
|
177
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsType.mjs";
|
|
178
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsTypeType.mjs";
|
|
179
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsZeroItem.mjs";
|
|
177
180
|
export * from "./InviteCustomerSimulationsRequestType.mjs";
|
|
178
181
|
export * from "./InviteCustomerSimulationsResponse.mjs";
|
|
179
182
|
export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
|
package/dist/esm/serialization/resources/agents/client/requests/CreateCustomerAgentsRequest.d.mts
CHANGED
|
@@ -7,8 +7,8 @@ import { CreateCustomerAgentsRequestRecipientsItem } from "../../types/CreateCus
|
|
|
7
7
|
export declare const CreateCustomerAgentsRequest: core.serialization.Schema<serializers.CreateCustomerAgentsRequest.Raw, Omit<Natural.CreateCustomerAgentsRequest, "agentId" | "idempotencyKey">>;
|
|
8
8
|
export declare namespace CreateCustomerAgentsRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
recipients: CreateCustomerAgentsRequestRecipientsItem.Raw[];
|
|
11
10
|
permissions: CreateCustomerAgentsRequestPermissionsItem.Raw[];
|
|
11
|
+
recipients: CreateCustomerAgentsRequestRecipientsItem.Raw[];
|
|
12
12
|
limits?: CreateCustomerAgentsRequestLimits.Raw | null;
|
|
13
13
|
expiresAt?: string | null;
|
|
14
14
|
tags?: Record<string, string> | null;
|
package/dist/esm/serialization/resources/agents/client/requests/CreateCustomerAgentsRequest.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import { CreateCustomerAgentsRequestLimits } from "../../types/CreateCustomerAge
|
|
|
4
4
|
import { CreateCustomerAgentsRequestPermissionsItem } from "../../types/CreateCustomerAgentsRequestPermissionsItem.mjs";
|
|
5
5
|
import { CreateCustomerAgentsRequestRecipientsItem } from "../../types/CreateCustomerAgentsRequestRecipientsItem.mjs";
|
|
6
6
|
export const CreateCustomerAgentsRequest = core.serialization.object({
|
|
7
|
-
recipients: core.serialization.list(CreateCustomerAgentsRequestRecipientsItem),
|
|
8
7
|
permissions: core.serialization.list(CreateCustomerAgentsRequestPermissionsItem),
|
|
8
|
+
recipients: core.serialization.list(CreateCustomerAgentsRequestRecipientsItem),
|
|
9
9
|
limits: CreateCustomerAgentsRequestLimits.optional(),
|
|
10
10
|
expiresAt: core.serialization.date().optional(),
|
|
11
11
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
@@ -2,12 +2,12 @@ import type * as Natural from "../../../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
import { CreateInvitationsCustomersRequestAgentsItemLimits } from "./CreateInvitationsCustomersRequestAgentsItemLimits.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissions } from "./CreateInvitationsCustomersRequestAgentsItemPermissions.mjs";
|
|
6
6
|
export declare const CreateInvitationsCustomersRequestAgentsItem: core.serialization.ObjectSchema<serializers.CreateInvitationsCustomersRequestAgentsItem.Raw, Natural.CreateInvitationsCustomersRequestAgentsItem>;
|
|
7
7
|
export declare namespace CreateInvitationsCustomersRequestAgentsItem {
|
|
8
8
|
interface Raw {
|
|
9
|
+
permissions: CreateInvitationsCustomersRequestAgentsItemPermissions.Raw;
|
|
9
10
|
agentId: string;
|
|
10
|
-
permissions: CreateInvitationsCustomersRequestAgentsItemPermissionsItem.Raw[];
|
|
11
11
|
limits?: CreateInvitationsCustomersRequestAgentsItemLimits.Raw | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { CreateInvitationsCustomersRequestAgentsItemLimits } from "./CreateInvitationsCustomersRequestAgentsItemLimits.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissions } from "./CreateInvitationsCustomersRequestAgentsItemPermissions.mjs";
|
|
5
5
|
export const CreateInvitationsCustomersRequestAgentsItem = core.serialization.object({
|
|
6
|
+
permissions: CreateInvitationsCustomersRequestAgentsItemPermissions,
|
|
6
7
|
agentId: core.serialization.string(),
|
|
7
|
-
permissions: core.serialization.list(CreateInvitationsCustomersRequestAgentsItemPermissionsItem),
|
|
8
8
|
limits: CreateInvitationsCustomersRequestAgentsItemLimits.optional(),
|
|
9
9
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissionsType } from "./CreateInvitationsCustomersRequestAgentsItemPermissionsType.mjs";
|
|
5
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem } from "./CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs";
|
|
6
|
+
export declare const CreateInvitationsCustomersRequestAgentsItemPermissions: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestAgentsItemPermissions.Raw, Natural.CreateInvitationsCustomersRequestAgentsItemPermissions>;
|
|
7
|
+
export declare namespace CreateInvitationsCustomersRequestAgentsItemPermissions {
|
|
8
|
+
type Raw = CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.Raw[] | CreateInvitationsCustomersRequestAgentsItemPermissionsType.Raw;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissionsType } from "./CreateInvitationsCustomersRequestAgentsItemPermissionsType.mjs";
|
|
4
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem } from "./CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs";
|
|
5
|
+
export const CreateInvitationsCustomersRequestAgentsItemPermissions = core.serialization.undiscriminatedUnion([
|
|
6
|
+
core.serialization.list(CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem),
|
|
7
|
+
CreateInvitationsCustomersRequestAgentsItemPermissionsType,
|
|
8
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType } from "./CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs";
|
|
5
|
+
export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsType: core.serialization.ObjectSchema<serializers.CreateInvitationsCustomersRequestAgentsItemPermissionsType.Raw, Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsType>;
|
|
6
|
+
export declare namespace CreateInvitationsCustomersRequestAgentsItemPermissionsType {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType } from "./CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs";
|
|
4
|
+
export const CreateInvitationsCustomersRequestAgentsItemPermissionsType = core.serialization.object({
|
|
5
|
+
type: CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType,
|
|
6
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.Raw, Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType>;
|
|
5
|
+
export declare namespace CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType {
|
|
6
|
+
type Raw = "ALL";
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare namespace
|
|
4
|
+
export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.Raw, Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem>;
|
|
5
|
+
export declare namespace CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem {
|
|
6
6
|
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read";
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
export const
|
|
3
|
+
export const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = core.serialization.enum_([
|
|
4
4
|
"disputes.read",
|
|
5
5
|
"disputes.create",
|
|
6
6
|
"payments.read",
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./CreateInvitationsCustomersRequestAgentsItem.mjs";
|
|
2
2
|
export * from "./CreateInvitationsCustomersRequestAgentsItemLimits.mjs";
|
|
3
|
-
export * from "./
|
|
3
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissions.mjs";
|
|
4
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsType.mjs";
|
|
5
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs";
|
|
6
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs";
|
|
4
7
|
export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.mjs";
|
|
5
8
|
export * from "./CreateInvitationsCustomersRequestRecipientsItem.mjs";
|
|
6
9
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.mjs";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./CreateInvitationsCustomersRequestAgentsItem.mjs";
|
|
2
2
|
export * from "./CreateInvitationsCustomersRequestAgentsItemLimits.mjs";
|
|
3
|
-
export * from "./
|
|
3
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissions.mjs";
|
|
4
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsType.mjs";
|
|
5
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs";
|
|
6
|
+
export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs";
|
|
4
7
|
export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.mjs";
|
|
5
8
|
export * from "./CreateInvitationsCustomersRequestRecipientsItem.mjs";
|
|
6
9
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.mjs";
|
|
@@ -6,8 +6,8 @@ import { CreateInvitationLinksRequestProposedAgentsItemPermissionsItem } from ".
|
|
|
6
6
|
export declare const CreateInvitationLinksRequestProposedAgentsItem: core.serialization.ObjectSchema<serializers.CreateInvitationLinksRequestProposedAgentsItem.Raw, Natural.CreateInvitationLinksRequestProposedAgentsItem>;
|
|
7
7
|
export declare namespace CreateInvitationLinksRequestProposedAgentsItem {
|
|
8
8
|
interface Raw {
|
|
9
|
-
agentId: string;
|
|
10
9
|
permissions: CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.Raw[];
|
|
10
|
+
agentId: string;
|
|
11
11
|
limits?: CreateInvitationLinksRequestProposedAgentsItemLimits.Raw | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -3,7 +3,7 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { CreateInvitationLinksRequestProposedAgentsItemLimits } from "./CreateInvitationLinksRequestProposedAgentsItemLimits.mjs";
|
|
4
4
|
import { CreateInvitationLinksRequestProposedAgentsItemPermissionsItem } from "./CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs";
|
|
5
5
|
export const CreateInvitationLinksRequestProposedAgentsItem = core.serialization.object({
|
|
6
|
-
agentId: core.serialization.string(),
|
|
7
6
|
permissions: core.serialization.list(CreateInvitationLinksRequestProposedAgentsItemPermissionsItem),
|
|
7
|
+
agentId: core.serialization.string(),
|
|
8
8
|
limits: CreateInvitationLinksRequestProposedAgentsItemLimits.optional(),
|
|
9
9
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.Raw, Natural.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
7
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type * as Natural from "../../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { InviteCustomerSimulationsRequestPermissions } from "../../types/InviteCustomerSimulationsRequestPermissions.mjs";
|
|
5
5
|
import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.mjs";
|
|
6
6
|
export declare const InviteCustomerSimulationsRequest: core.serialization.Schema<serializers.InviteCustomerSimulationsRequest.Raw, Omit<Natural.InviteCustomerSimulationsRequest, "idempotencyKey">>;
|
|
7
7
|
export declare namespace InviteCustomerSimulationsRequest {
|
|
8
8
|
interface Raw {
|
|
9
9
|
agentIds: string[];
|
|
10
|
-
permissions
|
|
10
|
+
permissions: InviteCustomerSimulationsRequestPermissions.Raw;
|
|
11
11
|
type?: InviteCustomerSimulationsRequestType.Raw | null;
|
|
12
12
|
message?: string | null;
|
|
13
13
|
redirectUrl?: string | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { InviteCustomerSimulationsRequestPermissions } from "../../types/InviteCustomerSimulationsRequestPermissions.mjs";
|
|
4
4
|
import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.mjs";
|
|
5
5
|
export const InviteCustomerSimulationsRequest = core.serialization.object({
|
|
6
6
|
agentIds: core.serialization.list(core.serialization.string()),
|
|
7
|
-
permissions:
|
|
7
|
+
permissions: InviteCustomerSimulationsRequestPermissions,
|
|
8
8
|
type: InviteCustomerSimulationsRequestType.optional(),
|
|
9
9
|
message: core.serialization.string().optional(),
|
|
10
10
|
redirectUrl: core.serialization.string().optional(),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { InviteCustomerSimulationsRequestPermissionsType } from "./InviteCustomerSimulationsRequestPermissionsType.mjs";
|
|
5
|
+
import { InviteCustomerSimulationsRequestPermissionsZeroItem } from "./InviteCustomerSimulationsRequestPermissionsZeroItem.mjs";
|
|
6
|
+
export declare const InviteCustomerSimulationsRequestPermissions: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissions.Raw, Natural.InviteCustomerSimulationsRequestPermissions>;
|
|
7
|
+
export declare namespace InviteCustomerSimulationsRequestPermissions {
|
|
8
|
+
type Raw = InviteCustomerSimulationsRequestPermissionsZeroItem.Raw[] | InviteCustomerSimulationsRequestPermissionsType.Raw;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { InviteCustomerSimulationsRequestPermissionsType } from "./InviteCustomerSimulationsRequestPermissionsType.mjs";
|
|
4
|
+
import { InviteCustomerSimulationsRequestPermissionsZeroItem } from "./InviteCustomerSimulationsRequestPermissionsZeroItem.mjs";
|
|
5
|
+
export const InviteCustomerSimulationsRequestPermissions = core.serialization.undiscriminatedUnion([
|
|
6
|
+
core.serialization.list(InviteCustomerSimulationsRequestPermissionsZeroItem),
|
|
7
|
+
InviteCustomerSimulationsRequestPermissionsType,
|
|
8
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { InviteCustomerSimulationsRequestPermissionsTypeType } from "./InviteCustomerSimulationsRequestPermissionsTypeType.mjs";
|
|
5
|
+
export declare const InviteCustomerSimulationsRequestPermissionsType: core.serialization.ObjectSchema<serializers.InviteCustomerSimulationsRequestPermissionsType.Raw, Natural.InviteCustomerSimulationsRequestPermissionsType>;
|
|
6
|
+
export declare namespace InviteCustomerSimulationsRequestPermissionsType {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: InviteCustomerSimulationsRequestPermissionsTypeType.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { InviteCustomerSimulationsRequestPermissionsTypeType } from "./InviteCustomerSimulationsRequestPermissionsTypeType.mjs";
|
|
4
|
+
export const InviteCustomerSimulationsRequestPermissionsType = core.serialization.object({
|
|
5
|
+
type: InviteCustomerSimulationsRequestPermissionsTypeType,
|
|
6
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const InviteCustomerSimulationsRequestPermissionsTypeType: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsTypeType.Raw, Natural.InviteCustomerSimulationsRequestPermissionsTypeType>;
|
|
5
|
+
export declare namespace InviteCustomerSimulationsRequestPermissionsTypeType {
|
|
6
|
+
type Raw = "ALL";
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare namespace
|
|
4
|
+
export declare const InviteCustomerSimulationsRequestPermissionsZeroItem: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsZeroItem.Raw, Natural.InviteCustomerSimulationsRequestPermissionsZeroItem>;
|
|
5
|
+
export declare namespace InviteCustomerSimulationsRequestPermissionsZeroItem {
|
|
6
6
|
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read";
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
export const
|
|
3
|
+
export const InviteCustomerSimulationsRequestPermissionsZeroItem = core.serialization.enum_([
|
|
4
4
|
"disputes.read",
|
|
5
5
|
"disputes.create",
|
|
6
6
|
"payments.read",
|
|
@@ -173,7 +173,10 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
|
|
|
173
173
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
|
|
174
174
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
|
|
175
175
|
export * from "./FundCustomerSimulationsResponseDataType.mjs";
|
|
176
|
-
export * from "./
|
|
176
|
+
export * from "./InviteCustomerSimulationsRequestPermissions.mjs";
|
|
177
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsType.mjs";
|
|
178
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsTypeType.mjs";
|
|
179
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsZeroItem.mjs";
|
|
177
180
|
export * from "./InviteCustomerSimulationsRequestType.mjs";
|
|
178
181
|
export * from "./InviteCustomerSimulationsResponse.mjs";
|
|
179
182
|
export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
|
|
@@ -173,7 +173,10 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
|
|
|
173
173
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
|
|
174
174
|
export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
|
|
175
175
|
export * from "./FundCustomerSimulationsResponseDataType.mjs";
|
|
176
|
-
export * from "./
|
|
176
|
+
export * from "./InviteCustomerSimulationsRequestPermissions.mjs";
|
|
177
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsType.mjs";
|
|
178
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsTypeType.mjs";
|
|
179
|
+
export * from "./InviteCustomerSimulationsRequestPermissionsZeroItem.mjs";
|
|
177
180
|
export * from "./InviteCustomerSimulationsRequestType.mjs";
|
|
178
181
|
export * from "./InviteCustomerSimulationsResponse.mjs";
|
|
179
182
|
export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.27";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.27";
|