@alicloud/cams20200606 1.3.0 → 1.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cams20200606",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -2208,15 +2208,18 @@ export class GetWhatsappConnectionCatalogResponse extends $tea.Model {
2208
2208
  }
2209
2209
 
2210
2210
  export class IsvGetAppIdRequest extends $tea.Model {
2211
+ permissions?: string;
2211
2212
  type?: string;
2212
2213
  static names(): { [key: string]: string } {
2213
2214
  return {
2215
+ permissions: 'Permissions',
2214
2216
  type: 'Type',
2215
2217
  };
2216
2218
  }
2217
2219
 
2218
2220
  static types(): { [key: string]: any } {
2219
2221
  return {
2222
+ permissions: 'string',
2220
2223
  type: 'string',
2221
2224
  };
2222
2225
  }
@@ -2230,6 +2233,7 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
2230
2233
  accessDeniedDetail?: string;
2231
2234
  appId?: string;
2232
2235
  code?: string;
2236
+ configId?: string;
2233
2237
  message?: string;
2234
2238
  requestId?: string;
2235
2239
  static names(): { [key: string]: string } {
@@ -2237,6 +2241,7 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
2237
2241
  accessDeniedDetail: 'AccessDeniedDetail',
2238
2242
  appId: 'AppId',
2239
2243
  code: 'Code',
2244
+ configId: 'ConfigId',
2240
2245
  message: 'Message',
2241
2246
  requestId: 'RequestId',
2242
2247
  };
@@ -2247,6 +2252,7 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
2247
2252
  accessDeniedDetail: 'string',
2248
2253
  appId: 'string',
2249
2254
  code: 'string',
2255
+ configId: 'string',
2250
2256
  message: 'string',
2251
2257
  requestId: 'string',
2252
2258
  };
