@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
@@ -3,10 +3,17 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class SendChatappMassMessageRequestSenderListFlowAction extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The default parameter of the Flow.
9
+ */
6
10
  flowActionData?: { [key: string]: any };
7
11
  /**
12
+ * @remarks
13
+ * The information about the Flow token.
14
+ *
8
15
  * @example
9
- * 示例值
16
+ * kde****
10
17
  */
11
18
  flowToken?: string;
12
19
  static names(): { [key: string]: string } {
@@ -37,8 +44,11 @@ export class SendChatappMassMessageRequestSenderListFlowAction extends $dara.Mod
37
44
 
38
45
  export class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $dara.Model {
39
46
  /**
47
+ * @remarks
48
+ * The retailer ID of the product.
49
+ *
40
50
  * @example
41
- * 示例值示例值
51
+ * ksi399d8
42
52
  */
43
53
  productRetailerId?: string;
44
54
  static names(): { [key: string]: string } {
@@ -63,10 +73,17 @@ export class SendChatappMassMessageRequestSenderListProductActionSectionsProduct
63
73
  }
64
74
 
65
75
  export class SendChatappMassMessageRequestSenderListProductActionSections extends $dara.Model {
76
+ /**
77
+ * @remarks
78
+ * The products.
79
+ */
66
80
  productItems?: SendChatappMassMessageRequestSenderListProductActionSectionsProductItems[];
67
81
  /**
82
+ * @remarks
83
+ * The name of the category.
84
+ *
68
85
  * @example
69
- * 示例值
86
+ * abcd
70
87
  */
71
88
  title?: string;
72
89
  static names(): { [key: string]: string } {
@@ -96,10 +113,17 @@ export class SendChatappMassMessageRequestSenderListProductActionSections extend
96
113
  }
97
114
 
98
115
  export class SendChatappMassMessageRequestSenderListProductAction extends $dara.Model {
116
+ /**
117
+ * @remarks
118
+ * The products. Up to 30 products and 10 categories can be added.
119
+ */
99
120
  sections?: SendChatappMassMessageRequestSenderListProductActionSections[];
100
121
  /**
122
+ * @remarks
123
+ * The retailer ID of the product.
124
+ *
101
125
  * @example
102
- * 示例值
126
+ * skkks999393
103
127
  */
104
128
  thumbnailProductRetailerId?: string;
105
129
  static names(): { [key: string]: string } {
@@ -129,13 +153,32 @@ export class SendChatappMassMessageRequestSenderListProductAction extends $dara.
129
153
  }
130
154
 
131
155
  export class SendChatappMassMessageRequestSenderList extends $dara.Model {
156
+ /**
157
+ * @remarks
158
+ * The Flow action.
159
+ */
132
160
  flowAction?: SendChatappMassMessageRequestSenderListFlowAction;
161
+ /**
162
+ * @remarks
163
+ * The payload of the button.
164
+ */
133
165
  payload?: string[];
166
+ /**
167
+ * @remarks
168
+ * The information about the product.
169
+ */
134
170
  productAction?: SendChatappMassMessageRequestSenderListProductAction;
171
+ /**
172
+ * @remarks
173
+ * The parameters of the template.
174
+ */
135
175
  templateParams?: { [key: string]: string };
136
176
  /**
177
+ * @remarks
178
+ * The mobile phone number of the message receiver.
179
+ *
137
180
  * @example
138
- * 示例值示例值示例值
181
+ * 861388988****
139
182
  */
140
183
  to?: string;
141
184
  static names(): { [key: string]: string } {
@@ -182,95 +225,160 @@ export class SendChatappMassMessageRequestSenderList extends $dara.Model {
182
225
  export class SendChatappMassMessageRequest extends $dara.Model {
183
226
  /**
184
227
  * @remarks
228
+ * The type of the channel. Valid values:
229
+ *
230
+ * * **whatsapp**
231
+ * * **viber**
232
+ * * **line** (under development)
233
+ *
185
234
  * This parameter is required.
186
235
  *
187
236
  * @example
188
- * 示例值示例值
237
+ * whatsapp
189
238
  */
190
239
  channelType?: string;
191
240
  /**
241
+ * @remarks
242
+ * The space ID of the user.
243
+ *
192
244
  * @example
193
- * 示例值示例值
245
+ * 28251486512358****
194
246
  */
195
247
  custSpaceId?: string;
196
248
  /**
249
+ * @remarks
250
+ * The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
251
+ *
252
+ * > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
253
+ *
197
254
  * @example
198
- * 示例值示例值示例值
255
+ * 65921621816****
199
256
  *
200
257
  * @deprecated
201
258
  */
202
259
  custWabaId?: string;
203
260
  /**
261
+ * @remarks
262
+ * The content of the fallback message.
263
+ *
204
264
  * @example
205
- * 示例值示例值示例值
265
+ * Fallback message
206
266
  */
207
267
  fallBackContent?: string;
268
+ /**
269
+ * @remarks
270
+ * 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.
271
+ *
272
+ * @example
273
+ * 120
274
+ */
208
275
  fallBackDuration?: number;
209
276
  /**
277
+ * @remarks
278
+ * The ID of the fallback policy.
279
+ *
210
280
  * @example
211
- * 示例值示例值示例值
281
+ * S00001
212
282
  */
213
283
  fallBackId?: string;
214
284
  /**
285
+ * @remarks
286
+ * The fallback rule. Valid values:
287
+ *
288
+ * * **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.
289
+ * * **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.
290
+ *
215
291
  * @example
216
- * 示例值示例值示例值
292
+ * undelivered
217
293
  */
218
294
  fallBackRule?: string;
219
295
  /**
220
296
  * @remarks
297
+ * The mobile phone number of the message sender.
298
+ *
221
299
  * This parameter is required.
222
300
  *
223
301
  * @example
224
- * 示例值示例值
302
+ * 861387777****
225
303
  */
226
304
  from?: string;
227
305
  /**
306
+ * @remarks
307
+ * The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
308
+ *
228
309
  * @example
229
- * 示例值示例值
310
+ * skdi3kksloslikdkkdk
230
311
  *
231
312
  * @deprecated
232
313
  */
233
314
  isvCode?: string;
234
315
  /**
316
+ * @remarks
317
+ * The type of the Viber message. Valid values:
318
+ *
319
+ * * **promotion**
320
+ * * **transaction**
321
+ *
235
322
  * @example
236
- * 示例值示例值
323
+ * promotion
237
324
  */
238
325
  label?: string;
239
326
  /**
240
327
  * @remarks
328
+ * The language. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
329
+ *
241
330
  * This parameter is required.
242
331
  *
243
332
  * @example
244
- * 示例值示例值
333
+ * en
245
334
  */
246
335
  language?: string;
247
336
  ownerId?: number;
248
337
  resourceOwnerAccount?: string;
249
338
  resourceOwnerId?: number;
339
+ /**
340
+ * @remarks
341
+ * The mobile phone numbers of the message receivers.
342
+ */
250
343
  senderList?: SendChatappMassMessageRequestSenderList[];
251
344
  /**
345
+ * @remarks
346
+ * The tag information when the ChannelType parameter is set to viber.
347
+ *
252
348
  * @example
253
- * 示例值示例值
349
+ * tag
254
350
  */
255
351
  tag?: string;
256
352
  /**
353
+ * @remarks
354
+ * The task ID.
355
+ *
257
356
  * @example
258
- * 示例值示例值
357
+ * 100000001
259
358
  */
260
359
  taskId?: string;
261
360
  /**
361
+ * @remarks
362
+ * The template code.
363
+ *
262
364
  * @example
263
- * 示例值示例值
365
+ * 744c4b5c79c9432497a075bdfca36bf5
264
366
  */
265
367
  templateCode?: string;
266
368
  /**
369
+ * @remarks
370
+ * The name of the message template.
371
+ *
267
372
  * @example
268
- * 示例值示例值
373
+ * test_name
269
374
  */
270
375
  templateName?: string;
271
376
  /**
377
+ * @remarks
378
+ * The timeout period for sending messages when the ChannelType parameter is set to viber. Valid values: 30 to 1209600. Unit: seconds.
379
+ *
272
380
  * @example
273
- * 46
381
+ * 50
274
382
  */
275
383
  ttl?: number;
276
384
  static names(): { [key: string]: string } {
@@ -5,95 +5,160 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatappMassMessageShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The type of the channel. Valid values:
9
+ *
10
+ * * **whatsapp**
11
+ * * **viber**
12
+ * * **line** (under development)
13
+ *
8
14
  * This parameter is required.
9
15
  *
10
16
  * @example
11
- * 示例值示例值
17
+ * whatsapp
12
18
  */
13
19
  channelType?: string;
14
20
  /**
21
+ * @remarks
22
+ * The space ID of the user.
23
+ *
15
24
  * @example
16
- * 示例值示例值
25
+ * 28251486512358****
17
26
  */
18
27
  custSpaceId?: string;
19
28
  /**
29
+ * @remarks
30
+ * The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
31
+ *
32
+ * > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
33
+ *
20
34
  * @example
21
- * 示例值示例值示例值
35
+ * 65921621816****
22
36
  *
23
37
  * @deprecated
24
38
  */
25
39
  custWabaId?: string;
26
40
  /**
41
+ * @remarks
42
+ * The content of the fallback message.
43
+ *
27
44
  * @example
28
- * 示例值示例值示例值
45
+ * Fallback message
29
46
  */
30
47
  fallBackContent?: string;
48
+ /**
49
+ * @remarks
50
+ * 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.
51
+ *
52
+ * @example
53
+ * 120
54
+ */
31
55
  fallBackDuration?: number;
32
56
  /**
57
+ * @remarks
58
+ * The ID of the fallback policy.
59
+ *
33
60
  * @example
34
- * 示例值示例值示例值
61
+ * S00001
35
62
  */
36
63
  fallBackId?: string;
37
64
  /**
65
+ * @remarks
66
+ * The fallback rule. Valid values:
67
+ *
68
+ * * **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.
69
+ * * **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.
70
+ *
38
71
  * @example
39
- * 示例值示例值示例值
72
+ * undelivered
40
73
  */
41
74
  fallBackRule?: string;
42
75
  /**
43
76
  * @remarks
77
+ * The mobile phone number of the message sender.
78
+ *
44
79
  * This parameter is required.
45
80
  *
46
81
  * @example
47
- * 示例值示例值
82
+ * 861387777****
48
83
  */
49
84
  from?: string;
50
85
  /**
86
+ * @remarks
87
+ * The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
88
+ *
51
89
  * @example
52
- * 示例值示例值
90
+ * skdi3kksloslikdkkdk
53
91
  *
54
92
  * @deprecated
55
93
  */
56
94
  isvCode?: string;
57
95
  /**
96
+ * @remarks
97
+ * The type of the Viber message. Valid values:
98
+ *
99
+ * * **promotion**
100
+ * * **transaction**
101
+ *
58
102
  * @example
59
- * 示例值示例值
103
+ * promotion
60
104
  */
61
105
  label?: string;
62
106
  /**
63
107
  * @remarks
108
+ * The language. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
109
+ *
64
110
  * This parameter is required.
65
111
  *
66
112
  * @example
67
- * 示例值示例值
113
+ * en
68
114
  */
69
115
  language?: string;
70
116
  ownerId?: number;
71
117
  resourceOwnerAccount?: string;
72
118
  resourceOwnerId?: number;
119
+ /**
120
+ * @remarks
121
+ * The mobile phone numbers of the message receivers.
122
+ */
73
123
  senderListShrink?: string;
74
124
  /**
125
+ * @remarks
126
+ * The tag information when the ChannelType parameter is set to viber.
127
+ *
75
128
  * @example
76
- * 示例值示例值
129
+ * tag
77
130
  */
78
131
  tag?: string;
79
132
  /**
133
+ * @remarks
134
+ * The task ID.
135
+ *
80
136
  * @example
81
- * 示例值示例值
137
+ * 100000001
82
138
  */
83
139
  taskId?: string;
84
140
  /**
141
+ * @remarks
142
+ * The template code.
143
+ *
85
144
  * @example
86
- * 示例值示例值
145
+ * 744c4b5c79c9432497a075bdfca36bf5
87
146
  */
88
147
  templateCode?: string;
89
148
  /**
149
+ * @remarks
150
+ * The name of the message template.
151
+ *
90
152
  * @example
91
- * 示例值示例值
153
+ * test_name
92
154
  */
93
155
  templateName?: string;
94
156
  /**
157
+ * @remarks
158
+ * The timeout period for sending messages when the ChannelType parameter is set to viber. Valid values: 30 to 1209600. Unit: seconds.
159
+ *
95
160
  * @example
96
- * 46
161
+ * 50
97
162
  */
98
163
  ttl?: number;
99
164
  static names(): { [key: string]: string } {