ch-chat-api-typescript-axios 1.3.1 → 1.3.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.
@@ -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';
@@ -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
@@ -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"}
@@ -15,11 +15,11 @@
15
15
  * @enum {string}
16
16
  */
17
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";
18
+ readonly Button: "button";
19
+ readonly List: "list";
20
+ readonly Product: "product";
21
+ readonly ProductList: "product_list";
22
+ readonly CatalogMessage: "catalog_message";
23
+ readonly Flow: "flow";
24
24
  };
25
25
  export type InteractiveMessageType = typeof InteractiveMessageType[keyof typeof InteractiveMessageType];
@@ -20,11 +20,11 @@ exports.InteractiveMessageType = void 0;
20
20
  * @enum {string}
21
21
  */
22
22
  exports.InteractiveMessageType = {
23
- Button: 'Button',
24
- List: 'List',
25
- Product: 'Product',
26
- ProductList: 'ProductList',
27
- CatalogMessage: 'CatalogMessage',
28
- Flow: 'Flow'
23
+ Button: 'button',
24
+ List: 'list',
25
+ Product: 'product',
26
+ ProductList: 'product_list',
27
+ CatalogMessage: 'catalog_message',
28
+ Flow: 'flow'
29
29
  };
30
30
  //# sourceMappingURL=interactive-message-type.js.map
@@ -1 +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"}
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,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,IAAI,EAAE,MAAM;CACN,CAAC"}
@@ -15,15 +15,15 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare const MessageTypes: {
18
- readonly Text: "Text";
19
- readonly Document: "Document";
20
- readonly Image: "Image";
21
- readonly Audio: "Audio";
22
- readonly Video: "Video";
23
- readonly Location: "Location";
24
- readonly Contact: "Contact";
25
- readonly Template: "Template";
26
- readonly Interactive: "Interactive";
27
- readonly Imoji: "Imoji";
18
+ readonly Text: "text";
19
+ readonly Document: "document";
20
+ readonly Image: "image";
21
+ readonly Audio: "audio";
22
+ readonly Video: "video";
23
+ readonly Location: "location";
24
+ readonly Contact: "contact";
25
+ readonly Template: "template";
26
+ readonly Interactive: "interactive";
27
+ readonly Emoji: "emoji";
28
28
  };
29
29
  export type MessageTypes = typeof MessageTypes[keyof typeof MessageTypes];
@@ -20,15 +20,15 @@ exports.MessageTypes = void 0;
20
20
  * @enum {string}
21
21
  */
22
22
  exports.MessageTypes = {
23
- Text: 'Text',
24
- Document: 'Document',
25
- Image: 'Image',
26
- Audio: 'Audio',
27
- Video: 'Video',
28
- Location: 'Location',
29
- Contact: 'Contact',
30
- Template: 'Template',
31
- Interactive: 'Interactive',
32
- Imoji: 'Imoji'
23
+ Text: 'text',
24
+ Document: 'document',
25
+ Image: 'image',
26
+ Audio: 'audio',
27
+ Video: 'video',
28
+ Location: 'location',
29
+ Contact: 'contact',
30
+ Template: 'template',
31
+ Interactive: 'interactive',
32
+ Emoji: 'emoji'
33
33
  };
34
34
  //# sourceMappingURL=message-types.js.map
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { IntakeFormItem } from './intake-form-item';
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<IntakeFormItem>}
21
+ * @type {Array<RequestPatchInakeFormItemModel>}
22
22
  * @memberof PatchIntakeFormCommand
23
23
  */
24
- 'items'?: Array<IntakeFormItem> | null;
24
+ 'items'?: Array<RequestPatchInakeFormItemModel> | null;
25
25
  }
@@ -27,10 +27,4 @@ export interface RequestCreateIntakeFormItemModel {
27
27
  * @memberof RequestCreateIntakeFormItemModel
28
28
  */
29
29
  'answer'?: string | null;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof RequestCreateIntakeFormItemModel
34
- */
35
- 'order'?: number;
36
30
  }
@@ -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.1",
4
+ "version": "1.3.3",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {