@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
|
+
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,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = void 0;
|
|
5
|
+
exports.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = {
|
|
6
|
+
DisputesRead: "disputes.read",
|
|
7
|
+
DisputesCreate: "disputes.create",
|
|
8
|
+
PaymentsRead: "payments.read",
|
|
9
|
+
PaymentsCreate: "payments.create",
|
|
10
|
+
ExternalPartiesRead: "external_parties.read",
|
|
11
|
+
ExternalPartiesCreate: "external_parties.create",
|
|
12
|
+
DirectRead: "direct.read",
|
|
13
|
+
DirectCreate: "direct.create",
|
|
14
|
+
ExternalAccountsCreate: "external_accounts.create",
|
|
15
|
+
WalletsRead: "wallets.read",
|
|
16
|
+
WalletsBalance: "wallets.balance",
|
|
17
|
+
WalletsCreate: "wallets.create",
|
|
18
|
+
WalletsUpdate: "wallets.update",
|
|
19
|
+
WalletsFund: "wallets.fund",
|
|
20
|
+
WalletsDeposit: "wallets.deposit",
|
|
21
|
+
WalletsTransfer: "wallets.transfer",
|
|
22
|
+
WalletsWithdraw: "wallets.withdraw",
|
|
23
|
+
PartyRead: "party.read",
|
|
24
|
+
PartyUpdate: "party.update",
|
|
25
|
+
PaymentIntentsCreate: "payment_intents.create",
|
|
26
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
27
|
+
CardPaymentsRead: "card_payments.read",
|
|
28
|
+
RefundsRead: "refunds.read",
|
|
29
|
+
RefundsCreate: "refunds.create",
|
|
30
|
+
VoiceSessionsRead: "voice_sessions.read",
|
|
31
|
+
VoiceSessionsCreate: "voice_sessions.create",
|
|
32
|
+
ChargebacksRead: "chargebacks.read",
|
|
33
|
+
ChargebacksRespond: "chargebacks.respond",
|
|
34
|
+
MandatesRead: "mandates.read",
|
|
35
|
+
EnrollmentRead: "enrollment.read",
|
|
36
|
+
CardsRead: "cards.read",
|
|
37
|
+
SavedCardsUse: "saved_cards.use",
|
|
38
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
39
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
40
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
41
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
42
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
43
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
44
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
45
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
46
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
47
|
+
PaymentRequestsRead: "paymentRequests.read",
|
|
48
|
+
PaymentRequestsCreate: "paymentRequests.create",
|
|
49
|
+
ExternalAccountsRead: "externalAccounts.read",
|
|
50
|
+
};
|
|
@@ -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];
|
|
@@ -34,4 +34,13 @@ exports.InviteCustomerSimulationsRequestPermissionsZeroItem = {
|
|
|
34
34
|
EnrollmentRead: "enrollment.read",
|
|
35
35
|
CardsRead: "cards.read",
|
|
36
36
|
SavedCardsUse: "saved_cards.use",
|
|
37
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
38
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
39
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
40
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
41
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
42
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
43
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
44
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
45
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
37
46
|
};
|
|
@@ -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,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = void 0;
|
|
5
|
+
exports.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = {
|
|
6
|
+
DisputesRead: "disputes.read",
|
|
7
|
+
DisputesCreate: "disputes.create",
|
|
8
|
+
PaymentsRead: "payments.read",
|
|
9
|
+
PaymentsCreate: "payments.create",
|
|
10
|
+
ExternalPartiesRead: "external_parties.read",
|
|
11
|
+
ExternalPartiesCreate: "external_parties.create",
|
|
12
|
+
DirectRead: "direct.read",
|
|
13
|
+
DirectCreate: "direct.create",
|
|
14
|
+
ExternalAccountsCreate: "external_accounts.create",
|
|
15
|
+
WalletsRead: "wallets.read",
|
|
16
|
+
WalletsBalance: "wallets.balance",
|
|
17
|
+
WalletsCreate: "wallets.create",
|
|
18
|
+
WalletsUpdate: "wallets.update",
|
|
19
|
+
WalletsFund: "wallets.fund",
|
|
20
|
+
WalletsDeposit: "wallets.deposit",
|
|
21
|
+
WalletsTransfer: "wallets.transfer",
|
|
22
|
+
WalletsWithdraw: "wallets.withdraw",
|
|
23
|
+
PartyRead: "party.read",
|
|
24
|
+
PartyUpdate: "party.update",
|
|
25
|
+
PaymentIntentsCreate: "payment_intents.create",
|
|
26
|
+
PaymentIntentsRead: "payment_intents.read",
|
|
27
|
+
CardPaymentsRead: "card_payments.read",
|
|
28
|
+
RefundsRead: "refunds.read",
|
|
29
|
+
RefundsCreate: "refunds.create",
|
|
30
|
+
VoiceSessionsRead: "voice_sessions.read",
|
|
31
|
+
VoiceSessionsCreate: "voice_sessions.create",
|
|
32
|
+
ChargebacksRead: "chargebacks.read",
|
|
33
|
+
ChargebacksRespond: "chargebacks.respond",
|
|
34
|
+
MandatesRead: "mandates.read",
|
|
35
|
+
EnrollmentRead: "enrollment.read",
|
|
36
|
+
CardsRead: "cards.read",
|
|
37
|
+
SavedCardsUse: "saved_cards.use",
|
|
38
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
39
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
40
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
41
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
42
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
43
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
44
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
45
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
46
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
47
|
+
PaymentRequestsRead: "paymentRequests.read",
|
|
48
|
+
PaymentRequestsCreate: "paymentRequests.create",
|
|
49
|
+
ExternalAccountsRead: "externalAccounts.read",
|
|
50
|
+
};
|
|
@@ -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);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
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/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js
CHANGED
|
@@ -68,4 +68,13 @@ exports.CreateCustomerAgentsRequestPermissionsItem = core.serialization.enum_([
|
|
|
68
68
|
"enrollment.read",
|
|
69
69
|
"cards.read",
|
|
70
70
|
"saved_cards.use",
|
|
71
|
+
"externalParties.create",
|
|
72
|
+
"externalParties.read",
|
|
73
|
+
"externalAccounts.create",
|
|
74
|
+
"paymentIntents.create",
|
|
75
|
+
"paymentIntents.read",
|
|
76
|
+
"cardPayments.read",
|
|
77
|
+
"voiceSessions.read",
|
|
78
|
+
"voiceSessions.create",
|
|
79
|
+
"savedCards.use",
|
|
71
80
|
]);
|
|
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { CreateCustomerAgentsResponseDataItemAttributesLimits } from "./CreateCustomerAgentsResponseDataItemAttributesLimits.js";
|
|
5
|
+
import { CreateCustomerAgentsResponseDataItemAttributesPermissionsItem } from "./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js";
|
|
5
6
|
import { CreateCustomerAgentsResponseDataItemAttributesRecipient } from "./CreateCustomerAgentsResponseDataItemAttributesRecipient.js";
|
|
6
7
|
import { CreateCustomerAgentsResponseDataItemAttributesStatus } from "./CreateCustomerAgentsResponseDataItemAttributesStatus.js";
|
|
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;
|
|
@@ -37,13 +37,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CreateCustomerAgentsResponseDataItemAttributes = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const CreateCustomerAgentsResponseDataItemAttributesLimits_js_1 = require("./CreateCustomerAgentsResponseDataItemAttributesLimits.js");
|
|
40
|
+
const CreateCustomerAgentsResponseDataItemAttributesPermissionsItem_js_1 = require("./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js");
|
|
40
41
|
const CreateCustomerAgentsResponseDataItemAttributesRecipient_js_1 = require("./CreateCustomerAgentsResponseDataItemAttributesRecipient.js");
|
|
41
42
|
const CreateCustomerAgentsResponseDataItemAttributesStatus_js_1 = require("./CreateCustomerAgentsResponseDataItemAttributesStatus.js");
|
|
42
43
|
exports.CreateCustomerAgentsResponseDataItemAttributes = core.serialization.object({
|
|
43
44
|
recipient: CreateCustomerAgentsResponseDataItemAttributesRecipient_js_1.CreateCustomerAgentsResponseDataItemAttributesRecipient,
|
|
44
45
|
url: core.serialization.string(),
|
|
45
46
|
status: CreateCustomerAgentsResponseDataItemAttributesStatus_js_1.CreateCustomerAgentsResponseDataItemAttributesStatus,
|
|
46
|
-
permissions: core.serialization.list(
|
|
47
|
+
permissions: core.serialization.list(CreateCustomerAgentsResponseDataItemAttributesPermissionsItem_js_1.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem),
|
|
47
48
|
limits: CreateCustomerAgentsResponseDataItemAttributesLimits_js_1.CreateCustomerAgentsResponseDataItemAttributesLimits.nullable(),
|
|
48
49
|
tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
49
50
|
expiresAt: core.serialization.string(),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = core.serialization.enum_([
|
|
40
|
+
"disputes.read",
|
|
41
|
+
"disputes.create",
|
|
42
|
+
"payments.read",
|
|
43
|
+
"payments.create",
|
|
44
|
+
"external_parties.read",
|
|
45
|
+
"external_parties.create",
|
|
46
|
+
"direct.read",
|
|
47
|
+
"direct.create",
|
|
48
|
+
"external_accounts.create",
|
|
49
|
+
"wallets.read",
|
|
50
|
+
"wallets.balance",
|
|
51
|
+
"wallets.create",
|
|
52
|
+
"wallets.update",
|
|
53
|
+
"wallets.fund",
|
|
54
|
+
"wallets.deposit",
|
|
55
|
+
"wallets.transfer",
|
|
56
|
+
"wallets.withdraw",
|
|
57
|
+
"party.read",
|
|
58
|
+
"party.update",
|
|
59
|
+
"payment_intents.create",
|
|
60
|
+
"payment_intents.read",
|
|
61
|
+
"card_payments.read",
|
|
62
|
+
"refunds.read",
|
|
63
|
+
"refunds.create",
|
|
64
|
+
"voice_sessions.read",
|
|
65
|
+
"voice_sessions.create",
|
|
66
|
+
"chargebacks.read",
|
|
67
|
+
"chargebacks.respond",
|
|
68
|
+
"mandates.read",
|
|
69
|
+
"enrollment.read",
|
|
70
|
+
"cards.read",
|
|
71
|
+
"saved_cards.use",
|
|
72
|
+
"externalParties.create",
|
|
73
|
+
"externalParties.read",
|
|
74
|
+
"externalAccounts.create",
|
|
75
|
+
"paymentIntents.create",
|
|
76
|
+
"paymentIntents.read",
|
|
77
|
+
"cardPayments.read",
|
|
78
|
+
"voiceSessions.read",
|
|
79
|
+
"voiceSessions.create",
|
|
80
|
+
"savedCards.use",
|
|
81
|
+
"paymentRequests.read",
|
|
82
|
+
"paymentRequests.create",
|
|
83
|
+
"externalAccounts.read",
|
|
84
|
+
]);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.js";
|
|
|
4
4
|
import { ListInvitationsAgentsResponseDataItemAttributesCancelReason } from "./ListInvitationsAgentsResponseDataItemAttributesCancelReason.js";
|
|
5
5
|
import { ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus } from "./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.js";
|
|
6
6
|
import { ListInvitationsAgentsResponseDataItemAttributesLimits } from "./ListInvitationsAgentsResponseDataItemAttributesLimits.js";
|
|
7
|
+
import { ListInvitationsAgentsResponseDataItemAttributesPermissionsItem } from "./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js";
|
|
7
8
|
import { ListInvitationsAgentsResponseDataItemAttributesStatus } from "./ListInvitationsAgentsResponseDataItemAttributesStatus.js";
|
|
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;
|
|
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../core/index.js"));
|
|
|
39
39
|
const ListInvitationsAgentsResponseDataItemAttributesCancelReason_js_1 = require("./ListInvitationsAgentsResponseDataItemAttributesCancelReason.js");
|
|
40
40
|
const ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus_js_1 = require("./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.js");
|
|
41
41
|
const ListInvitationsAgentsResponseDataItemAttributesLimits_js_1 = require("./ListInvitationsAgentsResponseDataItemAttributesLimits.js");
|
|
42
|
+
const ListInvitationsAgentsResponseDataItemAttributesPermissionsItem_js_1 = require("./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js");
|
|
42
43
|
const ListInvitationsAgentsResponseDataItemAttributesStatus_js_1 = require("./ListInvitationsAgentsResponseDataItemAttributesStatus.js");
|
|
43
44
|
exports.ListInvitationsAgentsResponseDataItemAttributes = core.serialization.object({
|
|
44
45
|
developerName: core.serialization.string(),
|
|
@@ -46,7 +47,7 @@ exports.ListInvitationsAgentsResponseDataItemAttributes = core.serialization.obj
|
|
|
46
47
|
phone: core.serialization.string().nullable(),
|
|
47
48
|
url: core.serialization.string(),
|
|
48
49
|
agentName: core.serialization.string(),
|
|
49
|
-
permissions: core.serialization.list(
|
|
50
|
+
permissions: core.serialization.list(ListInvitationsAgentsResponseDataItemAttributesPermissionsItem_js_1.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem),
|
|
50
51
|
limits: ListInvitationsAgentsResponseDataItemAttributesLimits_js_1.ListInvitationsAgentsResponseDataItemAttributesLimits.nullable(),
|
|
51
52
|
status: ListInvitationsAgentsResponseDataItemAttributesStatus_js_1.ListInvitationsAgentsResponseDataItemAttributesStatus,
|
|
52
53
|
effectiveStatus: ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus_js_1.ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = core.serialization.enum_([
|
|
40
|
+
"disputes.read",
|
|
41
|
+
"disputes.create",
|
|
42
|
+
"payments.read",
|
|
43
|
+
"payments.create",
|
|
44
|
+
"external_parties.read",
|
|
45
|
+
"external_parties.create",
|
|
46
|
+
"direct.read",
|
|
47
|
+
"direct.create",
|
|
48
|
+
"external_accounts.create",
|
|
49
|
+
"wallets.read",
|
|
50
|
+
"wallets.balance",
|
|
51
|
+
"wallets.create",
|
|
52
|
+
"wallets.update",
|
|
53
|
+
"wallets.fund",
|
|
54
|
+
"wallets.deposit",
|
|
55
|
+
"wallets.transfer",
|
|
56
|
+
"wallets.withdraw",
|
|
57
|
+
"party.read",
|
|
58
|
+
"party.update",
|
|
59
|
+
"payment_intents.create",
|
|
60
|
+
"payment_intents.read",
|
|
61
|
+
"card_payments.read",
|
|
62
|
+
"refunds.read",
|
|
63
|
+
"refunds.create",
|
|
64
|
+
"voice_sessions.read",
|
|
65
|
+
"voice_sessions.create",
|
|
66
|
+
"chargebacks.read",
|
|
67
|
+
"chargebacks.respond",
|
|
68
|
+
"mandates.read",
|
|
69
|
+
"enrollment.read",
|
|
70
|
+
"cards.read",
|
|
71
|
+
"saved_cards.use",
|
|
72
|
+
"externalParties.create",
|
|
73
|
+
"externalParties.read",
|
|
74
|
+
"externalAccounts.create",
|
|
75
|
+
"paymentIntents.create",
|
|
76
|
+
"paymentIntents.read",
|
|
77
|
+
"cardPayments.read",
|
|
78
|
+
"voiceSessions.read",
|
|
79
|
+
"voiceSessions.create",
|
|
80
|
+
"savedCards.use",
|
|
81
|
+
"paymentRequests.read",
|
|
82
|
+
"paymentRequests.create",
|
|
83
|
+
"externalAccounts.read",
|
|
84
|
+
]);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.js";
|
|
|
4
4
|
import { RevokeInvitationAgentsResponseDataAttributesCancelReason } from "./RevokeInvitationAgentsResponseDataAttributesCancelReason.js";
|
|
5
5
|
import { RevokeInvitationAgentsResponseDataAttributesEffectiveStatus } from "./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.js";
|
|
6
6
|
import { RevokeInvitationAgentsResponseDataAttributesLimits } from "./RevokeInvitationAgentsResponseDataAttributesLimits.js";
|
|
7
|
+
import { RevokeInvitationAgentsResponseDataAttributesPermissionsItem } from "./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js";
|
|
7
8
|
import { RevokeInvitationAgentsResponseDataAttributesStatus } from "./RevokeInvitationAgentsResponseDataAttributesStatus.js";
|
|
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;
|
|
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../core/index.js"));
|
|
|
39
39
|
const RevokeInvitationAgentsResponseDataAttributesCancelReason_js_1 = require("./RevokeInvitationAgentsResponseDataAttributesCancelReason.js");
|
|
40
40
|
const RevokeInvitationAgentsResponseDataAttributesEffectiveStatus_js_1 = require("./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.js");
|
|
41
41
|
const RevokeInvitationAgentsResponseDataAttributesLimits_js_1 = require("./RevokeInvitationAgentsResponseDataAttributesLimits.js");
|
|
42
|
+
const RevokeInvitationAgentsResponseDataAttributesPermissionsItem_js_1 = require("./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js");
|
|
42
43
|
const RevokeInvitationAgentsResponseDataAttributesStatus_js_1 = require("./RevokeInvitationAgentsResponseDataAttributesStatus.js");
|
|
43
44
|
exports.RevokeInvitationAgentsResponseDataAttributes = core.serialization.object({
|
|
44
45
|
developerName: core.serialization.string(),
|
|
@@ -46,7 +47,7 @@ exports.RevokeInvitationAgentsResponseDataAttributes = core.serialization.object
|
|
|
46
47
|
phone: core.serialization.string().nullable(),
|
|
47
48
|
url: core.serialization.string(),
|
|
48
49
|
agentName: core.serialization.string(),
|
|
49
|
-
permissions: core.serialization.list(
|
|
50
|
+
permissions: core.serialization.list(RevokeInvitationAgentsResponseDataAttributesPermissionsItem_js_1.RevokeInvitationAgentsResponseDataAttributesPermissionsItem),
|
|
50
51
|
limits: RevokeInvitationAgentsResponseDataAttributesLimits_js_1.RevokeInvitationAgentsResponseDataAttributesLimits.nullable(),
|
|
51
52
|
status: RevokeInvitationAgentsResponseDataAttributesStatus_js_1.RevokeInvitationAgentsResponseDataAttributesStatus,
|
|
52
53
|
effectiveStatus: RevokeInvitationAgentsResponseDataAttributesEffectiveStatus_js_1.RevokeInvitationAgentsResponseDataAttributesEffectiveStatus,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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
|
+
}
|