ch-chat-api-typescript-axios 1.0.3
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/README.md +25 -0
- package/dist/api/chat-api.d.ts +654 -0
- package/dist/api/chat-api.js +835 -0
- package/dist/api/chat-api.js.map +1 -0
- package/dist/api.d.ts +12 -0
- package/dist/api.js +31 -0
- package/dist/api.js.map +1 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +69 -0
- package/dist/base.js.map +1 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +162 -0
- package/dist/common.js.map +1 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/configuration.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/models/auth-roles.d.ts +21 -0
- package/dist/models/auth-roles.js +26 -0
- package/dist/models/auth-roles.js.map +1 -0
- package/dist/models/chat-message-model.d.ts +74 -0
- package/dist/models/chat-message-model.js +16 -0
- package/dist/models/chat-message-model.js.map +1 -0
- package/dist/models/chat-messages-model.d.ts +32 -0
- package/dist/models/chat-messages-model.js +16 -0
- package/dist/models/chat-messages-model.js.map +1 -0
- package/dist/models/chat-participant-model.d.ts +74 -0
- package/dist/models/chat-participant-model.js +16 -0
- package/dist/models/chat-participant-model.js.map +1 -0
- package/dist/models/chat-send-message-command.d.ts +31 -0
- package/dist/models/chat-send-message-command.js +16 -0
- package/dist/models/chat-send-message-command.js.map +1 -0
- package/dist/models/chat-session-model.d.ts +90 -0
- 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 +32 -0
- package/dist/models/chat-sessions-model.js +16 -0
- package/dist/models/chat-sessions-model.js.map +1 -0
- package/dist/models/create-chat-session-command.d.ts +37 -0
- package/dist/models/create-chat-session-command.js +16 -0
- package/dist/models/create-chat-session-command.js.map +1 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +32 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/join-chat-session-command.d.ts +31 -0
- package/dist/models/join-chat-session-command.js +16 -0
- package/dist/models/join-chat-session-command.js.map +1 -0
- package/dist/models/message-types.d.ts +20 -0
- package/dist/models/message-types.js +25 -0
- package/dist/models/message-types.js.map +1 -0
- package/dist/models/paged-list-meta-data.d.ts +78 -0
- package/dist/models/paged-list-meta-data.js +16 -0
- package/dist/models/paged-list-meta-data.js.map +1 -0
- package/dist/models/platform-types.d.ts +22 -0
- package/dist/models/platform-types.js +27 -0
- package/dist/models/platform-types.js.map +1 -0
- package/dist/models/problem-details.d.ts +49 -0
- package/dist/models/problem-details.js +16 -0
- package/dist/models/problem-details.js.map +1 -0
- package/dist/models/put-chat-session-command.d.ts +30 -0
- package/dist/models/put-chat-session-command.js +16 -0
- package/dist/models/put-chat-session-command.js.map +1 -0
- package/dist/models/transfer-manager-command.d.ts +36 -0
- package/dist/models/transfer-manager-command.js +16 -0
- package/dist/models/transfer-manager-command.js.map +1 -0
- package/package.json +60 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api"), exports);
|
|
31
|
+
__exportStar(require("./configuration"), exports);
|
|
32
|
+
__exportStar(require("./models"), exports);
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC;AAChC,2CAAyB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 AuthRoles: {
|
|
18
|
+
readonly User: "User";
|
|
19
|
+
readonly Agent: "Agent";
|
|
20
|
+
};
|
|
21
|
+
export type AuthRoles = typeof AuthRoles[keyof typeof AuthRoles];
|
|
@@ -0,0 +1,26 @@
|
|
|
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.AuthRoles = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.AuthRoles = {
|
|
23
|
+
User: 'User',
|
|
24
|
+
Agent: 'Agent'
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=auth-roles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-roles.js","sourceRoot":"","sources":["../../src/models/auth-roles.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,SAAS,GAAG;IACrB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { AuthRoles } from './auth-roles';
|
|
13
|
+
import type { MessageTypes } from './message-types';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChatMessageModel
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatMessageModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ChatMessageModel
|
|
24
|
+
*/
|
|
25
|
+
'id'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ChatMessageModel
|
|
30
|
+
*/
|
|
31
|
+
'sessionId'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ChatMessageModel
|
|
36
|
+
*/
|
|
37
|
+
'userId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ChatMessageModel
|
|
42
|
+
*/
|
|
43
|
+
'userName'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ChatMessageModel
|
|
48
|
+
*/
|
|
49
|
+
'userEmail'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {any}
|
|
53
|
+
* @memberof ChatMessageModel
|
|
54
|
+
*/
|
|
55
|
+
'contents'?: any | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {AuthRoles}
|
|
59
|
+
* @memberof ChatMessageModel
|
|
60
|
+
*/
|
|
61
|
+
'authRole'?: AuthRoles;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {MessageTypes}
|
|
65
|
+
* @memberof ChatMessageModel
|
|
66
|
+
*/
|
|
67
|
+
'messageType'?: MessageTypes;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof ChatMessageModel
|
|
72
|
+
*/
|
|
73
|
+
'createdDate'?: Date;
|
|
74
|
+
}
|
|
@@ -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-message-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-message-model.js","sourceRoot":"","sources":["../../src/models/chat-message-model.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 { ChatMessageModel } from './chat-message-model';
|
|
13
|
+
import type { PagedListMetaData } from './paged-list-meta-data';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChatMessagesModel
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatMessagesModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ChatMessageModel>}
|
|
23
|
+
* @memberof ChatMessagesModel
|
|
24
|
+
*/
|
|
25
|
+
'items'?: Array<ChatMessageModel> | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagedListMetaData}
|
|
29
|
+
* @memberof ChatMessagesModel
|
|
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=chat-messages-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-messages-model.js","sourceRoot":"","sources":["../../src/models/chat-messages-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { AuthRoles } from './auth-roles';
|
|
13
|
+
import type { PlatformTypes } from './platform-types';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChatParticipantModel
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatParticipantModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ChatParticipantModel
|
|
24
|
+
*/
|
|
25
|
+
'id'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ChatParticipantModel
|
|
30
|
+
*/
|
|
31
|
+
'tenantId'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ChatParticipantModel
|
|
36
|
+
*/
|
|
37
|
+
'sessionId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ChatParticipantModel
|
|
42
|
+
*/
|
|
43
|
+
'userId'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {AuthRoles}
|
|
47
|
+
* @memberof ChatParticipantModel
|
|
48
|
+
*/
|
|
49
|
+
'authRole'?: AuthRoles;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ChatParticipantModel
|
|
54
|
+
*/
|
|
55
|
+
'fromPhoneNumber'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PlatformTypes}
|
|
59
|
+
* @memberof ChatParticipantModel
|
|
60
|
+
*/
|
|
61
|
+
'platformType'?: PlatformTypes;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ChatParticipantModel
|
|
66
|
+
*/
|
|
67
|
+
'userName'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ChatParticipantModel
|
|
72
|
+
*/
|
|
73
|
+
'userEmail'?: string | null;
|
|
74
|
+
}
|
|
@@ -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-participant-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-participant-model.js","sourceRoot":"","sources":["../../src/models/chat-participant-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -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 { MessageTypes } from './message-types';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChatSendMessageCommand
|
|
17
|
+
*/
|
|
18
|
+
export interface ChatSendMessageCommand {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MessageTypes}
|
|
22
|
+
* @memberof ChatSendMessageCommand
|
|
23
|
+
*/
|
|
24
|
+
'messageType'?: MessageTypes;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChatSendMessageCommand
|
|
29
|
+
*/
|
|
30
|
+
'contents'?: string | null;
|
|
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=chat-send-message-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-send-message-command.js","sourceRoot":"","sources":["../../src/models/chat-send-message-command.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 ChatSessionModel
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatSessionModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatSessionModel
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChatSessionModel
|
|
28
|
+
*/
|
|
29
|
+
'tenantId'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ChatSessionModel
|
|
34
|
+
*/
|
|
35
|
+
'webhookUrl'?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ChatSessionModel
|
|
40
|
+
*/
|
|
41
|
+
'title'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ChatSessionModel
|
|
46
|
+
*/
|
|
47
|
+
'userName'?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ChatSessionModel
|
|
52
|
+
*/
|
|
53
|
+
'userEmail'?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ChatSessionModel
|
|
58
|
+
*/
|
|
59
|
+
'handoffRequested'?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ChatSessionModel
|
|
64
|
+
*/
|
|
65
|
+
'assigneeId'?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof ChatSessionModel
|
|
70
|
+
*/
|
|
71
|
+
'createdDate'?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ChatSessionModel
|
|
76
|
+
*/
|
|
77
|
+
'createdBy'?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof ChatSessionModel
|
|
82
|
+
*/
|
|
83
|
+
'updatedDate'?: Date | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ChatSessionModel
|
|
88
|
+
*/
|
|
89
|
+
'updatedBy'?: string | null;
|
|
90
|
+
}
|
|
@@ -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"}
|
|
@@ -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 { ChatSessionModel } from './chat-session-model';
|
|
13
|
+
import type { PagedListMetaData } from './paged-list-meta-data';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChatSessionsModel
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatSessionsModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ChatSessionModel>}
|
|
23
|
+
* @memberof ChatSessionsModel
|
|
24
|
+
*/
|
|
25
|
+
'items'?: Array<ChatSessionModel> | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagedListMetaData}
|
|
29
|
+
* @memberof ChatSessionsModel
|
|
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=chat-sessions-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-sessions-model.js","sourceRoot":"","sources":["../../src/models/chat-sessions-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { PlatformTypes } from './platform-types';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateChatSessionCommand
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateChatSessionCommand {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {PlatformTypes}
|
|
22
|
+
* @memberof CreateChatSessionCommand
|
|
23
|
+
*/
|
|
24
|
+
'platformType'?: PlatformTypes;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateChatSessionCommand
|
|
29
|
+
*/
|
|
30
|
+
'webhookUrl'?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateChatSessionCommand
|
|
35
|
+
*/
|
|
36
|
+
'fromPhoneNumber'?: string | null;
|
|
37
|
+
}
|
|
@@ -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=create-chat-session-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-chat-session-command.js","sourceRoot":"","sources":["../../src/models/create-chat-session-command.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './auth-roles';
|
|
2
|
+
export * from './chat-message-model';
|
|
3
|
+
export * from './chat-messages-model';
|
|
4
|
+
export * from './chat-participant-model';
|
|
5
|
+
export * from './chat-send-message-command';
|
|
6
|
+
export * from './chat-session-model';
|
|
7
|
+
export * from './chat-sessions-model';
|
|
8
|
+
export * from './create-chat-session-command';
|
|
9
|
+
export * from './join-chat-session-command';
|
|
10
|
+
export * from './message-types';
|
|
11
|
+
export * from './paged-list-meta-data';
|
|
12
|
+
export * from './platform-types';
|
|
13
|
+
export * from './problem-details';
|
|
14
|
+
export * from './put-chat-session-command';
|
|
15
|
+
export * from './transfer-manager-command';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auth-roles"), exports);
|
|
18
|
+
__exportStar(require("./chat-message-model"), exports);
|
|
19
|
+
__exportStar(require("./chat-messages-model"), exports);
|
|
20
|
+
__exportStar(require("./chat-participant-model"), exports);
|
|
21
|
+
__exportStar(require("./chat-send-message-command"), exports);
|
|
22
|
+
__exportStar(require("./chat-session-model"), exports);
|
|
23
|
+
__exportStar(require("./chat-sessions-model"), exports);
|
|
24
|
+
__exportStar(require("./create-chat-session-command"), exports);
|
|
25
|
+
__exportStar(require("./join-chat-session-command"), exports);
|
|
26
|
+
__exportStar(require("./message-types"), exports);
|
|
27
|
+
__exportStar(require("./paged-list-meta-data"), exports);
|
|
28
|
+
__exportStar(require("./platform-types"), exports);
|
|
29
|
+
__exportStar(require("./problem-details"), exports);
|
|
30
|
+
__exportStar(require("./put-chat-session-command"), exports);
|
|
31
|
+
__exportStar(require("./transfer-manager-command"), exports);
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,uDAAqC;AACrC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,kDAAgC;AAChC,yDAAuC;AACvC,mDAAiC;AACjC,oDAAkC;AAClC,6DAA2C;AAC3C,6DAA2C"}
|