@alicloud/cams20200606 1.4.5 → 1.5.0

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
@@ -1321,6 +1321,55 @@ export declare class GetCommerceSettingResponse extends $tea.Model {
1321
1321
  [key: string]: any;
1322
1322
  });
1323
1323
  }
1324
+ export declare class GetConversationalAutomationRequest extends $tea.Model {
1325
+ custSpaceId?: string;
1326
+ ownerId?: number;
1327
+ phoneNumber?: string;
1328
+ resourceOwnerAccount?: string;
1329
+ resourceOwnerId?: number;
1330
+ static names(): {
1331
+ [key: string]: string;
1332
+ };
1333
+ static types(): {
1334
+ [key: string]: any;
1335
+ };
1336
+ constructor(map?: {
1337
+ [key: string]: any;
1338
+ });
1339
+ }
1340
+ export declare class GetConversationalAutomationResponseBody extends $tea.Model {
1341
+ accessDeniedDetail?: string;
1342
+ code?: string;
1343
+ data?: GetConversationalAutomationResponseBodyData;
1344
+ message?: string;
1345
+ requestId?: string;
1346
+ success?: boolean;
1347
+ static names(): {
1348
+ [key: string]: string;
1349
+ };
1350
+ static types(): {
1351
+ [key: string]: any;
1352
+ };
1353
+ constructor(map?: {
1354
+ [key: string]: any;
1355
+ });
1356
+ }
1357
+ export declare class GetConversationalAutomationResponse extends $tea.Model {
1358
+ headers?: {
1359
+ [key: string]: string;
1360
+ };
1361
+ statusCode?: number;
1362
+ body?: GetConversationalAutomationResponseBody;
1363
+ static names(): {
1364
+ [key: string]: string;
1365
+ };
1366
+ static types(): {
1367
+ [key: string]: any;
1368
+ };
1369
+ constructor(map?: {
1370
+ [key: string]: any;
1371
+ });
1372
+ }
1324
1373
  export declare class GetFlowRequest extends $tea.Model {
1325
1374
  custSpaceId?: string;
1326
1375
  flowId?: string;
@@ -1741,6 +1790,59 @@ export declare class GetWhatsappConnectionCatalogResponse extends $tea.Model {
1741
1790
  [key: string]: any;
1742
1791
  });
1743
1792
  }
1793
+ export declare class GetWhatsappHealthStatusRequest extends $tea.Model {
1794
+ custSpaceId?: string;
1795
+ language?: string;
1796
+ nodeType?: string;
1797
+ ownerId?: number;
1798
+ phoneNumber?: string;
1799
+ resourceOwnerAccount?: string;
1800
+ resourceOwnerId?: number;
1801
+ templateCode?: string;
1802
+ wabaId?: string;
1803
+ static names(): {
1804
+ [key: string]: string;
1805
+ };
1806
+ static types(): {
1807
+ [key: string]: any;
1808
+ };
1809
+ constructor(map?: {
1810
+ [key: string]: any;
1811
+ });
1812
+ }
1813
+ export declare class GetWhatsappHealthStatusResponseBody extends $tea.Model {
1814
+ accessDeniedDetail?: string;
1815
+ code?: string;
1816
+ data?: GetWhatsappHealthStatusResponseBodyData;
1817
+ message?: string;
1818
+ requestId?: string;
1819
+ success?: boolean;
1820
+ static names(): {
1821
+ [key: string]: string;
1822
+ };
1823
+ static types(): {
1824
+ [key: string]: any;
1825
+ };
1826
+ constructor(map?: {
1827
+ [key: string]: any;
1828
+ });
1829
+ }
1830
+ export declare class GetWhatsappHealthStatusResponse extends $tea.Model {
1831
+ headers?: {
1832
+ [key: string]: string;
1833
+ };
1834
+ statusCode?: number;
1835
+ body?: GetWhatsappHealthStatusResponseBody;
1836
+ static names(): {
1837
+ [key: string]: string;
1838
+ };
1839
+ static types(): {
1840
+ [key: string]: any;
1841
+ };
1842
+ constructor(map?: {
1843
+ [key: string]: any;
1844
+ });
1845
+ }
1744
1846
  export declare class IsvGetAppIdRequest extends $tea.Model {
1745
1847
  permissions?: string;
1746
1848
  type?: string;
@@ -2863,6 +2965,76 @@ export declare class UpdateCommerceSettingResponse extends $tea.Model {
2863
2965
  [key: string]: any;
2864
2966
  });
2865
2967
  }
