@paid-ai/paid-node 0.4.0 → 0.4.1
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/Client.js +2 -2
- package/dist/cjs/api/types/Signal.d.ts +5 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/types/Signal.d.mts +5 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -60,8 +60,8 @@ class PaidClient {
|
|
|
60
60
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "@paid-ai/paid-node",
|
|
63
|
-
"X-Fern-SDK-Version": "0.4.
|
|
64
|
-
"User-Agent": "@paid-ai/paid-node/0.4.
|
|
63
|
+
"X-Fern-SDK-Version": "0.4.1",
|
|
64
|
+
"User-Agent": "@paid-ai/paid-node/0.4.1",
|
|
65
65
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
66
66
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
67
67
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -5,8 +5,13 @@ export interface Signal {
|
|
|
5
5
|
event_name?: string;
|
|
6
6
|
agent_id?: string;
|
|
7
7
|
external_agent_id?: string;
|
|
8
|
+
/** Deprecated. The external customer id. Use `external_customer_id` or `internal_customer_id` instead. */
|
|
8
9
|
customer_id?: string;
|
|
9
10
|
data?: Record<string, unknown>;
|
|
10
11
|
/** A unique key to ensure idempotent signal processing */
|
|
11
12
|
idempotency_key?: string;
|
|
13
|
+
/** Paid's internal customer ID */
|
|
14
|
+
internal_customer_id?: string;
|
|
15
|
+
/** Your system's customer ID */
|
|
16
|
+
external_customer_id?: string;
|
|
12
17
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.4.
|
|
1
|
+
export declare const SDK_VERSION = "0.4.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -24,8 +24,8 @@ export class PaidClient {
|
|
|
24
24
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
25
25
|
"X-Fern-Language": "JavaScript",
|
|
26
26
|
"X-Fern-SDK-Name": "@paid-ai/paid-node",
|
|
27
|
-
"X-Fern-SDK-Version": "0.4.
|
|
28
|
-
"User-Agent": "@paid-ai/paid-node/0.4.
|
|
27
|
+
"X-Fern-SDK-Version": "0.4.1",
|
|
28
|
+
"User-Agent": "@paid-ai/paid-node/0.4.1",
|
|
29
29
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
30
30
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
31
31
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -5,8 +5,13 @@ export interface Signal {
|
|
|
5
5
|
event_name?: string;
|
|
6
6
|
agent_id?: string;
|
|
7
7
|
external_agent_id?: string;
|
|
8
|
+
/** Deprecated. The external customer id. Use `external_customer_id` or `internal_customer_id` instead. */
|
|
8
9
|
customer_id?: string;
|
|
9
10
|
data?: Record<string, unknown>;
|
|
10
11
|
/** A unique key to ensure idempotent signal processing */
|
|
11
12
|
idempotency_key?: string;
|
|
13
|
+
/** Paid's internal customer ID */
|
|
14
|
+
internal_customer_id?: string;
|
|
15
|
+
/** Your system's customer ID */
|
|
16
|
+
external_customer_id?: string;
|
|
12
17
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.4.
|
|
1
|
+
export declare const SDK_VERSION = "0.4.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.4.
|
|
1
|
+
export const SDK_VERSION = "0.4.1";
|