@alicloud/cams20200606 1.0.19 → 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/src/client.ts CHANGED
@@ -878,6 +878,7 @@ export class CreateChatappMigrationInitiateResponse extends $tea.Model {
878
878
  }
879
879
 
880
880
  export class CreateChatappTemplateRequest extends $tea.Model {
881
+ allowCategoryChange?: boolean;
881
882
  category?: string;
882
883
  components?: CreateChatappTemplateRequestComponents[];
883
884
  custSpaceId?: string;
@@ -889,6 +890,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
889
890
  templateType?: string;
890
891
  static names(): { [key: string]: string } {
891
892
  return {
893
+ allowCategoryChange: 'AllowCategoryChange',
892
894
  category: 'Category',
893
895
  components: 'Components',
894
896
  custSpaceId: 'CustSpaceId',
@@ -903,6 +905,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
903
905
 
904
906
  static types(): { [key: string]: any } {
905
907
  return {
908
+ allowCategoryChange: 'boolean',
906
909
  category: 'string',
907
910
  components: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponents },
908
911
  custSpaceId: 'string',
@@ -921,6 +924,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
921
924
  }
922
925
 
923
926
  export class CreateChatappTemplateShrinkRequest extends $tea.Model {
927
+ allowCategoryChange?: boolean;
924
928
  category?: string;
925
929
  componentsShrink?: string;
926
930
  custSpaceId?: string;
@@ -932,6 +936,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
932
936
  templateType?: string;
933
937
  static names(): { [key: string]: string } {
934
938
  return {
939
+ allowCategoryChange: 'AllowCategoryChange',
935
940
  category: 'Category',
936
941
  componentsShrink: 'Components',
937
942
  custSpaceId: 'CustSpaceId',
@@ -946,6 +951,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
946
951
 
947
952
  static types(): { [key: string]: any } {
948
953
  return {
954
+ allowCategoryChange: 'boolean',
949
955
  category: 'string',
950
956
  componentsShrink: 'string',
951
957
  custSpaceId: 'string',
@@ -1644,12 +1650,14 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
1644
1650
  listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
1645
1651
  message?: string;
1646
1652
  requestId?: string;
1653
+ total?: number;
1647
1654
  static names(): { [key: string]: string } {
1648
1655
  return {
1649
1656
  code: 'Code',
1650
1657
  listTemplate: 'ListTemplate',
1651
1658
  message: 'Message',
1652
1659
  requestId: 'RequestId',
1660
+ total: 'Total',
1653
1661
  };
1654
1662
  }
1655
1663
 
@@ -1659,6 +1667,7 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
1659
1667
  listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
1660
1668
  message: 'string',
1661
1669
  requestId: 'string',
1670
+ total: 'number',
1662
1671
  };
1663
1672
  }
1664
1673
 
@@ -2266,6 +2275,7 @@ export class SendChatappMassMessageRequest extends $tea.Model {
2266
2275
  custSpaceId?: string;
2267
2276
  custWabaId?: string;
2268
2277
  fallBackContent?: string;
2278
+ fallBackDuration?: number;
2269
2279
  fallBackId?: string;
2270
2280
  from?: string;
2271
2281
  isvCode?: string;
@@ -2282,6 +2292,7 @@ export class SendChatappMassMessageRequest extends $tea.Model {
2282
2292
  custSpaceId: 'CustSpaceId',
2283
2293
  custWabaId: 'CustWabaId',
2284
2294
  fallBackContent: 'FallBackContent',
2295
+ fallBackDuration: 'FallBackDuration',
2285
2296
  fallBackId: 'FallBackId',
2286
2297
  from: 'From',
2287
2298
  isvCode: 'IsvCode',
@@ -2301,6 +2312,7 @@ export class SendChatappMassMessageRequest extends $tea.Model {
2301
2312
  custSpaceId: 'string',
2302
2313
  custWabaId: 'string',
2303
2314
  fallBackContent: 'string',
2315
+ fallBackDuration: 'number',
2304
2316
  fallBackId: 'string',
2305
2317
  from: 'string',
2306
2318
  isvCode: 'string',
@@ -2324,6 +2336,7 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
2324
2336
  custSpaceId?: string;
2325
2337
  custWabaId?: string;
2326
2338
  fallBackContent?: string;
2339
+ fallBackDuration?: number;
2327
2340
  fallBackId?: string;
2328
2341
  from?: string;
2329
2342
  isvCode?: string;
@@ -2340,6 +2353,7 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
2340
2353
  custSpaceId: 'CustSpaceId',
2341
2354
  custWabaId: 'CustWabaId',
2342
2355
  fallBackContent: 'FallBackContent',
2356
+ fallBackDuration: 'FallBackDuration',
2343
2357
  fallBackId: 'FallBackId',
2344
2358
  from: 'From',
2345
2359
  isvCode: 'IsvCode',
@@ -2359,6 +2373,7 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
2359
2373
  custSpaceId: 'string',
2360
2374
  custWabaId: 'string',
2361
2375
  fallBackContent: 'string',
2376
+ fallBackDuration: 'number',
2362
2377
  fallBackId: 'string',
2363
2378
  from: 'string',
2364
2379
  isvCode: 'string',
@@ -2437,6 +2452,7 @@ export class SendChatappMessageRequest extends $tea.Model {
2437
2452
  custSpaceId?: string;
2438
2453
  custWabaId?: string;
2439
2454
  fallBackContent?: string;
2455
+ fallBackDuration?: number;
2440
2456
  fallBackId?: string;
2441
2457
  from?: string;
2442
2458
  isvCode?: string;
@@ -2460,6 +2476,7 @@ export class SendChatappMessageRequest extends $tea.Model {
2460
2476
  custSpaceId: 'CustSpaceId',
2461
2477
  custWabaId: 'CustWabaId',
2462
2478
  fallBackContent: 'FallBackContent',
2479
+ fallBackDuration: 'FallBackDuration',
2463
2480
  fallBackId: 'FallBackId',
2464
2481
  from: 'From',
2465
2482
  isvCode: 'IsvCode',
@@ -2486,6 +2503,7 @@ export class SendChatappMessageRequest extends $tea.Model {
2486
2503
  custSpaceId: 'string',
2487
2504
  custWabaId: 'string',
2488
2505
  fallBackContent: 'string',
2506
+ fallBackDuration: 'number',
2489
2507
  fallBackId: 'string',
2490
2508
  from: 'string',
2491
2509
  isvCode: 'string',
@@ -2516,6 +2534,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
2516
2534
  custSpaceId?: string;
2517
2535
  custWabaId?: string;
2518
2536
  fallBackContent?: string;
2537
+ fallBackDuration?: number;
2519
2538
  fallBackId?: string;
2520
2539
  from?: string;
2521
2540
  isvCode?: string;
@@ -2539,6 +2558,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
2539
2558
  custSpaceId: 'CustSpaceId',
2540
2559
  custWabaId: 'CustWabaId',
2541
2560
  fallBackContent: 'FallBackContent',
2561
+ fallBackDuration: 'FallBackDuration',
2542
2562
  fallBackId: 'FallBackId',
2543
2563
  from: 'From',
2544
2564
  isvCode: 'IsvCode',
@@ -2565,6 +2585,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
2565
2585
  custSpaceId: 'string',
2566
2586
  custWabaId: 'string',
2567
2587
  fallBackContent: 'string',
2588
+ fallBackDuration: 'number',
2568
2589
  fallBackId: 'string',
2569
2590
  from: 'string',
2570
2591
  isvCode: 'string',
@@ -3319,14 +3340,22 @@ export class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
3319
3340
  }
3320
3341
 
3321
3342
  export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3343
+ autofillText?: string;
3344
+ isOptOut?: boolean;
3345
+ packageName?: string;
3322
3346
  phoneNumber?: string;
3347
+ signatureHash?: string;
3323
3348
  text?: string;
3324
3349
  type?: string;
3325
3350
  url?: string;
3326
3351
  urlType?: string;
3327
3352
  static names(): { [key: string]: string } {
3328
3353
  return {
3354
+ autofillText: 'AutofillText',
3355
+ isOptOut: 'IsOptOut',
3356
+ packageName: 'PackageName',
3329
3357
  phoneNumber: 'PhoneNumber',
3358
+ signatureHash: 'SignatureHash',
3330
3359
  text: 'Text',
3331
3360
  type: 'Type',
3332
3361
  url: 'Url',
@@ -3336,7 +3365,11 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3336
3365
 
3337
3366
  static types(): { [key: string]: any } {
3338
3367
  return {
3368
+ autofillText: 'string',
3369
+ isOptOut: 'boolean',
3370
+ packageName: 'string',
3339
3371
  phoneNumber: 'string',
3372
+ signatureHash: 'string',
3340
3373
  text: 'string',
3341
3374
  type: 'string',
3342
3375
  url: 'string',
@@ -3350,8 +3383,10 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3350
3383
  }
3351
3384
 
3352
3385
  export class CreateChatappTemplateRequestComponents extends $tea.Model {
3386
+ addSecretRecommendation?: boolean;
3353
3387
  buttons?: CreateChatappTemplateRequestComponentsButtons[];
3354
3388
  caption?: string;
3389
+ codeExpirationMinutes?: number;
3355
3390
  duration?: number;
3356
3391
  fileName?: string;
3357
3392
  fileType?: string;
@@ -3362,8 +3397,10 @@ export class CreateChatappTemplateRequestComponents extends $tea.Model {
3362
3397
  url?: string;
3363
3398
  static names(): { [key: string]: string } {
3364
3399
  return {
3400
+ addSecretRecommendation: 'AddSecretRecommendation',
3365
3401
  buttons: 'Buttons',
3366
3402
  caption: 'Caption',
3403
+ codeExpirationMinutes: 'CodeExpirationMinutes',
3367
3404
  duration: 'Duration',
3368
3405
  fileName: 'FileName',
3369
3406
  fileType: 'FileType',
@@ -3377,8 +3414,10 @@ export class CreateChatappTemplateRequestComponents extends $tea.Model {
3377
3414
 
3378
3415
  static types(): { [key: string]: any } {
3379
3416
  return {
3417
+ addSecretRecommendation: 'boolean',
3380
3418
  buttons: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtons },
3381
3419
  caption: 'string',
3420
+ codeExpirationMinutes: 'number',
3382
3421
  duration: 'number',
3383
3422
  fileName: 'string',
3384
3423
  fileType: 'string',
@@ -3417,15 +3456,56 @@ export class CreateChatappTemplateResponseBodyData extends $tea.Model {
3417
3456
  }
3418
3457
  }
3419
3458
 
3459
+ export class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
3460
+ action?: string;
3461
+ intentCode?: string;
3462
+ nextLanguageCode?: string;
3463
+ nextTemplateCode?: string;
3464
+ nextTemplateName?: string;
3465
+ static names(): { [key: string]: string } {
3466
+ return {
3467
+ action: 'Action',
3468
+ intentCode: 'IntentCode',
3469
+ nextLanguageCode: 'NextLanguageCode',
3470
+ nextTemplateCode: 'NextTemplateCode',
3471
+ nextTemplateName: 'NextTemplateName',
3472
+ };
3473
+ }
3474
+
3475
+ static types(): { [key: string]: any } {
3476
+ return {
3477
+ action: 'string',
3478
+ intentCode: 'string',
3479
+ nextLanguageCode: 'string',
3480
+ nextTemplateCode: 'string',
3481
+ nextTemplateName: 'string',
3482
+ };
3483
+ }
3484
+
3485
+ constructor(map?: { [key: string]: any }) {
3486
+ super(map);
3487
+ }
3488
+ }
3489
+
3420
3490
  export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
3491
+ autofillText?: string;
3492
+ extendAttrs?: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
3493
+ isOptOut?: boolean;
3494
+ packageName?: string;
3421
3495
  phoneNumber?: string;
3496
+ signatureHash?: string;
3422
3497
  text?: string;
3423
3498
  type?: string;
3424
3499
  url?: string;
3425
3500
  urlType?: string;
3426
3501
  static names(): { [key: string]: string } {
3427
3502
  return {
3503
+ autofillText: 'AutofillText',
3504
+ extendAttrs: 'ExtendAttrs',
3505
+ isOptOut: 'IsOptOut',
3506
+ packageName: 'PackageName',
3428
3507
  phoneNumber: 'PhoneNumber',
3508
+ signatureHash: 'SignatureHash',
3429
3509
  text: 'Text',
3430
3510
  type: 'Type',
3431
3511
  url: 'Url',
@@ -3435,7 +3515,12 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
3435
3515
 
3436
3516
  static types(): { [key: string]: any } {
3437
3517
  return {
3518
+ autofillText: 'string',
3519
+ extendAttrs: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs,
3520
+ isOptOut: 'boolean',
3521
+ packageName: 'string',
3438
3522
  phoneNumber: 'string',
3523
+ signatureHash: 'string',
3439
3524
  text: 'string',
3440
3525
  type: 'string',
3441
3526
  url: 'string',
@@ -3449,24 +3534,36 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
3449
3534
  }
3450
3535
 
3451
3536
  export class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
3537
+ addSecretRecommendation?: boolean;
3452
3538
  buttons?: GetChatappTemplateDetailResponseBodyDataComponentsButtons[];
3453
3539
  caption?: string;
3540
+ codeExpirationMinutes?: number;
3454
3541
  duration?: number;
3455
3542
  fileName?: string;
3456
3543
  fileType?: string;
3457
3544
  format?: string;
3545
+ latitude?: string;
3546
+ locationAddress?: string;
3547
+ locationName?: string;
3548
+ longitude?: string;
3458
3549
  text?: string;
3459
3550
  thumbUrl?: string;
3460
3551
  type?: string;
3461
3552
  url?: string;
3462
3553
  static names(): { [key: string]: string } {
3463
3554
  return {
3555
+ addSecretRecommendation: 'AddSecretRecommendation',
3464
3556
  buttons: 'Buttons',
3465
3557
  caption: 'Caption',
3558
+ codeExpirationMinutes: 'CodeExpirationMinutes',
3466
3559
  duration: 'Duration',
3467
3560
  fileName: 'FileName',
3468
3561
  fileType: 'FileType',
3469
3562
  format: 'Format',
3563
+ latitude: 'Latitude',
3564
+ locationAddress: 'LocationAddress',
3565
+ locationName: 'LocationName',
3566
+ longitude: 'Longitude',
3470
3567
  text: 'Text',
3471
3568
  thumbUrl: 'ThumbUrl',
3472
3569
  type: 'Type',
@@ -3476,12 +3573,18 @@ export class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Mod
3476
3573
 
3477
3574
  static types(): { [key: string]: any } {
3478
3575
  return {
3576
+ addSecretRecommendation: 'boolean',
3479
3577
  buttons: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtons },
3480
3578
  caption: 'string',
3579
+ codeExpirationMinutes: 'number',
3481
3580
  duration: 'number',
3482
3581
  fileName: 'string',
3483
3582
  fileType: 'string',
3484
3583
  format: 'string',
3584
+ latitude: 'string',
3585
+ locationAddress: 'string',
3586
+ locationName: 'string',
3587
+ longitude: 'string',
3485
3588
  text: 'string',
3486
3589
  thumbUrl: 'string',
3487
3590
  type: 'string',
@@ -3675,14 +3778,22 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
3675
3778
  }
3676
3779
 
3677
3780
  export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3781
+ autofillText?: string;
3782
+ isOptOut?: boolean;
3783
+ packageName?: string;
3678
3784
  phoneNumber?: string;
3785
+ signatureHash?: string;
3679
3786
  text?: string;
3680
3787
  type?: string;
3681
3788
  url?: string;
3682
3789
  urlType?: string;
3683
3790
  static names(): { [key: string]: string } {
3684
3791
  return {
3792
+ autofillText: 'AutofillText',
3793
+ isOptOut: 'IsOptOut',
3794
+ packageName: 'PackageName',
3685
3795
  phoneNumber: 'PhoneNumber',
3796
+ signatureHash: 'SignatureHash',
3686
3797
  text: 'Text',
3687
3798
  type: 'Type',
3688
3799
  url: 'Url',
@@ -3692,7 +3803,11 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3692
3803
 
3693
3804
  static types(): { [key: string]: any } {
3694
3805
  return {
3806
+ autofillText: 'string',
3807
+ isOptOut: 'boolean',
3808
+ packageName: 'string',
3695
3809
  phoneNumber: 'string',
3810
+ signatureHash: 'string',
3696
3811
  text: 'string',
3697
3812
  type: 'string',
3698
3813
  url: 'string',
@@ -3706,8 +3821,10 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3706
3821
  }
3707
3822
 
3708
3823
  export class ModifyChatappTemplateRequestComponents extends $tea.Model {
3824
+ addSecretRecommendation?: boolean;
3709
3825
  buttons?: ModifyChatappTemplateRequestComponentsButtons[];
3710
3826
  caption?: string;
3827
+ codeExpirationMinutes?: number;
3711
3828
  duration?: number;
3712
3829
  fileName?: string;
3713
3830
  fileType?: string;
@@ -3718,8 +3835,10 @@ export class ModifyChatappTemplateRequestComponents extends $tea.Model {
3718
3835
  url?: string;
3719
3836
  static names(): { [key: string]: string } {
3720
3837
  return {
3838
+ addSecretRecommendation: 'AddSecretRecommendation',
3721
3839
  buttons: 'Buttons',
3722
3840
  caption: 'Caption',
3841
+ codeExpirationMinutes: 'CodeExpirationMinutes',
3723
3842
  duration: 'Duration',
3724
3843
  fileName: 'FileName',
3725
3844
  fileType: 'FileType',
@@ -3733,8 +3852,10 @@ export class ModifyChatappTemplateRequestComponents extends $tea.Model {
3733
3852
 
3734
3853
  static types(): { [key: string]: any } {
3735
3854
  return {
3855
+ addSecretRecommendation: 'boolean',
3736
3856
  buttons: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtons },
3737
3857
  caption: 'string',
3858
+ codeExpirationMinutes: 'number',
3738
3859
  duration: 'number',
3739
3860
  fileName: 'string',
3740
3861
  fileType: 'string',
@@ -3967,7 +4088,7 @@ export default class Client extends OpenApi {
3967
4088
  }
3968
4089
 
3969
4090
  /**
3970
- * You can call this operation up to 100 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.
4091
+ * 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.
3971
4092
  *
3972
4093
  * @param tmpReq BeeBotAssociateRequest
3973
4094
  * @param runtime runtime options for this request RuntimeOptions
@@ -4028,7 +4149,7 @@ export default class Client extends OpenApi {
4028
4149
  }
4029
4150
 
4030
4151
  /**
4031
- * You can call this operation up to 100 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.
4152
+ * 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.
4032
4153
  *
4033
4154
  * @param request BeeBotAssociateRequest
4034
4155
  * @return BeeBotAssociateResponse
@@ -4039,7 +4160,7 @@ export default class Client extends OpenApi {
4039
4160
  }
4040
4161
 
4041
4162
  /**
4042
- * You can call this operation up to 100 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.
4163
+ * 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.
4043
4164
  *
4044
4165
  * @param tmpReq BeeBotChatRequest
4045
4166
  * @param runtime runtime options for this request RuntimeOptions
@@ -4120,7 +4241,7 @@ export default class Client extends OpenApi {
4120
4241
  }
4121
4242
 
4122
4243
  /**
4123
- * You can call this operation up to 100 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.
4244
+ * 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.
4124
4245
  *
4125
4246
  * @param request BeeBotChatRequest
4126
4247
  * @return BeeBotChatResponse
@@ -4449,7 +4570,7 @@ export default class Client extends OpenApi {
4449
4570
  }
4450
4571
 
4451
4572
  /**
4452
- * 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.
4573
+ * The status of the phone number.
4453
4574
  *
4454
4575
  * @param request CreateChatappMigrationInitiateRequest
4455
4576
  * @param runtime runtime options for this request RuntimeOptions
@@ -4488,7 +4609,7 @@ export default class Client extends OpenApi {
4488
4609
  }
4489
4610
 
4490
4611
  /**
4491
- * 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.
4612
+ * The status of the phone number.
4492
4613
  *
4493
4614
  * @param request CreateChatappMigrationInitiateRequest
4494
4615
  * @return CreateChatappMigrationInitiateResponse
@@ -4499,8 +4620,7 @@ export default class Client extends OpenApi {
4499
4620
  }
4500
4621
 
4501
4622
  /**
4502
- * ### QPS limit
4503
- * 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.
4623
+ * The error message.
4504
4624
  *
4505
4625
  * @param tmpReq CreateChatappTemplateRequest
4506
4626
  * @param runtime runtime options for this request RuntimeOptions
@@ -4518,12 +4638,11 @@ export default class Client extends OpenApi {
4518
4638
  request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
4519
4639
  }
4520
4640
 
4521
- let query = { };
4522
- if (!Util.isUnset(request.custSpaceId)) {
4523
- query["CustSpaceId"] = request.custSpaceId;
4641
+ let body : {[key: string ]: any} = { };
4642
+ if (!Util.isUnset(request.allowCategoryChange)) {
4643
+ body["AllowCategoryChange"] = request.allowCategoryChange;
4524
4644
  }
4525
4645
 
4526
- let body : {[key: string ]: any} = { };
4527
4646
  if (!Util.isUnset(request.category)) {
4528
4647
  body["Category"] = request.category;
4529
4648
  }
@@ -4532,6 +4651,10 @@ export default class Client extends OpenApi {
4532
4651
  body["Components"] = request.componentsShrink;
4533
4652
  }
4534
4653
 
4654
+ if (!Util.isUnset(request.custSpaceId)) {
4655
+ body["CustSpaceId"] = request.custSpaceId;
4656
+ }
4657
+
4535
4658
  if (!Util.isUnset(request.custWabaId)) {
4536
4659
  body["CustWabaId"] = request.custWabaId;
4537
4660
  }
@@ -4557,7 +4680,6 @@ export default class Client extends OpenApi {
4557
4680
  }
4558
4681
 
4559
4682
  let req = new $OpenApi.OpenApiRequest({
4560
- query: OpenApiUtil.query(query),
4561
4683
  body: OpenApiUtil.parseToMap(body),
4562
4684
  });
4563
4685
  let params = new $OpenApi.Params({
@@ -4575,8 +4697,7 @@ export default class Client extends OpenApi {
4575
4697
  }
4576
4698
 
4577
4699
  /**
4578
- * ### QPS limit
4579
- * 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.
4700
+ * The error message.
4580
4701
  *
4581
4702
  * @param request CreateChatappTemplateRequest
4582
4703
  * @return CreateChatappTemplateResponse
@@ -4588,7 +4709,7 @@ export default class Client extends OpenApi {
4588
4709
 
4589
4710
  /**
4590
4711
  * ### QPS limit
4591
- * 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.
4712
+ * 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.
4592
4713
  *
4593
4714
  * @param request DeleteChatappTemplateRequest
4594
4715
  * @param runtime runtime options for this request RuntimeOptions
@@ -4632,7 +4753,7 @@ export default class Client extends OpenApi {
4632
4753
 
4633
4754
  /**
4634
4755
  * ### QPS limit
4635
- * 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.
4756
+ * 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.
4636
4757
  *
4637
4758
  * @param request DeleteChatappTemplateRequest
4638
4759
  * @return DeleteChatappTemplateResponse
@@ -4643,8 +4764,7 @@ export default class Client extends OpenApi {
4643
4764
  }
4644
4765
 
4645
4766
  /**
4646
- * ### QPS limit
4647
- * 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.
4767
+ * The type of the file attached in the Viber message template.
4648
4768
  *
4649
4769
  * @param request GetChatappTemplateDetailRequest
4650
4770
  * @param runtime runtime options for this request RuntimeOptions
@@ -4695,8 +4815,7 @@ export default class Client extends OpenApi {
4695
4815
  }
4696
4816
 
4697
4817
  /**
4698
- * ### QPS limit
4699
- * 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.
4818
+ * The type of the file attached in the Viber message template.
4700
4819
  *
4701
4820
  * @param request GetChatappTemplateDetailRequest
4702
4821
  * @return GetChatappTemplateDetailResponse
@@ -4706,6 +4825,13 @@ export default class Client extends OpenApi {
4706
4825
  return await this.getChatappTemplateDetailWithOptions(request, runtime);
4707
4826
  }
4708
4827
 
4828
+ /**
4829
+ * 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.
4830
+ *
4831
+ * @param request GetChatappUploadAuthorizationRequest
4832
+ * @param runtime runtime options for this request RuntimeOptions
4833
+ * @return GetChatappUploadAuthorizationResponse
4834
+ */
4709
4835
  async getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse> {
4710
4836
  Util.validateModel(request);
4711
4837
  let query = { };
@@ -4730,6 +4856,12 @@ export default class Client extends OpenApi {
4730
4856
  return $tea.cast<GetChatappUploadAuthorizationResponse>(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
4731
4857
  }
4732
4858
 
4859
+ /**
4860
+ * 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.
4861
+ *
4862
+ * @param request GetChatappUploadAuthorizationRequest
4863
+ * @return GetChatappUploadAuthorizationResponse
4864
+ */
4733
4865
  async getChatappUploadAuthorization(request: GetChatappUploadAuthorizationRequest): Promise<GetChatappUploadAuthorizationResponse> {
4734
4866
  let runtime = new $Util.RuntimeOptions({ });
4735
4867
  return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
@@ -4790,7 +4922,7 @@ export default class Client extends OpenApi {
4790
4922
  }
4791
4923
 
4792
4924
  /**
4793
- * 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.
4925
+ * The ID of the phone number.
4794
4926
  *
4795
4927
  * @param request GetMigrationVerifyCodeRequest
4796
4928
  * @param runtime runtime options for this request RuntimeOptions
@@ -4833,7 +4965,7 @@ export default class Client extends OpenApi {
4833
4965
  }
4834
4966
 
4835
4967
  /**
4836
- * 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.
4968
+ * The ID of the phone number.
4837
4969
  *
4838
4970
  * @param request GetMigrationVerifyCodeRequest
4839
4971
  * @return GetMigrationVerifyCodeResponse
@@ -4890,7 +5022,7 @@ export default class Client extends OpenApi {
4890
5022
  }
4891
5023
 
4892
5024
  /**
4893
- * 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.
5025
+ * The message ID.
4894
5026
  *
4895
5027
  * @param request IsvGetAppIdRequest
4896
5028
  * @param runtime runtime options for this request RuntimeOptions
@@ -4921,7 +5053,7 @@ export default class Client extends OpenApi {
4921
5053
  }
4922
5054
 
4923
5055
  /**
4924
- * 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.
5056
+ * The message ID.
4925
5057
  *
4926
5058
  * @param request IsvGetAppIdRequest
4927
5059
  * @return IsvGetAppIdResponse
@@ -4933,7 +5065,7 @@ export default class Client extends OpenApi {
4933
5065
 
4934
5066
  /**
4935
5067
  * ### QPS limit
4936
- * 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.
5068
+ * 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.
4937
5069
  *
4938
5070
  * @param tmpReq ListChatappTemplateRequest
4939
5071
  * @param runtime runtime options for this request RuntimeOptions
@@ -4999,7 +5131,7 @@ export default class Client extends OpenApi {
4999
5131
 
5000
5132
  /**
5001
5133
  * ### QPS limit
5002
- * 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.
5134
+ * 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.
5003
5135
  *
5004
5136
  * @param request ListChatappTemplateRequest
5005
5137
  * @return ListChatappTemplateResponse
@@ -5010,8 +5142,7 @@ export default class Client extends OpenApi {
5010
5142
  }
5011
5143
 
5012
5144
  /**
5013
- * ### QPS limit
5014
- * 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.
5145
+ * The name of the message template.
5015
5146
  *
5016
5147
  * @param tmpReq ModifyChatappTemplateRequest
5017
5148
  * @param runtime runtime options for this request RuntimeOptions
@@ -5084,8 +5215,7 @@ export default class Client extends OpenApi {
5084
5215
  }
5085
5216
 
5086
5217
  /**
5087
- * ### QPS limit
5088
- * 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.
5218
+ * The name of the message template.
5089
5219
  *
5090
5220
  * @param request ModifyChatappTemplateRequest
5091
5221
  * @return ModifyChatappTemplateResponse
@@ -5172,7 +5302,7 @@ export default class Client extends OpenApi {
5172
5302
  }
5173
5303
 
5174
5304
  /**
5175
- * 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.
5305
+ * 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.
5176
5306
  *
5177
5307
  * @param request QueryChatappBindWabaRequest
5178
5308
  * @param runtime runtime options for this request RuntimeOptions
@@ -5207,7 +5337,7 @@ export default class Client extends OpenApi {
5207
5337
  }
5208
5338
 
5209
5339
  /**
5210
- * 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.
5340
+ * 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.
5211
5341
  *
5212
5342
  * @param request QueryChatappBindWabaRequest
5213
5343
  * @return QueryChatappBindWabaResponse
@@ -5218,7 +5348,7 @@ export default class Client extends OpenApi {
5218
5348
  }
5219
5349
 
5220
5350
  /**
5221
- * 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.
5351
+ * 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.
5222
5352
  *
5223
5353
  * @param request QueryChatappPhoneNumbersRequest
5224
5354
  * @param runtime runtime options for this request RuntimeOptions
@@ -5253,7 +5383,7 @@ export default class Client extends OpenApi {
5253
5383
  }
5254
5384
 
5255
5385
  /**
5256
- * 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.
5386
+ * 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.
5257
5387
  *
5258
5388
  * @param request QueryChatappPhoneNumbersRequest
5259
5389
  * @return QueryChatappPhoneNumbersResponse
@@ -5356,7 +5486,7 @@ export default class Client extends OpenApi {
5356
5486
  }
5357
5487
 
5358
5488
  /**
5359
- * 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.
5489
+ * 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.
5360
5490
  * You can send messages to up to 1,000 phone numbers in a single request.
5361
5491
  *
5362
5492
  * @param tmpReq SendChatappMassMessageRequest
@@ -5388,6 +5518,10 @@ export default class Client extends OpenApi {
5388
5518
  body["FallBackContent"] = request.fallBackContent;
5389
5519
  }
5390
5520
 
5521
+ if (!Util.isUnset(request.fallBackDuration)) {
5522
+ body["FallBackDuration"] = request.fallBackDuration;
5523
+ }
5524
+
5391
5525
  if (!Util.isUnset(request.fallBackId)) {
5392
5526
  body["FallBackId"] = request.fallBackId;
5393
5527
  }
@@ -5446,7 +5580,7 @@ export default class Client extends OpenApi {
5446
5580
  }
5447
5581
 
5448
5582
  /**
5449
- * 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.
5583
+ * 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.
5450
5584
  * You can send messages to up to 1,000 phone numbers in a single request.
5451
5585
  *
5452
5586
  * @param request SendChatappMassMessageRequest
@@ -5506,6 +5640,10 @@ export default class Client extends OpenApi {
5506
5640
  body["FallBackContent"] = request.fallBackContent;
5507
5641
  }
5508
5642
 
5643
+ if (!Util.isUnset(request.fallBackDuration)) {
5644
+ body["FallBackDuration"] = request.fallBackDuration;
5645
+ }
5646
+
5509
5647
  if (!Util.isUnset(request.fallBackId)) {
5510
5648
  body["FallBackId"] = request.fallBackId;
5511
5649
  }
@@ -5591,6 +5729,13 @@ export default class Client extends OpenApi {
5591
5729
  return await this.sendChatappMessageWithOptions(request, runtime);
5592
5730
  }
5593
5731
 
5732
+ /**
5733
+ * 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.
5734
+ *
5735
+ * @param request SubmitIsvCustomerTermsRequest
5736
+ * @param runtime runtime options for this request RuntimeOptions
5737
+ * @return SubmitIsvCustomerTermsResponse
5738
+ */
5594
5739
  async submitIsvCustomerTermsWithOptions(request: SubmitIsvCustomerTermsRequest, runtime: $Util.RuntimeOptions): Promise<SubmitIsvCustomerTermsResponse> {
5595
5740
  Util.validateModel(request);
5596
5741
  let query = { };
@@ -5639,6 +5784,12 @@ export default class Client extends OpenApi {
5639
5784
  return $tea.cast<SubmitIsvCustomerTermsResponse>(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
5640
5785
  }
5641
5786
 
5787
+ /**
5788
+ * 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.
5789
+ *
5790
+ * @param request SubmitIsvCustomerTermsRequest
5791
+ * @return SubmitIsvCustomerTermsResponse
5792
+ */
5642
5793
  async submitIsvCustomerTerms(request: SubmitIsvCustomerTermsRequest): Promise<SubmitIsvCustomerTermsResponse> {
5643
5794
  let runtime = new $Util.RuntimeOptions({ });
5644
5795
  return await this.submitIsvCustomerTermsWithOptions(request, runtime);
@@ -5699,7 +5850,7 @@ export default class Client extends OpenApi {
5699
5850
  }
5700
5851
 
5701
5852
  /**
5702
- * 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.
5853
+ * The error message returned.
5703
5854
  *
5704
5855
  * @param request UpdatePhoneWebhookRequest
5705
5856
  * @param runtime runtime options for this request RuntimeOptions
@@ -5750,7 +5901,7 @@ export default class Client extends OpenApi {
5750
5901
  }
5751
5902
 
5752
5903
  /**
5753
- * 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.
5904
+ * The error message returned.
5754
5905
  *
5755
5906
  * @param request UpdatePhoneWebhookRequest
5756
5907
  * @return UpdatePhoneWebhookResponse