@alicloud/cams20200606 4.1.0 → 4.1.2

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 (117) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +11 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddCustomAudienceUserRequest.d.ts +2 -2
  5. package/dist/models/ChatappBindWabaRequest.d.ts +3 -1
  6. package/dist/models/ChatappBindWabaRequest.js.map +1 -1
  7. package/dist/models/ChatappPhoneNumberDeregisterRequest.d.ts +6 -2
  8. package/dist/models/ChatappPhoneNumberDeregisterRequest.js.map +1 -1
  9. package/dist/models/ChatappPhoneNumberRegisterRequest.d.ts +6 -2
  10. package/dist/models/ChatappPhoneNumberRegisterRequest.js.map +1 -1
  11. package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +8 -2
  12. package/dist/models/ChatappVerifyAndRegisterRequest.js.map +1 -1
  13. package/dist/models/CreateFlowRequest.d.ts +14 -2
  14. package/dist/models/CreateFlowRequest.js +2 -0
  15. package/dist/models/CreateFlowRequest.js.map +1 -1
  16. package/dist/models/CreateFlowShrinkRequest.d.ts +14 -2
  17. package/dist/models/CreateFlowShrinkRequest.js +2 -0
  18. package/dist/models/CreateFlowShrinkRequest.js.map +1 -1
  19. package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +13 -4
  20. package/dist/models/CreatePhoneMessageQrdlRequest.js.map +1 -1
  21. package/dist/models/DeleteFlowRequest.d.ts +7 -2
  22. package/dist/models/DeleteFlowRequest.js.map +1 -1
  23. package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +10 -3
  24. package/dist/models/DeletePhoneMessageQrdlRequest.js.map +1 -1
  25. package/dist/models/DeprecateFlowRequest.d.ts +7 -2
  26. package/dist/models/DeprecateFlowRequest.js.map +1 -1
  27. package/dist/models/GetChatappVerifyCodeRequest.d.ts +16 -3
  28. package/dist/models/GetChatappVerifyCodeRequest.js.map +1 -1
  29. package/dist/models/GetFlowJsonassestRequest.d.ts +8 -2
  30. package/dist/models/GetFlowJsonassestRequest.js.map +1 -1
  31. package/dist/models/GetFlowPreviewUrlRequest.d.ts +7 -2
  32. package/dist/models/GetFlowPreviewUrlRequest.js.map +1 -1
  33. package/dist/models/GetFlowRequest.d.ts +7 -2
  34. package/dist/models/GetFlowRequest.js.map +1 -1
  35. package/dist/models/GetFlowResponseBody.d.ts +5 -0
  36. package/dist/models/GetFlowResponseBody.js +2 -0
  37. package/dist/models/GetFlowResponseBody.js.map +1 -1
  38. package/dist/models/GetPermissionByCodeRequest.d.ts +11 -2
  39. package/dist/models/GetPermissionByCodeRequest.js.map +1 -1
  40. package/dist/models/GetPermissionByCodeShrinkRequest.d.ts +11 -2
  41. package/dist/models/GetPermissionByCodeShrinkRequest.js.map +1 -1
  42. package/dist/models/GetPhoneEncryptionPublicKeyRequest.d.ts +7 -2
  43. package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
  44. package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +6 -2
  45. package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
  46. package/dist/models/IsvGetAppIdRequest.d.ts +13 -2
  47. package/dist/models/IsvGetAppIdRequest.js.map +1 -1
  48. package/dist/models/ListFlowRequest.d.ts +26 -2
  49. package/dist/models/ListFlowRequest.js.map +1 -1
  50. package/dist/models/ListFlowShrinkRequest.d.ts +12 -2
  51. package/dist/models/ListFlowShrinkRequest.js.map +1 -1
  52. package/dist/models/ListPhoneMessageQrdlRequest.d.ts +7 -2
  53. package/dist/models/ListPhoneMessageQrdlRequest.js.map +1 -1
  54. package/dist/models/ModifyFlowRequest.d.ts +18 -3
  55. package/dist/models/ModifyFlowRequest.js +2 -0
  56. package/dist/models/ModifyFlowRequest.js.map +1 -1
  57. package/dist/models/ModifyFlowResponseBody.d.ts +5 -0
  58. package/dist/models/ModifyFlowResponseBody.js +2 -0
  59. package/dist/models/ModifyFlowResponseBody.js.map +1 -1
  60. package/dist/models/ModifyFlowShrinkRequest.d.ts +18 -3
  61. package/dist/models/ModifyFlowShrinkRequest.js +2 -0
  62. package/dist/models/ModifyFlowShrinkRequest.js.map +1 -1
  63. package/dist/models/PublishFlowRequest.d.ts +7 -2
  64. package/dist/models/PublishFlowRequest.js.map +1 -1
  65. package/dist/models/SendChatappMassMessageRequest.d.ts +128 -20
  66. package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
  67. package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +80 -15
  68. package/dist/models/SendChatappMassMessageShrinkRequest.js.map +1 -1
  69. package/dist/models/SendChatappMessageRequest.d.ts +175 -23
  70. package/dist/models/SendChatappMessageRequest.js +2 -0
  71. package/dist/models/SendChatappMessageRequest.js.map +1 -1
  72. package/dist/models/SendChatappMessageShrinkRequest.d.ts +147 -19
  73. package/dist/models/SendChatappMessageShrinkRequest.js +2 -0
  74. package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
  75. package/dist/models/UpdateFlowJsonassetRequest.d.ts +10 -3
  76. package/dist/models/UpdateFlowJsonassetRequest.js.map +1 -1
  77. package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +18 -3
  78. package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js.map +1 -1
  79. package/dist/models/UpdatePhoneMessageQrdlRequest.d.ts +16 -5
  80. package/dist/models/UpdatePhoneMessageQrdlRequest.js.map +1 -1
  81. package/package.json +1 -1
  82. package/src/client.ts +14 -2
  83. package/src/models/AddCustomAudienceUserRequest.ts +2 -2
  84. package/src/models/ChatappBindWabaRequest.ts +3 -1
  85. package/src/models/ChatappPhoneNumberDeregisterRequest.ts +6 -2
  86. package/src/models/ChatappPhoneNumberRegisterRequest.ts +6 -2
  87. package/src/models/ChatappVerifyAndRegisterRequest.ts +8 -2
  88. package/src/models/CreateFlowRequest.ts +16 -2
  89. package/src/models/CreateFlowShrinkRequest.ts +16 -2
  90. package/src/models/CreatePhoneMessageQrdlRequest.ts +13 -4
  91. package/src/models/DeleteFlowRequest.ts +7 -2
  92. package/src/models/DeletePhoneMessageQrdlRequest.ts +10 -3
  93. package/src/models/DeprecateFlowRequest.ts +7 -2
  94. package/src/models/GetChatappVerifyCodeRequest.ts +16 -3
  95. package/src/models/GetFlowJsonassestRequest.ts +8 -2
  96. package/src/models/GetFlowPreviewUrlRequest.ts +7 -2
  97. package/src/models/GetFlowRequest.ts +7 -2
  98. package/src/models/GetFlowResponseBody.ts +7 -0
  99. package/src/models/GetPermissionByCodeRequest.ts +11 -2
  100. package/src/models/GetPermissionByCodeShrinkRequest.ts +11 -2
  101. package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +7 -2
  102. package/src/models/GetPhoneNumberVerificationStatusRequest.ts +6 -2
  103. package/src/models/IsvGetAppIdRequest.ts +13 -2
  104. package/src/models/ListFlowRequest.ts +26 -2
  105. package/src/models/ListFlowShrinkRequest.ts +12 -2
  106. package/src/models/ListPhoneMessageQrdlRequest.ts +7 -2
  107. package/src/models/ModifyFlowRequest.ts +20 -3
  108. package/src/models/ModifyFlowResponseBody.ts +7 -0
  109. package/src/models/ModifyFlowShrinkRequest.ts +20 -3
  110. package/src/models/PublishFlowRequest.ts +7 -2
  111. package/src/models/SendChatappMassMessageRequest.ts +128 -20
  112. package/src/models/SendChatappMassMessageShrinkRequest.ts +80 -15
  113. package/src/models/SendChatappMessageRequest.ts +177 -23
  114. package/src/models/SendChatappMessageShrinkRequest.ts +149 -19
  115. package/src/models/UpdateFlowJsonassetRequest.ts +10 -3
  116. package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +18 -3
  117. package/src/models/UpdatePhoneMessageQrdlRequest.ts +16 -5
