ch-chat-api-typescript-axios 1.4.50 → 1.4.51

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.
@@ -19,44 +19,26 @@ import type { WhatsAppLanguageCode } from './whats-app-language-code';
19
19
  export interface ChatSendTemplateMessageCommand {
20
20
  /**
21
21
  *
22
- * @type {string}
23
- * @memberof ChatSendTemplateMessageCommand
24
- */
25
- 'to'?: string | null;
26
- /**
27
- *
28
- * @type {string}
22
+ * @type {WhatsAppLanguageCode}
29
23
  * @memberof ChatSendTemplateMessageCommand
30
24
  */
31
- 'reply_to_message_id'?: string | null;
25
+ 'language'?: WhatsAppLanguageCode;
32
26
  /**
33
27
  *
34
28
  * @type {string}
35
29
  * @memberof ChatSendTemplateMessageCommand
36
30
  */
37
- 'template_name'?: string | null;
31
+ 'templateId'?: string | null;
38
32
  /**
39
33
  *
40
34
  * @type {string}
41
35
  * @memberof ChatSendTemplateMessageCommand
42
36
  */
43
- 'language_code'?: string | null;
37
+ 'templateName'?: string | null;
44
38
  /**
45
39
  *
46
40
  * @type {Array<TemplateComponent>}
47
41
  * @memberof ChatSendTemplateMessageCommand
48
42
  */
49
43
  'components'?: Array<TemplateComponent> | null;
50
- /**
51
- *
52
- * @type {WhatsAppLanguageCode}
53
- * @memberof ChatSendTemplateMessageCommand
54
- */
55
- 'language'?: WhatsAppLanguageCode;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof ChatSendTemplateMessageCommand
60
- */
61
- 'templateId'?: string | null;
62
44
  }
@@ -24,6 +24,7 @@ export * from './interactive-list-row';
24
24
  export * from './interactive-list-section';
25
25
  export * from './join-chat-session-command';
26
26
  export * from './media-model';
27
+ export * from './message-template-button';
27
28
  export * from './message-type';
28
29
  export * from './paged-list-meta-data';
29
30
  export * from './patch-intake-form-command';
@@ -42,5 +43,6 @@ export * from './template-media-parameter';
42
43
  export * from './template-message-model';
43
44
  export * from './template-message-request';
44
45
  export * from './transfer-manager-command';
46
+ export * from './whats-app-component';
45
47
  export * from './whats-app-language-code';
46
48
  export * from './whats-app-metadata';
@@ -40,6 +40,7 @@ __exportStar(require("./interactive-list-row"), exports);
40
40
  __exportStar(require("./interactive-list-section"), exports);
41
41
  __exportStar(require("./join-chat-session-command"), exports);
42
42
  __exportStar(require("./media-model"), exports);
43
+ __exportStar(require("./message-template-button"), exports);
43
44
  __exportStar(require("./message-type"), exports);
44
45
  __exportStar(require("./paged-list-meta-data"), exports);
45
46
  __exportStar(require("./patch-intake-form-command"), exports);
@@ -58,6 +59,7 @@ __exportStar(require("./template-media-parameter"), exports);
58
59
  __exportStar(require("./template-message-model"), exports);
59
60
  __exportStar(require("./template-message-request"), exports);
60
61
  __exportStar(require("./transfer-manager-command"), exports);
62
+ __exportStar(require("./whats-app-component"), exports);
61
63
  __exportStar(require("./whats-app-language-code"), exports);
62
64
  __exportStar(require("./whats-app-metadata"), exports);
63
65
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,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,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,qEAAmD;AACnD,yDAAuC;AACvC,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,8DAA4C;AAC5C,sDAAoC;AACpC,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,4CAA0B;AAC1B,8DAA4C;AAC5C,uDAAqC;AACrC,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,6DAA2C;AAC3C,2DAAyC;AACzC,6DAA2C;AAC3C,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,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,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,qEAAmD;AACnD,yDAAuC;AACvC,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,4DAA0C;AAC1C,iDAA+B;AAC/B,yDAAuC;AACvC,8DAA4C;AAC5C,sDAAoC;AACpC,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,4CAA0B;AAC1B,8DAA4C;AAC5C,uDAAqC;AACrC,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,6DAA2C;AAC3C,2DAAyC;AACzC,6DAA2C;AAC3C,6DAA2C;AAC3C,wDAAsC;AACtC,4DAA0C;AAC1C,uDAAqC"}
@@ -0,0 +1,54 @@
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 MessageTemplateButton
16
+ */
17
+ export interface MessageTemplateButton {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MessageTemplateButton
22
+ */
23
+ 'type'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MessageTemplateButton
28
+ */
29
+ 'sub_type'?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof MessageTemplateButton
34
+ */
35
+ 'text'?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof MessageTemplateButton
40
+ */
41
+ 'url'?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof MessageTemplateButton
46
+ */
47
+ 'phone_number'?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof MessageTemplateButton
52
+ */
53
+ 'payload'?: string | null;
54
+ }
@@ -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=message-template-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-template-button.js","sourceRoot":"","sources":["../../src/models/message-template-button.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 { WhatsAppComponent } from './whats-app-component';
13
13
  import type { WhatsAppLanguageCode } from './whats-app-language-code';
14
14
  /**
15
15
  *
@@ -37,8 +37,8 @@ export interface TemplateMessageModel {
37
37
  'language'?: WhatsAppLanguageCode;
38
38
  /**
39
39
  *
40
- * @type {Array<TemplateComponent>}
40
+ * @type {Array<WhatsAppComponent>}
41
41
  * @memberof TemplateMessageModel
42
42
  */
43
- 'components'?: Array<TemplateComponent> | null;
43
+ 'components'?: Array<WhatsAppComponent> | null;
44
44
  }
@@ -0,0 +1,50 @@
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
+ import type { MessageTemplateButton } from './message-template-button';
13
+ import type { TemplateComponentParameter } from './template-component-parameter';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface WhatsAppComponent
18
+ */
19
+ export interface WhatsAppComponent {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof WhatsAppComponent
24
+ */
25
+ 'type'?: string | null;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof WhatsAppComponent
30
+ */
31
+ 'format'?: string | null;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof WhatsAppComponent
36
+ */
37
+ 'text'?: string | null;
38
+ /**
39
+ *
40
+ * @type {Array<TemplateComponentParameter>}
41
+ * @memberof WhatsAppComponent
42
+ */
43
+ 'parameters'?: Array<TemplateComponentParameter> | null;
44
+ /**
45
+ *
46
+ * @type {Array<MessageTemplateButton>}
47
+ * @memberof WhatsAppComponent
48
+ */
49
+ 'buttons'?: Array<MessageTemplateButton> | null;
50
+ }
@@ -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=whats-app-component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whats-app-component.js","sourceRoot":"","sources":["../../src/models/whats-app-component.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.4.50",
4
+ "version": "1.4.51",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {