@alicloud/cams20200606 5.4.0 → 5.4.1

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.
Files changed (149) hide show
  1. package/dist/client.d.ts +48 -46
  2. package/dist/client.js +57 -46
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddChatGroupRequest.d.ts +5 -5
  5. package/dist/models/AddChatGroupResponseBody.d.ts +3 -3
  6. package/dist/models/ChatappBindWabaRequest.d.ts +8 -0
  7. package/dist/models/ChatappBindWabaRequest.js +2 -0
  8. package/dist/models/ChatappBindWabaRequest.js.map +1 -1
  9. package/dist/models/ChatappBindWabaResponseBody.d.ts +3 -3
  10. package/dist/models/CreateChatFlowByImportResponseBody.d.ts +3 -0
  11. package/dist/models/CreateChatFlowByImportResponseBody.js.map +1 -1
  12. package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +3 -0
  13. package/dist/models/CreateChatFlowLogSettingResponseBody.js.map +1 -1
  14. package/dist/models/CreateChatFlowResponseBody.d.ts +6 -0
  15. package/dist/models/CreateChatFlowResponseBody.js.map +1 -1
  16. package/dist/models/CreateChatappTemplateRequest.d.ts +99 -183
  17. package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
  18. package/dist/models/CreateChatappTemplateResponseBody.d.ts +7 -5
  19. package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
  20. package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +35 -36
  21. package/dist/models/CreateChatappTemplateShrinkRequest.js.map +1 -1
  22. package/dist/models/CreateFlowVersionResponseBody.d.ts +3 -0
  23. package/dist/models/CreateFlowVersionResponseBody.js.map +1 -1
  24. package/dist/models/DeleteChatFlowResponseBody.d.ts +3 -0
  25. package/dist/models/DeleteChatFlowResponseBody.js.map +1 -1
  26. package/dist/models/GetAutoGeneratedTemplateRequest.d.ts +1 -1
  27. package/dist/models/GetChatFlowMetricResponseBody.d.ts +3 -0
  28. package/dist/models/GetChatFlowMetricResponseBody.js.map +1 -1
  29. package/dist/models/GetChatFlowTemplateResponseBody.d.ts +3 -0
  30. package/dist/models/GetChatFlowTemplateResponseBody.js.map +1 -1
  31. package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +1 -1
  32. package/dist/models/GetInstagramUserInfoRequest.d.ts +1 -1
  33. package/dist/models/GetInstagramUserInfoResponseBody.d.ts +5 -5
  34. package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +1 -1
  35. package/dist/models/GetMessengerUserInfoResponseBody.d.ts +1 -1
  36. package/dist/models/GetPhoneEncryptionPublicKeyRequest.d.ts +2 -7
  37. package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
  38. package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.d.ts +8 -4
  39. package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js.map +1 -1
  40. package/dist/models/ListChatFlowResponseBody.d.ts +3 -0
  41. package/dist/models/ListChatFlowResponseBody.js.map +1 -1
  42. package/dist/models/ListChatFlowTemplateResponseBody.d.ts +3 -0
  43. package/dist/models/ListChatFlowTemplateResponseBody.js.map +1 -1
  44. package/dist/models/ListChatappMessageRequest.d.ts +5 -0
  45. package/dist/models/ListChatappMessageRequest.js +2 -0
  46. package/dist/models/ListChatappMessageRequest.js.map +1 -1
  47. package/dist/models/ListChatappMessageShrinkRequest.d.ts +5 -0
  48. package/dist/models/ListChatappMessageShrinkRequest.js +2 -0
  49. package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
  50. package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +1 -1
  51. package/dist/models/ListFlowVersionResponseBody.d.ts +3 -0
  52. package/dist/models/ListFlowVersionResponseBody.js.map +1 -1
  53. package/dist/models/ListInstanceRequest.d.ts +3 -0
  54. package/dist/models/ListInstanceRequest.js.map +1 -1
  55. package/dist/models/ListMessengerSubscriptionTokenResponseBody.d.ts +2 -2
  56. package/dist/models/ModifyChatappTemplateRequest.d.ts +36 -27
  57. package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
  58. package/dist/models/ModifyChatappTemplateResponseBody.d.ts +5 -7
  59. package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
  60. package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +19 -10
  61. package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
  62. package/dist/models/MoveContactToGroupResponseBody.d.ts +3 -0
  63. package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
  64. package/dist/models/OfflineFlowVersionResponseBody.d.ts +3 -0
  65. package/dist/models/OfflineFlowVersionResponseBody.js.map +1 -1
  66. package/dist/models/OnlineFlowVersionResponseBody.d.ts +3 -0
  67. package/dist/models/OnlineFlowVersionResponseBody.js.map +1 -1
  68. package/dist/models/QueryChatappBindWabaRequest.d.ts +1 -1
  69. package/dist/models/QueryChatappBindWabaResponseBody.d.ts +21 -13
  70. package/dist/models/QueryChatappBindWabaResponseBody.js +2 -0
  71. package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
  72. package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +3 -0
  73. package/dist/models/ReadChatFlowLogSettingResponseBody.js.map +1 -1
  74. package/dist/models/ReadChatFlowResponseBody.d.ts +3 -0
  75. package/dist/models/ReadChatFlowResponseBody.js.map +1 -1
  76. package/dist/models/ReadFlowVersionResponseBody.d.ts +3 -0
  77. package/dist/models/ReadFlowVersionResponseBody.js.map +1 -1
  78. package/dist/models/SendChatappMassMessageRequest.d.ts +4 -4
  79. package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +1 -1
  80. package/dist/models/TriggerChatFlowRequest.d.ts +3 -3
  81. package/dist/models/TriggerChatFlowResponseBody.d.ts +2 -2
  82. package/dist/models/TriggerChatFlowShrinkRequest.d.ts +3 -3
  83. package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +3 -0
  84. package/dist/models/UpdateChatFlowLogSettingResponseBody.js.map +1 -1
  85. package/dist/models/UpdateChatFlowResponseBody.d.ts +3 -0
  86. package/dist/models/UpdateChatFlowResponseBody.js.map +1 -1
  87. package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +8 -4
  88. package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js.map +1 -1
  89. package/dist/models/WhatsappCallRequest.d.ts +10 -2
  90. package/dist/models/WhatsappCallRequest.js +2 -0
  91. package/dist/models/WhatsappCallRequest.js.map +1 -1
  92. package/dist/models/WhatsappCallResponseBody.d.ts +5 -5
  93. package/dist/models/WhatsappCallShrinkRequest.d.ts +9 -1
  94. package/dist/models/WhatsappCallShrinkRequest.js +2 -0
  95. package/dist/models/WhatsappCallShrinkRequest.js.map +1 -1
  96. package/package.json +2 -2
  97. package/src/client.ts +60 -46
  98. package/src/models/AddChatGroupRequest.ts +5 -5
  99. package/src/models/AddChatGroupResponseBody.ts +3 -3
  100. package/src/models/ChatappBindWabaRequest.ts +10 -0
  101. package/src/models/ChatappBindWabaResponseBody.ts +3 -3
  102. package/src/models/CreateChatFlowByImportResponseBody.ts +3 -0
  103. package/src/models/CreateChatFlowLogSettingResponseBody.ts +3 -0
  104. package/src/models/CreateChatFlowResponseBody.ts +6 -0
  105. package/src/models/CreateChatappTemplateRequest.ts +101 -185
  106. package/src/models/CreateChatappTemplateResponseBody.ts +7 -5
  107. package/src/models/CreateChatappTemplateShrinkRequest.ts +37 -38
  108. package/src/models/CreateFlowVersionResponseBody.ts +3 -0
  109. package/src/models/DeleteChatFlowResponseBody.ts +3 -0
  110. package/src/models/GetAutoGeneratedTemplateRequest.ts +1 -1
  111. package/src/models/GetChatFlowMetricResponseBody.ts +3 -0
  112. package/src/models/GetChatFlowTemplateResponseBody.ts +3 -0
  113. package/src/models/GetChatappTemplateDetailResponseBody.ts +1 -1
  114. package/src/models/GetInstagramUserInfoRequest.ts +1 -1
  115. package/src/models/GetInstagramUserInfoResponseBody.ts +5 -5
  116. package/src/models/GetMessageCampaignInsightsResponseBody.ts +1 -1
  117. package/src/models/GetMessengerUserInfoResponseBody.ts +1 -1
  118. package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +2 -7
  119. package/src/models/GetPhoneEncryptionPublicKeyResponseBody.ts +8 -4
  120. package/src/models/ListChatFlowResponseBody.ts +3 -0
  121. package/src/models/ListChatFlowTemplateResponseBody.ts +3 -0
  122. package/src/models/ListChatappMessageRequest.ts +7 -0
  123. package/src/models/ListChatappMessageShrinkRequest.ts +7 -0
  124. package/src/models/ListFlowNodePrototypeV2responseBody.ts +1 -1
  125. package/src/models/ListFlowVersionResponseBody.ts +3 -0
  126. package/src/models/ListInstanceRequest.ts +3 -0
  127. package/src/models/ListMessengerSubscriptionTokenResponseBody.ts +2 -2
  128. package/src/models/ModifyChatappTemplateRequest.ts +36 -27
  129. package/src/models/ModifyChatappTemplateResponseBody.ts +5 -7
  130. package/src/models/ModifyChatappTemplateShrinkRequest.ts +19 -10
  131. package/src/models/MoveContactToGroupResponseBody.ts +3 -0
  132. package/src/models/OfflineFlowVersionResponseBody.ts +3 -0
  133. package/src/models/OnlineFlowVersionResponseBody.ts +3 -0
  134. package/src/models/QueryChatappBindWabaRequest.ts +1 -1
  135. package/src/models/QueryChatappBindWabaResponseBody.ts +23 -13
  136. package/src/models/ReadChatFlowLogSettingResponseBody.ts +3 -0
  137. package/src/models/ReadChatFlowResponseBody.ts +3 -0
  138. package/src/models/ReadFlowVersionResponseBody.ts +3 -0
  139. package/src/models/SendChatappMassMessageRequest.ts +4 -4
  140. package/src/models/SendChatappMassMessageShrinkRequest.ts +1 -1
  141. package/src/models/TriggerChatFlowRequest.ts +3 -3
  142. package/src/models/TriggerChatFlowResponseBody.ts +2 -2
  143. package/src/models/TriggerChatFlowShrinkRequest.ts +3 -3
  144. package/src/models/UpdateChatFlowLogSettingResponseBody.ts +3 -0
  145. package/src/models/UpdateChatFlowResponseBody.ts +3 -0
  146. package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +8 -4
  147. package/src/models/WhatsappCallRequest.ts +12 -2
  148. package/src/models/WhatsappCallResponseBody.ts +5 -5
  149. package/src/models/WhatsappCallShrinkRequest.ts +11 -1
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyChatappTemplateRequestComponentsButtonsSupportedApps extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The package name of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is Authentication and Button Type is ONE_TAP or ZERO_TAP.
8
+ * The package name of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is set to Authentication and Button Type is set to ONE_TAP or ZERO_TAP.
9
9
  *