@@ -1,11 +1,18 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class SendChatappMessageRequestFlowAction extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The default parameter of the Flow.
6
+ */
3
7
  flowActionData?: {
4
8
  [key: string]: any;
5
9
  };
6
10
  /**
11
+ * @remarks
12
+ * The Flow token.
13
+ *
7
14
  * @example
8
- * 示例值示例值
15
+ * 1122***
9
16
  */
10
17
  flowToken?: string;
11
18
  static names(): {
@@ -21,8 +28,11 @@ export declare class SendChatappMessageRequestFlowAction extends $dara.Model {
21
28
  }
22
29
  export declare class SendChatappMessageRequestProductActionSectionsProductItems extends $dara.Model {
23
30
  /**
31
+ * @remarks
32
+ * The retailer ID of the product.
33
+ *
24
34
  * @example
25
- * 示例值示例值
35
+ * 9I39E9E
26
36
  */
27
37
  productRetailerId?: string;
28
38
  static names(): {
@@ -37,10 +47,17 @@ export declare class SendChatappMessageRequestProductActionSectionsProductItems
37
47
  });
38
48
  }
39
49
  export declare class SendChatappMessageRequestProductActionSections extends $dara.Model {
50
+ /**
51
+ * @remarks
52
+ * The products.
53
+ */
40
54
  productItems?: SendChatappMessageRequestProductActionSectionsProductItems[];
41
55
  /**
56
+ * @remarks
57
+ * The name of the category.
58
+ *
42
59
  * @example
43
- * 示例值
60
+ * Test
44
61
  */
45
62
  title?: string;
46
63
  static names(): {
@@ -55,10 +72,17 @@ export declare class SendChatappMessageRequestProductActionSections extends $dar
55
72
  });
