@naturalpay/sdk 1.6.57 → 1.6.59
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/requests/CreateCustomerAgentsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +9 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/agents/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/agents/types/index.js +3 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/NewApiKeyParams.d.ts +1 -1
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +11 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +11 -0
- 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/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +9 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +9 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/customers/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/customers/types/index.js +3 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +9 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js +50 -0
- package/dist/cjs/api/resources/simulations/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/simulations/types/index.js +3 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +9 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.js +2 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.js +2 -1
- package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.js +2 -1
- package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/agents/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/agents/types/index.js +3 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +11 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +9 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.js +2 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.ts +2 -1
- package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.js +2 -1
- package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.js +2 -1
- package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/customers/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/customers/types/index.js +3 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
- package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.js +2 -1
- package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.js +2 -1
- package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +2 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.js +2 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js +84 -0
- package/dist/cjs/serialization/resources/simulations/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/simulations/types/index.js +3 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.mts +1 -1
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +9 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +9 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts +1 -1
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +1 -1
- package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/agents/types/index.d.mts +3 -0
- package/dist/esm/api/resources/agents/types/index.mjs +3 -0
- package/dist/esm/api/resources/apiKeys/client/requests/NewApiKeyParams.d.mts +1 -1
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +11 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +11 -0
- 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/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +9 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +9 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/customers/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customers/types/index.mjs +3 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +9 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +9 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs +47 -0
- package/dist/esm/api/resources/simulations/types/index.d.mts +3 -0
- package/dist/esm/api/resources/simulations/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +9 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/agents/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/agents/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +11 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +9 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.mts +2 -1
- package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.mjs +2 -1
- package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/customers/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/customers/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
- package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +2 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.mjs +2 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs +48 -0
- package/dist/esm/serialization/resources/simulations/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/simulations/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
|
@@ -4,6 +4,7 @@ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributes.js";
|
|
|
4
4
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.js";
|
|
5
5
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js";
|
|
6
6
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.js";
|
|
7
|
+
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js";
|
|
7
8
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.js";
|
|
8
9
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationships.js";
|
|
9
10
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.js";
|
|
@@ -55,6 +56,7 @@ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributes.js";
|
|
|
55
56
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.js";
|
|
56
57
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js";
|
|
57
58
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.js";
|
|
59
|
+
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js";
|
|
58
60
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.js";
|
|
59
61
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationships.js";
|
|
60
62
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.js";
|
|
@@ -206,6 +208,7 @@ export * from "./InviteCustomerSimulationsResponseDataItemAttributes.js";
|
|
|
206
208
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.js";
|
|
207
209
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.js";
|
|
208
210
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.js";
|
|
211
|
+
export * from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js";
|
|
209
212
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.js";
|
|
210
213
|
export * from "./InviteCustomerSimulationsResponseDataItemRelationships.js";
|
|
211
214
|
export * from "./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.js";
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttribute
|
|
|
20
20
|
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.js"), exports);
|
|
21
21
|
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js"), exports);
|
|
22
22
|
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.js"), exports);
|
|
23
|
+
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js"), exports);
|
|
23
24
|
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.js"), exports);
|
|
24
25
|
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataRelationships.js"), exports);
|
|
25
26
|
__exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.js"), exports);
|
|
@@ -71,6 +72,7 @@ __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttribut
|
|
|
71
72
|
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.js"), exports);
|
|
72
73
|
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js"), exports);
|
|
73
74
|
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.js"), exports);
|
|
75
|
+
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js"), exports);
|
|
74
76
|
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.js"), exports);
|
|
75
77
|
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataRelationships.js"), exports);
|
|
76
78
|
__exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.js"), exports);
|
|
@@ -222,6 +224,7 @@ __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributes.js")
|
|
|
222
224
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.js"), exports);
|
|
223
225
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.js"), exports);
|
|
224
226
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesLimits.js"), exports);
|
|
227
|
+
__exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js"), exports);
|
|
225
228
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesStatus.js"), exports);
|
|
226
229
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItemRelationships.js"), exports);
|
|
227
230
|
__exportStar(require("./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.59";
|
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.6.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
9
|
+
"X-Fern-SDK-Version": "1.6.59",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.59",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -16,7 +16,7 @@ export interface CreateCustomerAgentsRequest {
|
|
|
16
16
|
agentId: string;
|
|
17
17
|
/** Unique key for safely retrying a request without creating duplicates. */
|
|
18
18
|
idempotencyKey: string;
|
|
19
|
-
/** Permissions requested for this agent. */
|
|
19
|
+
/** Permissions requested for this agent. Use camelCase names; legacy spellings remain accepted with the same access. */
|
|
20
20
|
permissions: Natural.CreateCustomerAgentsRequestPermissionsItem[];
|
|
21
21
|
/** Customer recipients to invite */
|
|
22
22
|
recipients: Natural.CreateCustomerAgentsRequestRecipientsItem[];
|
package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts
CHANGED
|
@@ -30,5 +30,14 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
30
30
|
readonly EnrollmentRead: "enrollment.read";
|
|
31
31
|
readonly CardsRead: "cards.read";
|
|
32
32
|
readonly SavedCardsUse: "saved_cards.use";
|
|
33
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
34
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
35
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
36
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
37
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
38
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
39
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
40
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
41
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
33
42
|
};
|
|
34
43
|
export type CreateCustomerAgentsRequestPermissionsItem = (typeof CreateCustomerAgentsRequestPermissionsItem)[keyof typeof CreateCustomerAgentsRequestPermissionsItem];
|
|
@@ -31,4 +31,13 @@ export const CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
31
31
|
EnrollmentRead: "enrollment.read",
|
|
32
32
|
CardsRead: "cards.read",
|
|
33
33
|
SavedCardsUse: "saved_cards.use",
|
|
34
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
35
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
36
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
37
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
38
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
39
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
40
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
41
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
42
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
34
43
|
};
|
package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ export interface CreateCustomerAgentsResponseDataItemAttributes {
|
|
|
10
10
|
/** Current invitation status */
|
|
11
11
|
status: Natural.CreateCustomerAgentsResponseDataItemAttributesStatus;
|
|
12
12
|
/** Permissions requested for this agent invitation */
|
|
13
|
-
permissions:
|
|
13
|
+
permissions: Natural.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem[];
|
|
14
14
|
/** Requested per-agent customer limits */
|
|
15
15
|
limits: Natural.CreateCustomerAgentsResponseDataItemAttributesLimits | null;
|
|
16
16
|
/** Metadata visible to anyone who can read the resource. */
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const CreateCustomerAgentsResponseDataItemAttributesPermissionsItem: {
|
|
2
|
+
readonly DisputesRead: "disputes.read";
|
|
3
|
+
readonly DisputesCreate: "disputes.create";
|
|
4
|
+
readonly PaymentsRead: "payments.read";
|
|
5
|
+
readonly PaymentsCreate: "payments.create";
|
|
6
|
+
readonly ExternalPartiesRead: "external_parties.read";
|
|
7
|
+
readonly ExternalPartiesCreate: "external_parties.create";
|
|
8
|
+
readonly DirectRead: "direct.read";
|
|
9
|
+
readonly DirectCreate: "direct.create";
|
|
10
|
+
readonly ExternalAccountsCreate: "external_accounts.create";
|
|
11
|
+
readonly WalletsRead: "wallets.read";
|
|
12
|
+
readonly WalletsBalance: "wallets.balance";
|
|
13
|
+
readonly WalletsCreate: "wallets.create";
|
|
14
|
+
readonly WalletsUpdate: "wallets.update";
|
|
15
|
+
readonly WalletsFund: "wallets.fund";
|
|
16
|
+
readonly WalletsDeposit: "wallets.deposit";
|
|
17
|
+
readonly WalletsTransfer: "wallets.transfer";
|
|
18
|
+
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
|
+
readonly PartyRead: "party.read";
|
|
20
|
+
readonly PartyUpdate: "party.update";
|
|
21
|
+
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
22
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
23
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
24
|
+
readonly RefundsRead: "refunds.read";
|
|
25
|
+
readonly RefundsCreate: "refunds.create";
|
|
26
|
+
readonly VoiceSessionsRead: "voice_sessions.read";
|
|
27
|
+
readonly VoiceSessionsCreate: "voice_sessions.create";
|
|
28
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
29
|
+
readonly ChargebacksRespond: "chargebacks.respond";
|
|
30
|
+
readonly MandatesRead: "mandates.read";
|
|
31
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
32
|
+
readonly CardsRead: "cards.read";
|
|
33
|
+
readonly SavedCardsUse: "saved_cards.use";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
35
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
36
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
37
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
38
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
39
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
40
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
41
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
42
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
43
|
+
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
44
|
+
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
45
|
+
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
46
|
+
};
|
|
47
|
+
export type CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = (typeof CreateCustomerAgentsResponseDataItemAttributesPermissionsItem)[keyof typeof CreateCustomerAgentsResponseDataItemAttributesPermissionsItem];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = {
|
|
3
|
+
DisputesRead: "disputes.read",
|
|
4
|
+
DisputesCreate: "disputes.create",
|
|
5
|
+
PaymentsRead: "payments.read",
|
|
6
|
+
PaymentsCreate: "payments.create",
|
|
7
|
+
ExternalPartiesRead: "external_parties.read",
|
|
8
|
+
ExternalPartiesCreate: "external_parties.create",
|
|
9
|
+
DirectRead: "direct.read",
|
|
10
|
+
DirectCreate: "direct.create",
|
|
11
|
+
ExternalAccountsCreate: "external_accounts.create",
|
|
12
|
+
WalletsRead: "wallets.read",
|
|
13
|
+
WalletsBalance: "wallets.balance",
|
|
14
|
+
WalletsCreate: "wallets.create",
|
|
15
|
+
WalletsUpdate: "wallets.update",
|
|
16
|
+
WalletsFund: "wallets.fund",
|
|
17
|
+
WalletsDeposit: "wallets.deposit",
|
|
18
|
+
WalletsTransfer: "wallets.transfer",
|
|
19
|
+
WalletsWithdraw: "wallets.withdraw",
|
|
20
|
+
PartyRead: "party.read",
|
|
21
|
+
PartyUpdate: "party.update",
|
|
22
|
+
PaymentIntentsCreate: "payment_intents.create",
|
|
23
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
24
|
+
CardPaymentsRead: "card_payments.read",
|
|
25
|
+
RefundsRead: "refunds.read",
|
|
26
|
+
RefundsCreate: "refunds.create",
|
|
27
|
+
VoiceSessionsRead: "voice_sessions.read",
|
|
28
|
+
VoiceSessionsCreate: "voice_sessions.create",
|
|
29
|
+
ChargebacksRead: "chargebacks.read",
|
|
30
|
+
ChargebacksRespond: "chargebacks.respond",
|
|
31
|
+
MandatesRead: "mandates.read",
|
|
32
|
+
EnrollmentRead: "enrollment.read",
|
|
33
|
+
CardsRead: "cards.read",
|
|
34
|
+
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
44
|
+
PaymentRequestsRead: "paymentRequests.read",
|
|
45
|
+
PaymentRequestsCreate: "paymentRequests.create",
|
|
46
|
+
ExternalAccountsRead: "externalAccounts.read",
|
|
47
|
+
};
|
package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ export interface ListInvitationsAgentsResponseDataItemAttributes {
|
|
|
14
14
|
/** Agent name. */
|
|
15
15
|
agentName: string;
|
|
16
16
|
/** Permissions granted on accept. */
|
|
17
|
-
permissions:
|
|
17
|
+
permissions: Natural.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem[];
|
|
18
18
|
/** Transaction limits. */
|
|
19
19
|
limits: Natural.ListInvitationsAgentsResponseDataItemAttributesLimits | null;
|
|
20
20
|
/** Invitation status. */
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const ListInvitationsAgentsResponseDataItemAttributesPermissionsItem: {
|
|
2
|
+
readonly DisputesRead: "disputes.read";
|
|
3
|
+
readonly DisputesCreate: "disputes.create";
|
|
4
|
+
readonly PaymentsRead: "payments.read";
|
|
5
|
+
readonly PaymentsCreate: "payments.create";
|
|
6
|
+
readonly ExternalPartiesRead: "external_parties.read";
|
|
7
|
+
readonly ExternalPartiesCreate: "external_parties.create";
|
|
8
|
+
readonly DirectRead: "direct.read";
|
|
9
|
+
readonly DirectCreate: "direct.create";
|
|
10
|
+
readonly ExternalAccountsCreate: "external_accounts.create";
|
|
11
|
+
readonly WalletsRead: "wallets.read";
|
|
12
|
+
readonly WalletsBalance: "wallets.balance";
|
|
13
|
+
readonly WalletsCreate: "wallets.create";
|
|
14
|
+
readonly WalletsUpdate: "wallets.update";
|
|
15
|
+
readonly WalletsFund: "wallets.fund";
|
|
16
|
+
readonly WalletsDeposit: "wallets.deposit";
|
|
17
|
+
readonly WalletsTransfer: "wallets.transfer";
|
|
18
|
+
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
|
+
readonly PartyRead: "party.read";
|
|
20
|
+
readonly PartyUpdate: "party.update";
|
|
21
|
+
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
22
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
23
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
24
|
+
readonly RefundsRead: "refunds.read";
|
|
25
|
+
readonly RefundsCreate: "refunds.create";
|
|
26
|
+
readonly VoiceSessionsRead: "voice_sessions.read";
|
|
27
|
+
readonly VoiceSessionsCreate: "voice_sessions.create";
|
|
28
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
29
|
+
readonly ChargebacksRespond: "chargebacks.respond";
|
|
30
|
+
readonly MandatesRead: "mandates.read";
|
|
31
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
32
|
+
readonly CardsRead: "cards.read";
|
|
33
|
+
readonly SavedCardsUse: "saved_cards.use";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
35
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
36
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
37
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
38
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
39
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
40
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
41
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
42
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
43
|
+
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
44
|
+
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
45
|
+
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
46
|
+
};
|
|
47
|
+
export type ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = (typeof ListInvitationsAgentsResponseDataItemAttributesPermissionsItem)[keyof typeof ListInvitationsAgentsResponseDataItemAttributesPermissionsItem];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = {
|
|
3
|
+
DisputesRead: "disputes.read",
|
|
4
|
+
DisputesCreate: "disputes.create",
|
|
5
|
+
PaymentsRead: "payments.read",
|
|
6
|
+
PaymentsCreate: "payments.create",
|
|
7
|
+
ExternalPartiesRead: "external_parties.read",
|
|
8
|
+
ExternalPartiesCreate: "external_parties.create",
|
|
9
|
+
DirectRead: "direct.read",
|
|
10
|
+
DirectCreate: "direct.create",
|
|
11
|
+
ExternalAccountsCreate: "external_accounts.create",
|
|
12
|
+
WalletsRead: "wallets.read",
|
|
13
|
+
WalletsBalance: "wallets.balance",
|
|
14
|
+
WalletsCreate: "wallets.create",
|
|
15
|
+
WalletsUpdate: "wallets.update",
|
|
16
|
+
WalletsFund: "wallets.fund",
|
|
17
|
+
WalletsDeposit: "wallets.deposit",
|
|
18
|
+
WalletsTransfer: "wallets.transfer",
|
|
19
|
+
WalletsWithdraw: "wallets.withdraw",
|
|
20
|
+
PartyRead: "party.read",
|
|
21
|
+
PartyUpdate: "party.update",
|
|
22
|
+
PaymentIntentsCreate: "payment_intents.create",
|
|
23
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
24
|
+
CardPaymentsRead: "card_payments.read",
|
|
25
|
+
RefundsRead: "refunds.read",
|
|
26
|
+
RefundsCreate: "refunds.create",
|
|
27
|
+
VoiceSessionsRead: "voice_sessions.read",
|
|
28
|
+
VoiceSessionsCreate: "voice_sessions.create",
|
|
29
|
+
ChargebacksRead: "chargebacks.read",
|
|
30
|
+
ChargebacksRespond: "chargebacks.respond",
|
|
31
|
+
MandatesRead: "mandates.read",
|
|
32
|
+
EnrollmentRead: "enrollment.read",
|
|
33
|
+
CardsRead: "cards.read",
|
|
34
|
+
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
44
|
+
PaymentRequestsRead: "paymentRequests.read",
|
|
45
|
+
PaymentRequestsCreate: "paymentRequests.create",
|
|
46
|
+
ExternalAccountsRead: "externalAccounts.read",
|
|
47
|
+
};
|
package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ export interface RevokeInvitationAgentsResponseDataAttributes {
|
|
|
14
14
|
/** Agent name. */
|
|
15
15
|
agentName: string;
|
|
16
16
|
/** Permissions granted on accept. */
|
|
17
|
-
permissions:
|
|
17
|
+
permissions: Natural.RevokeInvitationAgentsResponseDataAttributesPermissionsItem[];
|
|
18
18
|
/** Transaction limits. */
|
|
19
19
|
limits: Natural.RevokeInvitationAgentsResponseDataAttributesLimits | null;
|
|
20
20
|
/** Invitation status. */
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const RevokeInvitationAgentsResponseDataAttributesPermissionsItem: {
|
|
2
|
+
readonly DisputesRead: "disputes.read";
|
|
3
|
+
readonly DisputesCreate: "disputes.create";
|
|
4
|
+
readonly PaymentsRead: "payments.read";
|
|
5
|
+
readonly PaymentsCreate: "payments.create";
|
|
6
|
+
readonly ExternalPartiesRead: "external_parties.read";
|
|
7
|
+
readonly ExternalPartiesCreate: "external_parties.create";
|
|
8
|
+
readonly DirectRead: "direct.read";
|
|
9
|
+
readonly DirectCreate: "direct.create";
|
|
10
|
+
readonly ExternalAccountsCreate: "external_accounts.create";
|
|
11
|
+
readonly WalletsRead: "wallets.read";
|
|
12
|
+
readonly WalletsBalance: "wallets.balance";
|
|
13
|
+
readonly WalletsCreate: "wallets.create";
|
|
14
|
+
readonly WalletsUpdate: "wallets.update";
|
|
15
|
+
readonly WalletsFund: "wallets.fund";
|
|
16
|
+
readonly WalletsDeposit: "wallets.deposit";
|
|
17
|
+
readonly WalletsTransfer: "wallets.transfer";
|
|
18
|
+
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
|
+
readonly PartyRead: "party.read";
|
|
20
|
+
readonly PartyUpdate: "party.update";
|
|
21
|
+
readonly PaymentIntentsCreate: "payment_intents.create";
|
|
22
|
+
readonly PaymentIntentsRead: "payment_intents.read";
|
|
23
|
+
readonly CardPaymentsRead: "card_payments.read";
|
|
24
|
+
readonly RefundsRead: "refunds.read";
|
|
25
|
+
readonly RefundsCreate: "refunds.create";
|
|
26
|
+
readonly VoiceSessionsRead: "voice_sessions.read";
|
|
27
|
+
readonly VoiceSessionsCreate: "voice_sessions.create";
|
|
28
|
+
readonly ChargebacksRead: "chargebacks.read";
|
|
29
|
+
readonly ChargebacksRespond: "chargebacks.respond";
|
|
30
|
+
readonly MandatesRead: "mandates.read";
|
|
31
|
+
readonly EnrollmentRead: "enrollment.read";
|
|
32
|
+
readonly CardsRead: "cards.read";
|
|
33
|
+
readonly SavedCardsUse: "saved_cards.use";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
35
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
36
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
37
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
38
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
39
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
40
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
41
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
42
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
43
|
+
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
44
|
+
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
45
|
+
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
46
|
+
};
|
|
47
|
+
export type RevokeInvitationAgentsResponseDataAttributesPermissionsItem = (typeof RevokeInvitationAgentsResponseDataAttributesPermissionsItem)[keyof typeof RevokeInvitationAgentsResponseDataAttributesPermissionsItem];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const RevokeInvitationAgentsResponseDataAttributesPermissionsItem = {
|
|
3
|
+
DisputesRead: "disputes.read",
|
|
4
|
+
DisputesCreate: "disputes.create",
|
|
5
|
+
PaymentsRead: "payments.read",
|
|
6
|
+
PaymentsCreate: "payments.create",
|
|
7
|
+
ExternalPartiesRead: "external_parties.read",
|
|
8
|
+
ExternalPartiesCreate: "external_parties.create",
|
|
9
|
+
DirectRead: "direct.read",
|
|
10
|
+
DirectCreate: "direct.create",
|
|
11
|
+
ExternalAccountsCreate: "external_accounts.create",
|
|
12
|
+
WalletsRead: "wallets.read",
|
|
13
|
+
WalletsBalance: "wallets.balance",
|
|
14
|
+
WalletsCreate: "wallets.create",
|
|
15
|
+
WalletsUpdate: "wallets.update",
|
|
16
|
+
WalletsFund: "wallets.fund",
|
|
17
|
+
WalletsDeposit: "wallets.deposit",
|
|
18
|
+
WalletsTransfer: "wallets.transfer",
|
|
19
|
+
WalletsWithdraw: "wallets.withdraw",
|
|
20
|
+
PartyRead: "party.read",
|
|
21
|
+
PartyUpdate: "party.update",
|
|
22
|
+
PaymentIntentsCreate: "payment_intents.create",
|
|
23
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
24
|
+
CardPaymentsRead: "card_payments.read",
|
|
25
|
+
RefundsRead: "refunds.read",
|
|
26
|
+
RefundsCreate: "refunds.create",
|
|
27
|
+
VoiceSessionsRead: "voice_sessions.read",
|
|
28
|
+
VoiceSessionsCreate: "voice_sessions.create",
|
|
29
|
+
ChargebacksRead: "chargebacks.read",
|
|
30
|
+
ChargebacksRespond: "chargebacks.respond",
|
|
31
|
+
MandatesRead: "mandates.read",
|
|
32
|
+
EnrollmentRead: "enrollment.read",
|
|
33
|
+
CardsRead: "cards.read",
|
|
34
|
+
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
44
|
+
PaymentRequestsRead: "paymentRequests.read",
|
|
45
|
+
PaymentRequestsCreate: "paymentRequests.create",
|
|
46
|
+
ExternalAccountsRead: "externalAccounts.read",
|
|
47
|
+
};
|
|
@@ -29,6 +29,7 @@ export * from "./CreateCustomerAgentsResponse.mjs";
|
|
|
29
29
|
export * from "./CreateCustomerAgentsResponseDataItem.mjs";
|
|
30
30
|
export * from "./CreateCustomerAgentsResponseDataItemAttributes.mjs";
|
|
31
31
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesLimits.mjs";
|
|
32
|
+
export * from "./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
32
33
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipient.mjs";
|
|
33
34
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipientEmail.mjs";
|
|
34
35
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipientPartyId.mjs";
|
|
@@ -84,6 +85,7 @@ export * from "./ListInvitationsAgentsResponseDataItemAttributes.mjs";
|
|
|
84
85
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesCancelReason.mjs";
|
|
85
86
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.mjs";
|
|
86
87
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesLimits.mjs";
|
|
88
|
+
export * from "./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
87
89
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesStatus.mjs";
|
|
88
90
|
export * from "./ListInvitationsAgentsResponseDataItemRelationships.mjs";
|
|
89
91
|
export * from "./ListInvitationsAgentsResponseDataItemRelationshipsAgent.mjs";
|
|
@@ -123,6 +125,7 @@ export * from "./RevokeInvitationAgentsResponseDataAttributes.mjs";
|
|
|
123
125
|
export * from "./RevokeInvitationAgentsResponseDataAttributesCancelReason.mjs";
|
|
124
126
|
export * from "./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.mjs";
|
|
125
127
|
export * from "./RevokeInvitationAgentsResponseDataAttributesLimits.mjs";
|
|
128
|
+
export * from "./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs";
|
|
126
129
|
export * from "./RevokeInvitationAgentsResponseDataAttributesStatus.mjs";
|
|
127
130
|
export * from "./RevokeInvitationAgentsResponseDataRelationships.mjs";
|
|
128
131
|
export * from "./RevokeInvitationAgentsResponseDataRelationshipsAgent.mjs";
|
|
@@ -29,6 +29,7 @@ export * from "./CreateCustomerAgentsResponse.mjs";
|
|
|
29
29
|
export * from "./CreateCustomerAgentsResponseDataItem.mjs";
|
|
30
30
|
export * from "./CreateCustomerAgentsResponseDataItemAttributes.mjs";
|
|
31
31
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesLimits.mjs";
|
|
32
|
+
export * from "./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
32
33
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipient.mjs";
|
|
33
34
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipientEmail.mjs";
|
|
34
35
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipientPartyId.mjs";
|
|
@@ -84,6 +85,7 @@ export * from "./ListInvitationsAgentsResponseDataItemAttributes.mjs";
|
|
|
84
85
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesCancelReason.mjs";
|
|
85
86
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.mjs";
|
|
86
87
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesLimits.mjs";
|
|
88
|
+
export * from "./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
87
89
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesStatus.mjs";
|
|
88
90
|
export * from "./ListInvitationsAgentsResponseDataItemRelationships.mjs";
|
|
89
91
|
export * from "./ListInvitationsAgentsResponseDataItemRelationshipsAgent.mjs";
|
|
@@ -123,6 +125,7 @@ export * from "./RevokeInvitationAgentsResponseDataAttributes.mjs";
|
|
|
123
125
|
export * from "./RevokeInvitationAgentsResponseDataAttributesCancelReason.mjs";
|
|
124
126
|
export * from "./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.mjs";
|
|
125
127
|
export * from "./RevokeInvitationAgentsResponseDataAttributesLimits.mjs";
|
|
128
|
+
export * from "./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs";
|
|
126
129
|
export * from "./RevokeInvitationAgentsResponseDataAttributesStatus.mjs";
|
|
127
130
|
export * from "./RevokeInvitationAgentsResponseDataRelationships.mjs";
|
|
128
131
|
export * from "./RevokeInvitationAgentsResponseDataRelationshipsAgent.mjs";
|
|
@@ -12,7 +12,7 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
12
12
|
export interface NewApiKeyParams {
|
|
13
13
|
/** API key name. */
|
|
14
14
|
name: string;
|
|
15
|
-
/** Permission scopes for the API key. */
|
|
15
|
+
/** Permission scopes for the API key. Use camelCase names; legacy spellings remain accepted with the same access. */
|
|
16
16
|
scopes?: Natural.CreateApiKeysRequestScopesItem[];
|
|
17
17
|
/** Tags applied to this API key. */
|
|
18
18
|
tags?: Record<string, string>;
|
|
@@ -49,5 +49,16 @@ export declare const CreateApiKeysRequestScopesItem: {
|
|
|
49
49
|
readonly ChargebacksRespond: "chargebacks.respond";
|
|
50
50
|
readonly MandatesRead: "mandates.read";
|
|
51
51
|
readonly EnrollmentRead: "enrollment.read";
|
|
52
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
53
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
54
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
55
|
+
readonly ModernApiKeysRead: "apiKeys.read";
|
|
56
|
+
readonly ModernApiKeysCreate: "apiKeys.create";
|
|
57
|
+
readonly ModernApiKeysDelete: "apiKeys.delete";
|
|
58
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
59
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
60
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
61
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
62
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
52
63
|
};
|
|
53
64
|
export type CreateApiKeysRequestScopesItem = (typeof CreateApiKeysRequestScopesItem)[keyof typeof CreateApiKeysRequestScopesItem];
|
|
@@ -50,4 +50,15 @@ export const CreateApiKeysRequestScopesItem = {
|
|
|
50
50
|
ChargebacksRespond: "chargebacks.respond",
|
|
51
51
|
MandatesRead: "mandates.read",
|
|
52
52
|
EnrollmentRead: "enrollment.read",
|
|
53
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
54
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
55
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
56
|
+
ModernApiKeysRead: "apiKeys.read",
|
|
57
|
+
ModernApiKeysCreate: "apiKeys.create",
|
|
58
|
+
ModernApiKeysDelete: "apiKeys.delete",
|
|
59
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
60
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
61
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
62
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
63
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
53
64
|
};
|
|
@@ -149,7 +149,7 @@ export declare class CustomersClient {
|
|
|
149
149
|
* value: "ops@bistroroma.com"
|
|
150
150
|
* }],
|
|
151
151
|
* agents: [{
|
|
152
|
-
* permissions: ["payments.read", "payments.create", "
|
|
152
|
+
* permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
153
153
|
* agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
154
154
|
* limits: {
|
|
155
155
|
* perTransaction: 100000
|
|
@@ -467,7 +467,7 @@ export class CustomersClient {
|
|
|
467
467
|
* value: "ops@bistroroma.com"
|
|
468
468
|
* }],
|
|
469
469
|
* agents: [{
|
|
470
|
-
* permissions: ["payments.read", "payments.create", "
|
|
470
|
+
* permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
471
471
|
* agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
472
472
|
* limits: {
|
|
473
473
|
* perTransaction: 100000
|
package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
7
7
|
* value: "ops@bistroroma.com"
|
|
8
8
|
* }],
|
|
9
9
|
* agents: [{
|
|
10
|
-
* permissions: ["payments.read", "payments.create", "
|
|
10
|
+
* permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
11
11
|
* agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
12
12
|
* limits: {
|
|
13
13
|
* perTransaction: 100000
|
|
@@ -30,5 +30,14 @@ export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroI
|
|
|
30
30
|
readonly EnrollmentRead: "enrollment.read";
|
|
31
31
|
readonly CardsRead: "cards.read";
|
|
32
32
|
readonly SavedCardsUse: "saved_cards.use";
|
|
33
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
34
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
35
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
36
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
37
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
38
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
39
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
40
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
41
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
33
42
|
};
|
|
34
43
|
export type CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = (typeof CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem)[keyof typeof CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem];
|
|
@@ -31,4 +31,13 @@ export const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = {
|
|
|
31
31
|
EnrollmentRead: "enrollment.read",
|
|
32
32
|
CardsRead: "cards.read",
|
|
33
33
|
SavedCardsUse: "saved_cards.use",
|
|
34
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
35
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
36
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
37
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
38
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
39
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
40
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
41
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
42
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
34
43
|
};
|
|
@@ -14,7 +14,7 @@ export interface CreateInvitationsCustomersResponseDataItemAttributes {
|
|
|
14
14
|
/** Agent name. */
|
|
15
15
|
agentName: string;
|
|
16
16
|
/** Permissions granted on accept. */
|
|
17
|
-
permissions:
|
|
17
|
+
permissions: Natural.CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem[];
|
|
18
18
|
/** Transaction limits. */
|
|
19
19
|
limits: Natural.CreateInvitationsCustomersResponseDataItemAttributesLimits | null;
|
|
20
20
|
/** Invitation status. */
|