ch-chat-api-typescript-axios 1.3.22 → 1.4.0

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.
@@ -12,6 +12,7 @@
12
12
  import type { ChatParticipant } from './chat-participant';
13
13
  import type { ChatSessionStatus } from './chat-session-status';
14
14
  import type { IntakeForm } from './intake-form';
15
+ import type { PlatformTypes } from './platform-types';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -72,6 +73,12 @@ export interface ChatSessionModel {
72
73
  * @memberof ChatSessionModel
73
74
  */
74
75
  'handoffRequested'?: boolean;
76
+ /**
77
+ *
78
+ * @type {PlatformTypes}
79
+ * @memberof ChatSessionModel
80
+ */
81
+ 'platformType'?: PlatformTypes;
75
82
  /**
76
83
  *
77
84
  * @type {string}
@@ -16,8 +16,6 @@
16
16
  */
17
17
  export declare const PlatformTypes: {
18
18
  readonly Admin: "admin";
19
- readonly Ch: "ch";
20
19
  readonly Whatsapp: "whatsapp";
21
- readonly Saas: "saas";
22
20
  };
23
21
  export type PlatformTypes = typeof PlatformTypes[keyof typeof PlatformTypes];
@@ -21,8 +21,6 @@ exports.PlatformTypes = void 0;
21
21
  */
22
22
  exports.PlatformTypes = {
23
23
  Admin: 'admin',
24
- Ch: 'ch',
25
- Whatsapp: 'whatsapp',
26
- Saas: 'saas'
24
+ Whatsapp: 'whatsapp'
27
25
  };
28
26
  //# sourceMappingURL=platform-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"platform-types.js","sourceRoot":"","sources":["../../src/models/platform-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,aAAa,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACN,CAAC"}
1
+ {"version":3,"file":"platform-types.js","sourceRoot":"","sources":["../../src/models/platform-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,aAAa,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACd,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ch-chat-api-typescript-axios",
3
3
  "description": "An OpenAPI generator tool for the CH Chat API, designed to simplify API client generation and streamline integration workflows.",
4
- "version": "1.3.22",
4
+ "version": "1.4.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {