ch-chat-api-typescript-axios 1.4.22 → 1.4.24

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.
@@ -27,7 +27,6 @@ export * from './message-footer';
27
27
  export * from './message-header';
28
28
  export * from './message-types';
29
29
  export * from './paged-list-meta-data';
30
- export * from './parameter-types';
31
30
  export * from './patch-intake-form-command';
32
31
  export * from './platform-metadata';
33
32
  export * from './platform-types';
@@ -36,15 +35,18 @@ export * from './request-create-intake-form-item-model';
36
35
  export * from './request-patch-inake-form-item-model';
37
36
  export * from './sort-by';
38
37
  export * from './template-component-content-model';
38
+ export * from './template-component-inner-parameter-action';
39
39
  export * from './template-component-inner-parameter-curreny';
40
40
  export * from './template-component-inner-parameter-date-time';
41
41
  export * from './template-component-inner-parameter-document';
42
42
  export * from './template-component-inner-parameter-image';
43
+ export * from './template-component-inner-parameter-type';
43
44
  export * from './template-component-inner-parameter-video';
44
45
  export * from './template-component-type';
45
46
  export * from './template-message-model';
46
47
  export * from './template-message-recipient';
47
48
  export * from './template-parameter-content-model';
49
+ export * from './template-sub-component-type';
48
50
  export * from './transfer-manager-command';
49
51
  export * from './whats-app-language-code';
50
52
  export * from './whats-app-metadata';
@@ -43,7 +43,6 @@ __exportStar(require("./message-footer"), exports);
43
43
  __exportStar(require("./message-header"), exports);
44
44
  __exportStar(require("./message-types"), exports);
45
45
  __exportStar(require("./paged-list-meta-data"), exports);
46
- __exportStar(require("./parameter-types"), exports);
47
46
  __exportStar(require("./patch-intake-form-command"), exports);
48
47
  __exportStar(require("./platform-metadata"), exports);
49
48
  __exportStar(require("./platform-types"), exports);
@@ -52,15 +51,18 @@ __exportStar(require("./request-create-intake-form-item-model"), exports);
52
51
  __exportStar(require("./request-patch-inake-form-item-model"), exports);
53
52
  __exportStar(require("./sort-by"), exports);
54
53
  __exportStar(require("./template-component-content-model"), exports);
54
+ __exportStar(require("./template-component-inner-parameter-action"), exports);
55
55
  __exportStar(require("./template-component-inner-parameter-curreny"), exports);
56
56
  __exportStar(require("./template-component-inner-parameter-date-time"), exports);
57
57
  __exportStar(require("./template-component-inner-parameter-document"), exports);
58
58
  __exportStar(require("./template-component-inner-parameter-image"), exports);
59
+ __exportStar(require("./template-component-inner-parameter-type"), exports);
59
60
  __exportStar(require("./template-component-inner-parameter-video"), exports);
60
61
  __exportStar(require("./template-component-type"), exports);
61
62
  __exportStar(require("./template-message-model"), exports);
62
63
  __exportStar(require("./template-message-recipient"), exports);
63
64
  __exportStar(require("./template-parameter-content-model"), exports);
65
+ __exportStar(require("./template-sub-component-type"), exports);
64
66
  __exportStar(require("./transfer-manager-command"), exports);
65
67
  __exportStar(require("./whats-app-language-code"), exports);
