ch-chat-api-typescript-axios 1.1.1 → 1.1.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/dist/api/chat-api.d.ts +125 -77
- package/dist/api/chat-api.js +106 -59
- package/dist/api/chat-api.js.map +1 -1
- package/dist/api/guest-api.d.ts +160 -0
- package/dist/api/guest-api.js +224 -0
- package/dist/api/guest-api.js.map +1 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/api.js.map +1 -1
- package/dist/models/api-v1-chat-tenant-id-sessions-get401-response-errors.d.ts +24 -0
- package/dist/models/api-v1-chat-tenant-id-sessions-get401-response-errors.js +16 -0
- package/dist/models/api-v1-chat-tenant-id-sessions-get401-response-errors.js.map +1 -0
- package/dist/models/api-v1-chat-tenant-id-sessions-get401-response.d.ts +49 -0
- package/dist/models/api-v1-chat-tenant-id-sessions-get401-response.js +16 -0
- package/dist/models/api-v1-chat-tenant-id-sessions-get401-response.js.map +1 -0
- package/dist/models/chat-session-model.d.ts +13 -1
- package/dist/models/create-chat-session-command.d.ts +6 -0
- package/dist/models/guest-chat-send-message-command.d.ts +37 -0
- package/dist/models/{problem-details.js → guest-chat-send-message-command.js} +1 -1
- package/dist/models/guest-chat-send-message-command.js.map +1 -0
- package/dist/models/{problem-details.d.ts → guest-create-chat-session-command.d.ts} +12 -18
- package/dist/models/guest-create-chat-session-command.js +16 -0
- package/dist/models/guest-create-chat-session-command.js.map +1 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/join-chat-session-command.d.ts +0 -6
- package/package.json +1 -1
- package/dist/models/problem-details.js.map +0 -1
|
@@ -9,41 +9,35 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { PlatformTypes } from './platform-types';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface GuestCreateChatSessionCommand
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
-
[key: string]: any;
|
|
18
|
+
export interface GuestCreateChatSessionCommand {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
22
|
-
* @memberof
|
|
21
|
+
* @type {PlatformTypes}
|
|
22
|
+
* @memberof GuestCreateChatSessionCommand
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'platformType'?: PlatformTypes;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
29
|
-
*/
|
|
30
|
-
'title'?: string | null;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ProblemDetails
|
|
28
|
+
* @memberof GuestCreateChatSessionCommand
|
|
35
29
|
*/
|
|
36
|
-
'
|
|
30
|
+
'webhookUrl'?: string | null;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
33
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
34
|
+
* @memberof GuestCreateChatSessionCommand
|
|
41
35
|
*/
|
|
42
|
-
'
|
|
36
|
+
'fromPhoneNumber'?: string | null;
|
|
43
37
|
/**
|
|
44
38
|
*
|
|
45
39
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
40
|
+
* @memberof GuestCreateChatSessionCommand
|
|
47
41
|
*/
|
|
48
|
-
'
|
|
42
|
+
'userName'?: string | null;
|
|
49
43
|
}
|
|
@@ -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=guest-create-chat-session-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guest-create-chat-session-command.js","sourceRoot":"","sources":["../../src/models/guest-create-chat-session-command.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './api-v1-chat-tenant-id-sessions-get401-response';
|
|
2
|
+
export * from './api-v1-chat-tenant-id-sessions-get401-response-errors';
|
|
1
3
|
export * from './auth-roles';
|
|
2
4
|
export * from './chat-message-model';
|
|
3
5
|
export * from './chat-messages-model';
|
|
@@ -6,10 +8,11 @@ export * from './chat-send-message-command';
|
|
|
6
8
|
export * from './chat-session-model';
|
|
7
9
|
export * from './chat-sessions-model';
|
|
8
10
|
export * from './create-chat-session-command';
|
|
11
|
+
export * from './guest-chat-send-message-command';
|
|
12
|
+
export * from './guest-create-chat-session-command';
|
|
9
13
|
export * from './join-chat-session-command';
|
|
10
14
|
export * from './message-types';
|
|
11
15
|
export * from './paged-list-meta-data';
|
|
12
16
|
export * from './platform-types';
|
|
13
|
-
export * from './problem-details';
|
|
14
17
|
export * from './put-chat-session-command';
|
|
15
18
|
export * from './transfer-manager-command';
|
package/dist/models/index.js
CHANGED
|
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api-v1-chat-tenant-id-sessions-get401-response"), exports);
|
|
18
|
+
__exportStar(require("./api-v1-chat-tenant-id-sessions-get401-response-errors"), exports);
|
|
17
19
|
__exportStar(require("./auth-roles"), exports);
|
|
18
20
|
__exportStar(require("./chat-message-model"), exports);
|
|
19
21
|
__exportStar(require("./chat-messages-model"), exports);
|
|
@@ -22,11 +24,12 @@ __exportStar(require("./chat-send-message-command"), exports);
|
|
|
22
24
|
__exportStar(require("./chat-session-model"), exports);
|
|
23
25
|
__exportStar(require("./chat-sessions-model"), exports);
|
|
24
26
|
__exportStar(require("./create-chat-session-command"), exports);
|
|
27
|
+
__exportStar(require("./guest-chat-send-message-command"), exports);
|
|
28
|
+
__exportStar(require("./guest-create-chat-session-command"), exports);
|
|
25
29
|
__exportStar(require("./join-chat-session-command"), exports);
|
|
26
30
|
__exportStar(require("./message-types"), exports);
|
|
27
31
|
__exportStar(require("./paged-list-meta-data"), exports);
|
|
28
32
|
__exportStar(require("./platform-types"), exports);
|
|
29
|
-
__exportStar(require("./problem-details"), exports);
|
|
30
33
|
__exportStar(require("./put-chat-session-command"), exports);
|
|
31
34
|
__exportStar(require("./transfer-manager-command"), exports);
|
|
32
35
|
//# sourceMappingURL=index.js.map
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mFAAiE;AACjE,0FAAwE;AACxE,+CAA6B;AAC7B,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,uDAAqC;AACrC,wDAAsC;AACtC,gEAA8C;AAC9C,oEAAkD;AAClD,sEAAoD;AACpD,8DAA4C;AAC5C,kDAAgC;AAChC,yDAAuC;AACvC,mDAAiC;AACjC,6DAA2C;AAC3C,6DAA2C"}
|
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.1.
|
|
4
|
+
"version": "1.1.3",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"problem-details.js","sourceRoot":"","sources":["../../src/models/problem-details.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|