@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.
- package/dist/client.js +67 -51
- package/dist/client.js.map +1 -1
- package/dist/models/SendChatappMassMessageRequest.d.ts +23 -134
- package/dist/models/SendChatappMassMessageRequest.js +6 -0
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +18 -84
- package/dist/models/SendChatappMassMessageShrinkRequest.js +6 -0
- package/dist/models/SendChatappMassMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +29 -171
- package/dist/models/SendChatappMessageRequest.js +6 -0
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageResponseBody.d.ts +1 -0
- package/dist/models/SendChatappMessageResponseBody.js +2 -0
- package/dist/models/SendChatappMessageResponseBody.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +25 -143
- package/dist/models/SendChatappMessageShrinkRequest.js +6 -0
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +75 -53
- package/src/models/SendChatappMassMessageRequest.ts +29 -134
- package/src/models/SendChatappMassMessageShrinkRequest.ts +24 -84
- package/src/models/SendChatappMessageRequest.ts +35 -171
- package/src/models/SendChatappMessageResponseBody.ts +3 -0
- package/src/models/SendChatappMessageShrinkRequest.ts +31 -143
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class SendChatappMassMessageRequestSenderListFlowAction extends $dara.Model {
|
|
3
|
-
/**
|
|
4
|
-
* @remarks
|
|
5
|
-
* The default parameter of the Flow.
|
|
6
|
-
*/
|
|
7
3
|
flowActionData?: {
|
|
8
4
|
[key: string]: any;
|
|
9
5
|
};
|
|
10
6
|
/**
|
|
11
|
-
* @remarks
|
|
12
|
-
* The information about the Flow token.
|
|
13
|
-
*
|
|
14
7
|
* @example
|
|
15
|
-
*
|
|
8
|
+
* 示例值
|
|
16
9
|
*/
|
|
17
10
|
flowToken?: string;
|
|
18
11
|
static names(): {
|
|
@@ -28,11 +21,8 @@ export declare class SendChatappMassMessageRequestSenderListFlowAction extends $
|
|
|
28
21
|
}
|
|
29
22
|
export declare class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $dara.Model {
|
|
30
23
|
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The retailer ID of the product.
|
|
33
|
-
*
|
|
34
24
|
* @example
|
|
35
|
-
*
|
|
25
|
+
* 示例值示例值
|
|
36
26
|
*/
|
|
37
27
|
productRetailerId?: string;
|
|
38
28
|
static names(): {
|
|
@@ -47,17 +37,10 @@ export declare class SendChatappMassMessageRequestSenderListProductActionSection
|
|
|
47
37
|
});
|
|
48
38
|
}
|
|
49
39
|
export declare class SendChatappMassMessageRequestSenderListProductActionSections extends $dara.Model {
|
|
50
|
-
/**
|
|
51
|
-
* @remarks
|
|
52
|
-
* The products.
|
|
53
|
-
*/
|
|
54
40
|
productItems?: SendChatappMassMessageRequestSenderListProductActionSectionsProductItems[];
|
|
55
41
|
/**
|
|
56
|
-
* @remarks
|
|
57
|
-
* The name of the category.
|
|
58
|
-
*
|
|
59
42
|
* @example
|
|
60
|
-
*
|
|
43
|
+
* 示例值
|
|
61
44
|
*/
|
|
62
45
|
title?: string;
|
|
63
46
|
static names(): {
|
|
@@ -72,17 +55,10 @@ export declare class SendChatappMassMessageRequestSenderListProductActionSection
|
|
|
72
55
|
});
|
|
73
56
|
}
|
|
74
57
|
export declare class SendChatappMassMessageRequestSenderListProductAction extends $dara.Model {
|
|
75
|
-
/**
|
|
76
|
-
* @remarks
|
|
77
|
-
* The products. Up to 30 products and 10 categories can be added.
|
|
78
|
-
*/
|
|
79
58
|
sections?: SendChatappMassMessageRequestSenderListProductActionSections[];
|
|
80
59
|
/**
|
|
81
|
-
* @remarks
|
|
82
|
-
* The retailer ID of the product.
|
|
83
|
-
*
|
|
84
60
|
* @example
|
|
85
|
-
*
|
|
61
|
+
* 示例值
|
|
86
62
|
*/
|
|
87
63
|
thumbnailProductRetailerId?: string;
|
|
88
64
|
static names(): {
|
|
@@ -97,36 +73,15 @@ export declare class SendChatappMassMessageRequestSenderListProductAction extend
|
|
|
97
73
|
});
|
|
98
74
|
}
|
|
99
75
|
export declare class SendChatappMassMessageRequestSenderList extends $dara.Model {
|
|
100
|
-
/**
|
|
101
|
-
* @remarks
|
|
102
|
-
* The Flow action.
|
|
103
|
-
*/
|
|
104
76
|
flowAction?: SendChatappMassMessageRequestSenderListFlowAction;
|
|
105
|
-
/**
|
|
106
|
-
* @remarks
|
|
107
|
-
* The payload of the button.
|
|
108
|
-
*/
|
|
109
77
|
payload?: string[];
|
|
110
|
-
/**
|
|
111
|
-
* @remarks
|
|
112
|
-
* The information about the product.
|
|
113
|
-
*/
|
|
114
78
|
productAction?: SendChatappMassMessageRequestSenderListProductAction;
|
|
115
|
-
/**
|
|
116
|
-
* @remarks
|
|
117
|
-
* The parameters of the template.
|
|
118
|
-
*/
|
|
119
79
|
templateParams?: {
|
|
120
80
|
[key: string]: string;
|
|
121
81
|
};
|
|
122
82
|
/**
|
|
123
|
-
* @remarks
|
|
124
|
-
* The mobile phone number of the message receiver.
|
|
125
|
-
*
|
|
126
|
-
* This parameter is required.
|
|
127
|
-
*
|
|
128
83
|
* @example
|
|
129
|
-
*
|
|
84
|
+
* 示例值示例值示例值
|
|
130
85
|
*/
|
|
131
86
|
to?: string;
|
|
132
87
|
static names(): {
|
|
@@ -143,157 +98,91 @@ export declare class SendChatappMassMessageRequestSenderList extends $dara.Model
|
|
|
143
98
|
export declare class SendChatappMassMessageRequest extends $dara.Model {
|
|
144
99
|
/**
|
|
145
100
|
* @remarks
|
|
146
|
-
* The type of the channel. Valid values:
|
|
147
|
-
*
|
|
148
|
-
* * **whatsapp**
|
|
149
|
-
* * **viber**
|
|
150
|
-
* * **line** (under development)
|
|
151
|
-
*
|
|
152
101
|
* This parameter is required.
|
|
153
102
|
*
|
|
154
103
|
* @example
|
|
155
|
-
*
|
|
104
|
+
* 示例值示例值
|
|
156
105
|
*/
|
|
157
106
|
channelType?: string;
|
|
158
107
|
/**
|
|
159
|
-
* @remarks
|
|
160
|
-
* The space ID of the user.
|
|
161
|
-
*
|
|
162
108
|
* @example
|
|
163
|
-
*
|
|
109
|
+
* 示例值示例值
|
|
164
110
|
*/
|
|
165
111
|
custSpaceId?: string;
|
|
166
112
|
/**
|
|
167
|
-
* @remarks
|
|
168
|
-
* The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
|
|
169
|
-
*
|
|
170
|
-
* > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
|
|
171
|
-
*
|
|
172
113
|
* @example
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* @deprecated
|
|
114
|
+
* 示例值示例值示例值
|
|
176
115
|
*/
|
|
177
116
|
custWabaId?: string;
|
|
178
117
|
/**
|
|
179
|
-
* @remarks
|
|
180
|
-
* The content of the fallback message.
|
|
181
|
-
*
|
|
182
118
|
* @example
|
|
183
|
-
*
|
|
119
|
+
* 示例值示例值示例值
|
|
184
120
|
*/
|
|
185
121
|
fallBackContent?: string;
|
|
186
|
-
/**
|
|
187
|
-
* @remarks
|
|
188
|
-
* 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.
|
|
189
|
-
*
|
|
190
|
-
* @example
|
|
191
|
-
* 120
|
|
192
|
-
*/
|
|
193
122
|
fallBackDuration?: number;
|
|
194
123
|
/**
|
|
195
|
-
* @remarks
|
|
196
|
-
* The ID of the fallback policy.
|
|
197
|
-
*
|
|
198
124
|
* @example
|
|
199
|
-
*
|
|
125
|
+
* 示例值示例值示例值
|
|
200
126
|
*/
|
|
201
127
|
fallBackId?: string;
|
|
202
128
|
/**
|
|
203
|
-
* @remarks
|
|
204
|
-
* The fallback rule. Valid values:
|
|
205
|
-
*
|
|
206
|
-
* * **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.
|
|
207
|
-
* * **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.
|
|
208
|
-
*
|
|
209
129
|
* @example
|
|
210
|
-
*
|
|
130
|
+
* 示例值示例值示例值
|
|
211
131
|
*/
|
|
212
132
|
fallBackRule?: string;
|
|
213
133
|
/**
|
|
214
134
|
* @remarks
|
|
215
|
-
* The mobile phone number of the message sender.
|
|
216
|
-
*
|
|
217
135
|
* This parameter is required.
|
|
218
136
|
*
|
|
219
137
|
* @example
|
|
220
|
-
*
|
|
138
|
+
* 示例值示例值
|
|
221
139
|
*/
|
|
222
140
|
from?: string;
|
|
223
141
|
/**
|
|
224
|
-
* @remarks
|
|
225
|
-
* The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
|
|
226
|
-
*
|
|
227
142
|
* @example
|
|
228
|
-
*
|
|
143
|
+
* 示例值示例值
|
|
229
144
|
*/
|
|
230
145
|
isvCode?: string;
|
|
231
146
|
/**
|
|
232
|
-
* @remarks
|
|
233
|
-
* The type of the Viber message. Valid values:
|
|
234
|
-
*
|
|
235
|
-
* * **promotion**
|
|
236
|
-
* * **transaction**
|
|
237
|
-
*
|
|
238
147
|
* @example
|
|
239
|
-
*
|
|
148
|
+
* 示例值示例值
|
|
240
149
|
*/
|
|
241
150
|
label?: string;
|
|
242
151
|
/**
|
|
243
152
|
* @remarks
|
|
244
|
-
* The language. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
|
|
245
|
-
*
|
|
246
153
|
* This parameter is required.
|
|
247
154
|
*
|
|
248
155
|
* @example
|
|
249
|
-
*
|
|
156
|
+
* 示例值示例值
|
|
250
157
|
*/
|
|
251
158
|
language?: string;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
*
|
|
256
|
-
* This parameter is required.
|
|
257
|
-
*/
|
|
159
|
+
ownerId?: number;
|
|
160
|
+
resourceOwnerAccount?: string;
|
|
161
|
+
resourceOwnerId?: number;
|
|
258
162
|
senderList?: SendChatappMassMessageRequestSenderList[];
|
|
259
163
|
/**
|
|
260
|
-
* @remarks
|
|
261
|
-
* The tag information when the ChannelType parameter is set to viber.
|
|
262
|
-
*
|
|
263
164
|
* @example
|
|
264
|
-
*
|
|
165
|
+
* 示例值示例值
|
|
265
166
|
*/
|
|
266
167
|
tag?: string;
|
|
267
168
|
/**
|
|
268
|
-
* @remarks
|
|
269
|
-
* The task ID.
|
|
270
|
-
*
|
|
271
169
|
* @example
|
|
272
|
-
*
|
|
170
|
+
* 示例值示例值
|
|
273
171
|
*/
|
|
274
172
|
taskId?: string;
|
|
275
173
|
/**
|
|
276
|
-
* @remarks
|
|
277
|
-
* The template code.
|
|
278
|
-
*
|
|
279
174
|
* @example
|
|
280
|
-
*
|
|
175
|
+
* 示例值示例值
|
|
281
176
|
*/
|
|
282
177
|
templateCode?: string;
|
|
283
178
|
/**
|
|
284
|
-
* @remarks
|
|
285
|
-
* The name of the message template.
|
|
286
|
-
*
|
|
287
179
|
* @example
|
|
288
|
-
*
|
|
180
|
+
* 示例值示例值
|
|
289
181
|
*/
|
|
290
182
|
templateName?: string;
|
|
291
183
|
/**
|
|
292
|
-
* @remarks
|
|
293
|
-
* The timeout period for sending messages when the ChannelType parameter is set to viber. Valid values: 30 to 1209600. Unit: seconds.
|
|
294
|
-
*
|
|
295
184
|
* @example
|
|
296
|
-
*
|
|
185
|
+
* 46
|
|
297
186
|
*/
|
|
298
187
|
ttl?: number;
|
|
299
188
|
static names(): {
|
|
@@ -180,6 +180,9 @@ class SendChatappMassMessageRequest extends $dara.Model {
|
|
|
180
180
|
isvCode: 'IsvCode',
|
|
181
181
|
label: 'Label',
|
|
182
182
|
language: 'Language',
|
|
183
|
+
ownerId: 'OwnerId',
|
|
184
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
185
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
183
186
|
senderList: 'SenderList',
|
|
184
187
|
tag: 'Tag',
|
|
185
188
|
taskId: 'TaskId',
|
|
@@ -201,6 +204,9 @@ class SendChatappMassMessageRequest extends $dara.Model {
|
|
|
201
204
|
isvCode: 'string',
|
|
202
205
|
label: 'string',
|
|
203
206
|
language: 'string',
|
|
207
|
+
ownerId: 'number',
|
|
208
|
+
resourceOwnerAccount: 'string',
|
|
209
|
+
resourceOwnerId: 'number',
|
|
204
210
|
senderList: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderList },
|
|
205
211
|
tag: 'string',
|
|
206
212
|
taskId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendChatappMassMessageRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMassMessageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SendChatappMassMessageRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMassMessageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;IAOhF,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,KAA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
|
-
* The type of the channel. Valid values:
|
|
6
|
-
*
|
|
7
|
-
* * **whatsapp**
|
|
8
|
-
* * **viber**
|
|
9
|
-
* * **line** (under development)
|
|
10
|
-
*
|
|
11
5
|
* This parameter is required.
|
|
12
6
|
*
|
|
13
7
|
* @example
|
|
14
|
-
*
|
|
8
|
+
* 示例值示例值
|
|
15
9
|
*/
|
|
16
10
|
channelType?: string;
|
|
17
11
|
/**
|
|
18
|
-
* @remarks
|
|
19
|
-
* The space ID of the user.
|
|
20
|
-
*
|
|
21
12
|
* @example
|
|
22
|
-
*
|
|
13
|
+
* 示例值示例值
|
|
23
14
|
*/
|
|
24
15
|
custSpaceId?: string;
|
|
25
16
|
/**
|
|
26
|
-
* @remarks
|
|
27
|
-
* The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
|
|
28
|
-
*
|
|
29
|
-
* > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
|
|
30
|
-
*
|
|
31
17
|
* @example
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* @deprecated
|
|
18
|
+
* 示例值示例值示例值
|
|
35
19
|
*/
|
|
36
20
|
custWabaId?: string;
|
|
37
21
|
/**
|
|
38
|
-
* @remarks
|
|
39
|
-
* The content of the fallback message.
|
|
40
|
-
*
|
|
41
22
|
* @example
|
|
42
|
-
*
|
|
23
|
+
* 示例值示例值示例值
|
|
43
24
|
*/
|
|
44
25
|
fallBackContent?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @remarks
|
|
47
|
-
* 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.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* 120
|
|
51
|
-
*/
|
|
52
26
|
fallBackDuration?: number;
|
|
53
27
|
/**
|
|
54
|
-
* @remarks
|
|
55
|
-
* The ID of the fallback policy.
|
|
56
|
-
*
|
|
57
28
|
* @example
|
|
58
|
-
*
|
|
29
|
+
* 示例值示例值示例值
|
|
59
30
|
*/
|
|
60
31
|
fallBackId?: string;
|
|
61
32
|
/**
|
|
62
|
-
* @remarks
|
|
63
|
-
* The fallback rule. Valid values:
|
|
64
|
-
*
|
|
65
|
-
* * **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.
|
|
66
|
-
* * **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.
|
|
67
|
-
*
|
|
68
33
|
* @example
|
|
69
|
-
*
|
|
34
|
+
* 示例值示例值示例值
|
|
70
35
|
*/
|
|
71
36
|
fallBackRule?: string;
|
|
72
37
|
/**
|
|
73
38
|
* @remarks
|
|
74
|
-
* The mobile phone number of the message sender.
|
|
75
|
-
*
|
|
76
39
|
* This parameter is required.
|
|
77
40
|
*
|
|
78
41
|
* @example
|
|
79
|
-
*
|
|
42
|
+
* 示例值示例值
|
|
80
43
|
*/
|
|
81
44
|
from?: string;
|
|
82
45
|
/**
|
|
83
|
-
* @remarks
|
|
84
|
-
* The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
|
|
85
|
-
*
|
|
86
46
|
* @example
|
|
87
|
-
*
|
|
47
|
+
* 示例值示例值
|
|
88
48
|
*/
|
|
89
49
|
isvCode?: string;
|
|
90
50
|
/**
|
|
91
|
-
* @remarks
|
|
92
|
-
* The type of the Viber message. Valid values:
|
|
93
|
-
*
|
|
94
|
-
* * **promotion**
|
|
95
|
-
* * **transaction**
|
|
96
|
-
*
|
|
97
51
|
* @example
|
|
98
|
-
*
|
|
52
|
+
* 示例值示例值
|
|
99
53
|
*/
|
|
100
54
|
label?: string;
|
|
101
55
|
/**
|
|
102
56
|
* @remarks
|
|
103
|
-
* The language. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
|
|
104
|
-
*
|
|
105
57
|
* This parameter is required.
|
|
106
58
|
*
|
|
107
59
|
* @example
|
|
108
|
-
*
|
|
60
|
+
* 示例值示例值
|
|
109
61
|
*/
|
|
110
62
|
language?: string;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
*
|
|
115
|
-
* This parameter is required.
|
|
116
|
-
*/
|
|
63
|
+
ownerId?: number;
|
|
64
|
+
resourceOwnerAccount?: string;
|
|
65
|
+
resourceOwnerId?: number;
|
|
117
66
|
senderListShrink?: string;
|
|
118
67
|
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* The tag information when the ChannelType parameter is set to viber.
|
|
121
|
-
*
|
|
122
68
|
* @example
|
|
123
|
-
*
|
|
69
|
+
* 示例值示例值
|
|
124
70
|
*/
|
|
125
71
|
tag?: string;
|
|
126
72
|
/**
|
|
127
|
-
* @remarks
|
|
128
|
-
* The task ID.
|
|
129
|
-
*
|
|
130
73
|
* @example
|
|
131
|
-
*
|
|
74
|
+
* 示例值示例值
|
|
132
75
|
*/
|
|
133
76
|
taskId?: string;
|
|
134
77
|
/**
|
|
135
|
-
* @remarks
|
|
136
|
-
* The template code.
|
|
137
|
-
*
|
|
138
78
|
* @example
|
|
139
|
-
*
|
|
79
|
+
* 示例值示例值
|
|
140
80
|
*/
|
|
141
81
|
templateCode?: string;
|
|
142
82
|
/**
|
|
143
|
-
* @remarks
|
|
144
|
-
* The name of the message template.
|
|
145
|
-
*
|
|
146
83
|
* @example
|
|
147
|
-
*
|
|
84
|
+
* 示例值示例值
|
|
148
85
|
*/
|
|
149
86
|
templateName?: string;
|
|
150
87
|
/**
|
|
151
|
-
* @remarks
|
|
152
|
-
* The timeout period for sending messages when the ChannelType parameter is set to viber. Valid values: 30 to 1209600. Unit: seconds.
|
|
153
|
-
*
|
|
154
88
|
* @example
|
|
155
|
-
*
|
|
89
|
+
* 46
|
|
156
90
|
*/
|
|
157
91
|
ttl?: number;
|
|
158
92
|
static names(): {
|
|
@@ -50,6 +50,9 @@ class SendChatappMassMessageShrinkRequest extends $dara.Model {
|
|
|
50
50
|
isvCode: 'IsvCode',
|
|
51
51
|
label: 'Label',
|
|
52
52
|
language: 'Language',
|
|
53
|
+
ownerId: 'OwnerId',
|
|
54
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
55
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
53
56
|
senderListShrink: 'SenderList',
|
|
54
57
|
tag: 'Tag',
|
|
55
58
|
taskId: 'TaskId',
|
|
@@ -71,6 +74,9 @@ class SendChatappMassMessageShrinkRequest extends $dara.Model {
|
|
|
71
74
|
isvCode: 'string',
|
|
72
75
|
label: 'string',
|
|
73
76
|
language: 'string',
|
|
77
|
+
ownerId: 'number',
|
|
78
|
+
resourceOwnerAccount: 'string',
|
|
79
|
+
resourceOwnerId: 'number',
|
|
74
80
|
senderListShrink: 'string',
|
|
75
81
|
tag: 'string',
|
|
76
82
|
taskId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendChatappMassMessageShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMassMessageShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SendChatappMassMessageShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMassMessageShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IA0FlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE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