ch-chat-api-typescript-axios 1.2.10 → 1.2.11

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.
@@ -9,100 +9,114 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ChatParticipant } from './chat-participant';
13
+ import type { IntakeForm } from './intake-form';
12
14
  /**
13
15
  *
14
16
  * @export
15
- * @interface ChatSession
17
+ * @interface ChatSessionModel
16
18
  */
17
- export interface ChatSession {
19
+ export interface ChatSessionModel {
18
20
  /**
19
21
  *
20
22
  * @type {string}
21
- * @memberof ChatSession
23
+ * @memberof ChatSessionModel
22
24
  */
23
25
  'id'?: string;
24
26
  /**
25
27
  *
26
28
  * @type {string}
27
- * @memberof ChatSession
29
+ * @memberof ChatSessionModel
28
30
  */
29
31
  'tenantId'?: string;
30
32
  /**
31
33
  *
32
34
  * @type {string}
33
- * @memberof ChatSession
35
+ * @memberof ChatSessionModel
34
36
  */
35
37
  'webSiteUrl'?: string | null;
36
38
  /**
37
39
  *
38
40
  * @type {string}
39
- * @memberof ChatSession
41
+ * @memberof ChatSessionModel
40
42
  */
41
43
  'title'?: string | null;
42
44
  /**
43
45
  *
44
46
  * @type {string}
45
- * @memberof ChatSession
47
+ * @memberof ChatSessionModel
46
48
  */
47
49
  'userName'?: string | null;
48
50
  /**
49
51
  *
50
52
  * @type {string}
51
- * @memberof ChatSession
53
+ * @memberof ChatSessionModel
52
54
  */
53
55
  'userEmail'?: string | null;
54
56
  /**
55
57
  *
56
58
  * @type {string}
57
- * @memberof ChatSession
59
+ * @memberof ChatSessionModel
58
60
  */
59
61
  'phoneNumber'?: string | null;
60
62
  /**
61
63
  *
62
64
  * @type {string}
63
- * @memberof ChatSession
65
+ * @memberof ChatSessionModel
64
66
  */
65
67
  'phoneNumberId'?: string | null;
66
68
  /**
67
69
  *
68
70
  * @type {boolean}
69
- * @memberof ChatSession
71
+ * @memberof ChatSessionModel
70
72
  */
71
73
  'handoffRequested'?: boolean;
72
74
  /**
73
75
  *
74
76
  * @type {string}
75
- * @memberof ChatSession
77
+ * @memberof ChatSessionModel
76
78
  */
77
79
  'assigneeId'?: string | null;
80
+ /**
81
+ *
82
+ * @type {Array<ChatParticipant>}
83
+ * @memberof ChatSessionModel
84
+ */
85
+ 'participants'?: Array<ChatParticipant> | null;
86
+ /**
87
+ *
88
+ * @type {IntakeForm}
89
+ * @memberof ChatSessionModel
90
+ */
91
+ 'intakeForm'?: IntakeForm;
78
92
  /**
79
93
  *
80
94
  * @type {Date}
81
- * @memberof ChatSession
95
+ * @memberof ChatSessionModel
82
96
  */
83
97
  'createdDate'?: Date;
84
98
  /**
85
99
  *
86
100
  * @type {string}
87
- * @memberof ChatSession
101
+ * @memberof ChatSessionModel
88
102
  */
89
103
  'createdBy'?: string | null;
90
104
  /**
91
105
  *
92
106
  * @type {Date}
93
- * @memberof ChatSession
107
+ * @memberof ChatSessionModel
94
108
  */
95
109
  'updatedDate'?: Date | null;
96
110
  /**
97
111
  *
98
112
  * @type {string}
99
- * @memberof ChatSession
113
+ * @memberof ChatSessionModel
100
114
  */
101
115
  'updatedBy'?: string | null;
102
116
  /**
103
117
  *
104
118
  * @type {boolean}
105
- * @memberof ChatSession
119
+ * @memberof ChatSessionModel
106
120
  */
107
121
  'isGuest'?: boolean;
108
122
  }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cloudhospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=chat-session-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-session-model.js","sourceRoot":"","sources":["../../src/models/chat-session-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChatSession } from './chat-session';