2968
+ export declare class UpdateConversationalAutomationRequest extends $tea.Model {
2969
+ commands?: UpdateConversationalAutomationRequestCommands[];
2970
+ custSpaceId?: string;
2971
+ enableWelcomeMessage?: boolean;
2972
+ ownerId?: number;
2973
+ phoneNumber?: string;
2974
+ prompts?: string[];
2975
+ resourceOwnerAccount?: string;
2976
+ resourceOwnerId?: number;
2977
+ static names(): {
2978
+ [key: string]: string;
2979
+ };
2980
+ static types(): {
2981
+ [key: string]: any;
2982
+ };
2983
+ constructor(map?: {
2984
+ [key: string]: any;
2985
+ });
2986
+ }
2987
+ export declare class UpdateConversationalAutomationShrinkRequest extends $tea.Model {
2988
+ commandsShrink?: string;
2989
+ custSpaceId?: string;
2990
+ enableWelcomeMessage?: boolean;
2991
+ ownerId?: number;
2992
+ phoneNumber?: string;
2993
+ promptsShrink?: string;
2994
+ resourceOwnerAccount?: string;
2995
+ resourceOwnerId?: number;
2996
+ static names(): {
2997
+ [key: string]: string;
2998
+ };
2999
+ static types(): {
3000
+ [key: string]: any;
3001
+ };
3002
+ constructor(map?: {
3003
+ [key: string]: any;
3004
+ });
3005
+ }
3006
+ export declare class UpdateConversationalAutomationResponseBody extends $tea.Model {
3007
+ accessDeniedDetail?: string;
3008
+ code?: string;
3009
+ message?: string;
3010
+ requestId?: string;
3011
+ success?: boolean;
3012
+ static names(): {
3013
+ [key: string]: string;
3014
+ };
3015
+ static types(): {
3016
+ [key: string]: any;
3017
+ };
3018
+ constructor(map?: {
3019
+ [key: string]: any;
3020
+ });
3021
+ }
3022
+ export declare class UpdateConversationalAutomationResponse extends $tea.Model {
3023
+ headers?: {
3024
+ [key: string]: string;
3025
+ };
3026
+ statusCode?: number;
3027
+ body?: UpdateConversationalAutomationResponseBody;
3028
+ static names(): {
3029
+ [key: string]: string;
3030
+ };
3031
+ static types(): {
3032
+ [key: string]: any;
3033
+ };
3034
+ constructor(map?: {
3035
+ [key: string]: any;
3036
+ });
3037
+ }
2866
3038
  export declare class UpdateFlowJSONAssetRequest extends $tea.Model {
2867
3039
  custSpaceId?: string;
2868
3040
  filePath?: string;
@@ -3658,6 +3830,34 @@ export declare class GetCommerceSettingResponseBodyData extends $tea.Model {
3658
3830
  [key: string]: any;
3659
3831
  });
3660
3832
  }
3833
+ export declare class GetConversationalAutomationResponseBodyDataCommands extends $tea.Model {
3834
+ commandDescription?: string;
3835
+ commandName?: string;
3836
+ static names(): {
3837
+ [key: string]: string;
3838
+ };
3839
+ static types(): {
3840
+ [key: string]: any;
3841
+ };
3842
+ constructor(map?: {
3843
+ [key: string]: any;
3844
+ });
3845
+ }
3846
+ export declare class GetConversationalAutomationResponseBodyData extends $tea.Model {
3847
+ commands?: GetConversationalAutomationResponseBodyDataCommands[];
3848
+ enableWelcomeMessage?: boolean;
3849
+ phoneNumber?: string;
3850
+ prompts?: string[];
3851
+ static names(): {
3852
+ [key: string]: string;
3853
+ };
3854
+ static types(): {
3855
+ [key: string]: any;
3856
+ };
3857
+ constructor(map?: {
3858
+ [key: string]: any;
3859
+ });
3860
+ }
3661
3861
  export declare class GetFlowResponseBodyData extends $tea.Model {
3662
3862
  categories?: string[];
3663
3863
  dataApiVersion?: string;
@@ -3758,6 +3958,52 @@ export declare class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
3758
3958
  [key: string]: any;
3759
3959
  });
3760
3960
  }
3961
+ export declare class GetWhatsappHealthStatusResponseBodyDataEntitiesErrors extends $tea.Model {
3962
+ errorCode?: string;
3963
+ errorDescription?: string;
3964
+ possibleSolution?: string;
3965
+ static names(): {
3966
+ [key: string]: string;
3967
+ };
3968
+ static types(): {
3969
+ [key: string]: any;
3970
+ };
3971
+ constructor(map?: {
3972
+ [key: string]: any;
3973
+ });
3974
+ }
3975
+ export declare class GetWhatsappHealthStatusResponseBodyDataEntities extends $tea.Model {
3976
+ businessId?: string;
3977
+ canSendMessage?: string;
3978
+ entityType?: string;
3979
+ errors?: GetWhatsappHealthStatusResponseBodyDataEntitiesErrors[];
3980
+ language?: string;
3981
+ phoneNumber?: string;
3982
+ templateCode?: string;
3983
+ wabaId?: string;
3984
+ static names(): {
3985
+ [key: string]: string;
3986
+ };
3987
+ static types(): {
3988
+ [key: string]: any;
3989
+ };
3990
+ constructor(map?: {
3991
+ [key: string]: any;
3992
+ });
3993
+ }
3994
+ export declare class GetWhatsappHealthStatusResponseBodyData extends $tea.Model {
3995
+ canSendMessage?: string;
3996
+ entities?: GetWhatsappHealthStatusResponseBodyDataEntities[];
3997
+ static names(): {
3998
+ [key: string]: string;
3999
+ };
4000
+ static types(): {
4001
+ [key: string]: any;
4002
+ };
4003
+ constructor(map?: {
4004
+ [key: string]: any;
4005
+ });
4006
+ }
3761
4007
  export declare class ListChatappTemplateRequestPage extends $tea.Model {
3762
4008
  index?: number;
3763
4009
  size?: number;
@@ -4248,6 +4494,19 @@ export declare class SendChatappMessageRequestProductAction extends $tea.Model {
4248
4494
  [key: string]: any;
4249
4495
  });
