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