12
+ import type { ChatSessionModel } from './chat-session-model';
13
13
  import type { PagedListMetaData } from './paged-list-meta-data';
14
14
  /**
15
15
  *
@@ -19,10 +19,10 @@ import type { PagedListMetaData } from './paged-list-meta-data';
19
19
  export interface ChatSessionsModel {
20
20
  /**
21
21
  *
22
- * @type {Array<ChatSession>}
22
+ * @type {Array<ChatSessionModel>}
23
23
  * @memberof ChatSessionsModel
24
24
  */
25
- 'items'?: Array<ChatSession> | null;
25
+ 'items'?: Array<ChatSessionModel> | null;
26
26
  /**
27
27
  *
28
28
  * @type {PagedListMetaData}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PlatformTypes } from './platform-types';
13
+ import type { RequestCreateIntakeFormItemModel } from './request-create-intake-form-item-model';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -46,4 +47,10 @@ export interface CreateChatSessionCommand {
46
47
  * @memberof CreateChatSessionCommand
47
48
  */
48
49
  'userName'?: string | null;
50
+ /**
51
+ *
52
+ * @type {Array<RequestCreateIntakeFormItemModel>}
53
+ * @memberof CreateChatSessionCommand
54
+ */
55
+ 'intakeFormItems'?: Array<RequestCreateIntakeFormItemModel> | null;
49
56
  }
@@ -4,13 +4,18 @@ export * from './author-roles';
4
4
  export * from './chat-message';
5
5
  export * from './chat-messages-model';
6
6
  export * from './chat-participant';
7
- export * from './chat-session';
7
+ export * from './chat-session-model';
8
8
  export * from './chat-sessions-model';
9
9
  export * from './create-chat-session-command';
10
+ export * from './intake-form';
11
+ export * from './intake-form-item';
12
+ export * from './intake-forms-model';
10
13
  export * from './join-chat-session-command';
11
14
  export * from './media-model';
12
15
  export * from './message-types';
13
16
  export * from './paged-list-meta-data';
17
+ export * from './patch-intake-form-command';
14
18
  export * from './platform-types';
15
19
  export * from './put-chat-session-command';
20
+ export * from './request-create-intake-form-item-model';
16
21
  export * from './transfer-manager-command';
@@ -20,14 +20,19 @@ __exportStar(require("./author-roles"), exports);
20
20
  __exportStar(require("./chat-message"), exports);
21
21
  __exportStar(require("./chat-messages-model"), exports);
22
22
  __exportStar(require("./chat-participant"), exports);
23
- __exportStar(require("./chat-session"), exports);
23
+ __exportStar(require("./chat-session-model"), exports);
24
24
  __exportStar(require("./chat-sessions-model"), exports);
25
25
  __exportStar(require("./create-chat-session-command"), exports);
26
+ __exportStar(require("./intake-form"), exports);
27
+ __exportStar(require("./intake-form-item"), exports);
28
+ __exportStar(require("./intake-forms-model"), exports);
26
29
  __exportStar(require("./join-chat-session-command"), exports);
27
30
  __exportStar(require("./media-model"), exports);
28
31
  __exportStar(require("./message-types"), exports);
29
32
  __exportStar(require("./paged-list-meta-data"), exports);
33
+ __exportStar(require("./patch-intake-form-command"), exports);
30
34
  __exportStar(require("./platform-types"), exports);
31
35
  __exportStar(require("./put-chat-session-command"), exports);
36
+ __exportStar(require("./request-create-intake-form-item-model"), exports);
32
37
  __exportStar(require("./transfer-manager-command"), exports);
