@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/src/client.ts CHANGED
@@ -3340,14 +3340,22 @@ export class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
3340
3340
  }
3341
3341
 
3342
3342
  export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3343
+ autofillText?: string;
3344
+ isOptOut?: boolean;
3345
+ packageName?: string;
3343
3346
  phoneNumber?: string;
3347
+ signatureHash?: string;
3344
3348
  text?: string;
3345
3349
  type?: string;
3346
3350
  url?: string;
3347
3351
  urlType?: string;
3348
3352
  static names(): { [key: string]: string } {
3349
3353
  return {
3354
+ autofillText: 'AutofillText',
3355
+ isOptOut: 'IsOptOut',
3356
+ packageName: 'PackageName',
3350
3357
  phoneNumber: 'PhoneNumber',
3358
+ signatureHash: 'SignatureHash',
3351
3359
  text: 'Text',
3352
3360
  type: 'Type',
3353
3361
  url: 'Url',
@@ -3357,7 +3365,11 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3357
3365
 
3358
3366
  static types(): { [key: string]: any } {
3359
3367
  return {
3368
+ autofillText: 'string',
3369
+ isOptOut: 'boolean',
3370
+ packageName: 'string',
3360
3371
  phoneNumber: 'string',
3372
+ signatureHash: 'string',
3361
3373
  text: 'string',
3362
3374
  type: 'string',
3363
3375
  url: 'string',
@@ -3371,8 +3383,10 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3371
3383
  }
3372
3384
 
3373
3385
  export class CreateChatappTemplateRequestComponents extends $tea.Model {
3386
+ addSecretRecommendation?: boolean;
3374
3387
  buttons?: CreateChatappTemplateRequestComponentsButtons[];
3375
3388
  caption?: string;
3389
+ codeExpirationMinutes?: number;
3376
3390
  duration?: number;
3377
3391
  fileName?: string;
3378
3392
  fileType?: string;
@@ -3383,8 +3397,10 @@ export class CreateChatappTemplateRequestComponents extends $tea.Model {
3383
3397
  url?: string;
3384
3398
  static names(): { [key: string]: string } {
3385
3399
  return {
3400
+ addSecretRecommendation: 'AddSecretRecommendation',
3386
3401
  buttons: 'Buttons',
3387
3402
  caption: 'Caption',
3403
+ codeExpirationMinutes: 'CodeExpirationMinutes',
3388
3404
  duration: 'Duration',
3389
3405
  fileName: 'FileName',
3390
3406
  fileType: 'FileType',
@@ -3398,8 +3414,10 @@ export class CreateChatappTemplateRequestComponents extends $tea.Model {
3398
3414
 
3399
3415
  static types(): { [key: string]: any } {
3400
3416
  return {
3417
+ addSecretRecommendation: 'boolean',
3401
3418
  buttons: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtons },
3402
3419
  caption: 'string',
3420
+ codeExpirationMinutes: 'number',
3403
3421
  duration: 'number',
3404
3422
  fileName: 'string',
3405
3423
  fileType: 'string',
@@ -3438,15 +3456,56 @@ export class CreateChatappTemplateResponseBodyData extends $tea.Model {
3438
3456
  }
3439
3457
  }
3440
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
+
3441
3490
  export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
3491
+ autofillText?: string;
3492
+ extendAttrs?: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
3493
+ isOptOut?: boolean;
3494
+ packageName?: string;
3442
3495
  phoneNumber?: string;
3496
+ signatureHash?: string;
3443
3497
  text?: string;
3444
3498
  type?: string;
3445
3499
  url?: string;
3446
3500
  urlType?: string;
3447
3501
  static names(): { [key: string]: string } {
3448
3502
  return {
3503
+ autofillText: 'AutofillText',
3504
+ extendAttrs: 'ExtendAttrs',
3505
+ isOptOut: 'IsOptOut',
3506
+ packageName: 'PackageName',
3449
3507
  phoneNumber: 'PhoneNumber',
3508
+ signatureHash: 'SignatureHash',
3450
3509
  text: 'Text',
3451
3510
  type: 'Type',
3452
3511
  url: 'Url',
@@ -3456,7 +3515,12 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
3456
3515
 
3457
3516
  static types(): { [key: string]: any } {
3458
3517
  return {
3518
+ autofillText: 'string',
3519
+ extendAttrs: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs,
3520
+ isOptOut: 'boolean',
3521
+ packageName: 'string',
3459
3522
  phoneNumber: 'string',
3523
+ signatureHash: 'string',
3460
3524
  text: 'string',
3461
3525
  type: 'string',
3462
3526
  url: 'string',
@@ -3470,8 +3534,10 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
3470
3534
  }
3471
3535
 
3472
3536
  export class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
3537
+ addSecretRecommendation?: boolean;
3473
3538
  buttons?: GetChatappTemplateDetailResponseBodyDataComponentsButtons[];
3474
3539
  caption?: string;
3540
+ codeExpirationMinutes?: number;
3475
3541
  duration?: number;
3476
3542
  fileName?: string;
3477
3543
  fileType?: string;
@@ -3486,8 +3552,10 @@ export class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Mod
3486
3552
  url?: string;
3487
3553
  static names(): { [key: string]: string } {
3488
3554
  return {
3555
+ addSecretRecommendation: 'AddSecretRecommendation',
3489
3556
  buttons: 'Buttons',
3490
3557
  caption: 'Caption',
3558
+ codeExpirationMinutes: 'CodeExpirationMinutes',
3491
3559
  duration: 'Duration',
3492
3560
  fileName: 'FileName',
3493
3561
  fileType: 'FileType',
@@ -3505,8 +3573,10 @@ export class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Mod
3505
3573
 
3506
3574
  static types(): { [key: string]: any } {
3507
3575
  return {
3576
+ addSecretRecommendation: 'boolean',
3508
3577
  buttons: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtons },
3509
3578
  caption: 'string',
3579
+ codeExpirationMinutes: 'number',
3510
3580
  duration: 'number',
3511
3581
  fileName: 'string',
3512
3582
  fileType: 'string',
@@ -3708,14 +3778,22 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
3708
3778
  }
3709
3779
 
3710
3780
  export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3781
+ autofillText?: string;
3782
+ isOptOut?: boolean;
3783
+ packageName?: string;
3711
3784
  phoneNumber?: string;
3785
+ signatureHash?: string;
3712
3786
  text?: string;
3713
3787
  type?: string;
3714
3788
  url?: string;
3715
3789
  urlType?: string;
3716
3790
  static names(): { [key: string]: string } {
3717
3791
  return {
3792
+ autofillText: 'AutofillText',
3793
+ isOptOut: 'IsOptOut',
3794
+ packageName: 'PackageName',
3718
3795
  phoneNumber: 'PhoneNumber',
3796
+ signatureHash: 'SignatureHash',
3719
3797
  text: 'Text',
3720
3798
  type: 'Type',
3721
3799
  url: 'Url',
@@ -3725,7 +3803,11 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3725
3803
 
3726
3804
  static types(): { [key: string]: any } {
3727
3805
  return {
3806
+ autofillText: 'string',
3807
+ isOptOut: 'boolean',
3808
+ packageName: 'string',
3728
3809
  phoneNumber: 'string',
3810
+ signatureHash: 'string',
3729
3811
  text: 'string',
3730
3812
  type: 'string',
3731
3813
  url: 'string',
@@ -3739,8 +3821,10 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3739
3821
  }
3740
3822
 
3741
3823
  export class ModifyChatappTemplateRequestComponents extends $tea.Model {
3824
+ addSecretRecommendation?: boolean;
3742
3825
  buttons?: ModifyChatappTemplateRequestComponentsButtons[];
3743
3826
  caption?: string;
3827
+ codeExpirationMinutes?: number;
3744
3828
  duration?: number;
3745
3829
  fileName?: string;
3746
3830
  fileType?: string;
@@ -3751,8 +3835,10 @@ export class ModifyChatappTemplateRequestComponents extends $tea.Model {
3751
3835
  url?: string;
3752
3836
  static names(): { [key: string]: string } {
3753
3837
  return {
3838
+ addSecretRecommendation: 'AddSecretRecommendation',
3754
3839
  buttons: 'Buttons',
3755
3840
  caption: 'Caption',
3841
+ codeExpirationMinutes: 'CodeExpirationMinutes',
3756
3842
  duration: 'Duration',
3757
3843
  fileName: 'FileName',
3758
3844
  fileType: 'FileType',
@@ -3766,8 +3852,10 @@ export class ModifyChatappTemplateRequestComponents extends $tea.Model {
3766
3852
 
3767
3853
  static types(): { [key: string]: any } {
3768
3854
  return {
3855
+ addSecretRecommendation: 'boolean',
3769
3856
  buttons: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtons },
3770
3857
  caption: 'string',
3858
+ codeExpirationMinutes: 'number',
3771
3859
  duration: 'number',
3772
3860
  fileName: 'string',
3773
3861
  fileType: 'string',
@@ -4482,7 +4570,7 @@ export default class Client extends OpenApi {
4482
4570
  }
4483
4571
 
4484
4572
  /**
4485
- * 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.
4486
4574
  *
4487
4575
  * @param request CreateChatappMigrationInitiateRequest
4488
4576
  * @param runtime runtime options for this request RuntimeOptions
@@ -4521,7 +4609,7 @@ export default class Client extends OpenApi {
4521
4609
  }
4522
4610
 
4523
4611
  /**
4524
- * 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.
4525
4613
  *
4526
4614
  * @param request CreateChatappMigrationInitiateRequest
4527
4615
  * @return CreateChatappMigrationInitiateResponse
@@ -4532,8 +4620,7 @@ export default class Client extends OpenApi {
4532
4620
  }
4533
4621
 
4534
4622
  /**
4535
- * ### QPS limit
4536
- * 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.
4623
+ * The error message.
4537
4624
  *
4538
4625
  * @param tmpReq CreateChatappTemplateRequest
4539
4626
  * @param runtime runtime options for this request RuntimeOptions
@@ -4610,8 +4697,7 @@ export default class Client extends OpenApi {
4610
4697
  }
4611
4698
 
4612
4699
  /**
4613
- * ### QPS limit
4614
- * 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.
4700
+ * The error message.
4615
4701
  *
4616
4702
  * @param request CreateChatappTemplateRequest
4617
4703
  * @return CreateChatappTemplateResponse
@@ -4678,8 +4764,7 @@ export default class Client extends OpenApi {
4678
4764
  }
4679
4765
 
4680
4766
  /**
4681
- * ### QPS limit
4682
- * 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.
4767
+ * The type of the file attached in the Viber message template.
4683
4768
  *
4684
4769
  * @param request GetChatappTemplateDetailRequest
4685
4770
  * @param runtime runtime options for this request RuntimeOptions
@@ -4730,8 +4815,7 @@ export default class Client extends OpenApi {
4730
4815
  }
4731
4816
 
4732
4817
  /**
4733
- * ### QPS limit
4734
- * 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.
4818
+ * The type of the file attached in the Viber message template.
4735
4819
  *
4736
4820
  * @param request GetChatappTemplateDetailRequest
4737
4821
  * @return GetChatappTemplateDetailResponse
@@ -4742,7 +4826,7 @@ export default class Client extends OpenApi {
4742
4826
  }
4743
4827
 
4744
4828
  /**
4745
- * 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.
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.
4746
4830
  *
4747
4831
  * @param request GetChatappUploadAuthorizationRequest
4748
4832
  * @param runtime runtime options for this request RuntimeOptions
@@ -4773,7 +4857,7 @@ export default class Client extends OpenApi {
4773
4857
  }
4774
4858
 
4775
4859
  /**
4776
- * 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.
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.
4777
4861
  *
4778
4862
  * @param request GetChatappUploadAuthorizationRequest
4779
4863
  * @return GetChatappUploadAuthorizationResponse
@@ -4838,7 +4922,7 @@ export default class Client extends OpenApi {
4838
4922
  }
4839
4923
 
4840
4924
  /**
4841
- * 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.
4842
4926
  *
4843
4927
  * @param request GetMigrationVerifyCodeRequest
4844
4928
  * @param runtime runtime options for this request RuntimeOptions
@@ -4881,7 +4965,7 @@ export default class Client extends OpenApi {
4881
4965
  }
4882
4966
 
4883
4967
  /**
4884
- * 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.
4885
4969
  *
4886
4970
  * @param request GetMigrationVerifyCodeRequest
4887
4971
  * @return GetMigrationVerifyCodeResponse
@@ -4938,7 +5022,7 @@ export default class Client extends OpenApi {
4938
5022
  }
4939
5023
 
4940
5024
  /**
4941
- * 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.
4942
5026
  *
4943
5027
  * @param request IsvGetAppIdRequest
4944
5028
  * @param runtime runtime options for this request RuntimeOptions
@@ -4969,7 +5053,7 @@ export default class Client extends OpenApi {
4969
5053
  }
4970
5054
 
4971
5055
  /**
4972
- * 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.
4973
5057
  *
4974
5058
  * @param request IsvGetAppIdRequest
4975
5059
  * @return IsvGetAppIdResponse
@@ -5058,8 +5142,7 @@ export default class Client extends OpenApi {
5058
5142
  }
5059
5143
 
5060
5144
  /**
5061
- * ### QPS limit
5062
- * 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.
5063
5146
  *
5064
5147
  * @param tmpReq ModifyChatappTemplateRequest
5065
5148
  * @param runtime runtime options for this request RuntimeOptions
@@ -5132,8 +5215,7 @@ export default class Client extends OpenApi {
5132
5215
  }
5133
5216
 
5134
5217
  /**
5135
- * ### QPS limit
5136
- * 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.
5137
5219
  *
5138
5220
  * @param request ModifyChatappTemplateRequest
5139
5221
  * @return ModifyChatappTemplateResponse
@@ -5510,7 +5592,7 @@ export default class Client extends OpenApi {
5510
5592
  }
5511
5593
 
5512
5594
  /**
5513
- * 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.
5595
+ * 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.
5514
5596
  *
5515
5597
  * @param tmpReq SendChatappMessageRequest
5516
5598
  * @param runtime runtime options for this request RuntimeOptions
@@ -5637,7 +5719,7 @@ export default class Client extends OpenApi {
5637
5719
  }
5638
5720
 
5639
5721
  /**
5640
- * 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.
5722
+ * 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.
5641
5723
  *
5642
5724
  * @param request SendChatappMessageRequest
5643
5725
  * @return SendChatappMessageResponse
@@ -5648,7 +5730,7 @@ export default class Client extends OpenApi {
5648
5730
  }
5649
5731
 
5650
5732
  /**
5651
- * 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.
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.
5652
5734
  *
5653
5735
  * @param request SubmitIsvCustomerTermsRequest
5654
5736
  * @param runtime runtime options for this request RuntimeOptions
@@ -5703,7 +5785,7 @@ export default class Client extends OpenApi {
5703
5785
  }
5704
5786
 
5705
5787
  /**
5706
- * 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.
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.
5707
5789
  *
5708
5790
  * @param request SubmitIsvCustomerTermsRequest
5709
5791
  * @return SubmitIsvCustomerTermsResponse
@@ -5768,7 +5850,7 @@ export default class Client extends OpenApi {
5768
5850
  }
5769
5851
 
5770
5852
  /**
5771
- * 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.
5772
5854
  *
5773
5855
  * @param request UpdatePhoneWebhookRequest
5774
5856
  * @param runtime runtime options for this request RuntimeOptions
@@ -5819,7 +5901,7 @@ export default class Client extends OpenApi {
5819
5901
  }
5820
5902
 
5821
5903
  /**
5822
- * 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.
5823
5905
  *
5824
5906
  * @param request UpdatePhoneWebhookRequest
5825
5907
  * @return UpdatePhoneWebhookResponse