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