@naturalpay/sdk 1.6.26 → 1.6.27
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/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.d.ts +6 -3
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.d.ts +4 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.js +1 -0
- package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.ts +8 -2
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.d.ts +4 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.js +1 -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/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissions.d.mts +6 -3
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsType.d.mts +4 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType.mjs +1 -0
- package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +1 -1
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.mts +8 -2
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsType.d.mts +4 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsTypeType.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +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.27",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.27",
|
|
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,
|
package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.js";
|
|
2
2
|
export interface CreateInvitationsCustomersRequestAgentsItem {
|
|
3
|
-
/** Permissions
|
|
3
|
+
/** Permissions for this agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created. */
|
|
4
4
|
permissions: Natural.CreateInvitationsCustomersRequestAgentsItemPermissions;
|
|
5
5
|
/** Agent ID (agt_*). */
|
|
6
6
|
agentId: string;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Permissions
|
|
3
|
+
* Permissions for this agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created.
|
|
4
4
|
*/
|
|
5
5
|
export type CreateInvitationsCustomersRequestAgentsItemPermissions =
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem[]
|
|
7
|
+
* Specific permissions to request. */
|
|
8
|
+
Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem[]
|
|
9
|
+
/**
|
|
10
|
+
* Request every permission available to your party today. */
|
|
11
|
+
| Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsType;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request every permission available to your party today.
|
|
4
|
+
*/
|
|
2
5
|
export interface CreateInvitationsCustomersRequestAgentsItemPermissionsType {
|
|
6
|
+
/** Set to `ALL`. */
|
|
3
7
|
type: Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType;
|
|
4
8
|
}
|
|
@@ -2,6 +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.CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType = void 0;
|
|
5
|
+
/** Set to `ALL`. */
|
|
5
6
|
exports.CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType = {
|
|
6
7
|
All: "ALL",
|
|
7
8
|
};
|
package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface InviteCustomerSimulationsRequest {
|
|
|
14
14
|
idempotencyKey: string;
|
|
15
15
|
/** Agents (agt_*) to offer. The test customer receives a pending invitation for each. */
|
|
16
16
|
agentIds: string[];
|
|
17
|
-
/** Permissions
|
|
17
|
+
/** Permissions for each agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created. */
|
|
18
18
|
permissions: Natural.InviteCustomerSimulationsRequestPermissions;
|
|
19
19
|
/** Test customer party type. Defaults to PERSON. */
|
|
20
20
|
type?: Natural.InviteCustomerSimulationsRequestType;
|
package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Permissions
|
|
3
|
+
* Permissions for each agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created.
|
|
4
4
|
*/
|
|
5
|
-
export type InviteCustomerSimulationsRequestPermissions =
|
|
5
|
+
export type InviteCustomerSimulationsRequestPermissions =
|
|
6
|
+
/**
|
|
7
|
+
* Specific permissions to request. */
|
|
8
|
+
Natural.InviteCustomerSimulationsRequestPermissionsZeroItem[]
|
|
9
|
+
/**
|
|
10
|
+
* Request every permission available to your party today. */
|
|
11
|
+
| Natural.InviteCustomerSimulationsRequestPermissionsType;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request every permission available to your party today.
|
|
4
|
+
*/
|
|
2
5
|
export interface InviteCustomerSimulationsRequestPermissionsType {
|
|
6
|
+
/** Set to `ALL`. */
|
|
3
7
|
type: Natural.InviteCustomerSimulationsRequestPermissionsTypeType;
|
|
4
8
|
}
|
|
@@ -2,6 +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.InviteCustomerSimulationsRequestPermissionsTypeType = void 0;
|
|
5
|
+
/** Set to `ALL`. */
|
|
5
6
|
exports.InviteCustomerSimulationsRequestPermissionsTypeType = {
|
|
6
7
|
All: "ALL",
|
|
7
8
|
};
|
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.27";
|
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.27",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.27",
|
|
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/customers/types/CreateInvitationsCustomersRequestAgentsItem.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.mjs";
|
|
2
2
|
export interface CreateInvitationsCustomersRequestAgentsItem {
|
|
3
|
-
/** Permissions
|
|
3
|
+
/** Permissions for this agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created. */
|
|
4
4
|
permissions: Natural.CreateInvitationsCustomersRequestAgentsItemPermissions;
|
|
5
5
|
/** Agent ID (agt_*). */
|
|
6
6
|
agentId: string;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Permissions
|
|
3
|
+
* Permissions for this agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created.
|
|
4
4
|
*/
|
|
5
5
|
export type CreateInvitationsCustomersRequestAgentsItemPermissions =
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem[]
|
|
7
|
+
* Specific permissions to request. */
|
|
8
|
+
Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem[]
|
|
9
|
+
/**
|
|
10
|
+
* Request every permission available to your party today. */
|
|
11
|
+
| Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsType;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Request every permission available to your party today.
|
|
4
|
+
*/
|
|
2
5
|
export interface CreateInvitationsCustomersRequestAgentsItemPermissionsType {
|
|
6
|
+
/** Set to `ALL`. */
|
|
3
7
|
type: Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsTypeType;
|
|
4
8
|
}
|
package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ export interface InviteCustomerSimulationsRequest {
|
|
|
14
14
|
idempotencyKey: string;
|
|
15
15
|
/** Agents (agt_*) to offer. The test customer receives a pending invitation for each. */
|
|
16
16
|
agentIds: string[];
|
|
17
|
-
/** Permissions
|
|
17
|
+
/** Permissions for each agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created. */
|
|
18
18
|
permissions: Natural.InviteCustomerSimulationsRequestPermissions;
|
|
19
19
|
/** Test customer party type. Defaults to PERSON. */
|
|
20
20
|
type?: Natural.InviteCustomerSimulationsRequestType;
|
package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissions.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Permissions
|
|
3
|
+
* Permissions for each agent, or `{"type":"ALL"}` for all of them. Fixed when the invitation is created.
|
|
4
4
|
*/
|
|
5
|
-
export type InviteCustomerSimulationsRequestPermissions =
|
|
5
|
+
export type InviteCustomerSimulationsRequestPermissions =
|
|
6
|
+
/**
|
|
7
|
+
* Specific permissions to request. */
|
|
8
|
+
Natural.InviteCustomerSimulationsRequestPermissionsZeroItem[]
|
|
9
|
+
/**
|
|
10
|
+
* Request every permission available to your party today. */
|
|
11
|
+
| Natural.InviteCustomerSimulationsRequestPermissionsType;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Request every permission available to your party today.
|
|
4
|
+
*/
|
|
2
5
|
export interface InviteCustomerSimulationsRequestPermissionsType {
|
|
6
|
+
/** Set to `ALL`. */
|
|
3
7
|
type: Natural.InviteCustomerSimulationsRequestPermissionsTypeType;
|
|
4
8
|
}
|
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.27";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.27";
|