66
68
  __exportStar(require("./whats-app-metadata"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4EAA0D;AAC1D,mFAAiE;AACjE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,mEAAiD;AACjD,iFAA+D;AAC/D,uEAAqD;AACrD,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,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,oDAAkC;AAClC,8DAA4C;AAC5C,sDAAoC;AACpC,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,4CAA0B;AAC1B,qEAAmD;AACnD,+EAA6D;AAC7D,iFAA+D;AAC/D,gFAA8D;AAC9D,6EAA2D;AAC3D,6EAA2D;AAC3D,4DAA0C;AAC1C,2DAAyC;AACzC,+DAA6C;AAC7C,qEAAmD;AACnD,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4EAA0D;AAC1D,mFAAiE;AACjE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,mEAAiD;AACjD,iFAA+D;AAC/D,uEAAqD;AACrD,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,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,sDAAoC;AACpC,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,4CAA0B;AAC1B,qEAAmD;AACnD,8EAA4D;AAC5D,+EAA6D;AAC7D,iFAA+D;AAC/D,gFAA8D;AAC9D,6EAA2D;AAC3D,4EAA0D;AAC1D,6EAA2D;AAC3D,4DAA0C;AAC1C,2DAAyC;AACzC,+DAA6C;AAC7C,qEAAmD;AACnD,gEAA8C;AAC9C,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC"}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { TemplateComponentType } from './template-component-type';
13
13
  import type { TemplateParameterContentModel } from './template-parameter-content-model';
14
+ import type { TemplateSubComponentType } from './template-sub-component-type';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -23,6 +24,12 @@ export interface TemplateComponentContentModel {
23
24
  * @memberof TemplateComponentContentModel
24
25
  */
25
26
  'type'?: TemplateComponentType;
27
+ /**
28
+ *
29
+ * @type {TemplateSubComponentType}
30
+ * @memberof TemplateComponentContentModel
31
+ */
32
+ 'sub_type'?: TemplateSubComponentType;
26
33
  /**
27
34
  *
28
35
  * @type {string}
@@ -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 TemplateComponentInnerParameterAction
16
+ */
17
+ export interface TemplateComponentInnerParameterAction {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TemplateComponentInnerParameterAction
22
+ */
23
+ 'flow_token'?: string | null;
24
+ /**
25
+ *
26
+ * @type {any}
27
+ * @memberof TemplateComponentInnerParameterAction
28
+ */
29
+ 'flow_action_data'?: any | 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=template-component-inner-parameter-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-component-inner-parameter-action.js","sourceRoot":"","sources":["../../src/models/template-component-inner-parameter-action.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,27 @@
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 TemplateComponentInnerParameterType: {
18
+ readonly Text: "text";
19
+ readonly Image: "image";
20
+ readonly Document: "document";
21
+ readonly Video: "video";
22
+ readonly Currency: "currency";
23
+ readonly DateTime: "date_time";
24
+ readonly Payload: "payload";
25
+ readonly Action: "action";
26
+ };
27
+ export type TemplateComponentInnerParameterType = typeof TemplateComponentInnerParameterType[keyof typeof TemplateComponentInnerParameterType];
@@ -0,0 +1,32 @@
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.TemplateComponentInnerParameterType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.TemplateComponentInnerParameterType = {
23
+ Text: 'text',
24
+ Image: 'image',
25
+ Document: 'document',
26
+ Video: 'video',
27
+ Currency: 'currency',
28
+ DateTime: 'date_time',
29
+ Payload: 'payload',
30
+ Action: 'action'
31
+ };
32
+ //# sourceMappingURL=template-component-inner-parameter-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-component-inner-parameter-type.js","sourceRoot":"","sources":["../../src/models/template-component-inner-parameter-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,mCAAmC,GAAG;IAC/C,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC"}
@@ -9,11 +9,12 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ParameterTypes } from './parameter-types';
12
+ import type { TemplateComponentInnerParameterAction } from './template-component-inner-parameter-action';
13
13
  import type { TemplateComponentInnerParameterCurreny } from './template-component-inner-parameter-curreny';
14
14
  import type { TemplateComponentInnerParameterDateTime } from './template-component-inner-parameter-date-time';
15
15
  import type { TemplateComponentInnerParameterDocument } from './template-component-inner-parameter-document';
16
16
  import type { TemplateComponentInnerParameterImage } from './template-component-inner-parameter-image';
17
+ import type { TemplateComponentInnerParameterType } from './template-component-inner-parameter-type';
17
18
  import type { TemplateComponentInnerParameterVideo } from './template-component-inner-parameter-video';
18
19
  /**
19
20
  *
@@ -21,12 +22,24 @@ import type { TemplateComponentInnerParameterVideo } from './template-component-
21
22
  * @interface TemplateParameterContentModel
22
23
  */
23
24
  export interface TemplateParameterContentModel {
25
+ /**
26
+ *
27
+ * @type {TemplateComponentInnerParameterType}
28
+ * @memberof TemplateParameterContentModel
29
+ */
30
+ 'type'?: TemplateComponentInnerParameterType;
24
31
  /**
25
32
  *
26
33
  * @type {string}
27
34
  * @memberof TemplateParameterContentModel
28
35
  */
29
36
  'text'?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof TemplateParameterContentModel
41
+ */
42
+ 'payload'?: string | null;
30
43
  /**
31
44
  *
32
45
  * @type {TemplateComponentInnerParameterImage}
@@ -59,10 +72,10 @@ export interface TemplateParameterContentModel {
59
72
  'video'?: TemplateComponentInnerParameterVideo;
60
73
  /**
61
74
  *
62
- * @type {ParameterTypes}
75
+ * @type {TemplateComponentInnerParameterAction}
63
76
  * @memberof TemplateParameterContentModel
64
77
  */
65
- 'type'?: ParameterTypes;
78
+ 'action'?: TemplateComponentInnerParameterAction;
66
79
  /**
67
80
  *
68
81
  * @type {string}
@@ -14,15 +14,14 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare const ParameterTypes: {
17
+ export declare const TemplateSubComponentType: {
18
18
  readonly Text: "text";
19
19
  readonly Image: "image";
20
20
  readonly Document: "document";
21
21
  readonly Video: "video";
22
- readonly Currency: "currency";
23
- readonly DateTime: "date_time";
24
22
  readonly QuickReply: "quick_reply";
25
- readonly Phone: "phone";
26
23
  readonly Url: "url";
24
+ readonly Flow: "flow";
25
+ readonly PhoneNumber: "phone_number";
27
26
  };
28
- export type ParameterTypes = typeof ParameterTypes[keyof typeof ParameterTypes];
27
+ export type TemplateSubComponentType = typeof TemplateSubComponentType[keyof typeof TemplateSubComponentType];
@@ -13,21 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ParameterTypes = void 0;
16
+ exports.TemplateSubComponentType = void 0;
17
17
  /**
18
18
  *
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- exports.ParameterTypes = {
22
+ exports.TemplateSubComponentType = {
23
23
  Text: 'text',
24
24
  Image: 'image',
25
25
  Document: 'document',
26
26
  Video: 'video',
27
- Currency: 'currency',
28
- DateTime: 'date_time',
29
27
  QuickReply: 'quick_reply',
30
- Phone: 'phone',
31
- Url: 'url'
28
+ Url: 'url',
29
+ Flow: 'flow',
30
+ PhoneNumber: 'phone_number'
32
31
  };
33
- //# sourceMappingURL=parameter-types.js.map
32
+ //# sourceMappingURL=template-sub-component-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-sub-component-type.js","sourceRoot":"","sources":["../../src/models/template-sub-component-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,wBAAwB,GAAG;IACpC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,aAAa;IACzB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,cAAc;CACrB,CAAC"}
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.22",
4
+ "version": "1.4.24",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameter-types.js","sourceRoot":"","sources":["../../src/models/parameter-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,cAAc,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;CACJ,CAAC"}