ch-chat-api-typescript-axios 1.3.2 → 1.3.4
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/models/author-roles.d.ts +3 -3
- package/dist/models/author-roles.js +3 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/index.js.map +1 -1
- package/dist/models/message-types.d.ts +1 -1
- package/dist/models/message-types.js +1 -1
- package/dist/models/message-types.js.map +1 -1
- package/dist/models/patch-intake-form-command.d.ts +3 -3
- package/dist/models/platform-types.d.ts +4 -4
- package/dist/models/platform-types.js +4 -4
- package/dist/models/request-create-intake-form-item-model.d.ts +0 -6
- package/dist/models/request-patch-inake-form-item-model.d.ts +36 -0
- package/dist/models/request-patch-inake-form-item-model.js +16 -0
- package/dist/models/request-patch-inake-form-item-model.js.map +1 -0
- package/package.json +1 -1
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare const AuthorRoles: {
|
|
18
|
-
readonly User: "
|
|
19
|
-
readonly Agent: "
|
|
20
|
-
readonly Guest: "
|
|
18
|
+
readonly User: "user";
|
|
19
|
+
readonly Agent: "agent";
|
|
20
|
+
readonly Guest: "guest";
|
|
21
21
|
};
|
|
22
22
|
export type AuthorRoles = typeof AuthorRoles[keyof typeof AuthorRoles];
|
package/dist/models/index.d.ts
CHANGED
|
@@ -26,4 +26,5 @@ export * from './patch-intake-form-command';
|
|
|
26
26
|
export * from './platform-types';
|
|
27
27
|
export * from './put-chat-session-command';
|
|
28
28
|
export * from './request-create-intake-form-item-model';
|
|
29
|
+
export * from './request-patch-inake-form-item-model';
|
|
29
30
|
export * from './transfer-manager-command';
|
package/dist/models/index.js
CHANGED
|
@@ -42,5 +42,6 @@ __exportStar(require("./patch-intake-form-command"), exports);
|
|
|
42
42
|
__exportStar(require("./platform-types"), exports);
|
|
43
43
|
__exportStar(require("./put-chat-session-command"), exports);
|
|
44
44
|
__exportStar(require("./request-create-intake-form-item-model"), exports);
|
|
45
|
+
__exportStar(require("./request-patch-inake-form-item-model"), exports);
|
|
45
46
|
__exportStar(require("./transfer-manager-command"), exports);
|
|
46
47
|
//# 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,sDAAoC;AACpC,mFAAiE;AACjE,0FAAwE;AACxE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,mEAAiD;AACjD,uDAAqC;AACrC,wDAAsC;AACtC,gEAA8C;AAC9C,gDAA8B;AAC9B,qDAAmC;AACnC,uDAAqC;AACrC,mEAAiD;AACjD,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,yDAAuC;AACvC,8DAA4C;AAC5C,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,mFAAiE;AACjE,0FAAwE;AACxE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,mEAAiD;AACjD,uDAAqC;AACrC,wDAAsC;AACtC,gEAA8C;AAC9C,gDAA8B;AAC9B,qDAAmC;AACnC,uDAAqC;AACrC,mEAAiD;AACjD,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,yDAAuC;AACvC,8DAA4C;AAC5C,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,6DAA2C"}
|
|
@@ -23,7 +23,7 @@ export declare const MessageTypes: {
|
|
|
23
23
|
readonly Location: "location";
|
|
24
24
|
readonly Contact: "contact";
|
|
25
25
|
readonly Template: "template";
|
|
26
|
-
readonly Interactive: "interactive
|
|
26
|
+
readonly Interactive: "interactive";
|
|
27
27
|
readonly Emoji: "emoji";
|
|
28
28
|
};
|
|
29
29
|
export type MessageTypes = typeof MessageTypes[keyof typeof MessageTypes];
|
|
@@ -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;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,
|
|
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"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { RequestPatchInakeFormItemModel } from './request-patch-inake-form-item-model';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import type { IntakeFormItem } from './intake-form-item';
|
|
|
18
18
|
export interface PatchIntakeFormCommand {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<RequestPatchInakeFormItemModel>}
|
|
22
22
|
* @memberof PatchIntakeFormCommand
|
|
23
23
|
*/
|
|
24
|
-
'items'?: Array<
|
|
24
|
+
'items'?: Array<RequestPatchInakeFormItemModel> | null;
|
|
25
25
|
}
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare const PlatformTypes: {
|
|
18
|
-
readonly Admin: "
|
|
19
|
-
readonly Ch: "
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
18
|
+
readonly Admin: "admin";
|
|
19
|
+
readonly Ch: "ch";
|
|
20
|
+
readonly Whatsapp: "whatsapp";
|
|
21
|
+
readonly Saas: "saas";
|
|
22
22
|
};
|
|
23
23
|
export type PlatformTypes = typeof PlatformTypes[keyof typeof PlatformTypes];
|
|
@@ -20,9 +20,9 @@ exports.PlatformTypes = void 0;
|
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
22
|
exports.PlatformTypes = {
|
|
23
|
-
Admin: '
|
|
24
|
-
Ch: '
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
Admin: 'admin',
|
|
24
|
+
Ch: 'ch',
|
|
25
|
+
Whatsapp: 'whatsapp',
|
|
26
|
+
Saas: 'saas'
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=platform-types.js.map
|
|
@@ -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 RequestPatchInakeFormItemModel
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestPatchInakeFormItemModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestPatchInakeFormItemModel
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestPatchInakeFormItemModel
|
|
28
|
+
*/
|
|
29
|
+
'question'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RequestPatchInakeFormItemModel
|
|
34
|
+
*/
|
|
35
|
+
'answer'?: string | null;
|
|
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-patch-inake-form-item-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-patch-inake-form-item-model.js","sourceRoot":"","sources":["../../src/models/request-patch-inake-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.3.
|
|
4
|
+
"version": "1.3.4",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|