@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
|
@@ -33,6 +33,15 @@ export const ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPerm
|
|
|
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 RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
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 RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermis
|
|
|
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 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
|
}
|
|
@@ -32,4 +32,13 @@ export const InviteCustomerSimulationsRequestPermissionsZeroItem = core.serializ
|
|
|
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
|
]);
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.58";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.58";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -986,7 +986,7 @@ await client.customers.createInvitations({
|
|
|
986
986
|
value: "ops@bistroroma.com"
|
|
987
987
|
}],
|
|
988
988
|
agents: [{
|
|
989
|
-
permissions: ["payments.read", "payments.create", "
|
|
989
|
+
permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
|
|
990
990
|
agentId: "agt_019cd1798d637a4da75dce386343931d",
|
|
991
991
|
limits: {
|
|
992
992
|
perTransaction: 100000
|