@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/dist/client.d.ts CHANGED
@@ -1236,6 +1236,7 @@ export declare class GetWhatsappConnectionCatalogResponse extends $tea.Model {
1236
1236
  });
1237
1237
  }
1238
1238
  export declare class IsvGetAppIdRequest extends $tea.Model {
1239
+ permissions?: string;
1239
1240
  type?: string;
1240
1241
  static names(): {
1241
1242
  [key: string]: string;
@@ -1251,6 +1252,7 @@ export declare class IsvGetAppIdResponseBody extends $tea.Model {
1251
1252
  accessDeniedDetail?: string;
1252
1253
  appId?: string;
1253
1254
  code?: string;
1255
+ configId?: string;
1254
1256
  message?: string;
1255
1257
  requestId?: string;
1256
1258
  static names(): {
@@ -1878,6 +1880,7 @@ export declare class SendChatappMessageRequest extends $tea.Model {
1878
1880
  fallBackDuration?: number;
1879
1881
  fallBackId?: string;
1880
1882
  fallBackRule?: string;
1883
+ flowAction?: SendChatappMessageRequestFlowAction;
1881
1884
  from?: string;
1882
1885
  isvCode?: string;
1883
1886
  label?: string;
@@ -1915,6 +1918,7 @@ export declare class SendChatappMessageShrinkRequest extends $tea.Model {
1915
1918
  fallBackDuration?: number;
1916
1919
  fallBackId?: string;
1917
1920
  fallBackRule?: string;
1921
+ flowActionShrink?: string;
1918
1922
  from?: string;
1919
1923
  isvCode?: string;
1920
1924
  label?: string;
@@ -2388,6 +2392,8 @@ export declare class CreateChatappMigrationInitiateResponseBodyData extends $tea
2388
2392
  export declare class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
2389
2393
  autofillText?: string;
2390
2394
  couponCode?: string;
2395
+ flowAction?: string;
2396
+ flowId?: string;
2391
2397
  isOptOut?: boolean;
2392
2398
  packageName?: string;
2393
2399
  phoneNumber?: string;
@@ -2396,6 +2402,7 @@ export declare class CreateChatappTemplateRequestComponentsButtons extends $tea.
2396
2402
  type?: string;
2397
2403
  url?: string;
2398
2404
  urlType?: string;
2405
+ navigateScreen?: string;
2399
2406
  static names(): {
2400
2407
  [key: string]: string;
2401
2408
  };
@@ -2525,7 +2532,10 @@ export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtons e
2525
2532
  autofillText?: string;
2526
2533
  couponCode?: string;
2527
2534
  extendAttrs?: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
2535
+ flowAction?: string;
2536
+ flowId?: string;
2528
2537
  isOptOut?: boolean;
2538
+ navigateScreen?: string;
2529
2539
  packageName?: string;
2530
2540
  phoneNumber?: string;
2531
2541
  signatureHash?: string;
@@ -2859,6 +2869,8 @@ export declare class ListProductCatalogResponseBodyModel extends $tea.Model {
2859
2869
  export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
2860
2870
  autofillText?: string;
2861
2871
  couponCode?: string;
2872
+ flowAction?: string;
2873
+ flowId?: string;
2862
2874
  isOptOut?: boolean;
2863
2875
  packageName?: string;
2864
2876
  phoneNumber?: string;
@@ -2867,6 +2879,7 @@ export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.
2867
2879
  type?: string;
2868
2880
  url?: string;
2869
2881
  urlType?: string;
2882
+ navigateScreen?: string;
2870
2883
  static names(): {
2871
2884
  [key: string]: string;
2872
2885
  };
@@ -3030,6 +3043,21 @@ export declare class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
3030
3043
  [key: string]: any;
3031
3044
  });
3032
3045
  }
3046
+ export declare class SendChatappMassMessageRequestSenderListFlowAction extends $tea.Model {
3047
+ flowActionData?: {
3048
+ [key: string]: string;
3049
+ };
3050
+ flowToken?: string;
3051
+ static names(): {
3052
+ [key: string]: string;
3053
+ };
3054
+ static types(): {
3055
+ [key: string]: any;
3056
+ };
3057
+ constructor(map?: {
3058
+ [key: string]: any;
3059
+ });
3060
+ }
3033
3061
  export declare class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
3034
3062
  productRetailerId?: string;
3035
3063
  static names(): {
@@ -3069,6 +3097,7 @@ export declare class SendChatappMassMessageRequestSenderListProductAction extend
3069
3097
  });
3070
3098
  }
3071
3099
  export declare class SendChatappMassMessageRequestSenderList extends $tea.Model {
3100
+ flowAction?: SendChatappMassMessageRequestSenderListFlowAction;
3072
3101
  payload?: string[];
3073
3102
  productAction?: SendChatappMassMessageRequestSenderListProductAction;
3074
3103
  templateParams?: {
@@ -3085,6 +3114,21 @@ export declare class SendChatappMassMessageRequestSenderList extends $tea.Model
3085
3114
  [key: string]: any;
3086
3115
  });
3087
3116
  }
3117
+ export declare class SendChatappMessageRequestFlowAction extends $tea.Model {
3118
+ flowActionData?: {
3119
+ [key: string]: string;
3120
+ };
3121
+ flowToken?: string;
3122
+ static names(): {
3123
+ [key: string]: string;
3124
+ };
3125
+ static types(): {
3126
+ [key: string]: any;
3127
+ };
3128
+ constructor(map?: {
3129
+ [key: string]: any;
3130
+ });
3131
+ }
3088
3132
  export declare class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
3089
3133
  productRetailerId?: string;
3090
3134
  static names(): {
package/dist/client.js CHANGED
@@ -1751,11 +1751,13 @@ class IsvGetAppIdRequest extends $tea.Model {
1751
1751
  }
1752
1752
  static names() {
1753
1753
  return {
1754
+ permissions: 'Permissions',
1754
1755
  type: 'Type',
1755
1756
  };
1756
1757
  }
1757
1758
  static types() {
1758
1759
  return {
1760
+ permissions: 'string',
1759
1761
  type: 'string',
1760
1762
  };
1761
1763
  }
@@ -1770,6 +1772,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
1770
1772
  accessDeniedDetail: 'AccessDeniedDetail',
1771
1773
  appId: 'AppId',
1772
1774
  code: 'Code',
1775
+ configId: 'ConfigId',
1773
1776
  message: 'Message',
1774
1777
  requestId: 'RequestId',
1775
1778
  };
@@ -1779,6 +1782,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
1779
1782
  accessDeniedDetail: 'string',
1780
1783
  appId: 'string',
1781
1784
  code: 'string',
1785
+ configId: 'string',
1782
1786
  message: 'string',
1783
1787
  requestId: 'string',
1784
1788
  };
