@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.
@@ -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.0",
64
- "User-Agent": "@paid-ai/paid-node/0.4.0",
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
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.0";
1
+ export declare const SDK_VERSION = "0.4.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.4.0";
4
+ exports.SDK_VERSION = "0.4.1";
@@ -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.0",
28
- "User-Agent": "@paid-ai/paid-node/0.4.0",
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
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.0";
1
+ export declare const SDK_VERSION = "0.4.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.4.0";
1
+ export const SDK_VERSION = "0.4.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paid-ai/paid-node",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/paid-ai/paid-node",
6
6
  "type": "commonjs",