@@ -3415,6 +3421,7 @@ export class SendChatappMessageRequest extends $tea.Model {
3415
3421
  fallBackDuration?: number;
3416
3422
  fallBackId?: string;
3417
3423
  fallBackRule?: string;
3424
+ flowAction?: SendChatappMessageRequestFlowAction;
3418
3425
  from?: string;
3419
3426
  isvCode?: string;
3420
3427
  label?: string;
@@ -3441,6 +3448,7 @@ export class SendChatappMessageRequest extends $tea.Model {
3441
3448
  fallBackDuration: 'FallBackDuration',
3442
3449
  fallBackId: 'FallBackId',
3443
3450
  fallBackRule: 'FallBackRule',
3451
+ flowAction: 'FlowAction',
3444
3452
  from: 'From',
3445
3453
  isvCode: 'IsvCode',
3446
3454
  label: 'Label',
@@ -3470,6 +3478,7 @@ export class SendChatappMessageRequest extends $tea.Model {
3470
3478
  fallBackDuration: 'number',
3471
3479
  fallBackId: 'string',
3472
3480
  fallBackRule: 'string',
3481
+ flowAction: SendChatappMessageRequestFlowAction,
3473
3482
  from: 'string',
3474
3483
  isvCode: 'string',
3475
3484
  label: 'string',
@@ -3503,6 +3512,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
3503
3512
  fallBackDuration?: number;
3504
3513
  fallBackId?: string;
3505
3514
  fallBackRule?: string;
3515
+ flowActionShrink?: string;
3506
3516
  from?: string;
3507
3517
  isvCode?: string;
3508
3518
  label?: string;
@@ -3529,6 +3539,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
3529
3539
  fallBackDuration: 'FallBackDuration',
3530
3540
  fallBackId: 'FallBackId',
3531
3541
  fallBackRule: 'FallBackRule',
3542
+ flowActionShrink: 'FlowAction',
3532
3543
  from: 'From',
3533
3544
  isvCode: 'IsvCode',
3534
3545
  label: 'Label',
@@ -3558,6 +3569,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
3558
3569
  fallBackDuration: 'number',
3559
3570
  fallBackId: 'string',
3560
3571
  fallBackRule: 'string',
3572
+ flowActionShrink: 'string',
3561
3573
  from: 'string',
3562
3574
  isvCode: 'string',
3563
3575
  label: 'string',
@@ -4401,6 +4413,8 @@ export class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
4401
4413
  export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4402
4414
  autofillText?: string;
4403
4415
  couponCode?: string;
4416
+ flowAction?: string;
4417
+ flowId?: string;
4404
4418
  isOptOut?: boolean;
4405
4419
  packageName?: string;
4406
4420
  phoneNumber?: string;
@@ -4409,10 +4423,13 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4409
4423
  type?: string;
4410
4424
  url?: string;
4411
4425
  urlType?: string;
4426
+ navigateScreen?: string;
4412
4427
  static names(): { [key: string]: string } {
4413
4428
  return {
4414
4429
  autofillText: 'AutofillText',
4415
4430
  couponCode: 'CouponCode',
4431
+ flowAction: 'FlowAction',
4432
+ flowId: 'FlowId',
4416
4433
  isOptOut: 'IsOptOut',
4417
4434
  packageName: 'PackageName',
4418
4435
  phoneNumber: 'PhoneNumber',
@@ -4421,6 +4438,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4421
4438
  type: 'Type',
4422
4439
  url: 'Url',
4423
4440
  urlType: 'UrlType',
4441
+ navigateScreen: 'navigateScreen',
4424
4442
  };
4425
4443
  }
4426
4444
 
@@ -4428,6 +4446,8 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4428
4446
  return {
4429
4447
  autofillText: 'string',
4430
4448
  couponCode: 'string',
4449
+ flowAction: 'string',
4450
+ flowId: 'string',
4431
4451
  isOptOut: 'boolean',
4432
4452
  packageName: 'string',
4433
4453
  phoneNumber: 'string',
@@ -4436,6 +4456,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4436
4456
  type: 'string',
4437
4457
  url: 'string',
4438
4458
  urlType: 'string',
4459
+ navigateScreen: 'string',
4439
4460
  };
4440
4461
  }
4441
4462
 
@@ -4674,7 +4695,10 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
4674
4695
  autofillText?: string;
4675
4696
  couponCode?: string;
4676
4697
  extendAttrs?: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
4698
+ flowAction?: string;
4699
+ flowId?: string;
4677
4700
  isOptOut?: boolean;
4701
+ navigateScreen?: string;
4678
4702
  packageName?: string;
4679
4703
  phoneNumber?: string;
4680
4704
  signatureHash?: string;
@@ -4687,7 +4711,10 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
4687
4711
  autofillText: 'AutofillText',
4688
4712
  couponCode: 'CouponCode',
4689
4713
  extendAttrs: 'ExtendAttrs',
4714
+ flowAction: 'FlowAction',
4715
+ flowId: 'FlowId',
4690
4716
  isOptOut: 'IsOptOut',
4717
+ navigateScreen: 'NavigateScreen',
4691
4718
  packageName: 'PackageName',
4692
4719
  phoneNumber: 'PhoneNumber',
4693
4720
  signatureHash: 'SignatureHash',
@@ -4703,7 +4730,10 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
4703
4730
  autofillText: 'string',
4704
4731
  couponCode: 'string',
4705
4732
  extendAttrs: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs,
4733
+ flowAction: 'string',
4734
+ flowId: 'string',
4706
4735
  isOptOut: 'boolean',
4736
+ navigateScreen: 'string',
4707
4737
  packageName: 'string',
4708
4738
  phoneNumber: 'string',
4709
4739
  signatureHash: 'string',
@@ -5303,6 +5333,8 @@ export class ListProductCatalogResponseBodyModel extends $tea.Model {
5303
5333
  export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5304
5334
  autofillText?: string;
5305
5335
  couponCode?: string;
5336
+ flowAction?: string;
5337
+ flowId?: string;
5306
5338
  isOptOut?: boolean;
5307
5339
  packageName?: string;
5308
5340
  phoneNumber?: string;
@@ -5311,10 +5343,13 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5311
5343
  type?: string;
5312
5344
  url?: string;
5313
5345
  urlType?: string;
5346
+ navigateScreen?: string;
5314
5347
  static names(): { [key: string]: string } {
5315
5348
  return {
5316
5349
  autofillText: 'AutofillText',
5317
5350
  couponCode: 'CouponCode',
5351
+ flowAction: 'FlowAction',
5352
+ flowId: 'FlowId',
5318
5353
  isOptOut: 'IsOptOut',
5319
5354
  packageName: 'PackageName',
5320
5355
  phoneNumber: 'PhoneNumber',
@@ -5323,6 +5358,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5323
5358
  type: 'Type',
5324
5359
  url: 'Url',
5325
5360
  urlType: 'UrlType',
5361
+ navigateScreen: 'navigateScreen',
5326
5362
  };
5327
5363
  }
5328
5364
 
@@ -5330,6 +5366,8 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5330
5366
  return {
5331
5367
  autofillText: 'string',
5332
5368
  couponCode: 'string',
5369
+ flowAction: 'string',
5370
+ flowId: 'string',
5333
5371
  isOptOut: 'boolean',
5334
5372
  packageName: 'string',
5335
5373
  phoneNumber: 'string',
@@ -5338,6 +5376,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5338
5376
  type: 'string',
5339
5377
  url: 'string',
5340
5378
  urlType: 'string',
5379
+ navigateScreen: 'string',
5341
5380
  };
5342
5381
  }
5343
5382
 
@@ -5652,6 +5691,28 @@ export class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
5652
5691
  }
5653
5692
  }
5654
5693
 