4250
4496
  }
4497
+ export declare class UpdateConversationalAutomationRequestCommands extends $tea.Model {
4498
+ commandDescription?: string;
4499
+ commandName?: string;
4500
+ static names(): {
4501
+ [key: string]: string;
4502
+ };
4503
+ static types(): {
4504
+ [key: string]: any;
4505
+ };
4506
+ constructor(map?: {
4507
+ [key: string]: any;
4508
+ });
4509
+ }
4251
4510
  export declare class UpdateFlowJSONAssetResponseBodyData extends $tea.Model {
4252
4511
  flowId?: string;
4253
4512
  static names(): {
@@ -4772,6 +5031,21 @@ export default class Client extends OpenApi {
4772
5031
  * @return GetCommerceSettingResponse
4773
5032
  */
4774
5033
  getCommerceSetting(request: GetCommerceSettingRequest): Promise<GetCommerceSettingResponse>;
5034
+ /**
5035
+ * @summary 获取号码欢迎消息设置信息
5036
+ *
5037
+ * @param request GetConversationalAutomationRequest
5038
+ * @param runtime runtime options for this request RuntimeOptions
5039
+ * @return GetConversationalAutomationResponse
5040
+ */
5041
+ getConversationalAutomationWithOptions(request: GetConversationalAutomationRequest, runtime: $Util.RuntimeOptions): Promise<GetConversationalAutomationResponse>;
5042
+ /**
5043
+ * @summary 获取号码欢迎消息设置信息
5044
+ *
5045
+ * @param request GetConversationalAutomationRequest
5046
+ * @return GetConversationalAutomationResponse
5047
+ */
5048
+ getConversationalAutomation(request: GetConversationalAutomationRequest): Promise<GetConversationalAutomationResponse>;
4775
5049
  /**
4776
5050
  * @summary Queries the information about a Flow.
4777
5051
  *
@@ -4931,6 +5205,21 @@ export default class Client extends OpenApi {
4931
5205
  * @return GetWhatsappConnectionCatalogResponse
4932
5206
  */
4933
5207
  getWhatsappConnectionCatalog(request: GetWhatsappConnectionCatalogRequest): Promise<GetWhatsappConnectionCatalogResponse>;
5208
+ /**
5209
+ * @summary 获取whatsapp节点信息发送消息健康度
5210
+ *
5211
+ * @param request GetWhatsappHealthStatusRequest
5212
+ * @param runtime runtime options for this request RuntimeOptions
5213
+ * @return GetWhatsappHealthStatusResponse
5214
+ */
5215
+ getWhatsappHealthStatusWithOptions(request: GetWhatsappHealthStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetWhatsappHealthStatusResponse>;
5216
+ /**
5217
+ * @summary 获取whatsapp节点信息发送消息健康度
5218
+ *
5219
+ * @param request GetWhatsappHealthStatusRequest
5220
+ * @return GetWhatsappHealthStatusResponse
5221
+ */
5222
+ getWhatsappHealthStatus(request: GetWhatsappHealthStatusRequest): Promise<GetWhatsappHealthStatusResponse>;
4934
5223
  /**
4935
5224
  * @summary Obtains the application ID under the ISV account.
4936
5225
  *
@@ -5292,6 +5581,21 @@ export default class Client extends OpenApi {
5292
5581
  * @return UpdateCommerceSettingResponse
5293
5582
  */
5294
5583
  updateCommerceSetting(request: UpdateCommerceSettingRequest): Promise<UpdateCommerceSettingResponse>;
5584
+ /**
5585
+ * @summary 更新号码欢迎消息、命令等属性
5586
+ *
5587
+ * @param tmpReq UpdateConversationalAutomationRequest
5588
+ * @param runtime runtime options for this request RuntimeOptions
5589
+ * @return UpdateConversationalAutomationResponse
5590
+ */
5591
+ updateConversationalAutomationWithOptions(tmpReq: UpdateConversationalAutomationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateConversationalAutomationResponse>;
5592
+ /**
5593
+ * @summary 更新号码欢迎消息、命令等属性
5594
+ *
5595
+ * @param request UpdateConversationalAutomationRequest
5596
+ * @return UpdateConversationalAutomationResponse
5597
+ */
5598
+ updateConversationalAutomation(request: UpdateConversationalAutomationRequest): Promise<UpdateConversationalAutomationResponse>;
5295
5599
  /**
5296
5600
  * @summary 更新flow的表单内容
5297
5601
  *