@@ -2682,6 +2686,7 @@ class SendChatappMessageRequest extends $tea.Model {
2682
2686
  fallBackDuration: 'FallBackDuration',
2683
2687
  fallBackId: 'FallBackId',
2684
2688
  fallBackRule: 'FallBackRule',
2689
+ flowAction: 'FlowAction',
2685
2690
  from: 'From',
2686
2691
  isvCode: 'IsvCode',
2687
2692
  label: 'Label',
@@ -2710,6 +2715,7 @@ class SendChatappMessageRequest extends $tea.Model {
2710
2715
  fallBackDuration: 'number',
2711
2716
  fallBackId: 'string',
2712
2717
  fallBackRule: 'string',
2718
+ flowAction: SendChatappMessageRequestFlowAction,
2713
2719
  from: 'string',
2714
2720
  isvCode: 'string',
2715
2721
  label: 'string',
@@ -2744,6 +2750,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
2744
2750
  fallBackDuration: 'FallBackDuration',
2745
2751
  fallBackId: 'FallBackId',
2746
2752
  fallBackRule: 'FallBackRule',
2753
+ flowActionShrink: 'FlowAction',
2747
2754
  from: 'From',
2748
2755
  isvCode: 'IsvCode',
2749
2756
  label: 'Label',
@@ -2772,6 +2779,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
2772
2779
  fallBackDuration: 'number',
2773
2780
  fallBackId: 'string',
2774
2781
  fallBackRule: 'string',
2782
+ flowActionShrink: 'string',
2775
2783
  from: 'string',
2776
2784
  isvCode: 'string',
2777
2785
  label: 'string',
@@ -3437,6 +3445,8 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3437
3445
  return {
3438
3446
  autofillText: 'AutofillText',
3439
3447
  couponCode: 'CouponCode',
3448
+ flowAction: 'FlowAction',
3449
+ flowId: 'FlowId',
3440
3450
  isOptOut: 'IsOptOut',
3441
3451
  packageName: 'PackageName',
3442
3452
  phoneNumber: 'PhoneNumber',
@@ -3445,12 +3455,15 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3445
3455
  type: 'Type',
3446
3456
  url: 'Url',
3447
3457
  urlType: 'UrlType',
3458
+ navigateScreen: 'navigateScreen',
3448
3459
  };
3449
3460
  }
3450
3461
  static types() {
3451
3462
  return {
3452
3463
  autofillText: 'string',
3453
3464
  couponCode: 'string',
3465
+ flowAction: 'string',
3466
+ flowId: 'string',
3454
3467
  isOptOut: 'boolean',
3455
3468
  packageName: 'string',
3456
3469
  phoneNumber: 'string',
@@ -3459,6 +3472,7 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
3459
3472
  type: 'string',
3460
3473
  url: 'string',
3461
3474
  urlType: 'string',
3475
+ navigateScreen: 'string',
3462
3476
  };
3463
3477
  }
3464
3478
  }