5694
+ export class SendChatappMassMessageRequestSenderListFlowAction extends $tea.Model {
5695
+ flowActionData?: { [key: string]: string };
5696
+ flowToken?: string;
5697
+ static names(): { [key: string]: string } {
5698
+ return {
5699
+ flowActionData: 'FlowActionData',
5700
+ flowToken: 'FlowToken',
5701
+ };
5702
+ }
5703
+
5704
+ static types(): { [key: string]: any } {
5705
+ return {
5706
+ flowActionData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5707
+ flowToken: 'string',
5708
+ };
5709
+ }
5710
+
5711
+ constructor(map?: { [key: string]: any }) {
5712
+ super(map);
5713
+ }
5714
+ }
5715
+
5655
5716
  export class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
5656
5717
  productRetailerId?: string;
5657
5718
  static names(): { [key: string]: string } {
@@ -5716,12 +5777,14 @@ export class SendChatappMassMessageRequestSenderListProductAction extends $tea.M
5716
5777
  }
5717
5778
 
5718
5779
  export class SendChatappMassMessageRequestSenderList extends $tea.Model {
5780
+ flowAction?: SendChatappMassMessageRequestSenderListFlowAction;
5719
5781
  payload?: string[];
5720
5782
  productAction?: SendChatappMassMessageRequestSenderListProductAction;
5721
5783
  templateParams?: { [key: string]: string };
5722
5784
  to?: string;
5723
5785
  static names(): { [key: string]: string } {
5724
5786
  return {
5787
+ flowAction: 'FlowAction',
5725
5788
  payload: 'Payload',
5726
5789
  productAction: 'ProductAction',
5727
5790
  templateParams: 'TemplateParams',
@@ -5731,6 +5794,7 @@ export class SendChatappMassMessageRequestSenderList extends $tea.Model {
5731
5794
 
5732
5795
  static types(): { [key: string]: any } {
5733
5796
  return {
5797
+ flowAction: SendChatappMassMessageRequestSenderListFlowAction,
5734
5798
  payload: { 'type': 'array', 'itemType': 'string' },
5735
5799
  productAction: SendChatappMassMessageRequestSenderListProductAction,
5736
5800
  templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
@@ -5743,6 +5807,28 @@ export class SendChatappMassMessageRequestSenderList extends $tea.Model {
5743
5807
  }
5744
5808
  }
5745
5809
 
5810
+ export class SendChatappMessageRequestFlowAction extends $tea.Model {
5811
+ flowActionData?: { [key: string]: string };
5812
+ flowToken?: string;
5813
+ static names(): { [key: string]: string } {
5814
+ return {
5815
+ flowActionData: 'FlowActionData',
5816
+ flowToken: 'FlowToken',
5817
+ };
5818
+ }
5819
+
5820
+ static types(): { [key: string]: any } {
5821
+ return {
5822
+ flowActionData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5823
+ flowToken: 'string',
5824
+ };
5825
+ }
5826
+
5827
+ constructor(map?: { [key: string]: any }) {
5828
+ super(map);
5829
+ }
5830
+ }
5831
+
5746
5832
  export class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
5747
5833
  productRetailerId?: string;
5748
5834
  static names(): { [key: string]: string } {
@@ -7120,6 +7206,10 @@ export default class Client extends OpenApi {
7120
7206
  async isvGetAppIdWithOptions(request: IsvGetAppIdRequest, runtime: $Util.RuntimeOptions): Promise<IsvGetAppIdResponse> {
7121
7207
  Util.validateModel(request);
7122
7208
  let body : {[key: string ]: any} = { };
7209
+ if (!Util.isUnset(request.permissions)) {
7210
+ body["Permissions"] = request.permissions;
7211
+ }
7212
+
7123
7213
  if (!Util.isUnset(request.type)) {
7124
7214
  body["Type"] = request.type;
7125
7215
  }
@@ -7851,6 +7941,10 @@ export default class Client extends OpenApi {
7851
7941
  Util.validateModel(tmpReq);
7852
7942
  let request = new SendChatappMessageShrinkRequest({ });
7853
7943
  OpenApiUtil.convert(tmpReq, request);
7944
+ if (!Util.isUnset(tmpReq.flowAction)) {
7945
+ request.flowActionShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.flowAction, "FlowAction", "json");
7946
+ }
7947
+
7854
7948
  if (!Util.isUnset(tmpReq.payload)) {
7855
7949
  request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
7856
7950
  }
@@ -7905,6 +7999,10 @@ export default class Client extends OpenApi {
7905
7999
  body["FallBackRule"] = request.fallBackRule;
7906
8000
  }
7907
8001
 
8002
+ if (!Util.isUnset(request.flowActionShrink)) {
8003
+ body["FlowAction"] = request.flowActionShrink;
8004
+ }
8005
+
7908
8006
  if (!Util.isUnset(request.from)) {
7909
8007
  body["From"] = request.from;
7910
8008
  }