@naturalpay/sdk 1.6.57 → 1.6.58
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/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/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/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +9 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -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/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/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/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -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/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/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/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +9 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -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/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/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/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -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
|
@@ -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 InviteCustomerSimulationsRequestPermissionsZeroItem: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsZeroItem.Raw, Natural.InviteCustomerSimulationsRequestPermissionsZeroItem>;
|
|
5
5
|
export declare namespace InviteCustomerSimulationsRequestPermissionsZeroItem {
|
|
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.read" | "externalParties.create" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use";
|
|
7
7
|
}
|
|
@@ -68,4 +68,13 @@ exports.InviteCustomerSimulationsRequestPermissionsZeroItem = core.serialization
|
|
|
68
68
|
"enrollment.read",
|
|
69
69
|
"cards.read",
|
|
70
70
|
"saved_cards.use",
|
|
71
|
+
"externalParties.read",
|
|
72
|
+
"externalParties.create",
|
|
73
|
+
"externalAccounts.create",
|
|
74
|
+
"paymentIntents.create",
|
|
75
|
+
"paymentIntents.read",
|
|
76
|
+
"cardPayments.read",
|
|
77
|
+
"voiceSessions.read",
|
|
78
|
+
"voiceSessions.create",
|
|
79
|
+
"savedCards.use",
|
|
71
80
|
]);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.58";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.6.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
9
|
+
"X-Fern-SDK-Version": "1.6.58",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.58",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -16,7 +16,7 @@ export interface CreateCustomerAgentsRequest {
|
|
|
16
16
|
agentId: string;
|
|
17
17
|
/** Unique key for safely retrying a request without creating duplicates. */
|
|
18
18
|
idempotencyKey: string;
|
|
19
|
-
/** Permissions requested for this agent. */
|
|
19
|
+
/** Permissions requested for this agent. Use camelCase names; legacy spellings remain accepted with the same access. */
|
|
20
20
|
permissions: Natural.CreateCustomerAgentsRequestPermissionsItem[];
|
|
21
21
|
/** Customer recipients to invite */
|
|
22
22
|
recipients: Natural.CreateCustomerAgentsRequestRecipientsItem[];
|
package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts
CHANGED
|
@@ -30,5 +30,14 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
30
30
|
readonly EnrollmentRead: "enrollment.read";
|
|
31
31
|
readonly CardsRead: "cards.read";
|
|
32
32
|
readonly SavedCardsUse: "saved_cards.use";
|
|
33
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
35
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
36
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
37
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
38
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
39
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
40
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
41
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
33
42
|
};
|
|
34
43
|
export type CreateCustomerAgentsRequestPermissionsItem = (typeof CreateCustomerAgentsRequestPermissionsItem)[keyof typeof CreateCustomerAgentsRequestPermissionsItem];
|
|
@@ -31,4 +31,13 @@ export const CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
31
31
|
EnrollmentRead: "enrollment.read",
|
|
32
32
|
CardsRead: "cards.read",
|
|
33
33
|
SavedCardsUse: "saved_cards.use",
|
|
34
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
37
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
38
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
39
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
40
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
41
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
42
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
34
43
|
};
|
|
@@ -12,7 +12,7 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
12
12
|
export interface NewApiKeyParams {
|
|
13
13
|
/** API key name. */
|
|
14
14
|
name: string;
|
|
15
|
-
/** Permission scopes for the API key. */
|
|
15
|
+
/** Permission scopes for the API key. Use camelCase names; legacy spellings remain accepted with the same access. */
|
|
16
16
|
scopes?: Natural.CreateApiKeysRequestScopesItem[];
|
|
17
17
|
/** Tags applied to this API key. */
|
|
18
18
|
tags?: Record<string, string>;
|
|
@@ -49,5 +49,16 @@ export declare const CreateApiKeysRequestScopesItem: {
|
|
|
49
49
|
readonly ChargebacksRespond: "chargebacks.respond";
|
|
50
50
|
readonly MandatesRead: "mandates.read";
|
|
51
51
|
readonly EnrollmentRead: "enrollment.read";
|
|
52
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
53
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
54
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
55
|
+
readonly ModernApiKeysRead: "apiKeys.read";
|
|
56
|
+
readonly ModernApiKeysCreate: "apiKeys.create";
|
|
57
|
+
readonly ModernApiKeysDelete: "apiKeys.delete";
|
|
58
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
59
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
60
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
61
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
62
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
52
63
|
};
|
|
53
64
|
export type CreateApiKeysRequestScopesItem = (typeof CreateApiKeysRequestScopesItem)[keyof typeof CreateApiKeysRequestScopesItem];
|
|
@@ -50,4 +50,15 @@ export const CreateApiKeysRequestScopesItem = {
|
|
|
50
50
|
ChargebacksRespond: "chargebacks.respond",
|
|
51
51
|
MandatesRead: "mandates.read",
|
|
52
52
|
EnrollmentRead: "enrollment.read",
|
|
53
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
54
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
55
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
56
|
+
ModernApiKeysRead: "apiKeys.read",
|
|
57
|
+
ModernApiKeysCreate: "apiKeys.create",
|
|
58
|
+
ModernApiKeysDelete: "apiKeys.delete",
|
|
59
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
60
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
61
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
62
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
63
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
53
64
|
};
|
|
@@ -149,7 +149,7 @@ export declare class CustomersClient {
|
|
|
149
149
|
* value: "ops@bistroroma.com"
|
|
150
150
|
* }],
|
|
151
151
|
* agents: [{
|
|
152
|
-
* permissions: ["payments.read", "payments.create", "
|
|
152
|
+
* permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
153
153
|
* agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
154
154
|
* limits: {
|
|
155
155
|
* perTransaction: 100000
|
|
@@ -467,7 +467,7 @@ export class CustomersClient {
|
|
|
467
467
|
* value: "ops@bistroroma.com"
|
|
468
468
|
* }],
|
|
469
469
|
* agents: [{
|
|
470
|
-
* permissions: ["payments.read", "payments.create", "
|
|
470
|
+
* permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
471
471
|
* agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
472
472
|
* limits: {
|
|
473
473
|
* perTransaction: 100000
|
package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
7
7
|
* value: "ops@bistroroma.com"
|
|
8
8
|
* }],
|
|
9
9
|
* agents: [{
|
|
10
|
-
* permissions: ["payments.read", "payments.create", "
|
|
10
|
+
* permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
11
11
|
* agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
12
12
|
* limits: {
|
|
13
13
|
* perTransaction: 100000
|
|
@@ -30,5 +30,14 @@ export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroI
|
|
|
30
30
|
readonly EnrollmentRead: "enrollment.read";
|
|
31
31
|
readonly CardsRead: "cards.read";
|
|
32
32
|
readonly SavedCardsUse: "saved_cards.use";
|
|
33
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
35
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
36
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
37
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
38
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
39
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
40
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
41
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
33
42
|
};
|
|
34
43
|
export type CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = (typeof CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem)[keyof typeof CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem];
|
|
@@ -31,4 +31,13 @@ export const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = {
|
|
|
31
31
|
EnrollmentRead: "enrollment.read",
|
|
32
32
|
CardsRead: "cards.read",
|
|
33
33
|
SavedCardsUse: "saved_cards.use",
|
|
34
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
37
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
38
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
39
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
40
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
41
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
42
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
34
43
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.mjs";
|
|
2
2
|
export interface CreateInvitationLinksRequestProposedAgentsItem {
|
|
3
|
-
/** Permissions requested for this agent. */
|
|
3
|
+
/** Permissions requested for this agent. Use camelCase names; legacy spellings remain accepted with the same access. */
|
|
4
4
|
permissions: Natural.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem[];
|
|
5
5
|
/** Agent ID (agt_*). */
|
|
6
6
|
agentId: string;
|
|
@@ -30,5 +30,14 @@ export declare const CreateInvitationLinksRequestProposedAgentsItemPermissionsIt
|
|
|
30
30
|
readonly EnrollmentRead: "enrollment.read";
|
|
31
31
|
readonly CardsRead: "cards.read";
|
|
32
32
|
readonly SavedCardsUse: "saved_cards.use";
|
|
33
|
+
readonly ModernExternalPartiesRead: "externalParties.read";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
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 CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = (typeof CreateInvitationLinksRequestProposedAgentsItemPermissionsItem)[keyof typeof CreateInvitationLinksRequestProposedAgentsItemPermissionsItem];
|
|
@@ -31,4 +31,13 @@ export const CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = {
|
|
|
31
31
|
EnrollmentRead: "enrollment.read",
|
|
32
32
|
CardsRead: "cards.read",
|
|
33
33
|
SavedCardsUse: "saved_cards.use",
|
|
34
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
37
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
38
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
39
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
40
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
41
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
42
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
34
43
|
};
|
|
@@ -31,6 +31,15 @@ export declare const CreateInvitationLinksResponseDataAttributesProposedAgentsIt
|
|
|
31
31
|
readonly EnrollmentRead: "enrollment.read";
|
|
32
32
|
readonly CardsRead: "cards.read";
|
|
33
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";
|
|
34
43
|
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
35
44
|
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
36
45
|
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
@@ -32,6 +32,15 @@ export const CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermis
|
|
|
32
32
|
EnrollmentRead: "enrollment.read",
|
|
33
33
|
CardsRead: "cards.read",
|
|
34
34
|
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
35
44
|
PaymentRequestsRead: "paymentRequests.read",
|
|
36
45
|
PaymentRequestsCreate: "paymentRequests.create",
|
|
37
46
|
ExternalAccountsRead: "externalAccounts.read",
|
|
@@ -31,6 +31,15 @@ export declare const GetInvitationLinksResponseDataAttributesProposedAgentsItemP
|
|
|
31
31
|
readonly EnrollmentRead: "enrollment.read";
|
|
32
32
|
readonly CardsRead: "cards.read";
|
|
33
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";
|
|
34
43
|
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
35
44
|
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
36
45
|
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
@@ -32,6 +32,15 @@ export const GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissio
|
|
|
32
32
|
EnrollmentRead: "enrollment.read",
|
|
33
33
|
CardsRead: "cards.read",
|
|
34
34
|
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
35
44
|
PaymentRequestsRead: "paymentRequests.read",
|
|
36
45
|
PaymentRequestsCreate: "paymentRequests.create",
|
|
37
46
|
ExternalAccountsRead: "externalAccounts.read",
|
|
@@ -31,6 +31,15 @@ export declare const ListInvitationLinksResponseDataItemAttributesProposedAgents
|
|
|
31
31
|
readonly EnrollmentRead: "enrollment.read";
|
|
32
32
|
readonly CardsRead: "cards.read";
|
|
33
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";
|
|
34
43
|
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
35
44
|
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
36
45
|
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
@@ -32,6 +32,15 @@ export const ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPerm
|
|
|
32
32
|
EnrollmentRead: "enrollment.read",
|
|
33
33
|
CardsRead: "cards.read",
|
|
34
34
|
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
35
44
|
PaymentRequestsRead: "paymentRequests.read",
|
|
36
45
|
PaymentRequestsCreate: "paymentRequests.create",
|
|
37
46
|
ExternalAccountsRead: "externalAccounts.read",
|
|
@@ -31,6 +31,15 @@ export declare const RevokeInvitationLinksResponseDataAttributesProposedAgentsIt
|
|
|
31
31
|
readonly EnrollmentRead: "enrollment.read";
|
|
32
32
|
readonly CardsRead: "cards.read";
|
|
33
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";
|
|
34
43
|
readonly PaymentRequestsRead: "paymentRequests.read";
|
|
35
44
|
readonly PaymentRequestsCreate: "paymentRequests.create";
|
|
36
45
|
readonly ExternalAccountsRead: "externalAccounts.read";
|
|
@@ -32,6 +32,15 @@ export const RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermis
|
|
|
32
32
|
EnrollmentRead: "enrollment.read",
|
|
33
33
|
CardsRead: "cards.read",
|
|
34
34
|
SavedCardsUse: "saved_cards.use",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
37
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
38
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
39
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
40
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
41
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
42
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
43
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
35
44
|
PaymentRequestsRead: "paymentRequests.read",
|
|
36
45
|
PaymentRequestsCreate: "paymentRequests.create",
|
|
37
46
|
ExternalAccountsRead: "externalAccounts.read",
|
|
@@ -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 ModernExternalPartiesRead: "externalParties.read";
|
|
34
|
+
readonly ModernExternalPartiesCreate: "externalParties.create";
|
|
35
|
+
readonly ModernExternalAccountsCreate: "externalAccounts.create";
|
|
36
|
+
readonly ModernPaymentIntentsCreate: "paymentIntents.create";
|
|
37
|
+
readonly ModernPaymentIntentsRead: "paymentIntents.read";
|
|
38
|
+
readonly ModernCardPaymentsRead: "cardPayments.read";
|
|
39
|
+
readonly ModernVoiceSessionsRead: "voiceSessions.read";
|
|
40
|
+
readonly ModernVoiceSessionsCreate: "voiceSessions.create";
|
|
41
|
+
readonly ModernSavedCardsUse: "savedCards.use";
|
|
33
42
|
};
|
|
34
43
|
export type InviteCustomerSimulationsRequestPermissionsZeroItem = (typeof InviteCustomerSimulationsRequestPermissionsZeroItem)[keyof typeof InviteCustomerSimulationsRequestPermissionsZeroItem];
|
|
@@ -31,4 +31,13 @@ export const InviteCustomerSimulationsRequestPermissionsZeroItem = {
|
|
|
31
31
|
EnrollmentRead: "enrollment.read",
|
|
32
32
|
CardsRead: "cards.read",
|
|
33
33
|
SavedCardsUse: "saved_cards.use",
|
|
34
|
+
ModernExternalPartiesRead: "externalParties.read",
|
|
35
|
+
ModernExternalPartiesCreate: "externalParties.create",
|
|
36
|
+
ModernExternalAccountsCreate: "externalAccounts.create",
|
|
37
|
+
ModernPaymentIntentsCreate: "paymentIntents.create",
|
|
38
|
+
ModernPaymentIntentsRead: "paymentIntents.read",
|
|
39
|
+
ModernCardPaymentsRead: "cardPayments.read",
|
|
40
|
+
ModernVoiceSessionsRead: "voiceSessions.read",
|
|
41
|
+
ModernVoiceSessionsCreate: "voiceSessions.create",
|
|
42
|
+
ModernSavedCardsUse: "savedCards.use",
|
|
34
43
|
};
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const CreateCustomerAgentsRequestPermissionsItem: core.serialization.Schema<serializers.CreateCustomerAgentsRequestPermissionsItem.Raw, Natural.CreateCustomerAgentsRequestPermissionsItem>;
|
|
5
5
|
export declare namespace CreateCustomerAgentsRequestPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "externalParties.read" | "externalParties.create" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use";
|
|
7
7
|
}
|
package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs
CHANGED
|
@@ -32,4 +32,13 @@ export const CreateCustomerAgentsRequestPermissionsItem = core.serialization.enu
|
|
|
32
32
|
"enrollment.read",
|
|
33
33
|
"cards.read",
|
|
34
34
|
"saved_cards.use",
|
|
35
|
+
"externalParties.read",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalAccounts.create",
|
|
38
|
+
"paymentIntents.create",
|
|
39
|
+
"paymentIntents.read",
|
|
40
|
+
"cardPayments.read",
|
|
41
|
+
"voiceSessions.read",
|
|
42
|
+
"voiceSessions.create",
|
|
43
|
+
"savedCards.use",
|
|
35
44
|
]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const 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";
|
|
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.read" | "paymentIntents.create" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create";
|
|
7
7
|
}
|
|
@@ -51,4 +51,15 @@ export const CreateApiKeysRequestScopesItem = core.serialization.enum_([
|
|
|
51
51
|
"chargebacks.respond",
|
|
52
52
|
"mandates.read",
|
|
53
53
|
"enrollment.read",
|
|
54
|
+
"externalParties.create",
|
|
55
|
+
"externalParties.read",
|
|
56
|
+
"externalAccounts.create",
|
|
57
|
+
"apiKeys.read",
|
|
58
|
+
"apiKeys.create",
|
|
59
|
+
"apiKeys.delete",
|
|
60
|
+
"paymentIntents.read",
|
|
61
|
+
"paymentIntents.create",
|
|
62
|
+
"cardPayments.read",
|
|
63
|
+
"voiceSessions.read",
|
|
64
|
+
"voiceSessions.create",
|
|
54
65
|
]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const 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";
|
|
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.read" | "externalParties.create" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use";
|
|
7
7
|
}
|
|
@@ -32,4 +32,13 @@ export const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = co
|
|
|
32
32
|
"enrollment.read",
|
|
33
33
|
"cards.read",
|
|
34
34
|
"saved_cards.use",
|
|
35
|
+
"externalParties.read",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalAccounts.create",
|
|
38
|
+
"paymentIntents.create",
|
|
39
|
+
"paymentIntents.read",
|
|
40
|
+
"cardPayments.read",
|
|
41
|
+
"voiceSessions.read",
|
|
42
|
+
"voiceSessions.create",
|
|
43
|
+
"savedCards.use",
|
|
35
44
|
]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const CreateInvitationLinksRequestProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.Raw, Natural.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace CreateInvitationLinksRequestProposedAgentsItemPermissionsItem {
|
|
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.read" | "externalParties.create" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use";
|
|
7
7
|
}
|
|
@@ -32,4 +32,13 @@ export const CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = cor
|
|
|
32
32
|
"enrollment.read",
|
|
33
33
|
"cards.read",
|
|
34
34
|
"saved_cards.use",
|
|
35
|
+
"externalParties.read",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalAccounts.create",
|
|
38
|
+
"paymentIntents.create",
|
|
39
|
+
"paymentIntents.read",
|
|
40
|
+
"cardPayments.read",
|
|
41
|
+
"voiceSessions.read",
|
|
42
|
+
"voiceSessions.create",
|
|
43
|
+
"savedCards.use",
|
|
35
44
|
]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "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
7
|
}
|
|
@@ -33,6 +33,15 @@ export const CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermis
|
|
|
33
33
|
"enrollment.read",
|
|
34
34
|
"cards.read",
|
|
35
35
|
"saved_cards.use",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalParties.read",
|
|
38
|
+
"externalAccounts.create",
|
|
39
|
+
"paymentIntents.create",
|
|
40
|
+
"paymentIntents.read",
|
|
41
|
+
"cardPayments.read",
|
|
42
|
+
"voiceSessions.read",
|
|
43
|
+
"voiceSessions.create",
|
|
44
|
+
"savedCards.use",
|
|
36
45
|
"paymentRequests.read",
|
|
37
46
|
"paymentRequests.create",
|
|
38
47
|
"externalAccounts.read",
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "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
7
|
}
|
|
@@ -33,6 +33,15 @@ export const GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissio
|
|
|
33
33
|
"enrollment.read",
|
|
34
34
|
"cards.read",
|
|
35
35
|
"saved_cards.use",
|
|
36
|
+
"externalParties.create",
|
|
37
|
+
"externalParties.read",
|
|
38
|
+
"externalAccounts.create",
|
|
39
|
+
"paymentIntents.create",
|
|
40
|
+
"paymentIntents.read",
|
|
41
|
+
"cardPayments.read",
|
|
42
|
+
"voiceSessions.read",
|
|
43
|
+
"voiceSessions.create",
|
|
44
|
+
"savedCards.use",
|
|
36
45
|
"paymentRequests.read",
|
|
37
46
|
"paymentRequests.create",
|
|
38
47
|
"externalAccounts.read",
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.Raw, Natural.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
|
|
6
|
+
type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "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
7
|
}
|