@alicloud/cams20200606 1.0.20 → 1.0.21
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 +55 -26
- package/dist/client.js +82 -26
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +108 -26
package/dist/client.d.ts
CHANGED
|
@@ -1822,7 +1822,11 @@ export declare class CreateChatappMigrationInitiateResponseBodyData extends $tea
|
|
|
1822
1822
|
});
|
|
1823
1823
|
}
|
|
1824
1824
|
export declare class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
1825
|
+
autofillText?: string;
|
|
1826
|
+
isOptOut?: boolean;
|
|
1827
|
+
packageName?: string;
|
|
1825
1828
|
phoneNumber?: string;
|
|
1829
|
+
signatureHash?: string;
|
|
1826
1830
|
text?: string;
|
|
1827
1831
|
type?: string;
|
|
1828
1832
|
url?: string;
|
|
@@ -1838,8 +1842,10 @@ export declare class CreateChatappTemplateRequestComponentsButtons extends $tea.
|
|
|
1838
1842
|
});
|
|
1839
1843
|
}
|
|
1840
1844
|
export declare class CreateChatappTemplateRequestComponents extends $tea.Model {
|
|
1845
|
+
addSecretRecommendation?: boolean;
|
|
1841
1846
|
buttons?: CreateChatappTemplateRequestComponentsButtons[];
|
|
1842
1847
|
caption?: string;
|
|
1848
|
+
codeExpirationMinutes?: number;
|
|
1843
1849
|
duration?: number;
|
|
1844
1850
|
fileName?: string;
|
|
1845
1851
|
fileType?: string;
|
|
@@ -1871,8 +1877,29 @@ export declare class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
1871
1877
|
[key: string]: any;
|
|
1872
1878
|
});
|
|
1873
1879
|
}
|
|
1880
|
+
export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
|
|
1881
|
+
action?: string;
|
|
1882
|
+
intentCode?: string;
|
|
1883
|
+
nextLanguageCode?: string;
|
|
1884
|
+
nextTemplateCode?: string;
|
|
1885
|
+
nextTemplateName?: string;
|
|
1886
|
+
static names(): {
|
|
1887
|
+
[key: string]: string;
|
|
1888
|
+
};
|
|
1889
|
+
static types(): {
|
|
1890
|
+
[key: string]: any;
|
|
1891
|
+
};
|
|
1892
|
+
constructor(map?: {
|
|
1893
|
+
[key: string]: any;
|
|
1894
|
+
});
|
|
1895
|
+
}
|
|
1874
1896
|
export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
1897
|
+
autofillText?: string;
|
|
1898
|
+
extendAttrs?: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
|
|
1899
|
+
isOptOut?: boolean;
|
|
1900
|
+
packageName?: string;
|
|
1875
1901
|
phoneNumber?: string;
|
|
1902
|
+
signatureHash?: string;
|
|
1876
1903
|
text?: string;
|
|
1877
1904
|
type?: string;
|
|
1878
1905
|
url?: string;
|
|
@@ -1888,8 +1915,10 @@ export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtons e
|
|
|
1888
1915
|
});
|
|
1889
1916
|
}
|
|
1890
1917
|
export declare class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
1918
|
+
addSecretRecommendation?: boolean;
|
|
1891
1919
|
buttons?: GetChatappTemplateDetailResponseBodyDataComponentsButtons[];
|
|
1892
1920
|
caption?: string;
|
|
1921
|
+
codeExpirationMinutes?: number;
|
|
1893
1922
|
duration?: number;
|
|
1894
1923
|
fileName?: string;
|
|
1895
1924
|
fileType?: string;
|
|
@@ -2009,7 +2038,11 @@ export declare class ListChatappTemplateResponseBodyListTemplate extends $tea.Mo
|
|
|
2009
2038
|
});
|
|
2010
2039
|
}
|
|
2011
2040
|
export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
2041
|
+
autofillText?: string;
|
|
2042
|
+
isOptOut?: boolean;
|
|
2043
|
+
packageName?: string;
|
|
2012
2044
|
phoneNumber?: string;
|
|
2045
|
+
signatureHash?: string;
|
|
2013
2046
|
text?: string;
|
|
2014
2047
|
type?: string;
|
|
2015
2048
|
url?: string;
|
|
@@ -2025,8 +2058,10 @@ export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.
|
|
|
2025
2058
|
});
|
|
2026
2059
|
}
|
|
2027
2060
|
export declare class ModifyChatappTemplateRequestComponents extends $tea.Model {
|
|
2061
|
+
addSecretRecommendation?: boolean;
|
|
2028
2062
|
buttons?: ModifyChatappTemplateRequestComponentsButtons[];
|
|
2029
2063
|
caption?: string;
|
|
2064
|
+
codeExpirationMinutes?: number;
|
|
2030
2065
|
duration?: number;
|
|
2031
2066
|
fileName?: string;
|
|
2032
2067
|
fileType?: string;
|
|
@@ -2286,7 +2321,7 @@ export default class Client extends OpenApi {
|
|
|
2286
2321
|
*/
|
|
2287
2322
|
chatappVerifyAndRegister(request: ChatappVerifyAndRegisterRequest): Promise<ChatappVerifyAndRegisterResponse>;
|
|
2288
2323
|
/**
|
|
2289
|
-
*
|
|
2324
|
+
* The status of the phone number.
|
|
2290
2325
|
*
|
|
2291
2326
|
* @param request CreateChatappMigrationInitiateRequest
|
|
2292
2327
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2294,15 +2329,14 @@ export default class Client extends OpenApi {
|
|
|
2294
2329
|
*/
|
|
2295
2330
|
createChatappMigrationInitiateWithOptions(request: CreateChatappMigrationInitiateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappMigrationInitiateResponse>;
|
|
2296
2331
|
/**
|
|
2297
|
-
*
|
|
2332
|
+
* The status of the phone number.
|
|
2298
2333
|
*
|
|
2299
2334
|
* @param request CreateChatappMigrationInitiateRequest
|
|
2300
2335
|
* @return CreateChatappMigrationInitiateResponse
|
|
2301
2336
|
*/
|
|
2302
2337
|
createChatappMigrationInitiate(request: CreateChatappMigrationInitiateRequest): Promise<CreateChatappMigrationInitiateResponse>;
|
|
2303
2338
|
/**
|
|
2304
|
-
*
|
|
2305
|
-
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2339
|
+
* The error message.
|
|
2306
2340
|
*
|
|
2307
2341
|
* @param tmpReq CreateChatappTemplateRequest
|
|
2308
2342
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2310,8 +2344,7 @@ export default class Client extends OpenApi {
|
|
|
2310
2344
|
*/
|
|
2311
2345
|
createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse>;
|
|
2312
2346
|
/**
|
|
2313
|
-
*
|
|
2314
|
-
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2347
|
+
* The error message.
|
|
2315
2348
|
*
|
|
2316
2349
|
* @param request CreateChatappTemplateRequest
|
|
2317
2350
|
* @return CreateChatappTemplateResponse
|
|
@@ -2335,8 +2368,7 @@ export default class Client extends OpenApi {
|
|
|
2335
2368
|
*/
|
|
2336
2369
|
deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse>;
|
|
2337
2370
|
/**
|
|
2338
|
-
*
|
|
2339
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2371
|
+
* The type of the file attached in the Viber message template.
|
|
2340
2372
|
*
|
|
2341
2373
|
* @param request GetChatappTemplateDetailRequest
|
|
2342
2374
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2344,15 +2376,14 @@ export default class Client extends OpenApi {
|
|
|
2344
2376
|
*/
|
|
2345
2377
|
getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse>;
|
|
2346
2378
|
/**
|
|
2347
|
-
*
|
|
2348
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2379
|
+
* The type of the file attached in the Viber message template.
|
|
2349
2380
|
*
|
|
2350
2381
|
* @param request GetChatappTemplateDetailRequest
|
|
2351
2382
|
* @return GetChatappTemplateDetailResponse
|
|
2352
2383
|
*/
|
|
2353
2384
|
getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
|
|
2354
2385
|
/**
|
|
2355
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
2386
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2356
2387
|
*
|
|
2357
2388
|
* @param request GetChatappUploadAuthorizationRequest
|
|
2358
2389
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2360,7 +2391,7 @@ export default class Client extends OpenApi {
|
|
|
2360
2391
|
*/
|
|
2361
2392
|
getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse>;
|
|
2362
2393
|
/**
|
|
2363
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
2394
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2364
2395
|
*
|
|
2365
2396
|
* @param request GetChatappUploadAuthorizationRequest
|
|
2366
2397
|
* @return GetChatappUploadAuthorizationResponse
|
|
@@ -2382,7 +2413,7 @@ export default class Client extends OpenApi {
|
|
|
2382
2413
|
*/
|
|
2383
2414
|
getChatappVerifyCode(request: GetChatappVerifyCodeRequest): Promise<GetChatappVerifyCodeResponse>;
|
|
2384
2415
|
/**
|
|
2385
|
-
*
|
|
2416
|
+
* The ID of the phone number.
|
|
2386
2417
|
*
|
|
2387
2418
|
* @param request GetMigrationVerifyCodeRequest
|
|
2388
2419
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2390,7 +2421,7 @@ export default class Client extends OpenApi {
|
|
|
2390
2421
|
*/
|
|
2391
2422
|
getMigrationVerifyCodeWithOptions(request: GetMigrationVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetMigrationVerifyCodeResponse>;
|
|
2392
2423
|
/**
|
|
2393
|
-
*
|
|
2424
|
+
* The ID of the phone number.
|
|
2394
2425
|
*
|
|
2395
2426
|
* @param request GetMigrationVerifyCodeRequest
|
|
2396
2427
|
* @return GetMigrationVerifyCodeResponse
|
|
@@ -2412,7 +2443,7 @@ export default class Client extends OpenApi {
|
|
|
2412
2443
|
*/
|
|
2413
2444
|
getPhoneNumberVerificationStatus(request: GetPhoneNumberVerificationStatusRequest): Promise<GetPhoneNumberVerificationStatusResponse>;
|
|
2414
2445
|
/**
|
|
2415
|
-
*
|
|
2446
|
+
* The message ID.
|
|
2416
2447
|
*
|
|
2417
2448
|
* @param request IsvGetAppIdRequest
|
|
2418
2449
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2420,7 +2451,7 @@ export default class Client extends OpenApi {
|
|
|
2420
2451
|
*/
|
|
2421
2452
|
isvGetAppIdWithOptions(request: IsvGetAppIdRequest, runtime: $Util.RuntimeOptions): Promise<IsvGetAppIdResponse>;
|
|
2422
2453
|
/**
|
|
2423
|
-
*
|
|
2454
|
+
* The message ID.
|
|
2424
2455
|
*
|
|
2425
2456
|
* @param request IsvGetAppIdRequest
|
|
2426
2457
|
* @return IsvGetAppIdResponse
|
|
@@ -2444,8 +2475,7 @@ export default class Client extends OpenApi {
|
|
|
2444
2475
|
*/
|
|
2445
2476
|
listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
|
|
2446
2477
|
/**
|
|
2447
|
-
*
|
|
2448
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2478
|
+
* The name of the message template.
|
|
2449
2479
|
*
|
|
2450
2480
|
* @param tmpReq ModifyChatappTemplateRequest
|
|
2451
2481
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2453,8 +2483,7 @@ export default class Client extends OpenApi {
|
|
|
2453
2483
|
*/
|
|
2454
2484
|
modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse>;
|
|
2455
2485
|
/**
|
|
2456
|
-
*
|
|
2457
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2486
|
+
* The name of the message template.
|
|
2458
2487
|
*
|
|
2459
2488
|
* @param request ModifyChatappTemplateRequest
|
|
2460
2489
|
* @return ModifyChatappTemplateResponse
|
|
@@ -2553,7 +2582,7 @@ export default class Client extends OpenApi {
|
|
|
2553
2582
|
*/
|
|
2554
2583
|
sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse>;
|
|
2555
2584
|
/**
|
|
2556
|
-
* You can call this operation up to 200 times per second per account. If the number of
|
|
2585
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2557
2586
|
*
|
|
2558
2587
|
* @param tmpReq SendChatappMessageRequest
|
|
2559
2588
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2561,14 +2590,14 @@ export default class Client extends OpenApi {
|
|
|
2561
2590
|
*/
|
|
2562
2591
|
sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse>;
|
|
2563
2592
|
/**
|
|
2564
|
-
* You can call this operation up to 200 times per second per account. If the number of
|
|
2593
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2565
2594
|
*
|
|
2566
2595
|
* @param request SendChatappMessageRequest
|
|
2567
2596
|
* @return SendChatappMessageResponse
|
|
2568
2597
|
*/
|
|
2569
2598
|
sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse>;
|
|
2570
2599
|
/**
|
|
2571
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
2600
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2572
2601
|
*
|
|
2573
2602
|
* @param request SubmitIsvCustomerTermsRequest
|
|
2574
2603
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2576,7 +2605,7 @@ export default class Client extends OpenApi {
|
|
|
2576
2605
|
*/
|
|
2577
2606
|
submitIsvCustomerTermsWithOptions(request: SubmitIsvCustomerTermsRequest, runtime: $Util.RuntimeOptions): Promise<SubmitIsvCustomerTermsResponse>;
|
|
2578
2607
|
/**
|
|
2579
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
2608
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2580
2609
|
*
|
|
2581
2610
|
* @param request SubmitIsvCustomerTermsRequest
|
|
2582
2611
|
* @return SubmitIsvCustomerTermsResponse
|
|
@@ -2598,7 +2627,7 @@ export default class Client extends OpenApi {
|
|
|
2598
2627
|
*/
|
|
2599
2628
|
updateAccountWebhook(request: UpdateAccountWebhookRequest): Promise<UpdateAccountWebhookResponse>;
|
|
2600
2629
|
/**
|
|
2601
|
-
*
|
|
2630
|
+
* The error message returned.
|
|
2602
2631
|
*
|
|
2603
2632
|
* @param request UpdatePhoneWebhookRequest
|
|
2604
2633
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2606,7 +2635,7 @@ export default class Client extends OpenApi {
|
|
|
2606
2635
|
*/
|
|
2607
2636
|
updatePhoneWebhookWithOptions(request: UpdatePhoneWebhookRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneWebhookResponse>;
|
|
2608
2637
|
/**
|
|
2609
|
-
*
|
|
2638
|
+
* The error message returned.
|
|
2610
2639
|
*
|
|
2611
2640
|
* @param request UpdatePhoneWebhookRequest
|
|
2612
2641
|
* @return UpdatePhoneWebhookResponse
|
package/dist/client.js
CHANGED
|
@@ -2619,7 +2619,11 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
static names() {
|
|
2621
2621
|
return {
|
|
2622
|
+
autofillText: 'AutofillText',
|
|
2623
|
+
isOptOut: 'IsOptOut',
|
|
2624
|
+
packageName: 'PackageName',
|
|
2622
2625
|
phoneNumber: 'PhoneNumber',
|
|
2626
|
+
signatureHash: 'SignatureHash',
|
|
2623
2627
|
text: 'Text',
|
|
2624
2628
|
type: 'Type',
|
|
2625
2629
|
url: 'Url',
|
|
@@ -2628,7 +2632,11 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
2628
2632
|
}
|
|
2629
2633
|
static types() {
|
|
2630
2634
|
return {
|
|
2635
|
+
autofillText: 'string',
|
|
2636
|
+
isOptOut: 'boolean',
|
|
2637
|
+
packageName: 'string',
|
|
2631
2638
|
phoneNumber: 'string',
|
|
2639
|
+
signatureHash: 'string',
|
|
2632
2640
|
text: 'string',
|
|
2633
2641
|
type: 'string',
|
|
2634
2642
|
url: 'string',
|
|
@@ -2643,8 +2651,10 @@ class CreateChatappTemplateRequestComponents extends $tea.Model {
|
|
|
2643
2651
|
}
|
|
2644
2652
|
static names() {
|
|
2645
2653
|
return {
|
|
2654
|
+
addSecretRecommendation: 'AddSecretRecommendation',
|
|
2646
2655
|
buttons: 'Buttons',
|
|
2647
2656
|
caption: 'Caption',
|
|
2657
|
+
codeExpirationMinutes: 'CodeExpirationMinutes',
|
|
2648
2658
|
duration: 'Duration',
|
|
2649
2659
|
fileName: 'FileName',
|
|
2650
2660
|
fileType: 'FileType',
|
|
@@ -2657,8 +2667,10 @@ class CreateChatappTemplateRequestComponents extends $tea.Model {
|
|
|
2657
2667
|
}
|
|
2658
2668
|
static types() {
|
|
2659
2669
|
return {
|
|
2670
|
+
addSecretRecommendation: 'boolean',
|
|
2660
2671
|
buttons: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtons },
|
|
2661
2672
|
caption: 'string',
|
|
2673
|
+
codeExpirationMinutes: 'number',
|
|
2662
2674
|
duration: 'number',
|
|
2663
2675
|
fileName: 'string',
|
|
2664
2676
|
fileType: 'string',
|
|
@@ -2689,13 +2701,42 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
2689
2701
|
}
|
|
2690
2702
|
}
|
|
2691
2703
|
exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
|
|
2704
|
+
class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
|
|
2705
|
+
constructor(map) {
|
|
2706
|
+
super(map);
|
|
2707
|
+
}
|
|
2708
|
+
static names() {
|
|
2709
|
+
return {
|
|
2710
|
+
action: 'Action',
|
|
2711
|
+
intentCode: 'IntentCode',
|
|
2712
|
+
nextLanguageCode: 'NextLanguageCode',
|
|
2713
|
+
nextTemplateCode: 'NextTemplateCode',
|
|
2714
|
+
nextTemplateName: 'NextTemplateName',
|
|
2715
|
+
};
|
|
2716
|
+
}
|
|
2717
|
+
static types() {
|
|
2718
|
+
return {
|
|
2719
|
+
action: 'string',
|
|
2720
|
+
intentCode: 'string',
|
|
2721
|
+
nextLanguageCode: 'string',
|
|
2722
|
+
nextTemplateCode: 'string',
|
|
2723
|
+
nextTemplateName: 'string',
|
|
2724
|
+
};
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
|
|
2692
2728
|
class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
2693
2729
|
constructor(map) {
|
|
2694
2730
|
super(map);
|
|
2695
2731
|
}
|
|
2696
2732
|
static names() {
|
|
2697
2733
|
return {
|
|
2734
|
+
autofillText: 'AutofillText',
|
|
2735
|
+
extendAttrs: 'ExtendAttrs',
|
|
2736
|
+
isOptOut: 'IsOptOut',
|
|
2737
|
+
packageName: 'PackageName',
|
|
2698
2738
|
phoneNumber: 'PhoneNumber',
|
|
2739
|
+
signatureHash: 'SignatureHash',
|
|
2699
2740
|
text: 'Text',
|
|
2700
2741
|
type: 'Type',
|
|
2701
2742
|
url: 'Url',
|
|
@@ -2704,7 +2745,12 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
2704
2745
|
}
|
|
2705
2746
|
static types() {
|
|
2706
2747
|
return {
|
|
2748
|
+
autofillText: 'string',
|
|
2749
|
+
extendAttrs: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs,
|
|
2750
|
+
isOptOut: 'boolean',
|
|
2751
|
+
packageName: 'string',
|
|
2707
2752
|
phoneNumber: 'string',
|
|
2753
|
+
signatureHash: 'string',
|
|
2708
2754
|
text: 'string',
|
|
2709
2755
|
type: 'string',
|
|
2710
2756
|
url: 'string',
|
|
@@ -2719,8 +2765,10 @@ class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
|
2719
2765
|
}
|
|
2720
2766
|
static names() {
|
|
2721
2767
|
return {
|
|
2768
|
+
addSecretRecommendation: 'AddSecretRecommendation',
|
|
2722
2769
|
buttons: 'Buttons',
|
|
2723
2770
|
caption: 'Caption',
|
|
2771
|
+
codeExpirationMinutes: 'CodeExpirationMinutes',
|
|
2724
2772
|
duration: 'Duration',
|
|
2725
2773
|
fileName: 'FileName',
|
|
2726
2774
|
fileType: 'FileType',
|
|
@@ -2737,8 +2785,10 @@ class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
|
2737
2785
|
}
|
|
2738
2786
|
static types() {
|
|
2739
2787
|
return {
|
|
2788
|
+
addSecretRecommendation: 'boolean',
|
|
2740
2789
|
buttons: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtons },
|
|
2741
2790
|
caption: 'string',
|
|
2791
|
+
codeExpirationMinutes: 'number',
|
|
2742
2792
|
duration: 'number',
|
|
2743
2793
|
fileName: 'string',
|
|
2744
2794
|
fileType: 'string',
|
|
@@ -2901,7 +2951,11 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
2901
2951
|
}
|
|
2902
2952
|
static names() {
|
|
2903
2953
|
return {
|
|
2954
|
+
autofillText: 'AutofillText',
|
|
2955
|
+
isOptOut: 'IsOptOut',
|
|
2956
|
+
packageName: 'PackageName',
|
|
2904
2957
|
phoneNumber: 'PhoneNumber',
|
|
2958
|
+
signatureHash: 'SignatureHash',
|
|
2905
2959
|
text: 'Text',
|
|
2906
2960
|
type: 'Type',
|
|
2907
2961
|
url: 'Url',
|
|
@@ -2910,7 +2964,11 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
2910
2964
|
}
|
|
2911
2965
|
static types() {
|
|
2912
2966
|
return {
|
|
2967
|
+
autofillText: 'string',
|
|
2968
|
+
isOptOut: 'boolean',
|
|
2969
|
+
packageName: 'string',
|
|
2913
2970
|
phoneNumber: 'string',
|
|
2971
|
+
signatureHash: 'string',
|
|
2914
2972
|
text: 'string',
|
|
2915
2973
|
type: 'string',
|
|
2916
2974
|
url: 'string',
|
|
@@ -2925,8 +2983,10 @@ class ModifyChatappTemplateRequestComponents extends $tea.Model {
|
|
|
2925
2983
|
}
|
|
2926
2984
|
static names() {
|
|
2927
2985
|
return {
|
|
2986
|
+
addSecretRecommendation: 'AddSecretRecommendation',
|
|
2928
2987
|
buttons: 'Buttons',
|
|
2929
2988
|
caption: 'Caption',
|
|
2989
|
+
codeExpirationMinutes: 'CodeExpirationMinutes',
|
|
2930
2990
|
duration: 'Duration',
|
|
2931
2991
|
fileName: 'FileName',
|
|
2932
2992
|
fileType: 'FileType',
|
|
@@ -2939,8 +2999,10 @@ class ModifyChatappTemplateRequestComponents extends $tea.Model {
|
|
|
2939
2999
|
}
|
|
2940
3000
|
static types() {
|
|
2941
3001
|
return {
|
|
3002
|
+
addSecretRecommendation: 'boolean',
|
|
2942
3003
|
buttons: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtons },
|
|
2943
3004
|
caption: 'string',
|
|
3005
|
+
codeExpirationMinutes: 'number',
|
|
2944
3006
|
duration: 'number',
|
|
2945
3007
|
fileName: 'string',
|
|
2946
3008
|
fileType: 'string',
|
|
@@ -3548,7 +3610,7 @@ class Client extends openapi_client_1.default {
|
|
|
3548
3610
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
3549
3611
|
}
|
|
3550
3612
|
/**
|
|
3551
|
-
*
|
|
3613
|
+
* The status of the phone number.
|
|
3552
3614
|
*
|
|
3553
3615
|
* @param request CreateChatappMigrationInitiateRequest
|
|
3554
3616
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3583,7 +3645,7 @@ class Client extends openapi_client_1.default {
|
|
|
3583
3645
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
3584
3646
|
}
|
|
3585
3647
|
/**
|
|
3586
|
-
*
|
|
3648
|
+
* The status of the phone number.
|
|
3587
3649
|
*
|
|
3588
3650
|
* @param request CreateChatappMigrationInitiateRequest
|
|
3589
3651
|
* @return CreateChatappMigrationInitiateResponse
|
|
@@ -3593,8 +3655,7 @@ class Client extends openapi_client_1.default {
|
|
|
3593
3655
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
3594
3656
|
}
|
|
3595
3657
|
/**
|
|
3596
|
-
*
|
|
3597
|
-
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3658
|
+
* The error message.
|
|
3598
3659
|
*
|
|
3599
3660
|
* @param tmpReq CreateChatappTemplateRequest
|
|
3600
3661
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3658,8 +3719,7 @@ class Client extends openapi_client_1.default {
|
|
|
3658
3719
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
|
|
3659
3720
|
}
|
|
3660
3721
|
/**
|
|
3661
|
-
*
|
|
3662
|
-
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3722
|
+
* The error message.
|
|
3663
3723
|
*
|
|
3664
3724
|
* @param request CreateChatappTemplateRequest
|
|
3665
3725
|
* @return CreateChatappTemplateResponse
|
|
@@ -3719,8 +3779,7 @@ class Client extends openapi_client_1.default {
|
|
|
3719
3779
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
3720
3780
|
}
|
|
3721
3781
|
/**
|
|
3722
|
-
*
|
|
3723
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3782
|
+
* The type of the file attached in the Viber message template.
|
|
3724
3783
|
*
|
|
3725
3784
|
* @param request GetChatappTemplateDetailRequest
|
|
3726
3785
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3764,8 +3823,7 @@ class Client extends openapi_client_1.default {
|
|
|
3764
3823
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
3765
3824
|
}
|
|
3766
3825
|
/**
|
|
3767
|
-
*
|
|
3768
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3826
|
+
* The type of the file attached in the Viber message template.
|
|
3769
3827
|
*
|
|
3770
3828
|
* @param request GetChatappTemplateDetailRequest
|
|
3771
3829
|
* @return GetChatappTemplateDetailResponse
|
|
@@ -3775,7 +3833,7 @@ class Client extends openapi_client_1.default {
|
|
|
3775
3833
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3776
3834
|
}
|
|
3777
3835
|
/**
|
|
3778
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
3836
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3779
3837
|
*
|
|
3780
3838
|
* @param request GetChatappUploadAuthorizationRequest
|
|
3781
3839
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3804,7 +3862,7 @@ class Client extends openapi_client_1.default {
|
|
|
3804
3862
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
3805
3863
|
}
|
|
3806
3864
|
/**
|
|
3807
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
3865
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3808
3866
|
*
|
|
3809
3867
|
* @param request GetChatappUploadAuthorizationRequest
|
|
3810
3868
|
* @return GetChatappUploadAuthorizationResponse
|
|
@@ -3862,7 +3920,7 @@ class Client extends openapi_client_1.default {
|
|
|
3862
3920
|
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
3863
3921
|
}
|
|
3864
3922
|
/**
|
|
3865
|
-
*
|
|
3923
|
+
* The ID of the phone number.
|
|
3866
3924
|
*
|
|
3867
3925
|
* @param request GetMigrationVerifyCodeRequest
|
|
3868
3926
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3900,7 +3958,7 @@ class Client extends openapi_client_1.default {
|
|
|
3900
3958
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
|
|
3901
3959
|
}
|
|
3902
3960
|
/**
|
|
3903
|
-
*
|
|
3961
|
+
* The ID of the phone number.
|
|
3904
3962
|
*
|
|
3905
3963
|
* @param request GetMigrationVerifyCodeRequest
|
|
3906
3964
|
* @return GetMigrationVerifyCodeResponse
|
|
@@ -3952,7 +4010,7 @@ class Client extends openapi_client_1.default {
|
|
|
3952
4010
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
3953
4011
|
}
|
|
3954
4012
|
/**
|
|
3955
|
-
*
|
|
4013
|
+
* The message ID.
|
|
3956
4014
|
*
|
|
3957
4015
|
* @param request IsvGetAppIdRequest
|
|
3958
4016
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3981,7 +4039,7 @@ class Client extends openapi_client_1.default {
|
|
|
3981
4039
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
3982
4040
|
}
|
|
3983
4041
|
/**
|
|
3984
|
-
*
|
|
4042
|
+
* The message ID.
|
|
3985
4043
|
*
|
|
3986
4044
|
* @param request IsvGetAppIdRequest
|
|
3987
4045
|
* @return IsvGetAppIdResponse
|
|
@@ -4058,8 +4116,7 @@ class Client extends openapi_client_1.default {
|
|
|
4058
4116
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
4059
4117
|
}
|
|
4060
4118
|
/**
|
|
4061
|
-
*
|
|
4062
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4119
|
+
* The name of the message template.
|
|
4063
4120
|
*
|
|
4064
4121
|
* @param tmpReq ModifyChatappTemplateRequest
|
|
4065
4122
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4120,8 +4177,7 @@ class Client extends openapi_client_1.default {
|
|
|
4120
4177
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyChatappTemplateResponse({}));
|
|
4121
4178
|
}
|
|
4122
4179
|
/**
|
|
4123
|
-
*
|
|
4124
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4180
|
+
* The name of the message template.
|
|
4125
4181
|
*
|
|
4126
4182
|
* @param request ModifyChatappTemplateRequest
|
|
4127
4183
|
* @return ModifyChatappTemplateResponse
|
|
@@ -4452,7 +4508,7 @@ class Client extends openapi_client_1.default {
|
|
|
4452
4508
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
4453
4509
|
}
|
|
4454
4510
|
/**
|
|
4455
|
-
* You can call this operation up to 200 times per second per account. If the number of
|
|
4511
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4456
4512
|
*
|
|
4457
4513
|
* @param tmpReq SendChatappMessageRequest
|
|
4458
4514
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4554,7 +4610,7 @@ class Client extends openapi_client_1.default {
|
|
|
4554
4610
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
4555
4611
|
}
|
|
4556
4612
|
/**
|
|
4557
|
-
* You can call this operation up to 200 times per second per account. If the number of
|
|
4613
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4558
4614
|
*
|
|
4559
4615
|
* @param request SendChatappMessageRequest
|
|
4560
4616
|
* @return SendChatappMessageResponse
|
|
@@ -4564,7 +4620,7 @@ class Client extends openapi_client_1.default {
|
|
|
4564
4620
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
4565
4621
|
}
|
|
4566
4622
|
/**
|
|
4567
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
4623
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4568
4624
|
*
|
|
4569
4625
|
* @param request SubmitIsvCustomerTermsRequest
|
|
4570
4626
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4611,7 +4667,7 @@ class Client extends openapi_client_1.default {
|
|
|
4611
4667
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
4612
4668
|
}
|
|
4613
4669
|
/**
|
|
4614
|
-
* You can call this operation up to five times per second per account. If the number of
|
|
4670
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4615
4671
|
*
|
|
4616
4672
|
* @param request SubmitIsvCustomerTermsRequest
|
|
4617
4673
|
* @return SubmitIsvCustomerTermsResponse
|
|
@@ -4669,7 +4725,7 @@ class Client extends openapi_client_1.default {
|
|
|
4669
4725
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
4670
4726
|
}
|
|
4671
4727
|
/**
|
|
4672
|
-
*
|
|
4728
|
+
* The error message returned.
|
|
4673
4729
|
*
|
|
4674
4730
|
* @param request UpdatePhoneWebhookRequest
|
|
4675
4731
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4713,7 +4769,7 @@ class Client extends openapi_client_1.default {
|
|
|
4713
4769
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
4714
4770
|
}
|
|
4715
4771
|
/**
|
|
4716
|
-
*
|
|
4772
|
+
* The error message returned.
|
|
4717
4773
|
*
|
|
4718
4774
|
* @param request UpdatePhoneWebhookRequest
|
|
4719
4775
|
* @return UpdatePhoneWebhookResponse
|