rcs-js 2.0.20 → 2.0.22

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.
@@ -54,8 +54,8 @@ class PinnacleClient {
54
54
  this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: (0, headers_js_1.mergeHeaders)({
55
55
  "X-Fern-Language": "JavaScript",
56
56
  "X-Fern-SDK-Name": "rcs-js",
57
- "X-Fern-SDK-Version": "2.0.20",
58
- "User-Agent": "rcs-js/2.0.20",
57
+ "X-Fern-SDK-Version": "2.0.22",
58
+ "User-Agent": "rcs-js/2.0.22",
59
59
  "X-Fern-Runtime": core.RUNTIME.type,
60
60
  "X-Fern-Runtime-Version": core.RUNTIME.version,
61
61
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -14,8 +14,11 @@ export declare namespace UserEvent {
14
14
  * Conversation metadata containing the conversation ID, sender, and recipient information.
15
15
  */
16
16
  interface Conversation {
17
- /** Unique identifier for the conversation. To get more conversation details, use the [POST /conversations/get](/api-reference/conversations/get) endpoint. */
18
- id: number;
17
+ /**
18
+ * Unique identifier for the conversation. This identifier is a string that always begins with the prefix `conv_`, for example: `conv_1234567890`. <br><br>
19
+ * To get more conversation details, use the [POST /conversations/get](/api-reference/conversations/get) endpoint.
20
+ */
21
+ id: string;
19
22
  /** Phone number of the user who triggered the event. */
20
23
  from: string;
21
24
  /** Agent ID that the user is interacting with. */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.20";
1
+ export declare const SDK_VERSION = "2.0.22";
@@ -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 = "2.0.20";
4
+ exports.SDK_VERSION = "2.0.22";
@@ -18,8 +18,8 @@ export class PinnacleClient {
18
18
  this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: mergeHeaders({
19
19
  "X-Fern-Language": "JavaScript",
20
20
  "X-Fern-SDK-Name": "rcs-js",
21
- "X-Fern-SDK-Version": "2.0.20",
22
- "User-Agent": "rcs-js/2.0.20",
21
+ "X-Fern-SDK-Version": "2.0.22",
22
+ "User-Agent": "rcs-js/2.0.22",
23
23
  "X-Fern-Runtime": core.RUNTIME.type,
24
24
  "X-Fern-Runtime-Version": core.RUNTIME.version,
25
25
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -14,8 +14,11 @@ export declare namespace UserEvent {
14
14
  * Conversation metadata containing the conversation ID, sender, and recipient information.
15
15
  */
16
16
  interface Conversation {
17
- /** Unique identifier for the conversation. To get more conversation details, use the [POST /conversations/get](/api-reference/conversations/get) endpoint. */
18
- id: number;
17
+ /**
18
+ * Unique identifier for the conversation. This identifier is a string that always begins with the prefix `conv_`, for example: `conv_1234567890`. <br><br>
19
+ * To get more conversation details, use the [POST /conversations/get](/api-reference/conversations/get) endpoint.
20
+ */
21
+ id: string;
19
22
  /** Phone number of the user who triggered the event. */
20
23
  from: string;
21
24
  /** Agent ID that the user is interacting with. */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.20";
1
+ export declare const SDK_VERSION = "2.0.22";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.20";
1
+ export const SDK_VERSION = "2.0.22";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rcs-js",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "private": false,
5
5
  "repository": "github:pinnacle-dev/rcs-js",
6
6
  "type": "commonjs",