@@ -3646,7 +3660,10 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
3646
3660
  autofillText: 'AutofillText',
3647
3661
  couponCode: 'CouponCode',
3648
3662
  extendAttrs: 'ExtendAttrs',
3663
+ flowAction: 'FlowAction',
3664
+ flowId: 'FlowId',
3649
3665
  isOptOut: 'IsOptOut',
3666
+ navigateScreen: 'NavigateScreen',
3650
3667
  packageName: 'PackageName',
3651
3668
  phoneNumber: 'PhoneNumber',
3652
3669
  signatureHash: 'SignatureHash',
@@ -3661,7 +3678,10 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
3661
3678
  autofillText: 'string',
3662
3679
  couponCode: 'string',
3663
3680
  extendAttrs: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs,
3681
+ flowAction: 'string',
3682
+ flowId: 'string',
3664
3683
  isOptOut: 'boolean',
3684
+ navigateScreen: 'string',
3665
3685
  packageName: 'string',
3666
3686
  phoneNumber: 'string',
3667
3687
  signatureHash: 'string',
@@ -4135,6 +4155,8 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
4135
4155
  return {
4136
4156
  autofillText: 'AutofillText',
4137
4157
  couponCode: 'CouponCode',
4158
+ flowAction: 'FlowAction',
4159
+ flowId: 'FlowId',
4138
4160
  isOptOut: 'IsOptOut',
4139
4161
  packageName: 'PackageName',
4140
4162
  phoneNumber: 'PhoneNumber',
@@ -4143,12 +4165,15 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
4143
4165
  type: 'Type',
4144
4166
  url: 'Url',
4145
4167
  urlType: 'UrlType',
4168
+ navigateScreen: 'navigateScreen',
4146
4169
  };
4147
4170
  }
4148
4171
  static types() {
4149
4172
  return {
4150
4173
  autofillText: 'string',
4151
4174
  couponCode: 'string',
4175
+ flowAction: 'string',
4176
+ flowId: 'string',
4152
4177
  isOptOut: 'boolean',
4153
4178
  packageName: 'string',
4154
4179
  phoneNumber: 'string',
@@ -4157,6 +4182,7 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
4157
4182
  type: 'string',
4158
4183
  url: 'string',
4159
4184
  urlType: 'string',
4185
+ navigateScreen: 'string',
4160
4186
  };
4161
4187
  }
4162
4188
  }
@@ -4395,6 +4421,24 @@ class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
4395
4421
  }
4396
4422
  }
4397
4423
  exports.QueryWabaBusinessInfoResponseBodyData = QueryWabaBusinessInfoResponseBodyData;