33
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mFAAiE;AACjE,0FAAwE;AACxE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,iDAA+B;AAC/B,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,gDAA8B;AAC9B,kDAAgC;AAChC,yDAAuC;AACvC,mDAAiC;AACjC,6DAA2C;AAC3C,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mFAAiE;AACjE,0FAAwE;AACxE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,gEAA8C;AAC9C,gDAA8B;AAC9B,qDAAmC;AACnC,uDAAqC;AACrC,8DAA4C;AAC5C,gDAA8B;AAC9B,kDAAgC;AAChC,yDAAuC;AACvC,8DAA4C;AAC5C,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,6DAA2C"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Cloudhospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface IntakeFormItem
16
+ */
17
+ export interface IntakeFormItem {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IntakeFormItem
22
+ */
23
+ 'id'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof IntakeFormItem
28
+ */
29
+ 'question'?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof IntakeFormItem
34
+ */
35
+ 'answer'?: string | null;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IntakeFormItem
40
+ */
41
+ 'order'?: number;
42
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cloudhospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=intake-form-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intake-form-item.js","sourceRoot":"","sources":["../../src/models/intake-form-item.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Cloudhospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { IntakeFormItem } from './intake-form-item';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IntakeForm
17
+ */
18
+ export interface IntakeForm {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof IntakeForm
23
+ */
24
+ 'id'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof IntakeForm
29
+ */
30
+ 'tenantId'?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof IntakeForm
35
+ */
36
+ 'sessionId'?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof IntakeForm
41
+ */
42
+ 'userId'?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof IntakeForm
47
+ */
48
+ 'phoneNumber'?: string | null;
49
+ /**
50
+ *
51
+ * @type {Date}
52
+ * @memberof IntakeForm
53
+ */
54
+ 'createdDate'?: Date;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof IntakeForm
59
+ */
60
+ 'createdBy'?: string | null;
61
+ /**
62
+ *
63
+ * @type {Date}
64
+ * @memberof IntakeForm
65
+ */
66
+ 'updatedDate'?: Date | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof IntakeForm
71
+ */
72
+ 'updateBy'?: string | null;
73
+ /**
74
+ *
75
+ * @type {Array<IntakeFormItem>}
76
+ * @memberof IntakeForm
77
+ */
78
+ 'items'?: Array<IntakeFormItem> | null;
79
+ }
@@ -13,4 +13,4 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=chat-session.js.map
16
+ //# sourceMappingURL=intake-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intake-form.js","sourceRoot":"","sources":["../../src/models/intake-form.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Cloudhospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { IntakeForm } from './intake-form';
13
+ import type { PagedListMetaData } from './paged-list-meta-data';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface IntakeFormsModel
18
+ */
19
+ export interface IntakeFormsModel {
20
+ /**
21
+ *
22
+ * @type {Array<IntakeForm>}
23
+ * @memberof IntakeFormsModel
24
+ */
25
+ 'items'?: Array<IntakeForm> | null;
26
+ /**
27
+ *
28
+ * @type {PagedListMetaData}
29
+ * @memberof IntakeFormsModel
30
+ */
31
+ 'metaData'?: PagedListMetaData;
32
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cloudhospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=intake-forms-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intake-forms-model.js","sourceRoot":"","sources":["../../src/models/intake-forms-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Cloudhospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { IntakeFormItem } from './intake-form-item';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PatchIntakeFormCommand
17
+ */
18
+ export interface PatchIntakeFormCommand {
19
+ /**
20
+ *
21
+ * @type {Array<IntakeFormItem>}
22
+ * @memberof PatchIntakeFormCommand
23
+ */
24
+ 'items'?: Array<IntakeFormItem> | null;
25
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cloudhospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=patch-intake-form-command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-intake-form-command.js","sourceRoot":"","sources":["../../src/models/patch-intake-form-command.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Cloudhospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RequestCreateIntakeFormItemModel
16
+ */
17
+ export interface RequestCreateIntakeFormItemModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RequestCreateIntakeFormItemModel
22
+ */
23
+ 'question'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RequestCreateIntakeFormItemModel
28
+ */
29
+ 'answer'?: string | null;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof RequestCreateIntakeFormItemModel
34
+ */
35
+ 'order'?: number;
36
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cloudhospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=request-create-intake-form-item-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-create-intake-form-item-model.js","sourceRoot":"","sources":["../../src/models/request-create-intake-form-item-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
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.2.10",
4
+ "version": "1.2.11",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-session.js","sourceRoot":"","sources":["../../src/models/chat-session.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}