56
73
  }
57
74
  export declare class SendChatappMessageRequestProductAction extends $dara.Model {
75
+ /**
76
+ * @remarks
77
+ * The products. Up to 30 products and 10 categories can be added.
78
+ */
58
79
  sections?: SendChatappMessageRequestProductActionSections[];
59
80
  /**
81
+ * @remarks
82
+ * The retailer ID of the product.
83
+ *
60
84
  * @example
61
- * 示例值示例值示例值
85
+ * S238SK
62
86
  */
63
87
  thumbnailProductRetailerId?: string;
64
88
  static names(): {
@@ -78,12 +102,23 @@ export declare class SendChatappMessageRequest extends $dara.Model {
78
102
  * 示例值示例值
79
103
  */
80
104
  adAccountId?: string;
105
+ /**
106
+ * @example
107
+ * UTILITY
108
+ */
109
+ category?: string;
81
110
  /**
82
111
  * @remarks
112
+ * The channel type. Valid values:
113
+ *
114
+ * * **whatsapp**
115
+ * * **viber**
116
+ * * **line** (under development)
117
+ *
83
118
  * This parameter is required.
84
119
  *
85
120
  * @example
86
- * 示例值示例值
121
+ * whatsapp
87
122
  */
88
123
  channelType?: string;
89
124
  /**
@@ -119,62 +154,112 @@ export declare class SendChatappMessageRequest extends $dara.Model {
119
154
  */
120
155
  content?: string;
121
156
  /**
157
+ * @remarks
158
+ * The ID of the reply message.
159
+ *
122
160
  * @example
123
- * 示例值
161
+ * 61851ccb2f1365b16aee****
124
162
  */
125
163
  contextMessageId?: string;
126
164
  /**
165
+ * @remarks
166
+ * The space ID of the user.
167
+ *
127
168
  * @example
128
- * 示例值示例值示例值
169
+ * 28251486512358****
129
170
  */
130
171
  custSpaceId?: string;
131
172
  /**
173
+ * @remarks
174
+ * The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
175
+ *
176
+ * > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
177
+ *
132
178
  * @example
133
- * 示例值示例值
179
+ * 65921621816****
134
180
  *
135
181
  * @deprecated
136
182
  */
137
183
  custWabaId?: string;
138
184
  /**
185
+ * @remarks
186
+ * The content of the fallback message.
187
+ *
139
188
  * @example
140
- * 示例值
189
+ * This is a fallback message.
141
190
  */
142
191
  fallBackContent?: string;
192
+ /**
193
+ * @remarks
194
+ * Specifies the period of time after which the fallback message is sent if the message receipt that indicates the message is delivered to clients is not received. If this parameter is left empty, the fallback message is sent only when the **message fails to be sent** or **the message receipt that indicates the message is not delivered to clients** is received. Unit: seconds. Valid values: 60 to 43200.
195
+ *
196
+ * @example
197
+ * 120
198
+ */
143
199
  fallBackDuration?: number;
144
200
  /**
201
+ * @remarks
202
+ * The ID of the fallback policy. You can create a fallback policy and view the information in the Chat App Message Service console.
203
+ *
145
204
  * @example
146
- * 示例值示例值示例值
205
+ * S_000001
147
206
  */
148
207
  fallBackId?: string;
149
208
  /**
209
+ * @remarks
210
+ * The fallback rule. Valid values:
211
+ *
212
+ * * **undelivered**: A fallback is triggered if the message is not delivered to clients. When the message is being sent, the template parameters are verified. If the parameters fail to pass the verification, the message fails to be sent. Whether the template and phone number are prohibited is not verified. By default, this value is used when FallBackRule is left empty.
213
+ * * **sentFailed**: A fallback is triggered even if the template parameters including variables fail to pass the verification. If the channelType, type, messageType, to, and from parameters fail to pass the verification, a fallback is not triggered.
214
+ *
150
215
  * @example
151
- * 示例值示例值
216
+ * undelivered
152
217
  */
153
218
  fallBackRule?: string;
219
+ /**
220
+ * @remarks
221
+ * The Flow action.
222
+ */
154
223
  flowAction?: SendChatappMessageRequestFlowAction;
155
224
  /**
156
225
  * @remarks
226
+ * The mobile phone number of the message sender.
227
+ *
228
+ * > You can specify a mobile phone number that is registered for a WhatsApp account and is approved in the Chat App Message Service console.
229
+ *
157
230
  * This parameter is required.
158
231
  *
159
232
  * @example
160
- * 示例值示例值
233
+ * 1360000****
161
234
  */
162
235
  from?: string;
163
236
  /**
237
+ * @remarks
238
+ * The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
239
+ *
164
240
  * @example
165
- * 示例值
241
+ * skdi3kksloslikdkkdk
166
242
  *
167
243
  * @deprecated
168
244
  */
169
245
  isvCode?: string;
170
246
  /**
247
+ * @remarks
248
+ * The type of the Viber message. This parameter is required if ChannelType is set to viber. Valid values:
249
+ *
250
+ * * **promotion**
251
+ * * **transaction**
252
+ *
171
253
  * @example
172
- * 示例值
254
+ * promotion
173
255
  */
174
256
  label?: string;
175
257
  /**
258
+ * @remarks
259
+ * The language that is used in the message template. This parameter is required only if you set the Type parameter to **template**. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
260
+ *
176
261
  * @example
177
- * 示例值示例值示例值
262
+ * en
178
263
  */
179
264
  language?: string;
180
265
  /**
@@ -183,8 +268,38 @@ export declare class SendChatappMessageRequest extends $dara.Model {
183
268
  */
184
269
  messageCampaignId?: string;
185
270
  /**
271
+ * @remarks
272
+ * The specific type of the message. This parameter is required only if you set the Type parameter to **message**.
273
+ *
274
+ * **Valid values of MessageType when you set the ChannelType parameter to whatsapp:**
275
+ *
276
+ * * **text**: a text message.
277
+ * * **image**: an image message.
278
+ * * **video**: a video message.
279
+ * * **audio**: an audio message.
280
+ * * **document**: a document message.
281
+ * * **interactive**: an interactive message.
282
+ * * **contacts**: a contact message.
283
+ * * **location**: a location message.
284
+ * * **sticker**: a sticker message.
285
+ * * **reaction**: a reaction message.
286
+ *
287
+ * **Valid values of MessageType when you set the ChannelType parameter to viber:**
288
+ *
289
+ * * **text**: a text message.
290
+ * * **image**: an image message.
291
+ * * **video**: a video message.
292
+ * * **document**: a document message.
293
+ * * **text_button**: a message that contains the text and button media objects.
294
+ * * **text_image_button**: a message that contains multiple media objects, including the text, image, and button.
295
+ * * **text_video**: a message that contains the text and video media objects.
296
+ * * **text_video_button**: a message that contains multiple media objects, including text, video, and button.
297
+ * * **text_image**: a message that contains the text and image media objects.
298
+ *
299
+ * > For more information, see [Parameters of a message template](https://help.aliyun.com/document_detail/454530.html).
300
+ *
186
301
  * @example
187
- * 示例值
302
+ * text
188
303
  */
189
304
  messageType?: string;
190
305
  ownerId?: number;
@@ -196,6 +311,10 @@ export declare class SendChatappMessageRequest extends $dara.Model {
196
311
  * payloadtext1,payloadtext2,payloadtext3
197
312
  */
198
313
  payload?: string[];
314
+ /**
315
+ * @remarks
316
+ * The information about the products included in the WhatsApp catalog message or multi-product message (MPM).
317
+ */
199
318
  productAction?: SendChatappMessageRequestProductAction;
200
319
  /**
201
320
  * @example
@@ -205,34 +324,52 @@ export declare class SendChatappMessageRequest extends $dara.Model {
205
324
  resourceOwnerAccount?: string;
206
325
  resourceOwnerId?: number;
207
326
  /**
327
+ * @remarks
328
+ * The tag information of the Viber message.
329
+ *
208
330
  * @example
209
- * 示例值示例值
331
+ * tag
210
332
  */
211
333
  tag?: string;
212
334
  /**
335
+ * @remarks
336
+ * The task ID.
337
+ *
213
338
  * @example
214
- * 示例值示例值
339
+ * 100000001
215
340
  */
216
341
  taskId?: string;
217
342
  /**
343
+ * @remarks
344
+ * The code of the message template. This parameter is required only if you set the Type parameter to **template**.
345
+ *
218
346
  * @example
219
- * 示例值示例值示例值
347
+ * 744c4b5c79c9432497a075bdfca3****
220
348
  */
221
349
  templateCode?: string;
222
350
  /**
351
+ * @remarks
352
+ * The name of the message template.
353
+ *
223
354
  * @example
224
- * 示例值示例值示例值
355
+ * test_name
225
356
  */
226
357
  templateName?: string;
358
+ /**
359
+ * @remarks
360
+ * The variables of the message template.
361
+ */
227
362
  templateParams?: {
228
363
  [key: string]: string;
229
364
  };
230
365
  /**
231
366
  * @remarks
367
+ * The mobile phone number of the message receiver.
368
+ *
232
369
  * This parameter is required.
233
370
  *
234
371
  * @example
235
- * 示例值示例值示例值
372
+ * 1390000****
236
373
  */
237
374
  to?: string;
238
375
  /**
@@ -241,17 +378,32 @@ export declare class SendChatappMessageRequest extends $dara.Model {
241
378
  */
242
379
  tokenType?: string;
243
380
  /**
381
+ * @remarks
382
+ * The tracking data of the Viber message.
383
+ *
244
384
  * @example
245
- * 示例值示例值
385
+ * tracking_id:123456
246
386
  */
247
387
  trackingData?: string;
388
+ /**
389
+ * @remarks
390
+ * The timeout period for sending the Viber message. Valid values: 30 to 1209600. Unit: seconds.
391
+ *
392
+ * @example
393
+ * 50
394
+ */
248
395
  ttl?: number;
249
396
  /**
250
397
  * @remarks
398
+ * The message type. Valid values:
399
+ *
400
+ * * **template**: the template message. A template message is sent based on a template that is created and approved in the Chat App Message Service console. You can send template messages based on your business requirements.
401
+ * * **message**: the custom message. You can send a custom WhatsApp message to a user only within 24 hours after you receive the last message from the user. This limit does not apply to custom Viber messages.
402
+ *
251
403
  * This parameter is required.
252
404
  *
253
405
  * @example
254
- * 示例值
406
+ * template
255
407
  */
256
408
  type?: string;
257
409
  static names(): {
@@ -131,6 +131,7 @@ class SendChatappMessageRequest extends $dara.Model {
131
131
  static names() {
132
132
  return {
133
133
  adAccountId: 'AdAccountId',
134
+ category: 'Category',
134
135
  channelType: 'ChannelType',
135
136
  content: 'Content',
136
137
  contextMessageId: 'ContextMessageId',
@@ -168,6 +169,7 @@ class SendChatappMessageRequest extends $dara.Model {
168
169
  static types() {
169
170
  return {
170
171
  adAccountId: 'string',
172
+ category: 'string',
171
173
  channelType: 'string',
172
174
  content: 'string',
173
175
  contextMessageId: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"SendChatappMessageRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMessageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAOlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YAC1E,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,kFA+BC;AAED,MAAa,0DAA2D,SAAQ,KAAK,CAAC,KAAK;IAMzF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GA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YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,IAAG,IAAI,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnRD,8DAmRC"}
1
+ {"version":3,"file":"SendChatappMessageRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMessageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAclE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YAC1E,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,kFAsCC;AAED,MAAa,0DAA2D,SAAQ,KAAK,CAAC,KAAK;IASzF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MA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CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,IAAG,IAAI,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArZD,8DAqZC"}
@@ -5,12 +5,23 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
5
5
  * 示例值示例值
6
6
  */
7
7
  adAccountId?: string;
8
+ /**
9
+ * @example
10
+ * UTILITY
11
+ */
12
+ category?: string;
8
13
  /**
9
14
  * @remarks
15
+ * The channel type. Valid values:
16
+ *
17
+ * * **whatsapp**
18
+ * * **viber**
19
+ * * **line** (under development)
20
+ *
10
21
  * This parameter is required.
11
22
  *
12
23
  * @example
13
- * 示例值示例值
24
+ * whatsapp
14
25
  */
15
26
  channelType?: string;
16
27
  /**
@@ -46,62 +57,112 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
46
57
  */
47
58
  content?: string;
48
59
  /**
60
+ * @remarks
61
+ * The ID of the reply message.
62
+ *
49
63
  * @example
50
- * 示例值
64
+ * 61851ccb2f1365b16aee****
51
65
  */
52
66
  contextMessageId?: string;
53
67
  /**
68
+ * @remarks
69
+ * The space ID of the user.
70
+ *
54
71
  * @example
55
- * 示例值示例值示例值
72
+ * 28251486512358****
56
73
  */
57
74
  custSpaceId?: string;
58
75
  /**
76
+ * @remarks
77
+ * The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
78
+ *
79
+ * > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
80
+ *
59
81
  * @example
60
- * 示例值示例值
82
+ * 65921621816****
61
83
  *
62
84
  * @deprecated
63
85
  */
64
86
  custWabaId?: string;
65
87
  /**
88
+ * @remarks
89
+ * The content of the fallback message.
90
+ *
66
91
  * @example
67
- * 示例值
92
+ * This is a fallback message.
68
93
  */
69
94
  fallBackContent?: string;
95
+ /**
96
+ * @remarks
97
+ * Specifies the period of time after which the fallback message is sent if the message receipt that indicates the message is delivered to clients is not received. If this parameter is left empty, the fallback message is sent only when the **message fails to be sent** or **the message receipt that indicates the message is not delivered to clients** is received. Unit: seconds. Valid values: 60 to 43200.
98
+ *
99
+ * @example
100
+ * 120
101
+ */
70
102
  fallBackDuration?: number;
71
103
  /**
104
+ * @remarks
105
+ * The ID of the fallback policy. You can create a fallback policy and view the information in the Chat App Message Service console.
106
+ *
72
107
  * @example
73
- * 示例值示例值示例值
108
+ * S_000001
74
109
  */
75
110
  fallBackId?: string;
76
111
  /**
112
+ * @remarks
113
+ * The fallback rule. Valid values:
114
+ *
115
+ * * **undelivered**: A fallback is triggered if the message is not delivered to clients. When the message is being sent, the template parameters are verified. If the parameters fail to pass the verification, the message fails to be sent. Whether the template and phone number are prohibited is not verified. By default, this value is used when FallBackRule is left empty.
116
+ * * **sentFailed**: A fallback is triggered even if the template parameters including variables fail to pass the verification. If the channelType, type, messageType, to, and from parameters fail to pass the verification, a fallback is not triggered.
117
+ *
77
118
  * @example
78
- * 示例值示例值
119
+ * undelivered
79
120
  */
80
121
  fallBackRule?: string;
122
+ /**
123
+ * @remarks
124
+ * The Flow action.
125
+ */
81
126
  flowActionShrink?: string;
82
127
  /**
83
128
  * @remarks
129
+ * The mobile phone number of the message sender.
130
+ *
131
+ * > You can specify a mobile phone number that is registered for a WhatsApp account and is approved in the Chat App Message Service console.
132
+ *
84
133
  * This parameter is required.
85
134
  *
86
135
  * @example
87
- * 示例值示例值
136
+ * 1360000****
88
137
  */
89
138
  from?: string;
90
139
  /**
140
+ * @remarks
141
+ * The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
142
+ *
91
143
  * @example
92
- * 示例值
144
+ * skdi3kksloslikdkkdk
93
145
  *
94
146
  * @deprecated
95
147
  */
96
148
  isvCode?: string;
97
149
  /**
150
+ * @remarks
151
+ * The type of the Viber message. This parameter is required if ChannelType is set to viber. Valid values:
152
+ *
153
+ * * **promotion**
154
+ * * **transaction**
155
+ *
98
156
  * @example
99
- * 示例值
157
+ * promotion
100
158
  */
101
159
  label?: string;
102
160
  /**
161
+ * @remarks
162
+ * The language that is used in the message template. This parameter is required only if you set the Type parameter to **template**. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
163
+ *
103
164
  * @example
104
- * 示例值示例值示例值
165
+ * en
105
166
  */
106
167
  language?: string;
107
168
  /**
@@ -110,8 +171,38 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
110
171
  */
111
172
  messageCampaignId?: string;
112
173
  /**
174
+ * @remarks
175
+ * The specific type of the message. This parameter is required only if you set the Type parameter to **message**.
176
+ *
177
+ * **Valid values of MessageType when you set the ChannelType parameter to whatsapp:**
178
+ *
179
+ * * **text**: a text message.
180
+ * * **image**: an image message.
181
+ * * **video**: a video message.
182
+ * * **audio**: an audio message.
183
+ * * **document**: a document message.
184
+ * * **interactive**: an interactive message.
185
+ * * **contacts**: a contact message.
186
+ * * **location**: a location message.
187
+ * * **sticker**: a sticker message.
188
+ * * **reaction**: a reaction message.
189
+ *
190
+ * **Valid values of MessageType when you set the ChannelType parameter to viber:**
191
+ *
192
+ * * **text**: a text message.
193
+ * * **image**: an image message.
194
+ * * **video**: a video message.
195
+ * * **document**: a document message.
196
+ * * **text_button**: a message that contains the text and button media objects.
197
+ * * **text_image_button**: a message that contains multiple media objects, including the text, image, and button.
198
+ * * **text_video**: a message that contains the text and video media objects.
199
+ * * **text_video_button**: a message that contains multiple media objects, including text, video, and button.
200
+ * * **text_image**: a message that contains the text and image media objects.
201
+ *
202
+ * > For more information, see [Parameters of a message template](https://help.aliyun.com/document_detail/454530.html).
203
+ *
113
204
  * @example
114
- * 示例值
205
+ * text
115
206
  */
116
207
  messageType?: string;
117
208
  ownerId?: number;
@@ -123,6 +214,10 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
123
214
  * payloadtext1,payloadtext2,payloadtext3
124
215
  */
125
216
  payloadShrink?: string;
217
+ /**
218
+ * @remarks
219
+ * The information about the products included in the WhatsApp catalog message or multi-product message (MPM).
220
+ */
126
221
  productActionShrink?: string;
127
222
  /**
128
223
  * @example
@@ -132,32 +227,50 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
132
227
  resourceOwnerAccount?: string;
133
228
  resourceOwnerId?: number;
134
229
  /**
230
+ * @remarks
231
+ * The tag information of the Viber message.
232
+ *
135
233
  * @example
136
- * 示例值示例值
234
+ * tag
137
235
  */
138
236
  tag?: string;
139
237
  /**
238
+ * @remarks
239
+ * The task ID.
240
+ *
140
241
  * @example
141
- * 示例值示例值
242
+ * 100000001
142
243
  */
143
244
  taskId?: string;
144
245
  /**
246
+ * @remarks
247
+ * The code of the message template. This parameter is required only if you set the Type parameter to **template**.
248
+ *
145
249
  * @example
146
- * 示例值示例值示例值
250
+ * 744c4b5c79c9432497a075bdfca3****
147
251
  */
148
252
  templateCode?: string;
149
253
  /**
254
+ * @remarks
255
+ * The name of the message template.
256
+ *
150
257
  * @example
151
- * 示例值示例值示例值
258
+ * test_name
152
259
  */
153
260
  templateName?: string;
261
+ /**
262
+ * @remarks
263
+ * The variables of the message template.
264
+ */
154
265
  templateParamsShrink?: string;
155
266
  /**
156
267
  * @remarks
268
+ * The mobile phone number of the message receiver.
269
+ *
157
270
  * This parameter is required.
158
271
  *
159
272
  * @example
160
- * 示例值示例值示例值
273
+ * 1390000****
161
274
  */
162
275
  to?: string;
163
276
  /**
@@ -166,17 +279,32 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
166
279
  */
167
280
  tokenType?: string;
168
281
  /**
282
+ * @remarks
283
+ * The tracking data of the Viber message.
284
+ *
169
285
  * @example
170
- * 示例值示例值
286
+ * tracking_id:123456
171
287
  */
172
288
  trackingData?: string;
289
+ /**
290
+ * @remarks
291
+ * The timeout period for sending the Viber message. Valid values: 30 to 1209600. Unit: seconds.
292
+ *
293
+ * @example
294
+ * 50
295
+ */
173
296
  ttl?: number;
174
297
  /**
175
298
  * @remarks
299
+ * The message type. Valid values:
300
+ *
301
+ * * **template**: the template message. A template message is sent based on a template that is created and approved in the Chat App Message Service console. You can send template messages based on your business requirements.
302
+ * * **message**: the custom message. You can send a custom WhatsApp message to a user only within 24 hours after you receive the last message from the user. This limit does not apply to custom Viber messages.
303
+ *
176
304
  * This parameter is required.
177
305
  *
178
306
  * @example
179
- * 示例值
307
+ * template
180
308
  */
181
309
  type?: string;
182
310
  static names(): {