ch-chat-api-typescript-axios 1.2.10 → 1.3.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.
- package/dist/api/chat-api.d.ts +386 -16
- package/dist/api/chat-api.js +430 -0
- package/dist/api/chat-api.js.map +1 -1
- package/dist/models/action-parameters.d.ts +54 -0
- package/dist/models/action-parameters.js +16 -0
- package/dist/models/action-parameters.js.map +1 -0
- package/dist/models/chat-message.d.ts +7 -0
- package/dist/models/chat-send-flow-message-command.d.ts +25 -0
- package/dist/models/chat-send-flow-message-command.js +16 -0
- package/dist/models/chat-send-flow-message-command.js.map +1 -0
- package/dist/models/{chat-session.d.ts → chat-session-model.d.ts} +31 -17
- package/dist/models/chat-session-model.js +16 -0
- package/dist/models/chat-session-model.js.map +1 -0
- package/dist/models/chat-sessions-model.d.ts +3 -3
- package/dist/models/create-chat-session-command.d.ts +7 -0
- package/dist/models/index.d.ts +14 -1
- package/dist/models/index.js +14 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/intake-form-item.d.ts +42 -0
- package/dist/models/intake-form-item.js +16 -0
- package/dist/models/intake-form-item.js.map +1 -0
- package/dist/models/intake-form.d.ts +79 -0
- package/dist/models/{chat-session.js → intake-form.js} +1 -1
- package/dist/models/intake-form.js.map +1 -0
- package/dist/models/intake-forms-model.d.ts +32 -0
- package/dist/models/intake-forms-model.js +16 -0
- package/dist/models/intake-forms-model.js.map +1 -0
- package/dist/models/interactive-flow-message-model.d.ts +53 -0
- package/dist/models/interactive-flow-message-model.js +16 -0
- package/dist/models/interactive-flow-message-model.js.map +1 -0
- package/dist/models/interactive-message-type.d.ts +25 -0
- package/dist/models/interactive-message-type.js +30 -0
- package/dist/models/interactive-message-type.js.map +1 -0
- package/dist/models/message-action.d.ts +31 -0
- package/dist/models/message-action.js +16 -0
- package/dist/models/message-action.js.map +1 -0
- package/dist/models/message-body.d.ts +24 -0
- package/dist/models/message-body.js +16 -0
- package/dist/models/message-body.js.map +1 -0
- package/dist/models/message-footer.d.ts +24 -0
- package/dist/models/message-footer.js +16 -0
- package/dist/models/message-footer.js.map +1 -0
- package/dist/models/message-header.d.ts +30 -0
- package/dist/models/message-header.js +16 -0
- package/dist/models/message-header.js.map +1 -0
- package/dist/models/message-types.d.ts +3 -0
- package/dist/models/message-types.js +4 -1
- package/dist/models/message-types.js.map +1 -1
- package/dist/models/patch-intake-form-command.d.ts +25 -0
- package/dist/models/patch-intake-form-command.js +16 -0
- package/dist/models/patch-intake-form-command.js.map +1 -0
- package/dist/models/request-create-intake-form-item-model.d.ts +36 -0
- package/dist/models/request-create-intake-form-item-model.js +16 -0
- package/dist/models/request-create-intake-form-item-model.js.map +1 -0
- package/package.json +1 -1
- package/dist/models/chat-session.js.map +0 -1
|
@@ -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
|
+
}
|
|
@@ -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,53 @@
|
|
|
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 { InteractiveMessageType } from './interactive-message-type';
|
|
13
|
+
import type { MessageAction } from './message-action';
|
|
14
|
+
import type { MessageBody } from './message-body';
|
|
15
|
+
import type { MessageFooter } from './message-footer';
|
|
16
|
+
import type { MessageHeader } from './message-header';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InteractiveFlowMessageModel
|
|
21
|
+
*/
|
|
22
|
+
export interface InteractiveFlowMessageModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {InteractiveMessageType}
|
|
26
|
+
* @memberof InteractiveFlowMessageModel
|
|
27
|
+
*/
|
|
28
|
+
'type'?: InteractiveMessageType;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {MessageHeader}
|
|
32
|
+
* @memberof InteractiveFlowMessageModel
|
|
33
|
+
*/
|
|
34
|
+
'header'?: MessageHeader;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {MessageBody}
|
|
38
|
+
* @memberof InteractiveFlowMessageModel
|
|
39
|
+
*/
|
|
40
|
+
'body'?: MessageBody;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {MessageFooter}
|
|
44
|
+
* @memberof InteractiveFlowMessageModel
|
|
45
|
+
*/
|
|
46
|
+
'footer'?: MessageFooter;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {MessageAction}
|
|
50
|
+
* @memberof InteractiveFlowMessageModel
|
|
51
|
+
*/
|
|
52
|
+
'action'?: MessageAction;
|
|
53
|
+
}
|
|
@@ -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=interactive-flow-message-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactive-flow-message-model.js","sourceRoot":"","sources":["../../src/models/interactive-flow-message-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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const InteractiveMessageType: {
|
|
18
|
+
readonly Button: "Button";
|
|
19
|
+
readonly List: "List";
|
|
20
|
+
readonly Product: "Product";
|
|
21
|
+
readonly ProductList: "ProductList";
|
|
22
|
+
readonly CatalogMessage: "CatalogMessage";
|
|
23
|
+
readonly Flow: "Flow";
|
|
24
|
+
};
|
|
25
|
+
export type InteractiveMessageType = typeof InteractiveMessageType[keyof typeof InteractiveMessageType];
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
exports.InteractiveMessageType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.InteractiveMessageType = {
|
|
23
|
+
Button: 'Button',
|
|
24
|
+
List: 'List',
|
|
25
|
+
Product: 'Product',
|
|
26
|
+
ProductList: 'ProductList',
|
|
27
|
+
CatalogMessage: 'CatalogMessage',
|
|
28
|
+
Flow: 'Flow'
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=interactive-message-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactive-message-type.js","sourceRoot":"","sources":["../../src/models/interactive-message-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,sBAAsB,GAAG;IAClC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,IAAI,EAAE,MAAM;CACN,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { ActionParameters } from './action-parameters';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MessageAction
|
|
17
|
+
*/
|
|
18
|
+
export interface MessageAction {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MessageAction
|
|
23
|
+
*/
|
|
24
|
+
'name'?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ActionParameters}
|
|
28
|
+
* @memberof MessageAction
|
|
29
|
+
*/
|
|
30
|
+
'parameters'?: ActionParameters;
|
|
31
|
+
}
|
|
@@ -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=message-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-action.js","sourceRoot":"","sources":["../../src/models/message-action.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 MessageBody
|
|
16
|
+
*/
|
|
17
|
+
export interface MessageBody {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MessageBody
|
|
22
|
+
*/
|
|
23
|
+
'text'?: string | null;
|
|
24
|
+
}
|
|
@@ -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=message-body.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-body.js","sourceRoot":"","sources":["../../src/models/message-body.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 MessageFooter
|
|
16
|
+
*/
|
|
17
|
+
export interface MessageFooter {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MessageFooter
|
|
22
|
+
*/
|
|
23
|
+
'text'?: string | null;
|
|
24
|
+
}
|
|
@@ -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=message-footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-footer.js","sourceRoot":"","sources":["../../src/models/message-footer.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 MessageHeader
|
|
16
|
+
*/
|
|
17
|
+
export interface MessageHeader {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MessageHeader
|
|
22
|
+
*/
|
|
23
|
+
'type'?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MessageHeader
|
|
28
|
+
*/
|
|
29
|
+
'text'?: string | null;
|
|
30
|
+
}
|
|
@@ -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=message-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-header.js","sourceRoot":"","sources":["../../src/models/message-header.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -22,5 +22,8 @@ export declare const MessageTypes: {
|
|
|
22
22
|
readonly Video: "Video";
|
|
23
23
|
readonly Location: "Location";
|
|
24
24
|
readonly Contact: "Contact";
|
|
25
|
+
readonly Template: "Template";
|
|
26
|
+
readonly Interactive: "Interactive";
|
|
27
|
+
readonly Imoji: "Imoji";
|
|
25
28
|
};
|
|
26
29
|
export type MessageTypes = typeof MessageTypes[keyof typeof MessageTypes];
|
|
@@ -26,6 +26,9 @@ exports.MessageTypes = {
|
|
|
26
26
|
Audio: 'Audio',
|
|
27
27
|
Video: 'Video',
|
|
28
28
|
Location: 'Location',
|
|
29
|
-
Contact: 'Contact'
|
|
29
|
+
Contact: 'Contact',
|
|
30
|
+
Template: 'Template',
|
|
31
|
+
Interactive: 'Interactive',
|
|
32
|
+
Imoji: 'Imoji'
|
|
30
33
|
};
|
|
31
34
|
//# sourceMappingURL=message-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-types.js","sourceRoot":"","sources":["../../src/models/message-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"message-types.js","sourceRoot":"","sources":["../../src/models/message-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
@@ -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.
|
|
4
|
+
"version": "1.3.0",
|
|
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"}
|