@naturalpay/sdk 1.6.58 → 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/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -1
- 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/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +1 -1
- 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/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -1
- 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 +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -1
- 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/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +1 -1
- 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/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -1
- 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 +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +1 -1
- 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 +1 -1
- 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 +1 -1
- 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
|
@@ -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" | "externalParties.
|
|
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,8 +68,8 @@ exports.CreateCustomerAgentsRequestPermissionsItem = core.serialization.enum_([
|
|
|
68
68
|
"enrollment.read",
|
|
69
69
|
"cards.read",
|
|
70
70
|
"saved_cards.use",
|
|
71
|
-
"externalParties.read",
|
|
72
71
|
"externalParties.create",
|
|
72
|
+
"externalParties.read",
|
|
73
73
|
"externalAccounts.create",
|
|
74
74
|
"paymentIntents.create",
|
|
75
75
|
"paymentIntents.read",
|
|
@@ -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
|
+
}
|
|
@@ -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.RevokeInvitationAgentsResponseDataAttributesPermissionsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.RevokeInvitationAgentsResponseDataAttributesPermissionsItem = 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
|
+
]);
|
|
@@ -29,6 +29,7 @@ export * from "./CreateCustomerAgentsResponse.js";
|
|
|
29
29
|
export * from "./CreateCustomerAgentsResponseDataItem.js";
|
|
30
30
|
export * from "./CreateCustomerAgentsResponseDataItemAttributes.js";
|
|
31
31
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesLimits.js";
|
|
32
|
+
export * from "./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js";
|
|
32
33
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipient.js";
|
|
33
34
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipientEmail.js";
|
|
34
35
|
export * from "./CreateCustomerAgentsResponseDataItemAttributesRecipientPartyId.js";
|
|
@@ -84,6 +85,7 @@ export * from "./ListInvitationsAgentsResponseDataItemAttributes.js";
|
|
|
84
85
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesCancelReason.js";
|
|
85
86
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.js";
|
|
86
87
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesLimits.js";
|
|
88
|
+
export * from "./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js";
|
|
87
89
|
export * from "./ListInvitationsAgentsResponseDataItemAttributesStatus.js";
|
|
88
90
|
export * from "./ListInvitationsAgentsResponseDataItemRelationships.js";
|
|
89
91
|
export * from "./ListInvitationsAgentsResponseDataItemRelationshipsAgent.js";
|
|
@@ -123,6 +125,7 @@ export * from "./RevokeInvitationAgentsResponseDataAttributes.js";
|
|
|
123
125
|
export * from "./RevokeInvitationAgentsResponseDataAttributesCancelReason.js";
|
|
124
126
|
export * from "./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.js";
|
|
125
127
|
export * from "./RevokeInvitationAgentsResponseDataAttributesLimits.js";
|
|
128
|
+
export * from "./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js";
|
|
126
129
|
export * from "./RevokeInvitationAgentsResponseDataAttributesStatus.js";
|
|
127
130
|
export * from "./RevokeInvitationAgentsResponseDataRelationships.js";
|
|
128
131
|
export * from "./RevokeInvitationAgentsResponseDataRelationshipsAgent.js";
|
|
@@ -45,6 +45,7 @@ __exportStar(require("./CreateCustomerAgentsResponse.js"), exports);
|
|
|
45
45
|
__exportStar(require("./CreateCustomerAgentsResponseDataItem.js"), exports);
|
|
46
46
|
__exportStar(require("./CreateCustomerAgentsResponseDataItemAttributes.js"), exports);
|
|
47
47
|
__exportStar(require("./CreateCustomerAgentsResponseDataItemAttributesLimits.js"), exports);
|
|
48
|
+
__exportStar(require("./CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js"), exports);
|
|
48
49
|
__exportStar(require("./CreateCustomerAgentsResponseDataItemAttributesRecipient.js"), exports);
|
|
49
50
|
__exportStar(require("./CreateCustomerAgentsResponseDataItemAttributesRecipientEmail.js"), exports);
|
|
50
51
|
__exportStar(require("./CreateCustomerAgentsResponseDataItemAttributesRecipientPartyId.js"), exports);
|
|
@@ -100,6 +101,7 @@ __exportStar(require("./ListInvitationsAgentsResponseDataItemAttributes.js"), ex
|
|
|
100
101
|
__exportStar(require("./ListInvitationsAgentsResponseDataItemAttributesCancelReason.js"), exports);
|
|
101
102
|
__exportStar(require("./ListInvitationsAgentsResponseDataItemAttributesEffectiveStatus.js"), exports);
|
|
102
103
|
__exportStar(require("./ListInvitationsAgentsResponseDataItemAttributesLimits.js"), exports);
|
|
104
|
+
__exportStar(require("./ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js"), exports);
|
|
103
105
|
__exportStar(require("./ListInvitationsAgentsResponseDataItemAttributesStatus.js"), exports);
|
|
104
106
|
__exportStar(require("./ListInvitationsAgentsResponseDataItemRelationships.js"), exports);
|
|
105
107
|
__exportStar(require("./ListInvitationsAgentsResponseDataItemRelationshipsAgent.js"), exports);
|
|
@@ -139,6 +141,7 @@ __exportStar(require("./RevokeInvitationAgentsResponseDataAttributes.js"), expor
|
|
|
139
141
|
__exportStar(require("./RevokeInvitationAgentsResponseDataAttributesCancelReason.js"), exports);
|
|
140
142
|
__exportStar(require("./RevokeInvitationAgentsResponseDataAttributesEffectiveStatus.js"), exports);
|
|
141
143
|
__exportStar(require("./RevokeInvitationAgentsResponseDataAttributesLimits.js"), exports);
|
|
144
|
+
__exportStar(require("./RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js"), exports);
|
|
142
145
|
__exportStar(require("./RevokeInvitationAgentsResponseDataAttributesStatus.js"), exports);
|
|
143
146
|
__exportStar(require("./RevokeInvitationAgentsResponseDataRelationships.js"), exports);
|
|
144
147
|
__exportStar(require("./RevokeInvitationAgentsResponseDataRelationshipsAgent.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 CreateApiKeysRequestScopesItem: core.serialization.Schema<serializers.CreateApiKeysRequestScopesItem.Raw, Natural.CreateApiKeysRequestScopesItem>;
|
|
5
5
|
export declare namespace CreateApiKeysRequestScopesItem {
|
|
6
|
-
type Raw = "party.read" | "party.update" | "invite.read" | "invite.create" | "invite.update" | "invite.delete" | "membership.create" | "membership.read" | "membership.update" | "membership.delete" | "payments.create" | "payments.read" | "external_parties.create" | "external_parties.read" | "direct.create" | "direct.read" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.delete" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "delegations.read" | "delegations.create" | "delegations.update" | "delegations.delete" | "api_keys.read" | "api_keys.create" | "api_keys.delete" | "agents.read" | "agents.create" | "agents.update" | "agents.delete" | "disputes.read" | "disputes.create" | "payment_intents.read" | "payment_intents.create" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "apiKeys.read" | "apiKeys.create" | "apiKeys.delete" | "paymentIntents.
|
|
6
|
+
type Raw = "party.read" | "party.update" | "invite.read" | "invite.create" | "invite.update" | "invite.delete" | "membership.create" | "membership.read" | "membership.update" | "membership.delete" | "payments.create" | "payments.read" | "external_parties.create" | "external_parties.read" | "direct.create" | "direct.read" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.delete" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "delegations.read" | "delegations.create" | "delegations.update" | "delegations.delete" | "api_keys.read" | "api_keys.create" | "api_keys.delete" | "agents.read" | "agents.create" | "agents.update" | "agents.delete" | "disputes.read" | "disputes.create" | "payment_intents.read" | "payment_intents.create" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "apiKeys.read" | "apiKeys.create" | "apiKeys.delete" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create";
|
|
7
7
|
}
|
|
@@ -93,8 +93,8 @@ exports.CreateApiKeysRequestScopesItem = core.serialization.enum_([
|
|
|
93
93
|
"apiKeys.read",
|
|
94
94
|
"apiKeys.create",
|
|
95
95
|
"apiKeys.delete",
|
|
96
|
-
"paymentIntents.read",
|
|
97
96
|
"paymentIntents.create",
|
|
97
|
+
"paymentIntents.read",
|
|
98
98
|
"cardPayments.read",
|
|
99
99
|
"voiceSessions.read",
|
|
100
100
|
"voiceSessions.create",
|
|
@@ -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 CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.Raw, Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem>;
|
|
5
5
|
export declare namespace CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem {
|
|
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.
|
|
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
|
}
|
|
@@ -68,8 +68,8 @@ exports.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = core.se
|
|
|
68
68
|
"enrollment.read",
|
|
69
69
|
"cards.read",
|
|
70
70
|
"saved_cards.use",
|
|
71
|
-
"externalParties.read",
|
|
72
71
|
"externalParties.create",
|
|
72
|
+
"externalParties.read",
|
|
73
73
|
"externalAccounts.create",
|
|
74
74
|
"paymentIntents.create",
|
|
75
75
|
"paymentIntents.read",
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.js";
|
|
|
4
4
|
import { CreateInvitationsCustomersResponseDataItemAttributesCancelReason } from "./CreateInvitationsCustomersResponseDataItemAttributesCancelReason.js";
|
|
5
5
|
import { CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus } from "./CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus.js";
|
|
6
6
|
import { CreateInvitationsCustomersResponseDataItemAttributesLimits } from "./CreateInvitationsCustomersResponseDataItemAttributesLimits.js";
|
|
7
|
+
import { CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem } from "./CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js";
|
|
7
8
|
import { CreateInvitationsCustomersResponseDataItemAttributesStatus } from "./CreateInvitationsCustomersResponseDataItemAttributesStatus.js";
|
|
8
9
|
export declare const CreateInvitationsCustomersResponseDataItemAttributes: core.serialization.ObjectSchema<serializers.CreateInvitationsCustomersResponseDataItemAttributes.Raw, Natural.CreateInvitationsCustomersResponseDataItemAttributes>;
|
|
9
10
|
export declare namespace CreateInvitationsCustomersResponseDataItemAttributes {
|
|
@@ -13,7 +14,7 @@ export declare namespace CreateInvitationsCustomersResponseDataItemAttributes {
|
|
|
13
14
|
phone?: string | null;
|
|
14
15
|
url: string;
|
|
15
16
|
agentName: string;
|
|
16
|
-
permissions:
|
|
17
|
+
permissions: CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.Raw[];
|
|
17
18
|
limits?: CreateInvitationsCustomersResponseDataItemAttributesLimits.Raw | null;
|
|
18
19
|
status: CreateInvitationsCustomersResponseDataItemAttributesStatus.Raw;
|
|
19
20
|
effectiveStatus: CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus.Raw;
|
|
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../core/index.js"));
|
|
|
39
39
|
const CreateInvitationsCustomersResponseDataItemAttributesCancelReason_js_1 = require("./CreateInvitationsCustomersResponseDataItemAttributesCancelReason.js");
|
|
40
40
|
const CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus_js_1 = require("./CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus.js");
|
|
41
41
|
const CreateInvitationsCustomersResponseDataItemAttributesLimits_js_1 = require("./CreateInvitationsCustomersResponseDataItemAttributesLimits.js");
|
|
42
|
+
const CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem_js_1 = require("./CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js");
|
|
42
43
|
const CreateInvitationsCustomersResponseDataItemAttributesStatus_js_1 = require("./CreateInvitationsCustomersResponseDataItemAttributesStatus.js");
|
|
43
44
|
exports.CreateInvitationsCustomersResponseDataItemAttributes = core.serialization.object({
|
|
44
45
|
developerName: core.serialization.string(),
|
|
@@ -46,7 +47,7 @@ exports.CreateInvitationsCustomersResponseDataItemAttributes = core.serializatio
|
|
|
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(CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem_js_1.CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem),
|
|
50
51
|
limits: CreateInvitationsCustomersResponseDataItemAttributesLimits_js_1.CreateInvitationsCustomersResponseDataItemAttributesLimits.nullable(),
|
|
51
52
|
status: CreateInvitationsCustomersResponseDataItemAttributesStatus_js_1.CreateInvitationsCustomersResponseDataItemAttributesStatus,
|
|
52
53
|
effectiveStatus: CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus_js_1.CreateInvitationsCustomersResponseDataItemAttributesEffectiveStatus,
|
|
@@ -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 CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem: core.serialization.Schema<serializers.CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.Raw, Natural.CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem>;
|
|
5
|
+
export declare namespace CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem {
|
|
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
|
+
}
|