ch-chat-api-typescript-axios 1.4.15 → 1.4.17

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.
@@ -41,6 +41,12 @@ export interface ChatSendMarketingTemplateMessageCommand {
41
41
  * @memberof ChatSendMarketingTemplateMessageCommand
42
42
  */
43
43
  'wabaId'?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ChatSendMarketingTemplateMessageCommand
48
+ */
49
+ 'templateId'?: string | null;
44
50
  /**
45
51
  *
46
52
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { TemplateComponent } from './template-component';
12
+ import type { TemplateComponentContentModel } from './template-component-content-model';
13
13
  import type { WhatsAppLanguageCode } from './whats-app-language-code';
14
14
  /**
15
15
  *
@@ -23,6 +23,12 @@ export interface ChatSendTemplateMessageCommand {
23
23
  * @memberof ChatSendTemplateMessageCommand
24
24
  */
25
25
  'language'?: WhatsAppLanguageCode;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ChatSendTemplateMessageCommand
30
+ */
31
+ 'tempalteId'?: string | null;
26
32
  /**
27
33
  *
28
34
  * @type {string}
@@ -31,8 +37,8 @@ export interface ChatSendTemplateMessageCommand {
31
37
  'templateName'?: string | null;
32
38
  /**
33
39
  *
34
- * @type {Array<TemplateComponent>}
40
+ * @type {Array<TemplateComponentContentModel>}
35
41
  * @memberof ChatSendTemplateMessageCommand
36
42
  */
37
- 'components'?: Array<TemplateComponent> | null;
43
+ 'components'?: Array<TemplateComponentContentModel> | null;
38
44
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { TemplateComponent } from './template-component';
12
+ import type { TemplateComponentContentModel } from './template-component-content-model';
13
13
  import type { TemplateMessageRecipient } from './template-message-recipient';
14
14
  /**
15
15
  *
@@ -25,8 +25,8 @@ export interface DynamicTemplateMessage {
25
25
  'recipient'?: TemplateMessageRecipient;
26
26
  /**
27
27
  *
28
- * @type {Array<TemplateComponent>}
28
+ * @type {Array<TemplateComponentContentModel>}
29
29
  * @memberof DynamicTemplateMessage
30
30
  */
31
- 'components'?: Array<TemplateComponent> | null;
31
+ 'components'?: Array<TemplateComponentContentModel> | null;
32
32
  }
@@ -34,7 +34,7 @@ export * from './put-chat-session-command';
34
34
  export * from './request-create-intake-form-item-model';
35
35
  export * from './request-patch-inake-form-item-model';
36
36
  export * from './sort-by';
37
- export * from './template-component';
37
+ export * from './template-component-content-model';
38
38
  export * from './template-component-inner-parameter';
39
39
  export * from './template-component-inner-parameter-curreny';
40
40
  export * from './template-component-inner-parameter-date-time';
@@ -50,7 +50,7 @@ __exportStar(require("./put-chat-session-command"), exports);
50
50
  __exportStar(require("./request-create-intake-form-item-model"), exports);
51
51
  __exportStar(require("./request-patch-inake-form-item-model"), exports);
52
52
  __exportStar(require("./sort-by"), exports);
53
- __exportStar(require("./template-component"), exports);
53
+ __exportStar(require("./template-component-content-model"), exports);
54
54
  __exportStar(require("./template-component-inner-parameter"), exports);
55
55
  __exportStar(require("./template-component-inner-parameter-curreny"), exports);
56
56
  __exportStar(require("./template-component-inner-parameter-date-time"), 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;AAC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,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC"}
@@ -15,31 +15,37 @@ import type { TemplateSubComponentType } from './template-sub-component-type';
15
15
  /**
16
16
  *
17
17
  * @export
18
- * @interface TemplateComponent
18
+ * @interface TemplateComponentContentModel
19
19
  */
20
- export interface TemplateComponent {
20
+ export interface TemplateComponentContentModel {
21
21
  /**
22
22
  *
23
23
  * @type {TemplateComponentType}
24
- * @memberof TemplateComponent
24
+ * @memberof TemplateComponentContentModel
25
25
  */
26
26
  'type'?: TemplateComponentType;
27
27
  /**
28
28
  *
29
29
  * @type {TemplateSubComponentType}
30
- * @memberof TemplateComponent
30
+ * @memberof TemplateComponentContentModel
31
31
  */
32
32
  'sub_type'?: TemplateSubComponentType;
33
33
  /**
34
34
  *
35
35
  * @type {string}
36
- * @memberof TemplateComponent
36
+ * @memberof TemplateComponentContentModel
37
37
  */
38
38
  'index'?: string | null;
39
39
  /**
40
40
  *
41
41
  * @type {Array<TemplateComponentInnerParameter>}
42
- * @memberof TemplateComponent
42
+ * @memberof TemplateComponentContentModel
43
43
  */
44
44
  'parameters'?: Array<TemplateComponentInnerParameter> | null;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof TemplateComponentContentModel
49
+ */
50
+ 'text'?: string | null;
45
51
  }
@@ -13,4 +13,4 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=template-component.js.map
16
+ //# sourceMappingURL=template-component-content-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-component-content-model.js","sourceRoot":"","sources":["../../src/models/template-component-content-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { TemplateComponent } from './template-component';
12
+ import type { TemplateComponentContentModel } from './template-component-content-model';
13
13
  import type { WhatsAppLanguageCode } from './whats-app-language-code';
14
14
  /**
15
15
  *
@@ -17,6 +17,12 @@ import type { WhatsAppLanguageCode } from './whats-app-language-code';
17
17
  * @interface TemplateMessageModel
18
18
  */
19
19
  export interface TemplateMessageModel {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof TemplateMessageModel
24
+ */
25
+ 'templateId'?: string | null;
20
26
  /**
21
27
  *
22
28
  * @type {string}
@@ -31,8 +37,8 @@ export interface TemplateMessageModel {
31
37
  'language'?: WhatsAppLanguageCode;
32
38
  /**
33
39
  *
34
- * @type {Array<TemplateComponent>}
40
+ * @type {Array<TemplateComponentContentModel>}
35
41
  * @memberof TemplateMessageModel
36
42
  */
37
- 'components'?: Array<TemplateComponent> | null;
43
+ 'components'?: Array<TemplateComponentContentModel> | null;
38
44
  }
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.15",
4
+ "version": "1.4.17",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"template-component.js","sourceRoot":"","sources":["../../src/models/template-component.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}