@alicloud/cams20200606 1.0.19 → 1.0.20
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 +57 -20
- package/dist/client.js +80 -25
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +94 -25
package/dist/client.d.ts
CHANGED
|
@@ -498,6 +498,7 @@ export declare class CreateChatappMigrationInitiateResponse extends $tea.Model {
|
|
|
498
498
|
});
|
|
499
499
|
}
|
|
500
500
|
export declare class CreateChatappTemplateRequest extends $tea.Model {
|
|
501
|
+
allowCategoryChange?: boolean;
|
|
501
502
|
category?: string;
|
|
502
503
|
components?: CreateChatappTemplateRequestComponents[];
|
|
503
504
|
custSpaceId?: string;
|
|
@@ -520,6 +521,7 @@ export declare class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
520
521
|
});
|
|
521
522
|
}
|
|
522
523
|
export declare class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
524
|
+
allowCategoryChange?: boolean;
|
|
523
525
|
category?: string;
|
|
524
526
|
componentsShrink?: string;
|
|
525
527
|
custSpaceId?: string;
|
|
@@ -927,6 +929,7 @@ export declare class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
927
929
|
listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
|
|
928
930
|
message?: string;
|
|
929
931
|
requestId?: string;
|
|
932
|
+
total?: number;
|
|
930
933
|
static names(): {
|
|
931
934
|
[key: string]: string;
|
|
932
935
|
};
|
|
@@ -1275,6 +1278,7 @@ export declare class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1275
1278
|
custSpaceId?: string;
|
|
1276
1279
|
custWabaId?: string;
|
|
1277
1280
|
fallBackContent?: string;
|
|
1281
|
+
fallBackDuration?: number;
|
|
1278
1282
|
fallBackId?: string;
|
|
1279
1283
|
from?: string;
|
|
1280
1284
|
isvCode?: string;
|
|
@@ -1300,6 +1304,7 @@ export declare class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1300
1304
|
custSpaceId?: string;
|
|
1301
1305
|
custWabaId?: string;
|
|
1302
1306
|
fallBackContent?: string;
|
|
1307
|
+
fallBackDuration?: number;
|
|
1303
1308
|
fallBackId?: string;
|
|
1304
1309
|
from?: string;
|
|
1305
1310
|
isvCode?: string;
|
|
@@ -1358,6 +1363,7 @@ export declare class SendChatappMessageRequest extends $tea.Model {
|
|
|
1358
1363
|
custSpaceId?: string;
|
|
1359
1364
|
custWabaId?: string;
|
|
1360
1365
|
fallBackContent?: string;
|
|
1366
|
+
fallBackDuration?: number;
|
|
1361
1367
|
fallBackId?: string;
|
|
1362
1368
|
from?: string;
|
|
1363
1369
|
isvCode?: string;
|
|
@@ -1392,6 +1398,7 @@ export declare class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
1392
1398
|
custSpaceId?: string;
|
|
1393
1399
|
custWabaId?: string;
|
|
1394
1400
|
fallBackContent?: string;
|
|
1401
|
+
fallBackDuration?: number;
|
|
1395
1402
|
fallBackId?: string;
|
|
1396
1403
|
from?: string;
|
|
1397
1404
|
isvCode?: string;
|
|
@@ -1887,6 +1894,10 @@ export declare class GetChatappTemplateDetailResponseBodyDataComponents extends
|
|
|
1887
1894
|
fileName?: string;
|
|
1888
1895
|
fileType?: string;
|
|
1889
1896
|
format?: string;
|
|
1897
|
+
latitude?: string;
|
|
1898
|
+
locationAddress?: string;
|
|
1899
|
+
locationName?: string;
|
|
1900
|
+
longitude?: string;
|
|
1890
1901
|
text?: string;
|
|
1891
1902
|
thumbUrl?: string;
|
|
1892
1903
|
type?: string;
|
|
@@ -2140,7 +2151,7 @@ export default class Client extends OpenApi {
|
|
|
2140
2151
|
[key: string]: string;
|
|
2141
2152
|
}, endpoint: string): string;
|
|
2142
2153
|
/**
|
|
2143
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
2154
|
+
* You can call this operation up to 100 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.
|
|
2144
2155
|
*
|
|
2145
2156
|
* @param tmpReq BeeBotAssociateRequest
|
|
2146
2157
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2148,14 +2159,14 @@ export default class Client extends OpenApi {
|
|
|
2148
2159
|
*/
|
|
2149
2160
|
beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse>;
|
|
2150
2161
|
/**
|
|
2151
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
2162
|
+
* You can call this operation up to 100 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.
|
|
2152
2163
|
*
|
|
2153
2164
|
* @param request BeeBotAssociateRequest
|
|
2154
2165
|
* @return BeeBotAssociateResponse
|
|
2155
2166
|
*/
|
|
2156
2167
|
beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse>;
|
|
2157
2168
|
/**
|
|
2158
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
2169
|
+
* You can call this operation up to 100 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.
|
|
2159
2170
|
*
|
|
2160
2171
|
* @param tmpReq BeeBotChatRequest
|
|
2161
2172
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2163,7 +2174,7 @@ export default class Client extends OpenApi {
|
|
|
2163
2174
|
*/
|
|
2164
2175
|
beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse>;
|
|
2165
2176
|
/**
|
|
2166
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
2177
|
+
* You can call this operation up to 100 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.
|
|
2167
2178
|
*
|
|
2168
2179
|
* @param request BeeBotChatRequest
|
|
2169
2180
|
* @return BeeBotChatResponse
|
|
@@ -2291,7 +2302,7 @@ export default class Client extends OpenApi {
|
|
|
2291
2302
|
createChatappMigrationInitiate(request: CreateChatappMigrationInitiateRequest): Promise<CreateChatappMigrationInitiateResponse>;
|
|
2292
2303
|
/**
|
|
2293
2304
|
* ### QPS limit
|
|
2294
|
-
* You can call this operation up to
|
|
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.
|
|
2295
2306
|
*
|
|
2296
2307
|
* @param tmpReq CreateChatappTemplateRequest
|
|
2297
2308
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2300,7 +2311,7 @@ export default class Client extends OpenApi {
|
|
|
2300
2311
|
createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse>;
|
|
2301
2312
|
/**
|
|
2302
2313
|
* ### QPS limit
|
|
2303
|
-
* You can call this operation up to
|
|
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.
|
|
2304
2315
|
*
|
|
2305
2316
|
* @param request CreateChatappTemplateRequest
|
|
2306
2317
|
* @return CreateChatappTemplateResponse
|
|
@@ -2308,7 +2319,7 @@ export default class Client extends OpenApi {
|
|
|
2308
2319
|
createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse>;
|
|
2309
2320
|
/**
|
|
2310
2321
|
* ### QPS limit
|
|
2311
|
-
* 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.
|
|
2322
|
+
* 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.
|
|
2312
2323
|
*
|
|
2313
2324
|
* @param request DeleteChatappTemplateRequest
|
|
2314
2325
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2317,7 +2328,7 @@ export default class Client extends OpenApi {
|
|
|
2317
2328
|
deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse>;
|
|
2318
2329
|
/**
|
|
2319
2330
|
* ### QPS limit
|
|
2320
|
-
* 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.
|
|
2331
|
+
* 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.
|
|
2321
2332
|
*
|
|
2322
2333
|
* @param request DeleteChatappTemplateRequest
|
|
2323
2334
|
* @return DeleteChatappTemplateResponse
|
|
@@ -2325,7 +2336,7 @@ export default class Client extends OpenApi {
|
|
|
2325
2336
|
deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse>;
|
|
2326
2337
|
/**
|
|
2327
2338
|
* ### QPS limit
|
|
2328
|
-
* You can call this operation up to
|
|
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.
|
|
2329
2340
|
*
|
|
2330
2341
|
* @param request GetChatappTemplateDetailRequest
|
|
2331
2342
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2334,13 +2345,26 @@ export default class Client extends OpenApi {
|
|
|
2334
2345
|
getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse>;
|
|
2335
2346
|
/**
|
|
2336
2347
|
* ### QPS limit
|
|
2337
|
-
* You can call this operation up to
|
|
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.
|
|
2338
2349
|
*
|
|
2339
2350
|
* @param request GetChatappTemplateDetailRequest
|
|
2340
2351
|
* @return GetChatappTemplateDetailResponse
|
|
2341
2352
|
*/
|
|
2342
2353
|
getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
|
|
2354
|
+
/**
|
|
2355
|
+
* 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.
|
|
2356
|
+
*
|
|
2357
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
2358
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2359
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
2360
|
+
*/
|
|
2343
2361
|
getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse>;
|
|
2362
|
+
/**
|
|
2363
|
+
* 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.
|
|
2364
|
+
*
|
|
2365
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
2366
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
2367
|
+
*/
|
|
2344
2368
|
getChatappUploadAuthorization(request: GetChatappUploadAuthorizationRequest): Promise<GetChatappUploadAuthorizationResponse>;
|
|
2345
2369
|
/**
|
|
2346
2370
|
* You can call this operation up to 10 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.
|
|
@@ -2404,7 +2428,7 @@ export default class Client extends OpenApi {
|
|
|
2404
2428
|
isvGetAppId(request: IsvGetAppIdRequest): Promise<IsvGetAppIdResponse>;
|
|
2405
2429
|
/**
|
|
2406
2430
|
* ### QPS limit
|
|
2407
|
-
* You can call this operation up to
|
|
2431
|
+
* 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.
|
|
2408
2432
|
*
|
|
2409
2433
|
* @param tmpReq ListChatappTemplateRequest
|
|
2410
2434
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2413,7 +2437,7 @@ export default class Client extends OpenApi {
|
|
|
2413
2437
|
listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse>;
|
|
2414
2438
|
/**
|
|
2415
2439
|
* ### QPS limit
|
|
2416
|
-
* You can call this operation up to
|
|
2440
|
+
* 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.
|
|
2417
2441
|
*
|
|
2418
2442
|
* @param request ListChatappTemplateRequest
|
|
2419
2443
|
* @return ListChatappTemplateResponse
|
|
@@ -2452,7 +2476,7 @@ export default class Client extends OpenApi {
|
|
|
2452
2476
|
*/
|
|
2453
2477
|
modifyPhoneBusinessProfile(request: ModifyPhoneBusinessProfileRequest): Promise<ModifyPhoneBusinessProfileResponse>;
|
|
2454
2478
|
/**
|
|
2455
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
2479
|
+
* You can call this operation up to 10 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.
|
|
2456
2480
|
*
|
|
2457
2481
|
* @param request QueryChatappBindWabaRequest
|
|
2458
2482
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2460,14 +2484,14 @@ export default class Client extends OpenApi {
|
|
|
2460
2484
|
*/
|
|
2461
2485
|
queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse>;
|
|
2462
2486
|
/**
|
|
2463
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
2487
|
+
* You can call this operation up to 10 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.
|
|
2464
2488
|
*
|
|
2465
2489
|
* @param request QueryChatappBindWabaRequest
|
|
2466
2490
|
* @return QueryChatappBindWabaResponse
|
|
2467
2491
|
*/
|
|
2468
2492
|
queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse>;
|
|
2469
2493
|
/**
|
|
2470
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
2494
|
+
* You can call this operation up to 10 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.
|
|
2471
2495
|
*
|
|
2472
2496
|
* @param request QueryChatappPhoneNumbersRequest
|
|
2473
2497
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2475,7 +2499,7 @@ export default class Client extends OpenApi {
|
|
|
2475
2499
|
*/
|
|
2476
2500
|
queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse>;
|
|
2477
2501
|
/**
|
|
2478
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
2502
|
+
* You can call this operation up to 10 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.
|
|
2479
2503
|
*
|
|
2480
2504
|
* @param request QueryChatappPhoneNumbersRequest
|
|
2481
2505
|
* @return QueryChatappPhoneNumbersResponse
|
|
@@ -2512,7 +2536,7 @@ export default class Client extends OpenApi {
|
|
|
2512
2536
|
*/
|
|
2513
2537
|
queryWabaBusinessInfo(request: QueryWabaBusinessInfoRequest): Promise<QueryWabaBusinessInfoResponse>;
|
|
2514
2538
|
/**
|
|
2515
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
2539
|
+
* You can call this operation up to 10 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.
|
|
2516
2540
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
2517
2541
|
*
|
|
2518
2542
|
* @param tmpReq SendChatappMassMessageRequest
|
|
@@ -2521,7 +2545,7 @@ export default class Client extends OpenApi {
|
|
|
2521
2545
|
*/
|
|
2522
2546
|
sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse>;
|
|
2523
2547
|
/**
|
|
2524
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
2548
|
+
* You can call this operation up to 10 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.
|
|
2525
2549
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
2526
2550
|
*
|
|
2527
2551
|
* @param request SendChatappMassMessageRequest
|
|
@@ -2529,7 +2553,7 @@ export default class Client extends OpenApi {
|
|
|
2529
2553
|
*/
|
|
2530
2554
|
sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse>;
|
|
2531
2555
|
/**
|
|
2532
|
-
* 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.
|
|
2556
|
+
* You can call this operation up to 200 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.
|
|
2533
2557
|
*
|
|
2534
2558
|
* @param tmpReq SendChatappMessageRequest
|
|
2535
2559
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2537,13 +2561,26 @@ export default class Client extends OpenApi {
|
|
|
2537
2561
|
*/
|
|
2538
2562
|
sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse>;
|
|
2539
2563
|
/**
|
|
2540
|
-
* 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.
|
|
2564
|
+
* You can call this operation up to 200 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.
|
|
2541
2565
|
*
|
|
2542
2566
|
* @param request SendChatappMessageRequest
|
|
2543
2567
|
* @return SendChatappMessageResponse
|
|
2544
2568
|
*/
|
|
2545
2569
|
sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse>;
|
|
2570
|
+
/**
|
|
2571
|
+
* 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.
|
|
2572
|
+
*
|
|
2573
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
2574
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2575
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
2576
|
+
*/
|
|
2546
2577
|
submitIsvCustomerTermsWithOptions(request: SubmitIsvCustomerTermsRequest, runtime: $Util.RuntimeOptions): Promise<SubmitIsvCustomerTermsResponse>;
|
|
2578
|
+
/**
|
|
2579
|
+
* 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.
|
|
2580
|
+
*
|
|
2581
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
2582
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
2583
|
+
*/
|
|
2547
2584
|
submitIsvCustomerTerms(request: SubmitIsvCustomerTermsRequest): Promise<SubmitIsvCustomerTermsResponse>;
|
|
2548
2585
|
/**
|
|
2549
2586
|
* You can call this operation up to 10 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.
|