@naturalpay/sdk 1.6.36 → 1.6.37
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 +0 -1
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +0 -1
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/cardSessions/types/ClaimCardSessionsResponseCard.d.ts +1 -1
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +3 -1
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.d.ts +1 -1
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.js +1 -1
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseNote.d.ts +6 -0
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponseNote.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponse.d.ts +3 -1
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.d.ts +1 -1
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.js +1 -1
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseNote.d.ts +6 -0
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponseNote.js +3 -0
- package/dist/cjs/api/resources/cardSessions/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/cardSessions/types/index.js +2 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +0 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +0 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +0 -1
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +0 -1
- package/dist/cjs/api/resources/simulations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/client/Client.js +1 -1
- package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +0 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +0 -1
- package/dist/cjs/api/resources/transfers/client/requests/NewDepositParams.d.ts +2 -2
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +0 -1
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.js +2 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseNote.d.ts +10 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseNote.js +42 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.js +2 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponseNote.d.ts +10 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponseNote.js +42 -0
- package/dist/cjs/serialization/resources/cardSessions/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/cardSessions/types/index.js +2 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +0 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +0 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +0 -1
- 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 +0 -1
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +0 -1
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponse.d.mts +1 -1
- package/dist/esm/api/resources/cardSessions/types/ClaimCardSessionsResponseCard.d.mts +1 -1
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +3 -1
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.d.mts +1 -1
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseCardSource.mjs +1 -1
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseNote.d.mts +6 -0
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponseNote.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponse.d.mts +3 -1
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.d.mts +1 -1
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseCardSource.mjs +1 -1
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseNote.d.mts +6 -0
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponseNote.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/types/index.d.mts +2 -0
- package/dist/esm/api/resources/cardSessions/types/index.mjs +2 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +0 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +0 -1
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +0 -1
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +0 -1
- package/dist/esm/api/resources/simulations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/simulations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +0 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +0 -1
- package/dist/esm/api/resources/transfers/client/requests/NewDepositParams.d.mts +2 -2
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +0 -1
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.mjs +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponseNote.d.mts +10 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponseNote.mjs +6 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.mts +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.mjs +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponseNote.d.mts +10 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponseNote.mjs +6 -0
- package/dist/esm/serialization/resources/cardSessions/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +0 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +0 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +0 -1
- 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
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.6.
|
|
47
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
46
|
+
"X-Fern-SDK-Version": "1.6.37",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.37",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -13,7 +13,6 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
13
13
|
readonly WalletsCreate: "wallets.create";
|
|
14
14
|
readonly WalletsUpdate: "wallets.update";
|
|
15
15
|
readonly WalletsFund: "wallets.fund";
|
|
16
|
-
readonly WalletsDeposit: "wallets.deposit";
|
|
17
16
|
readonly WalletsTransfer: "wallets.transfer";
|
|
18
17
|
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
18
|
readonly PartyRead: "party.read";
|
|
@@ -17,7 +17,6 @@ exports.CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
17
17
|
WalletsCreate: "wallets.create",
|
|
18
18
|
WalletsUpdate: "wallets.update",
|
|
19
19
|
WalletsFund: "wallets.fund",
|
|
20
|
-
WalletsDeposit: "wallets.deposit",
|
|
21
20
|
WalletsTransfer: "wallets.transfer",
|
|
22
21
|
WalletsWithdraw: "wallets.withdraw",
|
|
23
22
|
PartyRead: "party.read",
|
|
@@ -3,7 +3,7 @@ export interface ClaimCardSessionsResponse {
|
|
|
3
3
|
sessionId: string;
|
|
4
4
|
cardId: string;
|
|
5
5
|
card: Natural.ClaimCardSessionsResponseCard;
|
|
6
|
-
/** The card's billing address on file, for filling the merchant's checkout (the ZIP drives the bank's AVS check). Null for
|
|
6
|
+
/** The card's billing address on file, for filling the merchant's checkout (the ZIP drives the bank's AVS check). Null for agent cards, which store none. */
|
|
7
7
|
billingAddress: Natural.ClaimCardSessionsResponseBillingAddress | null;
|
|
8
8
|
proxy: Natural.ClaimCardSessionsResponseProxy;
|
|
9
9
|
allowedHosts: string[];
|
|
@@ -5,6 +5,6 @@ export interface ClaimCardSessionsResponseCard {
|
|
|
5
5
|
cvc: string;
|
|
6
6
|
expirationMonth: number;
|
|
7
7
|
expirationYear: number;
|
|
8
|
-
/** Cardholder name as printed on the card, for the merchant's checkout name field. Null for
|
|
8
|
+
/** Cardholder name as printed on the card, for the merchant's checkout name field. Null for agent cards, which have none on file. */
|
|
9
9
|
holderName: string | null;
|
|
10
10
|
}
|
|
@@ -2,7 +2,7 @@ import type * as Natural from "../../../index.js";
|
|
|
2
2
|
export interface CreateCardSessionsResponse {
|
|
3
3
|
sessionId: string;
|
|
4
4
|
cardId: string;
|
|
5
|
-
/** natural_issued:
|
|
5
|
+
/** natural_issued: an agent card Natural issued to you. external: a card the user added on the dashboard. */
|
|
6
6
|
cardSource: Natural.CreateCardSessionsResponseCardSource;
|
|
7
7
|
/** pending_approval: waiting for the user; keep polling. approved: claim it now. declined: the user said no. claimed: already collected. expired: open a new session. */
|
|
8
8
|
status: Natural.CreateCardSessionsResponseStatus;
|
|
@@ -13,6 +13,8 @@ export interface CreateCardSessionsResponse {
|
|
|
13
13
|
/** When the claimed proxy login stops working. */
|
|
14
14
|
credentialExpiresAt: string | null;
|
|
15
15
|
createdAt: string;
|
|
16
|
+
/** Cards the user added only, once the purchase is approved: a suggestion to pass on to the user. Null when there's nothing to suggest. */
|
|
17
|
+
note: Natural.CreateCardSessionsResponseNote | null;
|
|
16
18
|
/** Cards the user added only: send the user here to approve the purchase. Returned only in this response; it can't be fetched again. */
|
|
17
19
|
approvalUrl: string | null;
|
|
18
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** natural_issued:
|
|
1
|
+
/** natural_issued: an agent card Natural issued to you. external: a card the user added on the dashboard. */
|
|
2
2
|
export declare const CreateCardSessionsResponseCardSource: {
|
|
3
3
|
readonly NaturalIssued: "natural_issued";
|
|
4
4
|
readonly External: "external";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.CreateCardSessionsResponseCardSource = void 0;
|
|
5
|
-
/** natural_issued:
|
|
5
|
+
/** natural_issued: an agent card Natural issued to you. external: a card the user added on the dashboard. */
|
|
6
6
|
exports.CreateCardSessionsResponseCardSource = {
|
|
7
7
|
NaturalIssued: "natural_issued",
|
|
8
8
|
External: "external",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface CreateCardSessionsResponseNote {
|
|
2
|
+
/** What to tell the user: what would let them skip the security code next time, such as verifying their identity or adding money to Natural. */
|
|
3
|
+
message: string;
|
|
4
|
+
/** A page to send the user to for that step. Null when there's nothing to do yet. */
|
|
5
|
+
url: string | null;
|
|
6
|
+
}
|
|
@@ -2,7 +2,7 @@ import type * as Natural from "../../../index.js";
|
|
|
2
2
|
export interface GetCardSessionsResponse {
|
|
3
3
|
sessionId: string;
|
|
4
4
|
cardId: string;
|
|
5
|
-
/** natural_issued:
|
|
5
|
+
/** natural_issued: an agent card Natural issued to you. external: a card the user added on the dashboard. */
|
|
6
6
|
cardSource: Natural.GetCardSessionsResponseCardSource;
|
|
7
7
|
/** pending_approval: waiting for the user; keep polling. approved: claim it now. declined: the user said no. claimed: already collected. expired: open a new session. */
|
|
8
8
|
status: Natural.GetCardSessionsResponseStatus;
|
|
@@ -13,4 +13,6 @@ export interface GetCardSessionsResponse {
|
|
|
13
13
|
/** When the claimed proxy login stops working. */
|
|
14
14
|
credentialExpiresAt: string | null;
|
|
15
15
|
createdAt: string;
|
|
16
|
+
/** Cards the user added only, once the purchase is approved: a suggestion to pass on to the user. Null when there's nothing to suggest. */
|
|
17
|
+
note: Natural.GetCardSessionsResponseNote | null;
|
|
16
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** natural_issued:
|
|
1
|
+
/** natural_issued: an agent card Natural issued to you. external: a card the user added on the dashboard. */
|
|
2
2
|
export declare const GetCardSessionsResponseCardSource: {
|
|
3
3
|
readonly NaturalIssued: "natural_issued";
|
|
4
4
|
readonly External: "external";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.GetCardSessionsResponseCardSource = void 0;
|
|
5
|
-
/** natural_issued:
|
|
5
|
+
/** natural_issued: an agent card Natural issued to you. external: a card the user added on the dashboard. */
|
|
6
6
|
exports.GetCardSessionsResponseCardSource = {
|
|
7
7
|
NaturalIssued: "natural_issued",
|
|
8
8
|
External: "external",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface GetCardSessionsResponseNote {
|
|
2
|
+
/** What to tell the user: what would let them skip the security code next time, such as verifying their identity or adding money to Natural. */
|
|
3
|
+
message: string;
|
|
4
|
+
/** A page to send the user to for that step. Null when there's nothing to do yet. */
|
|
5
|
+
url: string | null;
|
|
6
|
+
}
|
|
@@ -6,7 +6,9 @@ export * from "./ClaimCardSessionsResponseProxyProtocol.js";
|
|
|
6
6
|
export * from "./CreateCardSessionsRequestPurchase.js";
|
|
7
7
|
export * from "./CreateCardSessionsResponse.js";
|
|
8
8
|
export * from "./CreateCardSessionsResponseCardSource.js";
|
|
9
|
+
export * from "./CreateCardSessionsResponseNote.js";
|
|
9
10
|
export * from "./CreateCardSessionsResponseStatus.js";
|
|
10
11
|
export * from "./GetCardSessionsResponse.js";
|
|
11
12
|
export * from "./GetCardSessionsResponseCardSource.js";
|
|
13
|
+
export * from "./GetCardSessionsResponseNote.js";
|
|
12
14
|
export * from "./GetCardSessionsResponseStatus.js";
|
|
@@ -22,7 +22,9 @@ __exportStar(require("./ClaimCardSessionsResponseProxyProtocol.js"), exports);
|
|
|
22
22
|
__exportStar(require("./CreateCardSessionsRequestPurchase.js"), exports);
|
|
23
23
|
__exportStar(require("./CreateCardSessionsResponse.js"), exports);
|
|
24
24
|
__exportStar(require("./CreateCardSessionsResponseCardSource.js"), exports);
|
|
25
|
+
__exportStar(require("./CreateCardSessionsResponseNote.js"), exports);
|
|
25
26
|
__exportStar(require("./CreateCardSessionsResponseStatus.js"), exports);
|
|
26
27
|
__exportStar(require("./GetCardSessionsResponse.js"), exports);
|
|
27
28
|
__exportStar(require("./GetCardSessionsResponseCardSource.js"), exports);
|
|
29
|
+
__exportStar(require("./GetCardSessionsResponseNote.js"), exports);
|
|
28
30
|
__exportStar(require("./GetCardSessionsResponseStatus.js"), exports);
|
|
@@ -13,7 +13,6 @@ export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsZeroI
|
|
|
13
13
|
readonly WalletsCreate: "wallets.create";
|
|
14
14
|
readonly WalletsUpdate: "wallets.update";
|
|
15
15
|
readonly WalletsFund: "wallets.fund";
|
|
16
|
-
readonly WalletsDeposit: "wallets.deposit";
|
|
17
16
|
readonly WalletsTransfer: "wallets.transfer";
|
|
18
17
|
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
18
|
readonly PartyRead: "party.read";
|
|
@@ -17,7 +17,6 @@ exports.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem = {
|
|
|
17
17
|
WalletsCreate: "wallets.create",
|
|
18
18
|
WalletsUpdate: "wallets.update",
|
|
19
19
|
WalletsFund: "wallets.fund",
|
|
20
|
-
WalletsDeposit: "wallets.deposit",
|
|
21
20
|
WalletsTransfer: "wallets.transfer",
|
|
22
21
|
WalletsWithdraw: "wallets.withdraw",
|
|
23
22
|
PartyRead: "party.read",
|
|
@@ -13,7 +13,6 @@ export declare const CreateInvitationLinksRequestProposedAgentsItemPermissionsIt
|
|
|
13
13
|
readonly WalletsCreate: "wallets.create";
|
|
14
14
|
readonly WalletsUpdate: "wallets.update";
|
|
15
15
|
readonly WalletsFund: "wallets.fund";
|
|
16
|
-
readonly WalletsDeposit: "wallets.deposit";
|
|
17
16
|
readonly WalletsTransfer: "wallets.transfer";
|
|
18
17
|
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
18
|
readonly PartyRead: "party.read";
|
|
@@ -17,7 +17,6 @@ exports.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = {
|
|
|
17
17
|
WalletsCreate: "wallets.create",
|
|
18
18
|
WalletsUpdate: "wallets.update",
|
|
19
19
|
WalletsFund: "wallets.fund",
|
|
20
|
-
WalletsDeposit: "wallets.deposit",
|
|
21
20
|
WalletsTransfer: "wallets.transfer",
|
|
22
21
|
WalletsWithdraw: "wallets.withdraw",
|
|
23
22
|
PartyRead: "party.read",
|
|
@@ -38,7 +38,7 @@ export declare class SimulationsClient {
|
|
|
38
38
|
* await client.simulations.inviteCustomer({
|
|
39
39
|
* idempotencyKey: "Idempotency-Key",
|
|
40
40
|
* agentIds: ["agt_019cd1798d637a4da75dce386343931d"],
|
|
41
|
-
* permissions: ["wallets.create", "wallets.
|
|
41
|
+
* permissions: ["wallets.create", "wallets.withdraw", "wallets.transfer"],
|
|
42
42
|
* type: "ORG",
|
|
43
43
|
* message: "Please review the agent access request."
|
|
44
44
|
* })
|
|
@@ -96,7 +96,7 @@ class SimulationsClient {
|
|
|
96
96
|
* await client.simulations.inviteCustomer({
|
|
97
97
|
* idempotencyKey: "Idempotency-Key",
|
|
98
98
|
* agentIds: ["agt_019cd1798d637a4da75dce386343931d"],
|
|
99
|
-
* permissions: ["wallets.create", "wallets.
|
|
99
|
+
* permissions: ["wallets.create", "wallets.withdraw", "wallets.transfer"],
|
|
100
100
|
* type: "ORG",
|
|
101
101
|
* message: "Please review the agent access request."
|
|
102
102
|
* })
|
package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type * as Natural from "../../../../index.js";
|
|
|
4
4
|
* {
|
|
5
5
|
* idempotencyKey: "Idempotency-Key",
|
|
6
6
|
* agentIds: ["agt_019cd1798d637a4da75dce386343931d"],
|
|
7
|
-
* permissions: ["wallets.create", "wallets.
|
|
7
|
+
* permissions: ["wallets.create", "wallets.withdraw", "wallets.transfer"],
|
|
8
8
|
* type: "ORG",
|
|
9
9
|
* message: "Please review the agent access request."
|
|
10
10
|
* }
|
|
@@ -13,7 +13,6 @@ export declare const InviteCustomerSimulationsRequestPermissionsZeroItem: {
|
|
|
13
13
|
readonly WalletsCreate: "wallets.create";
|
|
14
14
|
readonly WalletsUpdate: "wallets.update";
|
|
15
15
|
readonly WalletsFund: "wallets.fund";
|
|
16
|
-
readonly WalletsDeposit: "wallets.deposit";
|
|
17
16
|
readonly WalletsTransfer: "wallets.transfer";
|
|
18
17
|
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
18
|
readonly PartyRead: "party.read";
|
|
@@ -17,7 +17,6 @@ exports.InviteCustomerSimulationsRequestPermissionsZeroItem = {
|
|
|
17
17
|
WalletsCreate: "wallets.create",
|
|
18
18
|
WalletsUpdate: "wallets.update",
|
|
19
19
|
WalletsFund: "wallets.fund",
|
|
20
|
-
WalletsDeposit: "wallets.deposit",
|
|
21
20
|
WalletsTransfer: "wallets.transfer",
|
|
22
21
|
WalletsWithdraw: "wallets.withdraw",
|
|
23
22
|
PartyRead: "party.read",
|
|
@@ -15,7 +15,7 @@ import type * as Natural from "../../../../index.js";
|
|
|
15
15
|
export interface NewDepositParams {
|
|
16
16
|
/** Unique key for safely retrying a request without creating duplicates. */
|
|
17
17
|
idempotencyKey: string;
|
|
18
|
-
/**
|
|
18
|
+
/** Omit or pass your own party ID (pty_*). Deposits on behalf of customers are not supported. */
|
|
19
19
|
customerPartyId?: string;
|
|
20
20
|
/** Amount in cents. */
|
|
21
21
|
amount: number;
|
|
@@ -23,7 +23,7 @@ export interface NewDepositParams {
|
|
|
23
23
|
currency?: Natural.InitiateDepositTransfersRequestCurrency;
|
|
24
24
|
/** External account ID (eac_*). */
|
|
25
25
|
externalAccountId: string;
|
|
26
|
-
/**
|
|
26
|
+
/** Your party's wallet (wal_*) to deposit into. Omit to use the party default for user or party API calls, or the agent default for owned agents. */
|
|
27
27
|
walletId?: string;
|
|
28
28
|
/** Transfer description. Maximum 80 characters. */
|
|
29
29
|
description?: string;
|
|
@@ -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.
|
|
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";
|
|
7
7
|
}
|
|
@@ -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 { CreateCardSessionsResponseCardSource } from "./CreateCardSessionsResponseCardSource.js";
|
|
5
|
+
import { CreateCardSessionsResponseNote } from "./CreateCardSessionsResponseNote.js";
|
|
5
6
|
import { CreateCardSessionsResponseStatus } from "./CreateCardSessionsResponseStatus.js";
|
|
6
7
|
export declare const CreateCardSessionsResponse: core.serialization.ObjectSchema<serializers.CreateCardSessionsResponse.Raw, Natural.CreateCardSessionsResponse>;
|
|
7
8
|
export declare namespace CreateCardSessionsResponse {
|
|
@@ -15,6 +16,7 @@ export declare namespace CreateCardSessionsResponse {
|
|
|
15
16
|
claimedAt?: string | null;
|
|
16
17
|
credentialExpiresAt?: string | null;
|
|
17
18
|
createdAt: string;
|
|
19
|
+
note?: CreateCardSessionsResponseNote.Raw | null;
|
|
18
20
|
approvalUrl?: string | null;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CreateCardSessionsResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const CreateCardSessionsResponseCardSource_js_1 = require("./CreateCardSessionsResponseCardSource.js");
|
|
40
|
+
const CreateCardSessionsResponseNote_js_1 = require("./CreateCardSessionsResponseNote.js");
|
|
40
41
|
const CreateCardSessionsResponseStatus_js_1 = require("./CreateCardSessionsResponseStatus.js");
|
|
41
42
|
exports.CreateCardSessionsResponse = core.serialization.object({
|
|
42
43
|
sessionId: core.serialization.string(),
|
|
@@ -48,5 +49,6 @@ exports.CreateCardSessionsResponse = core.serialization.object({
|
|
|
48
49
|
claimedAt: core.serialization.string().nullable(),
|
|
49
50
|
credentialExpiresAt: core.serialization.string().nullable(),
|
|
50
51
|
createdAt: core.serialization.string(),
|
|
52
|
+
note: CreateCardSessionsResponseNote_js_1.CreateCardSessionsResponseNote.nullable(),
|
|
51
53
|
approvalUrl: core.serialization.string().nullable(),
|
|
52
54
|
});
|
package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponseNote.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateCardSessionsResponseNote: core.serialization.ObjectSchema<serializers.CreateCardSessionsResponseNote.Raw, Natural.CreateCardSessionsResponseNote>;
|
|
5
|
+
export declare namespace CreateCardSessionsResponseNote {
|
|
6
|
+
interface Raw {
|
|
7
|
+
message: string;
|
|
8
|
+
url?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.CreateCardSessionsResponseNote = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.CreateCardSessionsResponseNote = core.serialization.object({
|
|
40
|
+
message: core.serialization.string(),
|
|
41
|
+
url: core.serialization.string().nullable(),
|
|
42
|
+
});
|
|
@@ -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 { GetCardSessionsResponseCardSource } from "./GetCardSessionsResponseCardSource.js";
|
|
5
|
+
import { GetCardSessionsResponseNote } from "./GetCardSessionsResponseNote.js";
|
|
5
6
|
import { GetCardSessionsResponseStatus } from "./GetCardSessionsResponseStatus.js";
|
|
6
7
|
export declare const GetCardSessionsResponse: core.serialization.ObjectSchema<serializers.GetCardSessionsResponse.Raw, Natural.GetCardSessionsResponse>;
|
|
7
8
|
export declare namespace GetCardSessionsResponse {
|
|
@@ -15,5 +16,6 @@ export declare namespace GetCardSessionsResponse {
|
|
|
15
16
|
claimedAt?: string | null;
|
|
16
17
|
credentialExpiresAt?: string | null;
|
|
17
18
|
createdAt: string;
|
|
19
|
+
note?: GetCardSessionsResponseNote.Raw | null;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.GetCardSessionsResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const GetCardSessionsResponseCardSource_js_1 = require("./GetCardSessionsResponseCardSource.js");
|
|
40
|
+
const GetCardSessionsResponseNote_js_1 = require("./GetCardSessionsResponseNote.js");
|
|
40
41
|
const GetCardSessionsResponseStatus_js_1 = require("./GetCardSessionsResponseStatus.js");
|
|
41
42
|
exports.GetCardSessionsResponse = core.serialization.object({
|
|
42
43
|
sessionId: core.serialization.string(),
|
|
@@ -48,4 +49,5 @@ exports.GetCardSessionsResponse = core.serialization.object({
|
|
|
48
49
|
claimedAt: core.serialization.string().nullable(),
|
|
49
50
|
credentialExpiresAt: core.serialization.string().nullable(),
|
|
50
51
|
createdAt: core.serialization.string(),
|
|
52
|
+
note: GetCardSessionsResponseNote_js_1.GetCardSessionsResponseNote.nullable(),
|
|
51
53
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 GetCardSessionsResponseNote: core.serialization.ObjectSchema<serializers.GetCardSessionsResponseNote.Raw, Natural.GetCardSessionsResponseNote>;
|
|
5
|
+
export declare namespace GetCardSessionsResponseNote {
|
|
6
|
+
interface Raw {
|
|
7
|
+
message: string;
|
|
8
|
+
url?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.GetCardSessionsResponseNote = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.GetCardSessionsResponseNote = core.serialization.object({
|
|
40
|
+
message: core.serialization.string(),
|
|
41
|
+
url: core.serialization.string().nullable(),
|
|
42
|
+
});
|
|
@@ -6,7 +6,9 @@ export * from "./ClaimCardSessionsResponseProxyProtocol.js";
|
|
|
6
6
|
export * from "./CreateCardSessionsRequestPurchase.js";
|
|
7
7
|
export * from "./CreateCardSessionsResponse.js";
|
|
8
8
|
export * from "./CreateCardSessionsResponseCardSource.js";
|
|
9
|
+
export * from "./CreateCardSessionsResponseNote.js";
|
|
9
10
|
export * from "./CreateCardSessionsResponseStatus.js";
|
|
10
11
|
export * from "./GetCardSessionsResponse.js";
|
|
11
12
|
export * from "./GetCardSessionsResponseCardSource.js";
|
|
13
|
+
export * from "./GetCardSessionsResponseNote.js";
|
|
12
14
|
export * from "./GetCardSessionsResponseStatus.js";
|
|
@@ -22,7 +22,9 @@ __exportStar(require("./ClaimCardSessionsResponseProxyProtocol.js"), exports);
|
|
|
22
22
|
__exportStar(require("./CreateCardSessionsRequestPurchase.js"), exports);
|
|
23
23
|
__exportStar(require("./CreateCardSessionsResponse.js"), exports);
|
|
24
24
|
__exportStar(require("./CreateCardSessionsResponseCardSource.js"), exports);
|
|
25
|
+
__exportStar(require("./CreateCardSessionsResponseNote.js"), exports);
|
|
25
26
|
__exportStar(require("./CreateCardSessionsResponseStatus.js"), exports);
|
|
26
27
|
__exportStar(require("./GetCardSessionsResponse.js"), exports);
|
|
27
28
|
__exportStar(require("./GetCardSessionsResponseCardSource.js"), exports);
|
|
29
|
+
__exportStar(require("./GetCardSessionsResponseNote.js"), exports);
|
|
28
30
|
__exportStar(require("./GetCardSessionsResponseStatus.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 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.
|
|
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";
|
|
7
7
|
}
|
|
@@ -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 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.
|
|
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";
|
|
7
7
|
}
|
|
@@ -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.
|
|
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";
|
|
7
7
|
}
|
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.37";
|
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.37",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.37",
|
|
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,
|
package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts
CHANGED
|
@@ -13,7 +13,6 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
13
13
|
readonly WalletsCreate: "wallets.create";
|
|
14
14
|
readonly WalletsUpdate: "wallets.update";
|
|
15
15
|
readonly WalletsFund: "wallets.fund";
|
|
16
|
-
readonly WalletsDeposit: "wallets.deposit";
|
|
17
16
|
readonly WalletsTransfer: "wallets.transfer";
|
|
18
17
|
readonly WalletsWithdraw: "wallets.withdraw";
|
|
19
18
|
readonly PartyRead: "party.read";
|
|
@@ -14,7 +14,6 @@ export const CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
14
14
|
WalletsCreate: "wallets.create",
|
|
15
15
|
WalletsUpdate: "wallets.update",
|
|
16
16
|
WalletsFund: "wallets.fund",
|
|
17
|
-
WalletsDeposit: "wallets.deposit",
|
|
18
17
|
WalletsTransfer: "wallets.transfer",
|
|
19
18
|
WalletsWithdraw: "wallets.withdraw",
|
|
20
19
|
PartyRead: "party.read",
|