10
10
  * @example
11
11
  * com.aliyun.pack.***
@@ -13,7 +13,7 @@ export class ModifyChatappTemplateRequestComponentsButtonsSupportedApps extends
13
13
  packageName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The signature hash value of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is Authentication and Button Type is ONE_TAP or ZERO_TAP.
16
+ * The signature hash value of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is set to Authentication and Button Type is set to ONE_TAP or ZERO_TAP.
17
17
  *
18
18
  * @example
19
19
  * kdikie9398k
@@ -45,7 +45,7 @@ export class ModifyChatappTemplateRequestComponentsButtonsSupportedApps extends
45
45
  export class ModifyChatappTemplateRequestComponentsButtons extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The button text for the WhatsApp autofill operation. This parameter is required for WhatsApp templates where Category is Authentication and Button Type is ONE_TAP.
48
+ * The button text for the WhatsApp autofill operation. This parameter is required for WhatsApp templates where Category is set to Authentication and Button Type is set to ONE_TAP.
49
49
  *
50
50
  * @example
51
51
  * Autofill
@@ -77,7 +77,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $dara.Model {
77
77
  flowId?: string;
78
78
  /**
79
79
  * @remarks
80
- * Specifies whether the button is a marketing opt-out button. If a customer clicks this button and send control operations are configured on the Chat App Message Service platform, subsequent marketing messages are not sent to the customer. This parameter is valid only for WhatsApp templates where Category is Marketing and Button Type is QUICK_REPLY.
80
+ * Specifies whether the button is a marketing opt-out button. This parameter is valid only for WhatsApp templates where Category is set to Marketing and Button Type is set to QUICK_REPLY. If a customer clicks this button and send control operations are configured on the Chat App Message Service platform, subsequent marketing messages are not sent to the customer.
81
81
  *
82
82
  * @example
83
83
  * false
@@ -85,7 +85,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $dara.Model {
85
85
  isOptOut?: boolean;
86
86
  /**
87
87
  * @remarks
88
- * The navigation screen. This parameter is required when FlowAction is NAVIGATE.
88
+ * The navigation screen. This parameter is required when FlowAction is set to NAVIGATE.
89
89
  *
90
90
  * @example
91
91
  * SIGN_UP
@@ -93,7 +93,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $dara.Model {
93
93
  navigateScreen?: string;
94
94
  /**
95
95
  * @remarks
96
- * The package name of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is Authentication and Button Type is ONE_TAP or ZERO_TAP.
96
+ * The package name of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is set to Authentication and Button Type is set to ONE_TAP or ZERO_TAP.
97
97
  *
98
98
  * @example
99
99
  * com.aliyun.pack.***
@@ -109,7 +109,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $dara.Model {
109
109
  phoneNumber?: string;
110
110
  /**
111
111
  * @remarks
112
- * The signature hash value of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is Authentication and Button Type is ONE_TAP or ZERO_TAP.
112
+ * The signature hash value of the application invoked by WhatsApp. This parameter is valid for WhatsApp templates where Category is set to Authentication and Button Type is set to ONE_TAP or ZERO_TAP.
113
113
  *
114
114
  * @example
115
115
  * kdikie9398k
@@ -138,7 +138,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $dara.Model {
138
138
  ttlMinutes?: number;
139
139
  /**
140
140
  * @remarks
141
- * The button type. Valid values: PHONE_NUMBER, URL, and QUICK_REPLY.
141
+ * The button type. Valid values: PHONE_NUMBER (phone number), URL (web page button), and QUICK_REPLY (quick reply).
142
142
  *
143
143
  * This parameter is required.
144
144
  *
@@ -233,7 +233,7 @@ export class ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons ex
233
233
  text?: string;
234
234
  /**
235
235
  * @remarks
236
- * The button type of the carousel template. Valid values: URL, PHONE_NUMBER, and QUICK_REQLY.
236
+ * The button type of the carousel template. Valid values: URL, PHONE_NUMBER, and QUICK_REPLY.
237
237
  *
238
238
  * This parameter is required.
239
239
  *
@@ -289,12 +289,12 @@ export class ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons ex
289
289
  export class ModifyChatappTemplateRequestComponentsCardsCardComponents extends $dara.Model {
290
290
  /**
291
291
  * @remarks
292
- * The buttons in the carousel card. The button type, name, and order must be consistent across all cards. Each card can have a maximum of two buttons.
292
+ * The buttons in the carousel card. The button type, name, and order must be consistent across all cards. A maximum of two buttons are allowed per card.
293
293
  */
294
294
  buttons?: ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons[];
295
295
  /**
296
296
  * @remarks
297
- * The header type in the carousel template. Only IMAGE and VIDEO are supported. The header must be consistent across all cards. Valid values: IMGAGE and VIDEO.
297
+ * The format of the header in the carousel template. Only IMAGE and VIDEO are supported. The header must be consistent across all cards. Valid values: IMAGE (image) and VIDEO (video).
298
298
  *
299
299
  * @example
300
300
  * IMAGE
@@ -302,7 +302,7 @@ export class ModifyChatappTemplateRequestComponentsCardsCardComponents extends $
302
302
  format?: string;
303
303
  /**
304
304
  * @remarks
305
- * The body content in the carousel card.
305
+ * The body content of the carousel card.
306
306
  *
307
307
  * @example
308
308
  * body
@@ -393,7 +393,7 @@ export class ModifyChatappTemplateRequestComponentsCards extends $dara.Model {
393
393
  export class ModifyChatappTemplateRequestComponents extends $dara.Model {
394
394
  /**
395
395
  * @remarks
396
- * The prompt displayed above the body that advises users not to share the verification code with others. This parameter is valid only for WhatsApp templates where Category is Authentication and Component Type is Body.
396
+ * Specifies whether to display a prompt message above the body to remind users not to share the verification code with others. This parameter is valid only for WhatsApp templates where Category is set to Authentication and the component type is Body.
397
397
  *
398
398
  * @example
399
399
  * false
@@ -404,7 +404,7 @@ export class ModifyChatappTemplateRequestComponents extends $dara.Model {
404
404
  * The list of buttons. This parameter applies only to **BUTTONS** components.
405
405
  *
406
406
  * > WhatsApp button limits
407
- * > - For MARKETING or UTILITY templates, a maximum of 10 buttons are allowed.
407
+ * > - For WhatsApp templates of the MARKETING or UTILITY type, a maximum of 10 buttons are allowed.
408
408
  * > - Only one PHONE_NUMBER button is allowed.
409
409
  * > - A maximum of two URL buttons are allowed.
410
410
  * > - QUICK_REPLY buttons must not be mixed with PHONE_NUMBER or URL buttons.
@@ -412,7 +412,7 @@ export class ModifyChatappTemplateRequestComponents extends $dara.Model {
412
412
  buttons?: ModifyChatappTemplateRequestComponentsButtons[];
413
413
  /**
414
414
  * @remarks
415
- * The description. You can add a description when Type is Header and Format is IMGAGE, DOCUMENT, or VIDEO.
415
+ * The caption. You can add a caption when Type is set to Header and Format is set to IMAGE, DOCUMENT, or VIDEO.
416
416
  *
417
417
  * @example
418
418
  * test
@@ -425,7 +425,7 @@ export class ModifyChatappTemplateRequestComponents extends $dara.Model {
425
425
  cards?: ModifyChatappTemplateRequestComponentsCards[];
426
426
  /**
427
427
  * @remarks
428
- * The validity period of the verification code in minutes for WhatsApp authentication templates. This parameter is valid only for WhatsApp messages where Category is Authentication and Component Type is Footer. This information is displayed in the footer.
428
+ * The validity period of the verification code in minutes for WhatsApp authentication templates. This parameter is valid only for WhatsApp messages where Category is set to Authentication and Component Type is set to Footer. This information is displayed in the footer.
429
429
  *
430
430
  * @example
431
431
  * 10
@@ -441,7 +441,7 @@ export class ModifyChatappTemplateRequestComponents extends $dara.Model {
441
441
  duration?: number;
442
442
  /**
443
443
  * @remarks
444
- * The file name. You can specify a file name when Type is Header and Format is DOCUMENT.
444
+ * The file name. You can specify a file name when Type is set to Header and Format is set to DOCUMENT.
445
445
  *
446
446
  * @example
447
447
  * txt.txt
@@ -565,7 +565,7 @@ export class ModifyChatappTemplateRequestComponents extends $dara.Model {
565
565
  export class ModifyChatappTemplateRequest extends $dara.Model {
566
566
  /**
567
567
  * @remarks
568
- * The template category for Viber templates. This parameter is invalid for WhatsApp templates.
568
+ * The category of the template when you modify a Viber template. This parameter is invalid when you modify a WhatsApp template.
569
569
  *
570
570
  * @example
571
571
  * MARKETING
@@ -573,7 +573,7 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
573
573
  category?: string;
574
574
  /**
575
575
  * @remarks
576
- * Specifies whether to pause sending the template when its category is changed from Utility to Marketing.
576
+ * Specifies whether to pause sending the template when a utility template is changed to a marketing template.
577
577
  *
578
578
  * @example
579
579
  * true
@@ -583,14 +583,14 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
583
583
  * @remarks
584
584
  * The list of message template components.
585
585
  *
586
- * > When Category is AUTHENTICATION, Components cannot contain nodes with Type set to HEADER. When Type is BODY or FOOTER, if Text is empty, the content is automatically generated.
586
+ * > When Category is set to AUTHENTICATION, Components cannot contain nodes with Type set to HEADER. If Type is set to BODY or FOOTER, the Text content is left empty and automatically generated.
587
587
  *
588
588
  * This parameter is required.
589
589
  */
590
590
  components?: ModifyChatappTemplateRequestComponents[];
591
591
  /**
592
592
  * @remarks
593
- * The Space ID of the ISV sub-customer or the instance ID of the direct customer.
593
+ * The SpaceId of the ISV sub-customer or the instanceId of the direct customer.
594
594
  *
595
595
  * @example
596
596
  * cams-did***
@@ -598,7 +598,7 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
598
598
  custSpaceId?: string;
599
599
  /**
600
600
  * @remarks
601
- * The WABA ID of the ISV customer. This parameter is deprecated. Use CustSpaceId instead.
601
+ * The WabaId of the ISV customer. This parameter is deprecated. Use CustSpaceId instead.
602
602
  *
603
603
  * @example
604
604
  * 939***
@@ -607,11 +607,14 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
607
607
  /**
608
608
  * @remarks
609
609
  * The variables in a key-value structure.
610
+ *
611
+ * @example
612
+ * {}
610
613
  */
611
614
  example?: { [key: string]: string };
612
615
  /**
613
616
  * @remarks
614
- * The ISV verification code, which is used to verify whether the RAM user is authorized by the ISV.
617
+ * The ISV verification code used to verify whether the RAM user is authorized by the ISV.
615
618
  *
616
619
  * @example
617
620
  * 9393***
@@ -631,7 +634,10 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
631
634
  language?: string;
632
635
  /**
633
636
  * @remarks
634
- * The validity period for sending WhatsApp authentication template messages.
637
+ * The time-to-live (TTL) for sending template messages in WhatsApp. Valid values:
638
+ * - AUTHENTICATION: 30 to 900.
639
+ * - UTILITY: 30 to 43200.
640
+ * - MARKETING: 43200 to 2592000.
635
641
  *
636
642
  * @example
637
643
  * 120
@@ -647,7 +653,7 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
647
653
  productSetId?: string;
648
654
  /**
649
655
  * @remarks
650
- * The message template code.
656
+ * The code of the message template.
651
657
  *
652
658
  * @example
653
659
  * 93938**
@@ -655,7 +661,7 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
655
661
  templateCode?: string;
656
662
  /**
657
663
  * @remarks
658
- * The template name.
664
+ * The name of the template.
659
665
  *
660
666
  * @example
661
667
  * test_name
@@ -663,7 +669,10 @@ export class ModifyChatappTemplateRequest extends $dara.Model {
663
669
  templateName?: string;
664
670
  /**
665
671
  * @remarks
666
- * The templatetype to modify. Valid values: WHATSAPP and VIBER. Default value: WHATSAPP.
672
+ * The templatetype to be modified. Valid values:
673
+ * - WHATSAPP
674
+ * - VIBER
675
+ * Default value: WHATSAPP.
667
676
  *
668
677
  * @example
669
678
  * WHATSAPP
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyChatappTemplateResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The template code.
8
+ * The code of the template.
9
9
  *
10
10
  * @example
11
11
  * 8472929283883
@@ -13,7 +13,7 @@ export class ModifyChatappTemplateResponseBodyData extends $dara.Model {
13
13
  templateCode?: string;
14
14
  /**
15
15
  * @remarks
16
- * The template name.
16
+ * The name of the template.
17
17
  *
18
18
  * @example
19
19
  * hello_whatsapp
@@ -45,7 +45,7 @@ export class ModifyChatappTemplateResponseBodyData extends $dara.Model {
45
45
  export class ModifyChatappTemplateResponseBody extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The access denied details.
48
+ * The details of the access denial.
49
49
  *
50
50
  * @example
51
51
  * None
@@ -54,9 +54,7 @@ export class ModifyChatappTemplateResponseBody extends $dara.Model {
54
54
  /**
55
55
  * @remarks
56
56
  * The status code of the request.
57
- *
58
57
  * - A value of OK indicates that the request is successful.
59
- *
60
58
  * - For other error codes, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
61
59
  *
62
60
  * @example
@@ -65,7 +63,7 @@ export class ModifyChatappTemplateResponseBody extends $dara.Model {
65
63
  code?: string;
66
64
  /**
67
65
  * @remarks
68
- * The response data.
66
+ * The returned data.
69
67
  */
70
68
  data?: ModifyChatappTemplateResponseBodyData;
71
69
  /**
@@ -78,7 +76,7 @@ export class ModifyChatappTemplateResponseBody extends $dara.Model {
78
76
  message?: string;
79
77
  /**
80
78
  * @remarks
81
- * The request ID.
79
+ * The ID of the request.
82
80
  *
83
81
  * @example
84
82
  * 90E63D28-E31D-1EB2-8939-A9486641****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The template category for Viber templates. This parameter is invalid for WhatsApp templates.
8
+ * The category of the template when you modify a Viber template. This parameter is invalid when you modify a WhatsApp template.
9
9
  *
10
10
  * @example
11
11
  * MARKETING
@@ -13,7 +13,7 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
13
13
  category?: string;
14
14
  /**
15
15
  * @remarks
16
- * Specifies whether to pause sending the template when its category is changed from Utility to Marketing.
16
+ * Specifies whether to pause sending the template when a utility template is changed to a marketing template.
17
17
  *
18
18
  * @example
19
19
  * true
@@ -23,14 +23,14 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
23
23
  * @remarks
24
24
  * The list of message template components.
25
25
  *
26
- * > When Category is AUTHENTICATION, Components cannot contain nodes with Type set to HEADER. When Type is BODY or FOOTER, if Text is empty, the content is automatically generated.
26
+ * > When Category is set to AUTHENTICATION, Components cannot contain nodes with Type set to HEADER. If Type is set to BODY or FOOTER, the Text content is left empty and automatically generated.
27
27
  *
28
28
  * This parameter is required.
29
29
  */
30
30
  componentsShrink?: string;
31
31
  /**
32
32
  * @remarks
33
- * The Space ID of the ISV sub-customer or the instance ID of the direct customer.
33
+ * The SpaceId of the ISV sub-customer or the instanceId of the direct customer.
34
34
  *
35
35
  * @example
36
36
  * cams-did***
@@ -38,7 +38,7 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
38
38
  custSpaceId?: string;
39
39
  /**
40
40
  * @remarks
41
- * The WABA ID of the ISV customer. This parameter is deprecated. Use CustSpaceId instead.
41
+ * The WabaId of the ISV customer. This parameter is deprecated. Use CustSpaceId instead.
42
42
  *
43
43
  * @example
44
44
  * 939***
@@ -47,11 +47,14 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
49
  * The variables in a key-value structure.
50
+ *
51
+ * @example
52
+ * {}
50
53
  */
51
54
  exampleShrink?: string;
52
55
  /**
53
56
  * @remarks
54
- * The ISV verification code, which is used to verify whether the RAM user is authorized by the ISV.
57
+ * The ISV verification code used to verify whether the RAM user is authorized by the ISV.
55
58
  *
56
59
  * @example
57
60
  * 9393***
@@ -71,7 +74,10 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
71
74
  language?: string;
72
75
  /**
73
76
  * @remarks
74
- * The validity period for sending WhatsApp authentication template messages.
77
+ * The time-to-live (TTL) for sending template messages in WhatsApp. Valid values:
78
+ * - AUTHENTICATION: 30 to 900.
79
+ * - UTILITY: 30 to 43200.
80
+ * - MARKETING: 43200 to 2592000.
75
81
  *
76
82
  * @example
77
83
  * 120
@@ -87,7 +93,7 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
87
93
  productSetId?: string;
88
94
  /**
89
95
  * @remarks
90
- * The message template code.
96
+ * The code of the message template.
91
97
  *
92
98
  * @example
93
99
  * 93938**
@@ -95,7 +101,7 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
95
101
  templateCode?: string;
96
102
  /**
97
103
  * @remarks
98
- * The template name.
104
+ * The name of the template.
99
105
  *
100
106
  * @example
101
107
  * test_name
@@ -103,7 +109,10 @@ export class ModifyChatappTemplateShrinkRequest extends $dara.Model {
103
109
  templateName?: string;
104
110
  /**
105
111
  * @remarks
106
- * The templatetype to modify. Valid values: WHATSAPP and VIBER. Default value: WHATSAPP.
112
+ * The templatetype to be modified. Valid values:
113
+ * - WHATSAPP
114
+ * - VIBER
115
+ * Default value: WHATSAPP.
107
116
  *
108
117
  * @example
109
118
  * WHATSAPP
@@ -26,6 +26,9 @@ export class MoveContactToGroupResponseBody extends $dara.Model {
26
26
  /**
27
27
  * @remarks
28
28
  * The returned object.
29
+ *
30
+ * @example
31
+ * {}
29
32
  */
30
33
  data?: { [key: string]: any };
31
34
  /**
@@ -38,6 +38,9 @@ export class OfflineFlowVersionResponseBody extends $dara.Model {
38
38
  /**
39
39
  * @remarks
40
40
  * The returned data.
41
+ *
42
+ * @example
43
+ * {}
41
44
  */
42
45
  response?: { [key: string]: any };
43
46
  /**
@@ -38,6 +38,9 @@ export class OnlineFlowVersionResponseBody extends $dara.Model {
38
38
  /**
39
39
  * @remarks
40
40
  * The content of the returned data.
41
+ *
42
+ * @example
43
+ * {}
41
44
  */
42
45
  response?: { [key: string]: any };
43
46
  /**
@@ -13,7 +13,7 @@ export class QueryChatappBindWabaRequest extends $dara.Model {
13
13
  custSpaceId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ISV verification code, used to verify whether the sub-account is authorized by the ISV.
16
+ * The ISV verification code used to verify whether the sub-account is authorized by the ISV.
17
17
  *
18
18
  * @example
19
19
  * aksik93kdkkxmwol9****
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The review status of the WABA. Valid values:
9
- * - PENDING: Pending review.
10
- * - APPROVED: Review approved.
11
- * - REJECTED: Review rejected.
12
- * - DISABLED: Disabled.
8
+ * The WABA review status. Valid values:
9
+ * - PENDING: Pending review.
10
+ * - APPROVED: Approved.
11
+ * - REJECTED: Rejected.
12
+ * - DISABLED: Disabled.
13
13
  *
14
14
  * @example
15
15
  * APPROVED
@@ -39,6 +39,14 @@ export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
39
39
  * Alibaba
40
40
  */
41
41
  businessName?: string;
42
+ /**
43
+ * @remarks
44
+ * Indicates whether templates can be synchronized.
45
+ *
46
+ * @example
47
+ * true
48
+ */
49
+ canSyncTemplate?: boolean;
42
50
  /**
43
51
  * @remarks
44
52
  * The currency.
@@ -57,7 +65,7 @@ export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
57
65
  id?: string;
58
66
  /**
59
67
  * @remarks
60
- * Indicates whether the phone number is in use in the WhatsApp Business app.
68
+ * Indicates whether the phone number is being used in the WhatsApp Business app.
61
69
  *
62
70
  * @example
63
71
  * N
@@ -89,7 +97,7 @@ export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
89
97
  name?: string;
90
98
  /**
91
99
  * @remarks
92
- * The international rate eligibility.
100
+ * The international rate capability eligibility.
93
101
  *
94
102
  * @example
95
103
  * "start_time":1721952000
@@ -101,6 +109,7 @@ export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
101
109
  authInternationalRateEligibility: 'AuthInternationalRateEligibility',
102
110
  businessId: 'BusinessId',
103
111
  businessName: 'BusinessName',
112
+ canSyncTemplate: 'CanSyncTemplate',
104
113
  currency: 'Currency',
105
114
  id: 'Id',
106
115
  isOnBizApp: 'IsOnBizApp',
@@ -117,6 +126,7 @@ export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
117
126
  authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
118
127
  businessId: 'string',
119
128
  businessName: 'string',
129
+ canSyncTemplate: 'boolean',
120
130
  currency: 'string',
121
131
  id: 'string',
122
132
  isOnBizApp: 'string',
@@ -142,7 +152,7 @@ export class QueryChatappBindWabaResponseBodyData extends $dara.Model {
142
152
  export class QueryChatappBindWabaResponseBody extends $dara.Model {
143
153
  /**
144
154
  * @remarks
145
- * The details about the access denial.
155
+ * The details of the access denial.
146
156
  *
147
157
  * @example
148
158
  * None
@@ -152,7 +162,7 @@ export class QueryChatappBindWabaResponseBody extends $dara.Model {
152
162
  * @remarks
153
163
  * The request status code.
154
164
  *
155
- * - A return value of OK indicates that the request was successful.
165
+ * - A value of OK indicates that the request is successful.
156
166
  *
157
167
  * - For other error codes, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
158
168
  *
@@ -162,7 +172,7 @@ export class QueryChatappBindWabaResponseBody extends $dara.Model {
162
172
  code?: string;
163
173
  /**
164
174
  * @remarks
165
- * The response data.
175
+ * The returned data.
166
176
  */
167
177
  data?: QueryChatappBindWabaResponseBodyData;
168
178
  /**
@@ -183,9 +193,9 @@ export class QueryChatappBindWabaResponseBody extends $dara.Model {
183
193
  requestId?: string;
184
194
  /**
185
195
  * @remarks
186
- * Indicates whether the call was successful. Valid values:
187
- * - **true**: The call succeeded.
188
- * - **false**: The call failed.
196
+ * Indicates whether the call is successful. Valid values:
197
+ * - **true**: The call is successful.
198
+ * - **false**: The call fails.
189
199
  *
190
200
  * @example
191
201
  * true
@@ -22,6 +22,9 @@ export class ReadChatFlowLogSettingResponseBody extends $dara.Model {
22
22
  /**
23
23
  * @remarks
24
24
  * The returned data.
25
+ *
26
+ * @example
27
+ * {}
25
28
  */
26
29
  data?: { [key: string]: any };
27
30
  /**
@@ -38,6 +38,9 @@ export class ReadChatFlowResponseBody extends $dara.Model {
38
38
  /**
39
39
  * @remarks
40
40
  * The response data.
41
+ *
42
+ * @example
43
+ * {}
41
44
  */
42
45
  response?: { [key: string]: any };
43
46
  /**
@@ -38,6 +38,9 @@ export class ReadFlowVersionResponseBody extends $dara.Model {
38
38
  /**
39
39
  * @remarks
40
40
  * The content of the returned data.
41
+ *
42
+ * @example
43
+ * {}
41
44
  */
42
45
  response?: { [key: string]: any };
43
46
  /**
@@ -194,12 +194,12 @@ export class SendChatappMassMessageRequestSenderList extends $dara.Model {
194
194
  templateParams?: { [key: string]: string };
195
195
  /**
196
196
  * @remarks
197
- * The recipient\\"s phone number.
197
+ * The recipient\"s phone number.
198
198
  *
199
- * - If ChannelType is **whatsapp**, this is the recipient\\"s phone number.
199
+ * - If ChannelType is **whatsapp**, this is the recipient\"s phone number.
200
200
  * - If ChannelType is **messenger**, this is the Page-Scoped User ID generated when the user interacts with a Facebook page message.
201
201
  * - If ChannelType is **instagram**, this is the Instagram User ID generated when the user interacts with an Instagram business account or creator account.
202
- * <props="intl">- If ChannelType is **viber**, this is the recipient\\"s phone number.
202
+ * <props="intl">- If ChannelType is **viber**, this is the recipient\"s phone number.
203
203
  *
204
204
  * @example
205
205
  * 861386666****
@@ -321,7 +321,7 @@ export class SendChatappMassMessageRequest extends $dara.Model {
321
321
  fallBackRule?: string;
322
322
  /**
323
323
  * @remarks
324
- * The sender\\"s phone number.
324
+ * The sender\"s phone number.
325
325
  *
326
326
  * - If ChannelType is **whatsapp**, this is the phone number registered and bound to WhatsApp. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **WABA Management** > **Number Management** page.
327
327
  * - If ChannelType is **messenger**, this is the Page ID of the public page. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Public Pages** page.
@@ -75,7 +75,7 @@ export class SendChatappMassMessageShrinkRequest extends $dara.Model {
75
75
  fallBackRule?: string;
76
76
  /**
77
77
  * @remarks
78
- * The sender\\"s phone number.
78
+ * The sender\"s phone number.
79
79
  *
80
80
  * - If ChannelType is **whatsapp**, this is the phone number registered and bound to WhatsApp. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **WABA Management** > **Number Management** page.
81
81
  * - If ChannelType is **messenger**, this is the Page ID of the public page. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Public Pages** page.
@@ -13,7 +13,7 @@ export class TriggerChatFlowRequest extends $dara.Model {
13
13
  claimTimeMillis?: number;
14
14
  /**
15
15
  * @remarks
16
- * The input parameters in key-value format. The keys must match the input parameter policy that you configured for the start node of the flow. To view the variable names of the start node, click the name of the flow with a manual trigger in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console to go to the canvas orchestration page.
16
+ * The input parameters in key-value format. The keys must match the input parameter policies that you configured for the start node of the flow. To view the variable names of the start node, click the name of the flow with a manual trigger in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console to go to the canvas orchestration page.
17
17
  *
18
18
  * @example
19
19
  * {
@@ -42,7 +42,7 @@ export class TriggerChatFlowRequest extends $dara.Model {
42
42
  flowCode?: string;
43
43
  /**
44
44
  * @remarks
45
- * The custom serial number of the external system. This parameter is used to associate the serial number of the external business system. After the flow is triggered, you can obtain this parameter in the flow.
45
+ * The custom serial number of the external system. This number is used to associate with the serial number of the external business system. After the flow is triggered, you can obtain this parameter in the flow.
46
46
  *
47
47
  * @example
48
48
  * 8d4acf7e-e360-eb83-6d74-fcf9c4538fda
@@ -53,7 +53,7 @@ export class TriggerChatFlowRequest extends $dara.Model {
53
53
  resourceOwnerId?: number;
54
54
  /**
55
55
  * @remarks
56
- * The custom unique ID of the event. This parameter is used to ensure idempotence for the trigger. Do not include any business semantics in this parameter. After the flow is triggered, you can obtain this parameter in the flow.
56
+ * The custom unique ID of the event. This ID is used to ensure idempotence for the trigger. Do not include any business semantics in this ID. After the flow is triggered, you can obtain this parameter in the flow.
57
57
  *
58
58
  * @example
59
59
  * c68622e6-5f0d-c8a4-af41-e949c2a7580e
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TriggerChatFlowResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The details of the permission check failure.
8
+ * The details of the access denial.
9
9
  *
10
10
  * @example
11
11
  * None
@@ -45,7 +45,7 @@ export class TriggerChatFlowResponseBody extends $dara.Model {
45
45
  requestId?: string;
46
46
  /**
47
47
  * @remarks
48
- * Specifies whether the call was successful. Valid values:
48
+ * Indicates whether the call was successful. Valid values:
49
49
  * - **true**: The call was successful.
50
50
  * - **false**: The call failed.
51
51
  *