@naturalpay/sdk 1.6.34 → 1.6.35
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/ListCustomersAgentsResponseDataItemAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/CreatePaymentRequestsResponseDataAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/DeclinePaymentRequestsResponseDataAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/GetPaymentRequestsResponseDataAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/ListIncomingPaymentRequestsResponseDataItemAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/api/resources/paymentRequests/types/ListPaymentRequestsResponseDataItemAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributesInitiatorParty.d.ts +2 -0
- package/dist/cjs/serialization/resources/agents/types/ListCustomersAgentsResponseDataItemAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/ListCustomersAgentsResponseDataItemAttributes.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributesInitiatorParty.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CreatePaymentRequestsResponseDataAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/CreatePaymentRequestsResponseDataAttributesInitiatorParty.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/DeclinePaymentRequestsResponseDataAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/DeclinePaymentRequestsResponseDataAttributesInitiatorParty.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/GetPaymentRequestsResponseDataAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/GetPaymentRequestsResponseDataAttributesInitiatorParty.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/ListIncomingPaymentRequestsResponseDataItemAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/ListIncomingPaymentRequestsResponseDataItemAttributesInitiatorParty.js +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/ListPaymentRequestsResponseDataItemAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/paymentRequests/types/ListPaymentRequestsResponseDataItemAttributesInitiatorParty.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributesInitiatorParty.d.ts +1 -0
- package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributesInitiatorParty.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/agents/types/ListCustomersAgentsResponseDataItemAttributes.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/CreatePaymentRequestsResponseDataAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/DeclinePaymentRequestsResponseDataAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/GetPaymentRequestsResponseDataAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/ListIncomingPaymentRequestsResponseDataItemAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/api/resources/paymentRequests/types/ListPaymentRequestsResponseDataItemAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributesInitiatorParty.d.mts +2 -0
- package/dist/esm/serialization/resources/agents/types/ListCustomersAgentsResponseDataItemAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/ListCustomersAgentsResponseDataItemAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributesInitiatorParty.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CreatePaymentRequestsResponseDataAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/CreatePaymentRequestsResponseDataAttributesInitiatorParty.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/DeclinePaymentRequestsResponseDataAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/DeclinePaymentRequestsResponseDataAttributesInitiatorParty.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/GetPaymentRequestsResponseDataAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/GetPaymentRequestsResponseDataAttributesInitiatorParty.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/ListIncomingPaymentRequestsResponseDataItemAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/ListIncomingPaymentRequestsResponseDataItemAttributesInitiatorParty.mjs +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/ListPaymentRequestsResponseDataItemAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/paymentRequests/types/ListPaymentRequestsResponseDataItemAttributesInitiatorParty.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributesInitiatorParty.d.mts +1 -0
- package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributesInitiatorParty.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.35",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.35",
|
|
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/agents/types/ListCustomersAgentsResponseDataItemAttributes.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export interface ListCustomersAgentsResponseDataItemAttributes {
|
|
|
7
7
|
name: string | null;
|
|
8
8
|
/** Customer email, when known */
|
|
9
9
|
email: string | null;
|
|
10
|
+
/** Customer party avatar URL, when known */
|
|
11
|
+
avatarUrl: string | null;
|
|
10
12
|
/** Current agent-customer relationship status */
|
|
11
13
|
status: Natural.ListCustomersAgentsResponseDataItemAttributesStatus;
|
|
12
14
|
/** Permissions granted or requested for this agent */
|
|
@@ -7,6 +7,8 @@ export interface RemoveCustomerAgentsResponseDataAttributes {
|
|
|
7
7
|
name: string | null;
|
|
8
8
|
/** Customer email, when known */
|
|
9
9
|
email: string | null;
|
|
10
|
+
/** Customer party avatar URL, when known */
|
|
11
|
+
avatarUrl: string | null;
|
|
10
12
|
/** Current agent-customer relationship status */
|
|
11
13
|
status: Natural.RemoveCustomerAgentsResponseDataAttributesStatus;
|
|
12
14
|
/** Permissions granted or requested for this agent */
|
|
@@ -8,6 +8,7 @@ export declare namespace ListCustomersAgentsResponseDataItemAttributes {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
name?: string | null;
|
|
10
10
|
email?: string | null;
|
|
11
|
+
avatarUrl?: string | null;
|
|
11
12
|
status: ListCustomersAgentsResponseDataItemAttributesStatus.Raw;
|
|
12
13
|
permissions: string[];
|
|
13
14
|
limits?: ListCustomersAgentsResponseDataItemAttributesLimits.Raw | null;
|
|
@@ -41,6 +41,7 @@ const ListCustomersAgentsResponseDataItemAttributesStatus_js_1 = require("./List
|
|
|
41
41
|
exports.ListCustomersAgentsResponseDataItemAttributes = core.serialization.object({
|
|
42
42
|
name: core.serialization.string().nullable(),
|
|
43
43
|
email: core.serialization.string().nullable(),
|
|
44
|
+
avatarUrl: core.serialization.string().nullable(),
|
|
44
45
|
status: ListCustomersAgentsResponseDataItemAttributesStatus_js_1.ListCustomersAgentsResponseDataItemAttributesStatus,
|
|
45
46
|
permissions: core.serialization.list(core.serialization.string()),
|
|
46
47
|
limits: ListCustomersAgentsResponseDataItemAttributesLimits_js_1.ListCustomersAgentsResponseDataItemAttributesLimits.nullable(),
|
|
@@ -8,6 +8,7 @@ export declare namespace RemoveCustomerAgentsResponseDataAttributes {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
name?: string | null;
|
|
10
10
|
email?: string | null;
|
|
11
|
+
avatarUrl?: string | null;
|
|
11
12
|
status: RemoveCustomerAgentsResponseDataAttributesStatus.Raw;
|
|
12
13
|
permissions: string[];
|
|
13
14
|
limits?: RemoveCustomerAgentsResponseDataAttributesLimits.Raw | null;
|
package/dist/cjs/serialization/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.js
CHANGED
|
@@ -41,6 +41,7 @@ const RemoveCustomerAgentsResponseDataAttributesStatus_js_1 = require("./RemoveC
|
|
|
41
41
|
exports.RemoveCustomerAgentsResponseDataAttributes = core.serialization.object({
|
|
42
42
|
name: core.serialization.string().nullable(),
|
|
43
43
|
email: core.serialization.string().nullable(),
|
|
44
|
+
avatarUrl: core.serialization.string().nullable(),
|
|
44
45
|
status: RemoveCustomerAgentsResponseDataAttributesStatus_js_1.RemoveCustomerAgentsResponseDataAttributesStatus,
|
|
45
46
|
permissions: core.serialization.list(core.serialization.string()),
|
|
46
47
|
limits: RemoveCustomerAgentsResponseDataAttributesLimits_js_1.RemoveCustomerAgentsResponseDataAttributesLimits.nullable(),
|
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.35";
|
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.35",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.35",
|
|
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/ListCustomersAgentsResponseDataItemAttributes.d.mts
CHANGED
|
@@ -7,6 +7,8 @@ export interface ListCustomersAgentsResponseDataItemAttributes {
|
|
|
7
7
|
name: string | null;
|
|
8
8
|
/** Customer email, when known */
|
|
9
9
|
email: string | null;
|
|
10
|
+
/** Customer party avatar URL, when known */
|
|
11
|
+
avatarUrl: string | null;
|
|
10
12
|
/** Current agent-customer relationship status */
|
|
11
13
|
status: Natural.ListCustomersAgentsResponseDataItemAttributesStatus;
|
|
12
14
|
/** Permissions granted or requested for this agent */
|
package/dist/esm/api/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.d.mts
CHANGED
|
@@ -7,6 +7,8 @@ export interface RemoveCustomerAgentsResponseDataAttributes {
|
|
|
7
7
|
name: string | null;
|
|
8
8
|
/** Customer email, when known */
|
|
9
9
|
email: string | null;
|
|
10
|
+
/** Customer party avatar URL, when known */
|
|
11
|
+
avatarUrl: string | null;
|
|
10
12
|
/** Current agent-customer relationship status */
|
|
11
13
|
status: Natural.RemoveCustomerAgentsResponseDataAttributesStatus;
|
|
12
14
|
/** Permissions granted or requested for this agent */
|
|
@@ -8,6 +8,7 @@ export declare namespace ListCustomersAgentsResponseDataItemAttributes {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
name?: string | null;
|
|
10
10
|
email?: string | null;
|
|
11
|
+
avatarUrl?: string | null;
|
|
11
12
|
status: ListCustomersAgentsResponseDataItemAttributesStatus.Raw;
|
|
12
13
|
permissions: string[];
|
|
13
14
|
limits?: ListCustomersAgentsResponseDataItemAttributesLimits.Raw | null;
|
|
@@ -5,6 +5,7 @@ import { ListCustomersAgentsResponseDataItemAttributesStatus } from "./ListCusto
|
|
|
5
5
|
export const ListCustomersAgentsResponseDataItemAttributes = core.serialization.object({
|
|
6
6
|
name: core.serialization.string().nullable(),
|
|
7
7
|
email: core.serialization.string().nullable(),
|
|
8
|
+
avatarUrl: core.serialization.string().nullable(),
|
|
8
9
|
status: ListCustomersAgentsResponseDataItemAttributesStatus,
|
|
9
10
|
permissions: core.serialization.list(core.serialization.string()),
|
|
10
11
|
limits: ListCustomersAgentsResponseDataItemAttributesLimits.nullable(),
|
|
@@ -8,6 +8,7 @@ export declare namespace RemoveCustomerAgentsResponseDataAttributes {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
name?: string | null;
|
|
10
10
|
email?: string | null;
|
|
11
|
+
avatarUrl?: string | null;
|
|
11
12
|
status: RemoveCustomerAgentsResponseDataAttributesStatus.Raw;
|
|
12
13
|
permissions: string[];
|
|
13
14
|
limits?: RemoveCustomerAgentsResponseDataAttributesLimits.Raw | null;
|
package/dist/esm/serialization/resources/agents/types/RemoveCustomerAgentsResponseDataAttributes.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import { RemoveCustomerAgentsResponseDataAttributesStatus } from "./RemoveCustom
|
|
|
5
5
|
export const RemoveCustomerAgentsResponseDataAttributes = core.serialization.object({
|
|
6
6
|
name: core.serialization.string().nullable(),
|
|
7
7
|
email: core.serialization.string().nullable(),
|
|
8
|
+
avatarUrl: core.serialization.string().nullable(),
|
|
8
9
|
status: RemoveCustomerAgentsResponseDataAttributesStatus,
|
|
9
10
|
permissions: core.serialization.list(core.serialization.string()),
|
|
10
11
|
limits: RemoveCustomerAgentsResponseDataAttributesLimits.nullable(),
|
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.35";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.35";
|