4424
+ class SendChatappMassMessageRequestSenderListFlowAction extends $tea.Model {
4425
+ constructor(map) {
4426
+ super(map);
4427
+ }
4428
+ static names() {
4429
+ return {
4430
+ flowActionData: 'FlowActionData',
4431
+ flowToken: 'FlowToken',
4432
+ };
4433
+ }
4434
+ static types() {
4435
+ return {
4436
+ flowActionData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4437
+ flowToken: 'string',
4438
+ };
4439
+ }
4440
+ }
4441
+ exports.SendChatappMassMessageRequestSenderListFlowAction = SendChatappMassMessageRequestSenderListFlowAction;
4398
4442
  class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
4399
4443
  constructor(map) {
4400
4444
  super(map);
@@ -4453,6 +4497,7 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
4453
4497
  }
4454
4498
  static names() {
4455
4499
  return {
4500
+ flowAction: 'FlowAction',
4456
4501
  payload: 'Payload',
4457
4502
  productAction: 'ProductAction',
4458
4503
  templateParams: 'TemplateParams',
@@ -4461,6 +4506,7 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
4461
4506
  }
4462
4507
  static types() {
4463
4508
  return {
4509
+ flowAction: SendChatappMassMessageRequestSenderListFlowAction,
4464
4510
  payload: { 'type': 'array', 'itemType': 'string' },
4465
4511
  productAction: SendChatappMassMessageRequestSenderListProductAction,
4466
4512
  templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
@@ -4469,6 +4515,24 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
4469
4515
  }
4470
4516
  }
4471
4517
  exports.SendChatappMassMessageRequestSenderList = SendChatappMassMessageRequestSenderList;
4518
+ class SendChatappMessageRequestFlowAction extends $tea.Model {
4519
+ constructor(map) {
4520
+ super(map);
4521
+ }
4522
+ static names() {
4523
+ return {
4524
+ flowActionData: 'FlowActionData',
4525
+ flowToken: 'FlowToken',
4526
+ };
4527
+ }
4528
+ static types() {
4529
+ return {
4530
+ flowActionData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4531
+ flowToken: 'string',
4532
+ };
4533
+ }
4534
+ }
4535
+ exports.SendChatappMessageRequestFlowAction = SendChatappMessageRequestFlowAction;
4472
4536
  class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
4473
4537
  constructor(map) {
4474
4538
  super(map);
@@ -5675,6 +5739,9 @@ class Client extends openapi_client_1.default {
5675
5739
  async isvGetAppIdWithOptions(request, runtime) {
5676
5740
  tea_util_1.default.validateModel(request);
5677
5741
  let body = {};
5742
+ if (!tea_util_1.default.isUnset(request.permissions)) {
5743
+ body["Permissions"] = request.permissions;
5744
+ }
5678
5745
  if (!tea_util_1.default.isUnset(request.type)) {
5679
5746
  body["Type"] = request.type;
5680
5747
  }
@@ -6309,6 +6376,9 @@ class Client extends openapi_client_1.default {
6309
6376
  tea_util_1.default.validateModel(tmpReq);
6310
6377
  let request = new SendChatappMessageShrinkRequest({});
6311
6378
  openapi_util_1.default.convert(tmpReq, request);
6379
+ if (!tea_util_1.default.isUnset(tmpReq.flowAction)) {
6380
+ request.flowActionShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.flowAction, "FlowAction", "json");
6381
+ }
6312
6382
  if (!tea_util_1.default.isUnset(tmpReq.payload)) {
6313
6383
  request.payloadShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
6314
6384
  }
@@ -6350,6 +6420,9 @@ class Client extends openapi_client_1.default {
6350
6420
  if (!tea_util_1.default.isUnset(request.fallBackRule)) {
6351
6421
  body["FallBackRule"] = request.fallBackRule;
6352
6422
  }
6423
+ if (!tea_util_1.default.isUnset(request.flowActionShrink)) {
6424
+ body["FlowAction"] = request.flowActionShrink;
6425
+ }
6353
6426
  if (!tea_util_1.default.isUnset(request.from)) {
6354
6427
  body["From"] = request.from;
6355
6428
  }