@alicloud/cams20200606 1.0.17 → 1.0.19

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 CHANGED
@@ -621,6 +621,7 @@ export declare class GetChatappTemplateDetailRequest extends $tea.Model {
621
621
  isvCode?: string;
622
622
  language?: string;
623
623
  templateCode?: string;
624
+ templateType?: string;
624
625
  static names(): {
625
626
  [key: string]: string;
626
627
  };
@@ -662,6 +663,49 @@ export declare class GetChatappTemplateDetailResponse extends $tea.Model {
662
663
  [key: string]: any;
663
664
  });
664
665
  }
666
+ export declare class GetChatappUploadAuthorizationRequest extends $tea.Model {
667
+ custSpaceId?: string;
668
+ static names(): {
669
+ [key: string]: string;
670
+ };
671
+ static types(): {
672
+ [key: string]: any;
673
+ };
674
+ constructor(map?: {
675
+ [key: string]: any;
676
+ });
677
+ }
678
+ export declare class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
679
+ code?: string;
680
+ data?: GetChatappUploadAuthorizationResponseBodyData;
681
+ message?: string;
682
+ requestId?: string;
683
+ static names(): {
684
+ [key: string]: string;
685
+ };
686
+ static types(): {
687
+ [key: string]: any;
688
+ };
689
+ constructor(map?: {
690
+ [key: string]: any;
691
+ });
692
+ }
693
+ export declare class GetChatappUploadAuthorizationResponse extends $tea.Model {
694
+ headers: {
695
+ [key: string]: string;
696
+ };
697
+ statusCode: number;
698
+ body: GetChatappUploadAuthorizationResponseBody;
699
+ static names(): {
700
+ [key: string]: string;
701
+ };
702
+ static types(): {
703
+ [key: string]: any;
704
+ };
705
+ constructor(map?: {
706
+ [key: string]: any;
707
+ });
708
+ }
665
709
  export declare class GetChatappVerifyCodeRequest extends $tea.Model {
666
710
  custSpaceId?: string;
667
711
  locale?: string;
@@ -848,6 +892,7 @@ export declare class ListChatappTemplateRequest extends $tea.Model {
848
892
  language?: string;
849
893
  name?: string;
850
894
  page?: ListChatappTemplateRequestPage;
895
+ templateType?: string;
851
896
  static names(): {
852
897
  [key: string]: string;
853
898
  };
@@ -866,6 +911,7 @@ export declare class ListChatappTemplateShrinkRequest extends $tea.Model {
866
911
  language?: string;
867
912
  name?: string;
868
913
  pageShrink?: string;
914
+ templateType?: string;
869
915
  static names(): {
870
916
  [key: string]: string;
871
917
  };
@@ -908,6 +954,7 @@ export declare class ListChatappTemplateResponse extends $tea.Model {
908
954
  });
909
955
  }
910
956
  export declare class ModifyChatappTemplateRequest extends $tea.Model {
957
+ category?: string;
911
958
  components?: ModifyChatappTemplateRequestComponents[];
912
959
  custSpaceId?: string;
913
960
  custWabaId?: string;
@@ -917,6 +964,7 @@ export declare class ModifyChatappTemplateRequest extends $tea.Model {
917
964
  isvCode?: string;
918
965
  language?: string;
919
966
  templateCode?: string;
967
+ templateType?: string;
920
968
  static names(): {
921
969
  [key: string]: string;
922
970
  };
@@ -928,6 +976,7 @@ export declare class ModifyChatappTemplateRequest extends $tea.Model {
928
976
  });
929
977
  }
930
978
  export declare class ModifyChatappTemplateShrinkRequest extends $tea.Model {
979
+ category?: string;
931
980
  componentsShrink?: string;
932
981
  custSpaceId?: string;
933
982
  custWabaId?: string;
@@ -935,6 +984,7 @@ export declare class ModifyChatappTemplateShrinkRequest extends $tea.Model {
935
984
  isvCode?: string;
936
985
  language?: string;
937
986
  templateCode?: string;
987
+ templateType?: string;
938
988
  static names(): {
939
989
  [key: string]: string;
940
990
  };
@@ -1316,6 +1366,7 @@ export declare class SendChatappMessageRequest extends $tea.Model {
1316
1366
  messageType?: string;
1317
1367
  payload?: string[];
1318
1368
  tag?: string;
1369
+ taskId?: string;
1319
1370
  templateCode?: string;
1320
1371
  templateParams?: {
1321
1372
  [key: string]: string;
@@ -1349,6 +1400,7 @@ export declare class SendChatappMessageShrinkRequest extends $tea.Model {
1349
1400
  messageType?: string;
1350
1401
  payloadShrink?: string;
1351
1402
  tag?: string;
1403
+ taskId?: string;
1352
1404
  templateCode?: string;
1353
1405
  templateParamsShrink?: string;
1354
1406
  to?: string;
@@ -1396,6 +1448,54 @@ export declare class SendChatappMessageResponse extends $tea.Model {
1396
1448
  [key: string]: any;
1397
1449
  });
1398
1450
  }
1451
+ export declare class SubmitIsvCustomerTermsRequest extends $tea.Model {
1452
+ businessDesc?: string;
1453
+ contactMail?: string;
1454
+ countryId?: string;
1455
+ custName?: string;
1456
+ custSpaceId?: string;
1457
+ isvTerms?: string;
1458
+ officeAddress?: string;
1459
+ static names(): {
1460
+ [key: string]: string;
1461
+ };
1462
+ static types(): {
1463
+ [key: string]: any;
1464
+ };
1465
+ constructor(map?: {
1466
+ [key: string]: any;
1467
+ });
1468
+ }
1469
+ export declare class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
1470
+ code?: string;
1471
+ message?: string;
1472
+ requestId?: string;
1473
+ static names(): {
1474
+ [key: string]: string;
1475
+ };
1476
+ static types(): {
1477
+ [key: string]: any;
1478
+ };
1479
+ constructor(map?: {
1480
+ [key: string]: any;
1481
+ });
1482
+ }
1483
+ export declare class SubmitIsvCustomerTermsResponse extends $tea.Model {
1484
+ headers: {
1485
+ [key: string]: string;
1486
+ };
1487
+ statusCode: number;
1488
+ body: SubmitIsvCustomerTermsResponseBody;
1489
+ static names(): {
1490
+ [key: string]: string;
1491
+ };
1492
+ static types(): {
1493
+ [key: string]: any;
1494
+ };
1495
+ constructor(map?: {
1496
+ [key: string]: any;
1497
+ });
1498
+ }
1399
1499
  export declare class UpdateAccountWebhookRequest extends $tea.Model {
1400
1500
  custSpaceId?: string;
1401
1501
  httpFlag?: string;
@@ -1733,9 +1833,12 @@ export declare class CreateChatappTemplateRequestComponentsButtons extends $tea.
1733
1833
  export declare class CreateChatappTemplateRequestComponents extends $tea.Model {
1734
1834
  buttons?: CreateChatappTemplateRequestComponentsButtons[];
1735
1835
  caption?: string;
1836
+ duration?: number;
1736
1837
  fileName?: string;
1838
+ fileType?: string;
1737
1839
  format?: string;
1738
1840
  text?: string;
1841
+ thumbUrl?: string;
1739
1842
  type?: string;
1740
1843
  url?: string;
1741
1844
  static names(): {
@@ -1780,9 +1883,12 @@ export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtons e
1780
1883
  export declare class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
1781
1884
  buttons?: GetChatappTemplateDetailResponseBodyDataComponentsButtons[];
1782
1885
  caption?: string;
1886
+ duration?: number;
1783
1887
  fileName?: string;
1888
+ fileType?: string;
1784
1889
  format?: string;
1785
1890
  text?: string;
1891
+ thumbUrl?: string;
1786
1892
  type?: string;
1787
1893
  url?: string;
1788
1894
  static names(): {
@@ -1805,6 +1911,25 @@ export declare class GetChatappTemplateDetailResponseBodyData extends $tea.Model
1805
1911
  language?: string;
1806
1912
  name?: string;
1807
1913
  templateCode?: string;
1914
+ templateType?: string;
1915
+ static names(): {
1916
+ [key: string]: string;
1917
+ };
1918
+ static types(): {
1919
+ [key: string]: any;
1920
+ };
1921
+ constructor(map?: {
1922
+ [key: string]: any;
1923
+ });
1924
+ }
1925
+ export declare class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
1926
+ accessKeyId?: string;
1927
+ accessKeySecret?: string;
1928
+ bucketName?: string;
1929
+ dir?: string;
1930
+ endPoint?: string;
1931
+ expire?: number;
1932
+ securityToken?: string;
1808
1933
  static names(): {
1809
1934
  [key: string]: string;
1810
1935
  };
@@ -1861,6 +1986,7 @@ export declare class ListChatappTemplateResponseBodyListTemplate extends $tea.Mo
1861
1986
  language?: string;
1862
1987
  templateCode?: string;
1863
1988
  templateName?: string;
1989
+ templateType?: string;
1864
1990
  static names(): {
1865
1991
  [key: string]: string;
1866
1992
  };
@@ -1890,9 +2016,12 @@ export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.
1890
2016
  export declare class ModifyChatappTemplateRequestComponents extends $tea.Model {
1891
2017
  buttons?: ModifyChatappTemplateRequestComponentsButtons[];
1892
2018
  caption?: string;
2019
+ duration?: number;
1893
2020
  fileName?: string;
2021
+ fileType?: string;
1894
2022
  format?: string;
1895
2023
  text?: string;
2024
+ thumbUrl?: string;
1896
2025
  type?: string;
1897
2026
  url?: string;
1898
2027
  static names(): {
@@ -2041,7 +2170,7 @@ export default class Client extends OpenApi {
2041
2170
  */
2042
2171
  beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse>;
2043
2172
  /**
2044
- * You can call this operation up to 10 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.
2173
+ * 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.
2045
2174
  *
2046
2175
  * @param request ChatappBindWabaRequest
2047
2176
  * @param runtime runtime options for this request RuntimeOptions
@@ -2049,7 +2178,7 @@ export default class Client extends OpenApi {
2049
2178
  */
2050
2179
  chatappBindWabaWithOptions(request: ChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<ChatappBindWabaResponse>;
2051
2180
  /**
2052
- * You can call this operation up to 10 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.
2181
+ * 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.
2053
2182
  *
2054
2183
  * @param request ChatappBindWabaRequest
2055
2184
  * @return ChatappBindWabaResponse
@@ -2070,9 +2199,35 @@ export default class Client extends OpenApi {
2070
2199
  * @return ChatappEmbedSignUpResponse
2071
2200
  */
2072
2201
  chatappEmbedSignUp(request: ChatappEmbedSignUpRequest): Promise<ChatappEmbedSignUpResponse>;
2202
+ /**
2203
+ * 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.
2204
+ *
2205
+ * @param request ChatappMigrationRegisterRequest
2206
+ * @param runtime runtime options for this request RuntimeOptions
2207
+ * @return ChatappMigrationRegisterResponse
2208
+ */
2073
2209
  chatappMigrationRegisterWithOptions(request: ChatappMigrationRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappMigrationRegisterResponse>;
2210
+ /**
2211
+ * 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.
2212
+ *
2213
+ * @param request ChatappMigrationRegisterRequest
2214
+ * @return ChatappMigrationRegisterResponse
2215
+ */
2074
2216
  chatappMigrationRegister(request: ChatappMigrationRegisterRequest): Promise<ChatappMigrationRegisterResponse>;
2217
+ /**
2218
+ * 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.
2219
+ *
2220
+ * @param request ChatappMigrationVerifiedRequest
2221
+ * @param runtime runtime options for this request RuntimeOptions
2222
+ * @return ChatappMigrationVerifiedResponse
2223
+ */
2075
2224
  chatappMigrationVerifiedWithOptions(request: ChatappMigrationVerifiedRequest, runtime: $Util.RuntimeOptions): Promise<ChatappMigrationVerifiedResponse>;
2225
+ /**
2226
+ * 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.
2227
+ *
2228
+ * @param request ChatappMigrationVerifiedRequest
2229
+ * @return ChatappMigrationVerifiedResponse
2230
+ */
2076
2231
  chatappMigrationVerified(request: ChatappMigrationVerifiedRequest): Promise<ChatappMigrationVerifiedResponse>;
2077
2232
  /**
2078
2233
  * 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.
@@ -2153,7 +2308,7 @@ export default class Client extends OpenApi {
2153
2308
  createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse>;
2154
2309
  /**
2155
2310
  * ### QPS limit
2156
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
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.
2157
2312
  *
2158
2313
  * @param request DeleteChatappTemplateRequest
2159
2314
  * @param runtime runtime options for this request RuntimeOptions
@@ -2162,7 +2317,7 @@ export default class Client extends OpenApi {
2162
2317
  deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse>;
2163
2318
  /**
2164
2319
  * ### QPS limit
2165
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
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.
2166
2321
  *
2167
2322
  * @param request DeleteChatappTemplateRequest
2168
2323
  * @return DeleteChatappTemplateResponse
@@ -2185,6 +2340,8 @@ export default class Client extends OpenApi {
2185
2340
  * @return GetChatappTemplateDetailResponse
2186
2341
  */
2187
2342
  getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
2343
+ getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse>;
2344
+ getChatappUploadAuthorization(request: GetChatappUploadAuthorizationRequest): Promise<GetChatappUploadAuthorizationResponse>;
2188
2345
  /**
2189
2346
  * 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.
2190
2347
  *
@@ -2200,7 +2357,20 @@ export default class Client extends OpenApi {
2200
2357
  * @return GetChatappVerifyCodeResponse
2201
2358
  */
2202
2359
  getChatappVerifyCode(request: GetChatappVerifyCodeRequest): Promise<GetChatappVerifyCodeResponse>;
2360
+ /**
2361
+ * 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.
2362
+ *
2363
+ * @param request GetMigrationVerifyCodeRequest
2364
+ * @param runtime runtime options for this request RuntimeOptions
2365
+ * @return GetMigrationVerifyCodeResponse
2366
+ */
2203
2367
  getMigrationVerifyCodeWithOptions(request: GetMigrationVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetMigrationVerifyCodeResponse>;
2368
+ /**
2369
+ * 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.
2370
+ *
2371
+ * @param request GetMigrationVerifyCodeRequest
2372
+ * @return GetMigrationVerifyCodeResponse
2373
+ */
2204
2374
  getMigrationVerifyCode(request: GetMigrationVerifyCodeRequest): Promise<GetMigrationVerifyCodeResponse>;
2205
2375
  /**
2206
2376
  * 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.
@@ -2249,7 +2419,22 @@ export default class Client extends OpenApi {
2249
2419
  * @return ListChatappTemplateResponse
2250
2420
  */
2251
2421
  listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
2422
+ /**
2423
+ * ### QPS limit
2424
+ * 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.
2425
+ *
2426
+ * @param tmpReq ModifyChatappTemplateRequest
2427
+ * @param runtime runtime options for this request RuntimeOptions
2428
+ * @return ModifyChatappTemplateResponse
2429
+ */
2252
2430
  modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse>;
2431
+ /**
2432
+ * ### QPS limit
2433
+ * 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.
2434
+ *
2435
+ * @param request ModifyChatappTemplateRequest
2436
+ * @return ModifyChatappTemplateResponse
2437
+ */
2253
2438
  modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse>;
2254
2439
  /**
2255
2440
  * 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.
@@ -2327,7 +2512,7 @@ export default class Client extends OpenApi {
2327
2512
  */
2328
2513
  queryWabaBusinessInfo(request: QueryWabaBusinessInfoRequest): Promise<QueryWabaBusinessInfoResponse>;
2329
2514
  /**
2330
- * 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.
2515
+ * You can call this operation up to 10 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.
2331
2516
  * You can send messages to up to 1,000 phone numbers in a single request.
2332
2517
  *
2333
2518
  * @param tmpReq SendChatappMassMessageRequest
@@ -2336,7 +2521,7 @@ export default class Client extends OpenApi {
2336
2521
  */
2337
2522
  sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse>;
2338
2523
  /**
2339
- * 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.
2524
+ * You can call this operation up to 10 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.
2340
2525
  * You can send messages to up to 1,000 phone numbers in a single request.
2341
2526
  *
2342
2527
  * @param request SendChatappMassMessageRequest
@@ -2358,7 +2543,22 @@ export default class Client extends OpenApi {
2358
2543
  * @return SendChatappMessageResponse
2359
2544
  */
2360
2545
  sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse>;
2546
+ submitIsvCustomerTermsWithOptions(request: SubmitIsvCustomerTermsRequest, runtime: $Util.RuntimeOptions): Promise<SubmitIsvCustomerTermsResponse>;
2547
+ submitIsvCustomerTerms(request: SubmitIsvCustomerTermsRequest): Promise<SubmitIsvCustomerTermsResponse>;
2548
+ /**
2549
+ * 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.
2550
+ *
2551
+ * @param request UpdateAccountWebhookRequest
2552
+ * @param runtime runtime options for this request RuntimeOptions
2553
+ * @return UpdateAccountWebhookResponse
2554
+ */
2361
2555
  updateAccountWebhookWithOptions(request: UpdateAccountWebhookRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAccountWebhookResponse>;
2556
+ /**
2557
+ * 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.
2558
+ *
2559
+ * @param request UpdateAccountWebhookRequest
2560
+ * @return UpdateAccountWebhookResponse
2561
+ */
2362
2562
  updateAccountWebhook(request: UpdateAccountWebhookRequest): Promise<UpdateAccountWebhookResponse>;
2363
2563
  /**
2364
2564
  * 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.