@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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = {
|
|
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
|
+
};
|
|
@@ -14,7 +14,7 @@ export interface DeclineCustomerInvitationSimulationsResponseDataAttributes {
|
|
|
14
14
|
/** Agent name. */
|
|
15
15
|
agentName: string;
|
|
16
16
|
/** Permissions granted on accept. */
|
|
17
|
-
permissions:
|
|
17
|
+
permissions: Natural.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem[];
|
|
18
18
|
/** Transaction limits. */
|
|
19
19
|
limits: Natural.DeclineCustomerInvitationSimulationsResponseDataAttributesLimits | null;
|
|
20
20
|
/** Invitation status. */
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem: {
|
|
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 DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = (typeof DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem)[keyof typeof DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = {
|
|
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
|
+
};
|
|
@@ -30,5 +30,14 @@ export declare const InviteCustomerSimulationsRequestPermissionsZeroItem: {
|
|
|
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 InviteCustomerSimulationsRequestPermissionsZeroItem = (typeof InviteCustomerSimulationsRequestPermissionsZeroItem)[keyof typeof InviteCustomerSimulationsRequestPermissionsZeroItem];
|
|
@@ -31,4 +31,13 @@ export const InviteCustomerSimulationsRequestPermissionsZeroItem = {
|
|
|
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 InviteCustomerSimulationsResponseDataItemAttributes {
|
|
|
14
14
|
/** Agent name. */
|
|
15
15
|
agentName: string;
|
|
16
16
|
/** Permissions granted on accept. */
|
|
17
|
-
permissions:
|
|
17
|
+
permissions: Natural.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem[];
|
|
18
18
|
/** Transaction limits. */
|
|
19
19
|
limits: Natural.InviteCustomerSimulationsResponseDataItemAttributesLimits | null;
|
|
20
20
|
/** Invitation status. */
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem: {
|
|
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 InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = (typeof InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem)[keyof typeof InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = {
|
|
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
|
+
};
|
|
@@ -4,6 +4,7 @@ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs";
|
|
|
4
4
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
|
|
5
5
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
|
|
6
6
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
|
|
7
|
+
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
|
|
7
8
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
|
|
8
9
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationships.mjs";
|
|
9
10
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
|
|
@@ -55,6 +56,7 @@ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs"
|
|
|
55
56
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
|
|
56
57
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
|
|
57
58
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
|
|
59
|
+
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
|
|
58
60
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
|
|
59
61
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationships.mjs";
|
|
60
62
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
|
|
@@ -206,6 +208,7 @@ export * from "./InviteCustomerSimulationsResponseDataItemAttributes.mjs";
|
|
|
206
208
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.mjs";
|
|
207
209
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.mjs";
|
|
208
210
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.mjs";
|
|
211
|
+
export * from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs";
|
|
209
212
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.mjs";
|
|
210
213
|
export * from "./InviteCustomerSimulationsResponseDataItemRelationships.mjs";
|
|
211
214
|
export * from "./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.mjs";
|
|
@@ -4,6 +4,7 @@ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs";
|
|
|
4
4
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
|
|
5
5
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
|
|
6
6
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
|
|
7
|
+
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
|
|
7
8
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
|
|
8
9
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationships.mjs";
|
|
9
10
|
export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
|
|
@@ -55,6 +56,7 @@ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs"
|
|
|
55
56
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
|
|
56
57
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
|
|
57
58
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
|
|
59
|
+
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
|
|
58
60
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
|
|
59
61
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationships.mjs";
|
|
60
62
|
export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
|
|
@@ -206,6 +208,7 @@ export * from "./InviteCustomerSimulationsResponseDataItemAttributes.mjs";
|
|
|
206
208
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.mjs";
|
|
207
209
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.mjs";
|
|
208
210
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.mjs";
|
|
211
|
+
export * from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs";
|
|
209
212
|
export * from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.mjs";
|
|
210
213
|
export * from "./InviteCustomerSimulationsResponseDataItemRelationships.mjs";
|
|
211
214
|
export * from "./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.mjs";
|
|
@@ -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 CreateCustomerAgentsRequestPermissionsItem: core.serialization.Schema<serializers.CreateCustomerAgentsRequestPermissionsItem.Raw, Natural.CreateCustomerAgentsRequestPermissionsItem>;
|
|
5
5
|
export declare namespace CreateCustomerAgentsRequestPermissionsItem {
|
|
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.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" | "saved_cards.use";
|
|
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.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" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use";
|
|
7
7
|
}
|
package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs
CHANGED
|
@@ -32,4 +32,13 @@ export const CreateCustomerAgentsRequestPermissionsItem = core.serialization.enu
|
|
|
32
32
|
"enrollment.read",
|
|
33
33
|
"cards.read",
|
|
34
34
|
"saved_cards.use",
|
|
35
|
+
"externalParties.create",
|
|
36
|
+
"externalParties.read",
|
|
37
|
+
"externalAccounts.create",
|
|
38
|
+
"paymentIntents.create",
|
|
39
|
+
"paymentIntents.read",
|
|
40
|
+
"cardPayments.read",
|
|
41
|
+
"voiceSessions.read",
|
|
42
|
+
"voiceSessions.create",
|
|
43
|
+
"savedCards.use",
|
|
35
44
|
]);
|
|
@@ -2,6 +2,7 @@ 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 { CreateCustomerAgentsResponseDataItemAttributesLimits } from "./CreateCustomerAgentsResponseDataItemAttributesLimits.mjs";
|
|
5
|
+
import { CreateCustomerAgentsResponseDataItemAttributesPermissionsItem } from "./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
5
6
|
import { CreateCustomerAgentsResponseDataItemAttributesRecipient } from "./CreateCustomerAgentsResponseDataItemAttributesRecipient.mjs";
|
|
6
7
|
import { CreateCustomerAgentsResponseDataItemAttributesStatus } from "./CreateCustomerAgentsResponseDataItemAttributesStatus.mjs";
|
|
7
8
|
export declare const CreateCustomerAgentsResponseDataItemAttributes: core.serialization.ObjectSchema<serializers.CreateCustomerAgentsResponseDataItemAttributes.Raw, Natural.CreateCustomerAgentsResponseDataItemAttributes>;
|
|
@@ -10,7 +11,7 @@ export declare namespace CreateCustomerAgentsResponseDataItemAttributes {
|
|
|
10
11
|
recipient: CreateCustomerAgentsResponseDataItemAttributesRecipient.Raw;
|
|
11
12
|
url: string;
|
|
12
13
|
status: CreateCustomerAgentsResponseDataItemAttributesStatus.Raw;
|
|
13
|
-
permissions:
|
|
14
|
+
permissions: CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.Raw[];
|
|
14
15
|
limits?: CreateCustomerAgentsResponseDataItemAttributesLimits.Raw | null;
|
|
15
16
|
tags: Record<string, string>;
|
|
16
17
|
expiresAt: string;
|
|
@@ -1,13 +1,14 @@
|
|
|
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 { CreateCustomerAgentsResponseDataItemAttributesLimits } from "./CreateCustomerAgentsResponseDataItemAttributesLimits.mjs";
|
|
4
|
+
import { CreateCustomerAgentsResponseDataItemAttributesPermissionsItem } from "./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
4
5
|
import { CreateCustomerAgentsResponseDataItemAttributesRecipient } from "./CreateCustomerAgentsResponseDataItemAttributesRecipient.mjs";
|
|
5
6
|
import { CreateCustomerAgentsResponseDataItemAttributesStatus } from "./CreateCustomerAgentsResponseDataItemAttributesStatus.mjs";
|
|
6
7
|
export const CreateCustomerAgentsResponseDataItemAttributes = core.serialization.object({
|
|
7
8
|
recipient: CreateCustomerAgentsResponseDataItemAttributesRecipient,
|
|
8
9
|
url: core.serialization.string(),
|
|
9
10
|
status: CreateCustomerAgentsResponseDataItemAttributesStatus,
|
|
10
|
-
permissions: core.serialization.list(
|
|
11
|
+
permissions: core.serialization.list(CreateCustomerAgentsResponseDataItemAttributesPermissionsItem),
|
|
11
12
|
limits: CreateCustomerAgentsResponseDataItemAttributesLimits.nullable(),
|
|
12
13
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
13
14
|
expiresAt: core.serialization.string(),
|
|
@@ -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 CreateCustomerAgentsResponseDataItemAttributesPermissionsItem: core.serialization.Schema<serializers.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.Raw, Natural.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem>;
|
|
5
|
+
export declare namespace CreateCustomerAgentsResponseDataItemAttributesPermissionsItem {
|
|
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" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = core.serialization.enum_([
|
|
4
|
+
"disputes.read",
|
|
5
|
+
"disputes.create",
|
|
6
|
+
"payments.read",
|
|
7
|
+
"payments.create",
|
|
8
|
+
"external_parties.read",
|
|
9
|
+
"external_parties.create",
|
|
10
|
+
"direct.read",
|
|
11
|
+
"direct.create",
|
|
12
|
+
"external_accounts.create",
|
|
13
|
+
"wallets.read",
|
|
14
|
+
"wallets.balance",
|
|
15
|
+
"wallets.create",
|
|
16
|
+
"wallets.update",
|
|
17
|
+
"wallets.fund",
|
|
18
|
+
"wallets.deposit",
|
|
19
|
+
"wallets.transfer",
|
|
20
|
+
"wallets.withdraw",
|
|
21
|
+
"party.read",
|
|
22
|
+
"party.update",
|
|
23
|
+
"payment_intents.create",
|
|
24
|
+
"payment_intents.read",
|
|
25
|
+
"card_payments.read",
|
|
26
|
+
"refunds.read",
|
|
27
|
+
"refunds.create",
|
|
28
|
+
"voice_sessions.read",
|
|
29
|
+
"voice_sessions.create",
|
|
30
|
+
"chargebacks.read",
|
|
31
|
+
"chargebacks.respond",
|
|
32
|
+
"mandates.read",
|
|
33
|
+
"enrollment.read",
|
|
34
|
+
"cards.read",
|
|
35
|
+
"saved_cards.use",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalParties.read",
|
|
38
|
+
"externalAccounts.create",
|
|
39
|
+
"paymentIntents.create",
|
|
40
|
+
"paymentIntents.read",
|
|
41
|
+
"cardPayments.read",
|
|
42
|
+
"voiceSessions.read",
|
|
43
|
+
"voiceSessions.create",
|
|
44
|
+
"savedCards.use",
|
|
45
|
+
"paymentRequests.read",
|
|
46
|
+
"paymentRequests.create",
|
|
47
|
+
"externalAccounts.read",
|
|
48
|
+
]);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
import { ListInvitationsAgentsResponseDataItemAttributesCancelReason } from "./ListInvitationsAgentsResponseDataItemAttributesCancelReason.mjs";
|
|
5
5
|
import { ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus } from "./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.mjs";
|
|
6
6
|
import { ListInvitationsAgentsResponseDataItemAttributesLimits } from "./ListInvitationsAgentsResponseDataItemAttributesLimits.mjs";
|
|
7
|
+
import { ListInvitationsAgentsResponseDataItemAttributesPermissionsItem } from "./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
7
8
|
import { ListInvitationsAgentsResponseDataItemAttributesStatus } from "./ListInvitationsAgentsResponseDataItemAttributesStatus.mjs";
|
|
8
9
|
export declare const ListInvitationsAgentsResponseDataItemAttributes: core.serialization.ObjectSchema<serializers.ListInvitationsAgentsResponseDataItemAttributes.Raw, Natural.ListInvitationsAgentsResponseDataItemAttributes>;
|
|
9
10
|
export declare namespace ListInvitationsAgentsResponseDataItemAttributes {
|
|
@@ -13,7 +14,7 @@ export declare namespace ListInvitationsAgentsResponseDataItemAttributes {
|
|
|
13
14
|
phone?: string | null;
|
|
14
15
|
url: string;
|
|
15
16
|
agentName: string;
|
|
16
|
-
permissions:
|
|
17
|
+
permissions: ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.Raw[];
|
|
17
18
|
limits?: ListInvitationsAgentsResponseDataItemAttributesLimits.Raw | null;
|
|
18
19
|
status: ListInvitationsAgentsResponseDataItemAttributesStatus.Raw;
|
|
19
20
|
effectiveStatus: ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.Raw;
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ListInvitationsAgentsResponseDataItemAttributesCancelReason } from "./ListInvitationsAgentsResponseDataItemAttributesCancelReason.mjs";
|
|
4
4
|
import { ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus } from "./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.mjs";
|
|
5
5
|
import { ListInvitationsAgentsResponseDataItemAttributesLimits } from "./ListInvitationsAgentsResponseDataItemAttributesLimits.mjs";
|
|
6
|
+
import { ListInvitationsAgentsResponseDataItemAttributesPermissionsItem } from "./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs";
|
|
6
7
|
import { ListInvitationsAgentsResponseDataItemAttributesStatus } from "./ListInvitationsAgentsResponseDataItemAttributesStatus.mjs";
|
|
7
8
|
export const ListInvitationsAgentsResponseDataItemAttributes = core.serialization.object({
|
|
8
9
|
developerName: core.serialization.string(),
|
|
@@ -10,7 +11,7 @@ export const ListInvitationsAgentsResponseDataItemAttributes = core.serializatio
|
|
|
10
11
|
phone: core.serialization.string().nullable(),
|
|
11
12
|
url: core.serialization.string(),
|
|
12
13
|
agentName: core.serialization.string(),
|
|
13
|
-
permissions: core.serialization.list(
|
|
14
|
+
permissions: core.serialization.list(ListInvitationsAgentsResponseDataItemAttributesPermissionsItem),
|
|
14
15
|
limits: ListInvitationsAgentsResponseDataItemAttributesLimits.nullable(),
|
|
15
16
|
status: ListInvitationsAgentsResponseDataItemAttributesStatus,
|
|
16
17
|
effectiveStatus: ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus,
|
|
@@ -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 ListInvitationsAgentsResponseDataItemAttributesPermissionsItem: core.serialization.Schema<serializers.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.Raw, Natural.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem>;
|
|
5
|
+
export declare namespace ListInvitationsAgentsResponseDataItemAttributesPermissionsItem {
|
|
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" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = core.serialization.enum_([
|
|
4
|
+
"disputes.read",
|
|
5
|
+
"disputes.create",
|
|
6
|
+
"payments.read",
|
|
7
|
+
"payments.create",
|
|
8
|
+
"external_parties.read",
|
|
9
|
+
"external_parties.create",
|
|
10
|
+
"direct.read",
|
|
11
|
+
"direct.create",
|
|
12
|
+
"external_accounts.create",
|
|
13
|
+
"wallets.read",
|
|
14
|
+
"wallets.balance",
|
|
15
|
+
"wallets.create",
|
|
16
|
+
"wallets.update",
|
|
17
|
+
"wallets.fund",
|
|
18
|
+
"wallets.deposit",
|
|
19
|
+
"wallets.transfer",
|
|
20
|
+
"wallets.withdraw",
|
|
21
|
+
"party.read",
|
|
22
|
+
"party.update",
|
|
23
|
+
"payment_intents.create",
|
|
24
|
+
"payment_intents.read",
|
|
25
|
+
"card_payments.read",
|
|
26
|
+
"refunds.read",
|
|
27
|
+
"refunds.create",
|
|
28
|
+
"voice_sessions.read",
|
|
29
|
+
"voice_sessions.create",
|
|
30
|
+
"chargebacks.read",
|
|
31
|
+
"chargebacks.respond",
|
|
32
|
+
"mandates.read",
|
|
33
|
+
"enrollment.read",
|
|
34
|
+
"cards.read",
|
|
35
|
+
"saved_cards.use",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalParties.read",
|
|
38
|
+
"externalAccounts.create",
|
|
39
|
+
"paymentIntents.create",
|
|
40
|
+
"paymentIntents.read",
|
|
41
|
+
"cardPayments.read",
|
|
42
|
+
"voiceSessions.read",
|
|
43
|
+
"voiceSessions.create",
|
|
44
|
+
"savedCards.use",
|
|
45
|
+
"paymentRequests.read",
|
|
46
|
+
"paymentRequests.create",
|
|
47
|
+
"externalAccounts.read",
|
|
48
|
+
]);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
import { RevokeInvitationAgentsResponseDataAttributesCancelReason } from "./RevokeInvitationAgentsResponseDataAttributesCancelReason.mjs";
|
|
5
5
|
import { RevokeInvitationAgentsResponseDataAttributesEffectiveStatus } from "./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.mjs";
|
|
6
6
|
import { RevokeInvitationAgentsResponseDataAttributesLimits } from "./RevokeInvitationAgentsResponseDataAttributesLimits.mjs";
|
|
7
|
+
import { RevokeInvitationAgentsResponseDataAttributesPermissionsItem } from "./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs";
|
|
7
8
|
import { RevokeInvitationAgentsResponseDataAttributesStatus } from "./RevokeInvitationAgentsResponseDataAttributesStatus.mjs";
|
|
8
9
|
export declare const RevokeInvitationAgentsResponseDataAttributes: core.serialization.ObjectSchema<serializers.RevokeInvitationAgentsResponseDataAttributes.Raw, Natural.RevokeInvitationAgentsResponseDataAttributes>;
|
|
9
10
|
export declare namespace RevokeInvitationAgentsResponseDataAttributes {
|
|
@@ -13,7 +14,7 @@ export declare namespace RevokeInvitationAgentsResponseDataAttributes {
|
|
|
13
14
|
phone?: string | null;
|
|
14
15
|
url: string;
|
|
15
16
|
agentName: string;
|
|
16
|
-
permissions:
|
|
17
|
+
permissions: RevokeInvitationAgentsResponseDataAttributesPermissionsItem.Raw[];
|
|
17
18
|
limits?: RevokeInvitationAgentsResponseDataAttributesLimits.Raw | null;
|
|
18
19
|
status: RevokeInvitationAgentsResponseDataAttributesStatus.Raw;
|
|
19
20
|
effectiveStatus: RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.Raw;
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { RevokeInvitationAgentsResponseDataAttributesCancelReason } from "./RevokeInvitationAgentsResponseDataAttributesCancelReason.mjs";
|
|
4
4
|
import { RevokeInvitationAgentsResponseDataAttributesEffectiveStatus } from "./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.mjs";
|
|
5
5
|
import { RevokeInvitationAgentsResponseDataAttributesLimits } from "./RevokeInvitationAgentsResponseDataAttributesLimits.mjs";
|
|
6
|
+
import { RevokeInvitationAgentsResponseDataAttributesPermissionsItem } from "./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs";
|
|
6
7
|
import { RevokeInvitationAgentsResponseDataAttributesStatus } from "./RevokeInvitationAgentsResponseDataAttributesStatus.mjs";
|
|
7
8
|
export const RevokeInvitationAgentsResponseDataAttributes = core.serialization.object({
|
|
8
9
|
developerName: core.serialization.string(),
|
|
@@ -10,7 +11,7 @@ export const RevokeInvitationAgentsResponseDataAttributes = core.serialization.o
|
|
|
10
11
|
phone: core.serialization.string().nullable(),
|
|
11
12
|
url: core.serialization.string(),
|
|
12
13
|
agentName: core.serialization.string(),
|
|
13
|
-
permissions: core.serialization.list(
|
|
14
|
+
permissions: core.serialization.list(RevokeInvitationAgentsResponseDataAttributesPermissionsItem),
|
|
14
15
|
limits: RevokeInvitationAgentsResponseDataAttributesLimits.nullable(),
|
|
15
16
|
status: RevokeInvitationAgentsResponseDataAttributesStatus,
|
|
16
17
|
effectiveStatus: RevokeInvitationAgentsResponseDataAttributesEffectiveStatus,
|
|
@@ -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 RevokeInvitationAgentsResponseDataAttributesPermissionsItem: core.serialization.Schema<serializers.RevokeInvitationAgentsResponseDataAttributesPermissionsItem.Raw, Natural.RevokeInvitationAgentsResponseDataAttributesPermissionsItem>;
|
|
5
|
+
export declare namespace RevokeInvitationAgentsResponseDataAttributesPermissionsItem {
|
|
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" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
7
|
+
}
|