@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.
Files changed (92) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.ts +1 -1
  3. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +9 -0
  4. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +9 -0
  5. package/dist/cjs/api/resources/apiKeys/client/requests/NewApiKeyParams.d.ts +1 -1
  6. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +11 -0
  7. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +11 -0
  8. package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -1
  9. package/dist/cjs/api/resources/customers/client/Client.js +1 -1
  10. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -1
  11. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +9 -0
  12. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +9 -0
  13. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.ts +1 -1
  14. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +9 -0
  15. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +9 -0
  16. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  17. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  18. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  19. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  20. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  21. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +9 -0
  22. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  23. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  24. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +9 -0
  25. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -0
  26. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  27. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +9 -0
  28. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  29. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +11 -0
  30. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
  31. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +9 -0
  32. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  33. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +9 -0
  34. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  35. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  36. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  37. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  38. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  39. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +9 -0
  40. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  41. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  42. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
  43. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -0
  44. package/dist/cjs/version.d.ts +1 -1
  45. package/dist/cjs/version.js +1 -1
  46. package/dist/esm/BaseClient.mjs +2 -2
  47. package/dist/esm/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.mts +1 -1
  48. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +9 -0
  49. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +9 -0
  50. package/dist/esm/api/resources/apiKeys/client/requests/NewApiKeyParams.d.mts +1 -1
  51. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +11 -0
  52. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +11 -0
  53. package/dist/esm/api/resources/customers/client/Client.d.mts +1 -1
  54. package/dist/esm/api/resources/customers/client/Client.mjs +1 -1
  55. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -1
  56. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +9 -0
  57. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +9 -0
  58. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.mts +1 -1
  59. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +9 -0
  60. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +9 -0
  61. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  62. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  63. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  64. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  65. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  66. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  67. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  68. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  69. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +9 -0
  70. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -0
  71. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  72. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +9 -0
  73. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  74. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +11 -0
  75. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
  76. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +9 -0
  77. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  78. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +9 -0
  79. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  80. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  81. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  82. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  83. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  84. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  85. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  86. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  87. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
  88. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -0
  89. package/dist/esm/version.d.mts +1 -1
  90. package/dist/esm/version.mjs +1 -1
  91. package/package.json +1 -1
  92. 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
  ]);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.57";
1
+ export declare const SDK_VERSION = "1.6.58";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.6.57";
1
+ export const SDK_VERSION = "1.6.58";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.6.57",
3
+ "version": "1.6.58",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
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", "external_accounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
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