@alicloud/cams20200606 1.4.4 → 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 +358 -0
- package/dist/client.js +818 -42
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1075 -70
package/src/client.ts
CHANGED
|
@@ -11,15 +11,21 @@ import * as $tea from '@alicloud/tea-typescript';
|
|
|
11
11
|
export class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
12
12
|
cc?: string;
|
|
13
13
|
custSpaceId?: string;
|
|
14
|
+
ownerId?: number;
|
|
14
15
|
phoneNumber?: string;
|
|
15
16
|
preValidateId?: string;
|
|
17
|
+
resourceOwnerAccount?: string;
|
|
18
|
+
resourceOwnerId?: number;
|
|
16
19
|
verifiedName?: string;
|
|
17
20
|
static names(): { [key: string]: string } {
|
|
18
21
|
return {
|
|
19
22
|
cc: 'Cc',
|
|
20
23
|
custSpaceId: 'CustSpaceId',
|
|
24
|
+
ownerId: 'OwnerId',
|
|
21
25
|
phoneNumber: 'PhoneNumber',
|
|
22
26
|
preValidateId: 'PreValidateId',
|
|
27
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
28
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
23
29
|
verifiedName: 'VerifiedName',
|
|
24
30
|
};
|
|
25
31
|
}
|
|
@@ -28,8 +34,11 @@ export class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
|
28
34
|
return {
|
|
29
35
|
cc: 'string',
|
|
30
36
|
custSpaceId: 'string',
|
|
37
|
+
ownerId: 'number',
|
|
31
38
|
phoneNumber: 'string',
|
|
32
39
|
preValidateId: 'string',
|
|
40
|
+
resourceOwnerAccount: 'string',
|
|
41
|
+
resourceOwnerId: 'number',
|
|
33
42
|
verifiedName: 'string',
|
|
34
43
|
};
|
|
35
44
|
}
|
|
@@ -44,12 +53,14 @@ export class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
|
44
53
|
code?: string;
|
|
45
54
|
message?: string;
|
|
46
55
|
requestId?: string;
|
|
56
|
+
success?: boolean;
|
|
47
57
|
static names(): { [key: string]: string } {
|
|
48
58
|
return {
|
|
49
59
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
50
60
|
code: 'Code',
|
|
51
61
|
message: 'Message',
|
|
52
62
|
requestId: 'RequestId',
|
|
63
|
+
success: 'Success',
|
|
53
64
|
};
|
|
54
65
|
}
|
|
55
66
|
|
|
@@ -59,6 +70,7 @@ export class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
|
59
70
|
code: 'string',
|
|
60
71
|
message: 'string',
|
|
61
72
|
requestId: 'string',
|
|
73
|
+
success: 'boolean',
|
|
62
74
|
};
|
|
63
75
|
}
|
|
64
76
|
|
|
@@ -377,15 +389,24 @@ export class BeeBotChatResponse extends $tea.Model {
|
|
|
377
389
|
}
|
|
378
390
|
|
|
379
391
|
export class ChatappBindWabaRequest extends $tea.Model {
|
|
392
|
+
ownerId?: number;
|
|
393
|
+
resourceOwnerAccount?: string;
|
|
394
|
+
resourceOwnerId?: number;
|
|
380
395
|
wabaId?: string;
|
|
381
396
|
static names(): { [key: string]: string } {
|
|
382
397
|
return {
|
|
398
|
+
ownerId: 'OwnerId',
|
|
399
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
400
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
383
401
|
wabaId: 'WabaId',
|
|
384
402
|
};
|
|
385
403
|
}
|
|
386
404
|
|
|
387
405
|
static types(): { [key: string]: any } {
|
|
388
406
|
return {
|
|
407
|
+
ownerId: 'number',
|
|
408
|
+
resourceOwnerAccount: 'string',
|
|
409
|
+
resourceOwnerId: 'number',
|
|
389
410
|
wabaId: 'string',
|
|
390
411
|
};
|
|
391
412
|
}
|
|
@@ -401,6 +422,7 @@ export class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
401
422
|
data?: ChatappBindWabaResponseBodyData;
|
|
402
423
|
message?: string;
|
|
403
424
|
requestId?: string;
|
|
425
|
+
success?: boolean;
|
|
404
426
|
static names(): { [key: string]: string } {
|
|
405
427
|
return {
|
|
406
428
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
@@ -408,6 +430,7 @@ export class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
408
430
|
data: 'Data',
|
|
409
431
|
message: 'Message',
|
|
410
432
|
requestId: 'RequestId',
|
|
433
|
+
success: 'Success',
|
|
411
434
|
};
|
|
412
435
|
}
|
|
413
436
|
|
|
@@ -418,6 +441,7 @@ export class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
418
441
|
data: ChatappBindWabaResponseBodyData,
|
|
419
442
|
message: 'string',
|
|
420
443
|
requestId: 'string',
|
|
444
|
+
success: 'boolean',
|
|
421
445
|
};
|
|
422
446
|
}
|
|
423
447
|
|
|
@@ -759,18 +783,27 @@ export class ChatappPhoneNumberDeregisterResponse extends $tea.Model {
|
|
|
759
783
|
|
|
760
784
|
export class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
761
785
|
custSpaceId?: string;
|
|
786
|
+
ownerId?: number;
|
|
762
787
|
phoneNumber?: string;
|
|
788
|
+
resourceOwnerAccount?: string;
|
|
789
|
+
resourceOwnerId?: number;
|
|
763
790
|
static names(): { [key: string]: string } {
|
|
764
791
|
return {
|
|
765
792
|
custSpaceId: 'CustSpaceId',
|
|
793
|
+
ownerId: 'OwnerId',
|
|
766
794
|
phoneNumber: 'PhoneNumber',
|
|
795
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
796
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
767
797
|
};
|
|
768
798
|
}
|
|
769
799
|
|
|
770
800
|
static types(): { [key: string]: any } {
|
|
771
801
|
return {
|
|
772
802
|
custSpaceId: 'string',
|
|
803
|
+
ownerId: 'number',
|
|
773
804
|
phoneNumber: 'string',
|
|
805
|
+
resourceOwnerAccount: 'string',
|
|
806
|
+
resourceOwnerId: 'number',
|
|
774
807
|
};
|
|
775
808
|
}
|
|
776
809
|
|
|
@@ -784,12 +817,14 @@ export class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
784
817
|
code?: string;
|
|
785
818
|
message?: string;
|
|
786
819
|
requestId?: string;
|
|
820
|
+
success?: boolean;
|
|
787
821
|
static names(): { [key: string]: string } {
|
|
788
822
|
return {
|
|
789
823
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
790
824
|
code: 'Code',
|
|
791
825
|
message: 'Message',
|
|
792
826
|
requestId: 'RequestId',
|
|
827
|
+
success: 'Success',
|
|
793
828
|
};
|
|
794
829
|
}
|
|
795
830
|
|
|
@@ -799,6 +834,7 @@ export class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
799
834
|
code: 'string',
|
|
800
835
|
message: 'string',
|
|
801
836
|
requestId: 'string',
|
|
837
|
+
success: 'boolean',
|
|
802
838
|
};
|
|
803
839
|
}
|
|
804
840
|
|
|
@@ -834,15 +870,24 @@ export class ChatappPhoneNumberRegisterResponse extends $tea.Model {
|
|
|
834
870
|
|
|
835
871
|
export class ChatappSyncPhoneNumberRequest extends $tea.Model {
|
|
836
872
|
custSpaceId?: string;
|
|
873
|
+
ownerId?: number;
|
|
874
|
+
resourceOwnerAccount?: string;
|
|
875
|
+
resourceOwnerId?: number;
|
|
837
876
|
static names(): { [key: string]: string } {
|
|
838
877
|
return {
|
|
839
878
|
custSpaceId: 'CustSpaceId',
|
|
879
|
+
ownerId: 'OwnerId',
|
|
880
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
881
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
840
882
|
};
|
|
841
883
|
}
|
|
842
884
|
|
|
843
885
|
static types(): { [key: string]: any } {
|
|
844
886
|
return {
|
|
845
887
|
custSpaceId: 'string',
|
|
888
|
+
ownerId: 'number',
|
|
889
|
+
resourceOwnerAccount: 'string',
|
|
890
|
+
resourceOwnerId: 'number',
|
|
846
891
|
};
|
|
847
892
|
}
|
|
848
893
|
|
|
@@ -857,6 +902,7 @@ export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
857
902
|
message?: string;
|
|
858
903
|
phoneNumbers?: ChatappSyncPhoneNumberResponseBodyPhoneNumbers[];
|
|
859
904
|
requestId?: string;
|
|
905
|
+
success?: boolean;
|
|
860
906
|
static names(): { [key: string]: string } {
|
|
861
907
|
return {
|
|
862
908
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
@@ -864,6 +910,7 @@ export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
864
910
|
message: 'Message',
|
|
865
911
|
phoneNumbers: 'PhoneNumbers',
|
|
866
912
|
requestId: 'RequestId',
|
|
913
|
+
success: 'Success',
|
|
867
914
|
};
|
|
868
915
|
}
|
|
869
916
|
|
|
@@ -874,6 +921,7 @@ export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
874
921
|
message: 'string',
|
|
875
922
|
phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
|
|
876
923
|
requestId: 'string',
|
|
924
|
+
success: 'boolean',
|
|
877
925
|
};
|
|
878
926
|
}
|
|
879
927
|
|
|
@@ -909,12 +957,18 @@ export class ChatappSyncPhoneNumberResponse extends $tea.Model {
|
|
|
909
957
|
|
|
910
958
|
export class ChatappVerifyAndRegisterRequest extends $tea.Model {
|
|
911
959
|
custSpaceId?: string;
|
|
960
|
+
ownerId?: number;
|
|
912
961
|
phoneNumber?: string;
|
|
962
|
+
resourceOwnerAccount?: string;
|
|
963
|
+
resourceOwnerId?: number;
|
|
913
964
|
verifyCode?: string;
|
|
914
965
|
static names(): { [key: string]: string } {
|
|
915
966
|
return {
|
|
916
967
|
custSpaceId: 'CustSpaceId',
|
|
968
|
+
ownerId: 'OwnerId',
|
|
917
969
|
phoneNumber: 'PhoneNumber',
|
|
970
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
971
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
918
972
|
verifyCode: 'VerifyCode',
|
|
919
973
|
};
|
|
920
974
|
}
|
|
@@ -922,7 +976,10 @@ export class ChatappVerifyAndRegisterRequest extends $tea.Model {
|
|
|
922
976
|
static types(): { [key: string]: any } {
|
|
923
977
|
return {
|
|
924
978
|
custSpaceId: 'string',
|
|
979
|
+
ownerId: 'number',
|
|
925
980
|
phoneNumber: 'string',
|
|
981
|
+
resourceOwnerAccount: 'string',
|
|
982
|
+
resourceOwnerId: 'number',
|
|
926
983
|
verifyCode: 'string',
|
|
927
984
|
};
|
|
928
985
|
}
|
|
@@ -937,12 +994,14 @@ export class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
937
994
|
code?: string;
|
|
938
995
|
message?: string;
|
|
939
996
|
requestId?: string;
|
|
997
|
+
success?: boolean;
|
|
940
998
|
static names(): { [key: string]: string } {
|
|
941
999
|
return {
|
|
942
1000
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
943
1001
|
code: 'Code',
|
|
944
1002
|
message: 'Message',
|
|
945
1003
|
requestId: 'RequestId',
|
|
1004
|
+
success: 'Success',
|
|
946
1005
|
};
|
|
947
1006
|
}
|
|
948
1007
|
|
|
@@ -952,6 +1011,7 @@ export class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
952
1011
|
code: 'string',
|
|
953
1012
|
message: 'string',
|
|
954
1013
|
requestId: 'string',
|
|
1014
|
+
success: 'boolean',
|
|
955
1015
|
};
|
|
956
1016
|
}
|
|
957
1017
|
|
|
@@ -1409,6 +1469,9 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
|
|
|
1409
1469
|
custWabaId?: string;
|
|
1410
1470
|
isvCode?: string;
|
|
1411
1471
|
language?: string;
|
|
1472
|
+
ownerId?: number;
|
|
1473
|
+
resourceOwnerAccount?: string;
|
|
1474
|
+
resourceOwnerId?: number;
|
|
1412
1475
|
templateCode?: string;
|
|
1413
1476
|
templateName?: string;
|
|
1414
1477
|
templateType?: string;
|
|
@@ -1418,6 +1481,9 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
|
|
|
1418
1481
|
custWabaId: 'CustWabaId',
|
|
1419
1482
|
isvCode: 'IsvCode',
|
|
1420
1483
|
language: 'Language',
|
|
1484
|
+
ownerId: 'OwnerId',
|
|
1485
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1486
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1421
1487
|
templateCode: 'TemplateCode',
|
|
1422
1488
|
templateName: 'TemplateName',
|
|
1423
1489
|
templateType: 'TemplateType',
|
|
@@ -1430,6 +1496,9 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
|
|
|
1430
1496
|
custWabaId: 'string',
|
|
1431
1497
|
isvCode: 'string',
|
|
1432
1498
|
language: 'string',
|
|
1499
|
+
ownerId: 'number',
|
|
1500
|
+
resourceOwnerAccount: 'string',
|
|
1501
|
+
resourceOwnerId: 'number',
|
|
1433
1502
|
templateCode: 'string',
|
|
1434
1503
|
templateName: 'string',
|
|
1435
1504
|
templateType: 'string',
|
|
@@ -1446,12 +1515,14 @@ export class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
1446
1515
|
code?: string;
|
|
1447
1516
|
message?: string;
|
|
1448
1517
|
requestId?: string;
|
|
1518
|
+
success?: boolean;
|
|
1449
1519
|
static names(): { [key: string]: string } {
|
|
1450
1520
|
return {
|
|
1451
1521
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1452
1522
|
code: 'Code',
|
|
1453
1523
|
message: 'Message',
|
|
1454
1524
|
requestId: 'RequestId',
|
|
1525
|
+
success: 'Success',
|
|
1455
1526
|
};
|
|
1456
1527
|
}
|
|
1457
1528
|
|
|
@@ -1461,6 +1532,7 @@ export class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
1461
1532
|
code: 'string',
|
|
1462
1533
|
message: 'string',
|
|
1463
1534
|
requestId: 'string',
|
|
1535
|
+
success: 'boolean',
|
|
1464
1536
|
};
|
|
1465
1537
|
}
|
|
1466
1538
|
|
|
@@ -2146,13 +2218,19 @@ export class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
|
2146
2218
|
custSpaceId?: string;
|
|
2147
2219
|
locale?: string;
|
|
2148
2220
|
method?: string;
|
|
2221
|
+
ownerId?: number;
|
|
2149
2222
|
phoneNumber?: string;
|
|
2223
|
+
resourceOwnerAccount?: string;
|
|
2224
|
+
resourceOwnerId?: number;
|
|
2150
2225
|
static names(): { [key: string]: string } {
|
|
2151
2226
|
return {
|
|
2152
2227
|
custSpaceId: 'CustSpaceId',
|
|
2153
2228
|
locale: 'Locale',
|
|
2154
2229
|
method: 'Method',
|
|
2230
|
+
ownerId: 'OwnerId',
|
|
2155
2231
|
phoneNumber: 'PhoneNumber',
|
|
2232
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2233
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2156
2234
|
};
|
|
2157
2235
|
}
|
|
2158
2236
|
|
|
@@ -2161,7 +2239,10 @@ export class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
|
2161
2239
|
custSpaceId: 'string',
|
|
2162
2240
|
locale: 'string',
|
|
2163
2241
|
method: 'string',
|
|
2242
|
+
ownerId: 'number',
|
|
2164
2243
|
phoneNumber: 'string',
|
|
2244
|
+
resourceOwnerAccount: 'string',
|
|
2245
|
+
resourceOwnerId: 'number',
|
|
2165
2246
|
};
|
|
2166
2247
|
}
|
|
2167
2248
|
|
|
@@ -2175,12 +2256,14 @@ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
2175
2256
|
code?: string;
|
|
2176
2257
|
message?: string;
|
|
2177
2258
|
requestId?: string;
|
|
2259
|
+
success?: boolean;
|
|
2178
2260
|
static names(): { [key: string]: string } {
|
|
2179
2261
|
return {
|
|
2180
2262
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2181
2263
|
code: 'Code',
|
|
2182
2264
|
message: 'Message',
|
|
2183
2265
|
requestId: 'RequestId',
|
|
2266
|
+
success: 'Success',
|
|
2184
2267
|
};
|
|
2185
2268
|
}
|
|
2186
2269
|
|
|
@@ -2190,6 +2273,7 @@ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
2190
2273
|
code: 'string',
|
|
2191
2274
|
message: 'string',
|
|
2192
2275
|
requestId: 'string',
|
|
2276
|
+
success: 'boolean',
|
|
2193
2277
|
};
|
|
2194
2278
|
}
|
|
2195
2279
|
|
|
@@ -2225,18 +2309,27 @@ export class GetChatappVerifyCodeResponse extends $tea.Model {
|
|
|
2225
2309
|
|
|
2226
2310
|
export class GetCommerceSettingRequest extends $tea.Model {
|
|
2227
2311
|
custSpaceId?: string;
|
|
2312
|
+
ownerId?: number;
|
|
2228
2313
|
phoneNumber?: string;
|
|
2314
|
+
resourceOwnerAccount?: string;
|
|
2315
|
+
resourceOwnerId?: number;
|
|
2229
2316
|
static names(): { [key: string]: string } {
|
|
2230
2317
|
return {
|
|
2231
2318
|
custSpaceId: 'CustSpaceId',
|
|
2319
|
+
ownerId: 'OwnerId',
|
|
2232
2320
|
phoneNumber: 'PhoneNumber',
|
|
2321
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2322
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2233
2323
|
};
|
|
2234
2324
|
}
|
|
2235
2325
|
|
|
2236
2326
|
static types(): { [key: string]: any } {
|
|
2237
2327
|
return {
|
|
2238
2328
|
custSpaceId: 'string',
|
|
2329
|
+
ownerId: 'number',
|
|
2239
2330
|
phoneNumber: 'string',
|
|
2331
|
+
resourceOwnerAccount: 'string',
|
|
2332
|
+
resourceOwnerId: 'number',
|
|
2240
2333
|
};
|
|
2241
2334
|
}
|
|
2242
2335
|
|
|
@@ -2246,25 +2339,31 @@ export class GetCommerceSettingRequest extends $tea.Model {
|
|
|
2246
2339
|
}
|
|
2247
2340
|
|
|
2248
2341
|
export class GetCommerceSettingResponseBody extends $tea.Model {
|
|
2342
|
+
accessDeniedDetail?: string;
|
|
2249
2343
|
code?: string;
|
|
2250
2344
|
data?: GetCommerceSettingResponseBodyData;
|
|
2251
2345
|
message?: string;
|
|
2252
2346
|
requestId?: string;
|
|
2347
|
+
success?: boolean;
|
|
2253
2348
|
static names(): { [key: string]: string } {
|
|
2254
2349
|
return {
|
|
2350
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2255
2351
|
code: 'Code',
|
|
2256
2352
|
data: 'Data',
|
|
2257
2353
|
message: 'Message',
|
|
2258
2354
|
requestId: 'RequestId',
|
|
2355
|
+
success: 'Success',
|
|
2259
2356
|
};
|
|
2260
2357
|
}
|
|
2261
2358
|
|
|
2262
2359
|
static types(): { [key: string]: any } {
|
|
2263
2360
|
return {
|
|
2361
|
+
accessDeniedDetail: 'string',
|
|
2264
2362
|
code: 'string',
|
|
2265
2363
|
data: GetCommerceSettingResponseBodyData,
|
|
2266
2364
|
message: 'string',
|
|
2267
2365
|
requestId: 'string',
|
|
2366
|
+
success: 'boolean',
|
|
2268
2367
|
};
|
|
2269
2368
|
}
|
|
2270
2369
|
|
|
@@ -2298,6 +2397,96 @@ export class GetCommerceSettingResponse extends $tea.Model {
|
|
|
2298
2397
|
}
|
|
2299
2398
|
}
|
|
2300
2399
|
|
|
2400
|
+
export class GetConversationalAutomationRequest extends $tea.Model {
|
|
2401
|
+
custSpaceId?: string;
|
|
2402
|
+
ownerId?: number;
|
|
2403
|
+
phoneNumber?: string;
|
|
2404
|
+
resourceOwnerAccount?: string;
|
|
2405
|
+
resourceOwnerId?: number;
|
|
2406
|
+
static names(): { [key: string]: string } {
|
|
2407
|
+
return {
|
|
2408
|
+
custSpaceId: 'CustSpaceId',
|
|
2409
|
+
ownerId: 'OwnerId',
|
|
2410
|
+
phoneNumber: 'PhoneNumber',
|
|
2411
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2412
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2413
|
+
};
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
static types(): { [key: string]: any } {
|
|
2417
|
+
return {
|
|
2418
|
+
custSpaceId: 'string',
|
|
2419
|
+
ownerId: 'number',
|
|
2420
|
+
phoneNumber: 'string',
|
|
2421
|
+
resourceOwnerAccount: 'string',
|
|
2422
|
+
resourceOwnerId: 'number',
|
|
2423
|
+
};
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
constructor(map?: { [key: string]: any }) {
|
|
2427
|
+
super(map);
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
export class GetConversationalAutomationResponseBody extends $tea.Model {
|
|
2432
|
+
accessDeniedDetail?: string;
|
|
2433
|
+
code?: string;
|
|
2434
|
+
data?: GetConversationalAutomationResponseBodyData;
|
|
2435
|
+
message?: string;
|
|
2436
|
+
requestId?: string;
|
|
2437
|
+
success?: boolean;
|
|
2438
|
+
static names(): { [key: string]: string } {
|
|
2439
|
+
return {
|
|
2440
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2441
|
+
code: 'Code',
|
|
2442
|
+
data: 'Data',
|
|
2443
|
+
message: 'Message',
|
|
2444
|
+
requestId: 'RequestId',
|
|
2445
|
+
success: 'Success',
|
|
2446
|
+
};
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
static types(): { [key: string]: any } {
|
|
2450
|
+
return {
|
|
2451
|
+
accessDeniedDetail: 'string',
|
|
2452
|
+
code: 'string',
|
|
2453
|
+
data: GetConversationalAutomationResponseBodyData,
|
|
2454
|
+
message: 'string',
|
|
2455
|
+
requestId: 'string',
|
|
2456
|
+
success: 'boolean',
|
|
2457
|
+
};
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
constructor(map?: { [key: string]: any }) {
|
|
2461
|
+
super(map);
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
export class GetConversationalAutomationResponse extends $tea.Model {
|
|
2466
|
+
headers?: { [key: string]: string };
|
|
2467
|
+
statusCode?: number;
|
|
2468
|
+
body?: GetConversationalAutomationResponseBody;
|
|
2469
|
+
static names(): { [key: string]: string } {
|
|
2470
|
+
return {
|
|
2471
|
+
headers: 'headers',
|
|
2472
|
+
statusCode: 'statusCode',
|
|
2473
|
+
body: 'body',
|
|
2474
|
+
};
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
static types(): { [key: string]: any } {
|
|
2478
|
+
return {
|
|
2479
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2480
|
+
statusCode: 'number',
|
|
2481
|
+
body: GetConversationalAutomationResponseBody,
|
|
2482
|
+
};
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
constructor(map?: { [key: string]: any }) {
|
|
2486
|
+
super(map);
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2301
2490
|
export class GetFlowRequest extends $tea.Model {
|
|
2302
2491
|
custSpaceId?: string;
|
|
2303
2492
|
flowId?: string;
|
|
@@ -3022,20 +3211,41 @@ export class GetWhatsappConnectionCatalogResponse extends $tea.Model {
|
|
|
3022
3211
|
}
|
|
3023
3212
|
}
|
|
3024
3213
|
|
|
3025
|
-
export class
|
|
3026
|
-
|
|
3027
|
-
|
|
3214
|
+
export class GetWhatsappHealthStatusRequest extends $tea.Model {
|
|
3215
|
+
custSpaceId?: string;
|
|
3216
|
+
language?: string;
|
|
3217
|
+
nodeType?: string;
|
|
3218
|
+
ownerId?: number;
|
|
3219
|
+
phoneNumber?: string;
|
|
3220
|
+
resourceOwnerAccount?: string;
|
|
3221
|
+
resourceOwnerId?: number;
|
|
3222
|
+
templateCode?: string;
|
|
3223
|
+
wabaId?: string;
|
|
3028
3224
|
static names(): { [key: string]: string } {
|
|
3029
3225
|
return {
|
|
3030
|
-
|
|
3031
|
-
|
|
3226
|
+
custSpaceId: 'CustSpaceId',
|
|
3227
|
+
language: 'Language',
|
|
3228
|
+
nodeType: 'NodeType',
|
|
3229
|
+
ownerId: 'OwnerId',
|
|
3230
|
+
phoneNumber: 'PhoneNumber',
|
|
3231
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3232
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3233
|
+
templateCode: 'TemplateCode',
|
|
3234
|
+
wabaId: 'WabaId',
|
|
3032
3235
|
};
|
|
3033
3236
|
}
|
|
3034
3237
|
|
|
3035
3238
|
static types(): { [key: string]: any } {
|
|
3036
3239
|
return {
|
|
3037
|
-
|
|
3038
|
-
|
|
3240
|
+
custSpaceId: 'string',
|
|
3241
|
+
language: 'string',
|
|
3242
|
+
nodeType: 'string',
|
|
3243
|
+
ownerId: 'number',
|
|
3244
|
+
phoneNumber: 'string',
|
|
3245
|
+
resourceOwnerAccount: 'string',
|
|
3246
|
+
resourceOwnerId: 'number',
|
|
3247
|
+
templateCode: 'string',
|
|
3248
|
+
wabaId: 'string',
|
|
3039
3249
|
};
|
|
3040
3250
|
}
|
|
3041
3251
|
|
|
@@ -3044,32 +3254,32 @@ export class IsvGetAppIdRequest extends $tea.Model {
|
|
|
3044
3254
|
}
|
|
3045
3255
|
}
|
|
3046
3256
|
|
|
3047
|
-
export class
|
|
3257
|
+
export class GetWhatsappHealthStatusResponseBody extends $tea.Model {
|
|
3048
3258
|
accessDeniedDetail?: string;
|
|
3049
|
-
appId?: string;
|
|
3050
3259
|
code?: string;
|
|
3051
|
-
|
|
3260
|
+
data?: GetWhatsappHealthStatusResponseBodyData;
|
|
3052
3261
|
message?: string;
|
|
3053
3262
|
requestId?: string;
|
|
3263
|
+
success?: boolean;
|
|
3054
3264
|
static names(): { [key: string]: string } {
|
|
3055
3265
|
return {
|
|
3056
3266
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3057
|
-
appId: 'AppId',
|
|
3058
3267
|
code: 'Code',
|
|
3059
|
-
|
|
3268
|
+
data: 'Data',
|
|
3060
3269
|
message: 'Message',
|
|
3061
3270
|
requestId: 'RequestId',
|
|
3271
|
+
success: 'Success',
|
|
3062
3272
|
};
|
|
3063
3273
|
}
|
|
3064
3274
|
|
|
3065
3275
|
static types(): { [key: string]: any } {
|
|
3066
3276
|
return {
|
|
3067
3277
|
accessDeniedDetail: 'string',
|
|
3068
|
-
appId: 'string',
|
|
3069
3278
|
code: 'string',
|
|
3070
|
-
|
|
3279
|
+
data: GetWhatsappHealthStatusResponseBodyData,
|
|
3071
3280
|
message: 'string',
|
|
3072
3281
|
requestId: 'string',
|
|
3282
|
+
success: 'boolean',
|
|
3073
3283
|
};
|
|
3074
3284
|
}
|
|
3075
3285
|
|
|
@@ -3078,10 +3288,10 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
3078
3288
|
}
|
|
3079
3289
|
}
|
|
3080
3290
|
|
|
3081
|
-
export class
|
|
3291
|
+
export class GetWhatsappHealthStatusResponse extends $tea.Model {
|
|
3082
3292
|
headers?: { [key: string]: string };
|
|
3083
3293
|
statusCode?: number;
|
|
3084
|
-
body?:
|
|
3294
|
+
body?: GetWhatsappHealthStatusResponseBody;
|
|
3085
3295
|
static names(): { [key: string]: string } {
|
|
3086
3296
|
return {
|
|
3087
3297
|
headers: 'headers',
|
|
@@ -3094,7 +3304,7 @@ export class IsvGetAppIdResponse extends $tea.Model {
|
|
|
3094
3304
|
return {
|
|
3095
3305
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3096
3306
|
statusCode: 'number',
|
|
3097
|
-
body:
|
|
3307
|
+
body: GetWhatsappHealthStatusResponseBody,
|
|
3098
3308
|
};
|
|
3099
3309
|
}
|
|
3100
3310
|
|
|
@@ -3103,37 +3313,118 @@ export class IsvGetAppIdResponse extends $tea.Model {
|
|
|
3103
3313
|
}
|
|
3104
3314
|
}
|
|
3105
3315
|
|
|
3106
|
-
export class
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
custSpaceId?: string;
|
|
3110
|
-
custWabaId?: string;
|
|
3111
|
-
isvCode?: string;
|
|
3112
|
-
language?: string;
|
|
3113
|
-
name?: string;
|
|
3114
|
-
page?: ListChatappTemplateRequestPage;
|
|
3115
|
-
templateType?: string;
|
|
3316
|
+
export class IsvGetAppIdRequest extends $tea.Model {
|
|
3317
|
+
permissions?: string;
|
|
3318
|
+
type?: string;
|
|
3116
3319
|
static names(): { [key: string]: string } {
|
|
3117
3320
|
return {
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
custSpaceId: 'CustSpaceId',
|
|
3121
|
-
custWabaId: 'CustWabaId',
|
|
3122
|
-
isvCode: 'IsvCode',
|
|
3123
|
-
language: 'Language',
|
|
3124
|
-
name: 'Name',
|
|
3125
|
-
page: 'Page',
|
|
3126
|
-
templateType: 'TemplateType',
|
|
3321
|
+
permissions: 'Permissions',
|
|
3322
|
+
type: 'Type',
|
|
3127
3323
|
};
|
|
3128
3324
|
}
|
|
3129
3325
|
|
|
3130
3326
|
static types(): { [key: string]: any } {
|
|
3131
3327
|
return {
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3328
|
+
permissions: 'string',
|
|
3329
|
+
type: 'string',
|
|
3330
|
+
};
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3333
|
+
constructor(map?: { [key: string]: any }) {
|
|
3334
|
+
super(map);
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
export class IsvGetAppIdResponseBody extends $tea.Model {
|
|
3339
|
+
accessDeniedDetail?: string;
|
|
3340
|
+
appId?: string;
|
|
3341
|
+
code?: string;
|
|
3342
|
+
configId?: string;
|
|
3343
|
+
message?: string;
|
|
3344
|
+
requestId?: string;
|
|
3345
|
+
static names(): { [key: string]: string } {
|
|
3346
|
+
return {
|
|
3347
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3348
|
+
appId: 'AppId',
|
|
3349
|
+
code: 'Code',
|
|
3350
|
+
configId: 'ConfigId',
|
|
3351
|
+
message: 'Message',
|
|
3352
|
+
requestId: 'RequestId',
|
|
3353
|
+
};
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
static types(): { [key: string]: any } {
|
|
3357
|
+
return {
|
|
3358
|
+
accessDeniedDetail: 'string',
|
|
3359
|
+
appId: 'string',
|
|
3360
|
+
code: 'string',
|
|
3361
|
+
configId: 'string',
|
|
3362
|
+
message: 'string',
|
|
3363
|
+
requestId: 'string',
|
|
3364
|
+
};
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
constructor(map?: { [key: string]: any }) {
|
|
3368
|
+
super(map);
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3372
|
+
export class IsvGetAppIdResponse extends $tea.Model {
|
|
3373
|
+
headers?: { [key: string]: string };
|
|
3374
|
+
statusCode?: number;
|
|
3375
|
+
body?: IsvGetAppIdResponseBody;
|
|
3376
|
+
static names(): { [key: string]: string } {
|
|
3377
|
+
return {
|
|
3378
|
+
headers: 'headers',
|
|
3379
|
+
statusCode: 'statusCode',
|
|
3380
|
+
body: 'body',
|
|
3381
|
+
};
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
static types(): { [key: string]: any } {
|
|
3385
|
+
return {
|
|
3386
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3387
|
+
statusCode: 'number',
|
|
3388
|
+
body: IsvGetAppIdResponseBody,
|
|
3389
|
+
};
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
constructor(map?: { [key: string]: any }) {
|
|
3393
|
+
super(map);
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
export class ListChatappTemplateRequest extends $tea.Model {
|
|
3398
|
+
auditStatus?: string;
|
|
3399
|
+
code?: string;
|
|
3400
|
+
custSpaceId?: string;
|
|
3401
|
+
custWabaId?: string;
|
|
3402
|
+
isvCode?: string;
|
|
3403
|
+
language?: string;
|
|
3404
|
+
name?: string;
|
|
3405
|
+
page?: ListChatappTemplateRequestPage;
|
|
3406
|
+
templateType?: string;
|
|
3407
|
+
static names(): { [key: string]: string } {
|
|
3408
|
+
return {
|
|
3409
|
+
auditStatus: 'AuditStatus',
|
|
3410
|
+
code: 'Code',
|
|
3411
|
+
custSpaceId: 'CustSpaceId',
|
|
3412
|
+
custWabaId: 'CustWabaId',
|
|
3413
|
+
isvCode: 'IsvCode',
|
|
3414
|
+
language: 'Language',
|
|
3415
|
+
name: 'Name',
|
|
3416
|
+
page: 'Page',
|
|
3417
|
+
templateType: 'TemplateType',
|
|
3418
|
+
};
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
static types(): { [key: string]: any } {
|
|
3422
|
+
return {
|
|
3423
|
+
auditStatus: 'string',
|
|
3424
|
+
code: 'string',
|
|
3425
|
+
custSpaceId: 'string',
|
|
3426
|
+
custWabaId: 'string',
|
|
3427
|
+
isvCode: 'string',
|
|
3137
3428
|
language: 'string',
|
|
3138
3429
|
name: 'string',
|
|
3139
3430
|
page: ListChatappTemplateRequestPage,
|
|
@@ -3902,8 +4193,11 @@ export class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3902
4193
|
custSpaceId?: string;
|
|
3903
4194
|
description?: string;
|
|
3904
4195
|
email?: string;
|
|
4196
|
+
ownerId?: number;
|
|
3905
4197
|
phoneNumber?: string;
|
|
3906
4198
|
profilePictureUrl?: string;
|
|
4199
|
+
resourceOwnerAccount?: string;
|
|
4200
|
+
resourceOwnerId?: number;
|
|
3907
4201
|
vertical?: string;
|
|
3908
4202
|
websites?: string[];
|
|
3909
4203
|
static names(): { [key: string]: string } {
|
|
@@ -3913,8 +4207,11 @@ export class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3913
4207
|
custSpaceId: 'CustSpaceId',
|
|
3914
4208
|
description: 'Description',
|
|
3915
4209
|
email: 'Email',
|
|
4210
|
+
ownerId: 'OwnerId',
|
|
3916
4211
|
phoneNumber: 'PhoneNumber',
|
|
3917
4212
|
profilePictureUrl: 'ProfilePictureUrl',
|
|
4213
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4214
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3918
4215
|
vertical: 'Vertical',
|
|
3919
4216
|
websites: 'Websites',
|
|
3920
4217
|
};
|
|
@@ -3927,8 +4224,11 @@ export class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3927
4224
|
custSpaceId: 'string',
|
|
3928
4225
|
description: 'string',
|
|
3929
4226
|
email: 'string',
|
|
4227
|
+
ownerId: 'number',
|
|
3930
4228
|
phoneNumber: 'string',
|
|
3931
4229
|
profilePictureUrl: 'string',
|
|
4230
|
+
resourceOwnerAccount: 'string',
|
|
4231
|
+
resourceOwnerId: 'number',
|
|
3932
4232
|
vertical: 'string',
|
|
3933
4233
|
websites: { 'type': 'array', 'itemType': 'string' },
|
|
3934
4234
|
};
|
|
@@ -3945,8 +4245,11 @@ export class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3945
4245
|
custSpaceId?: string;
|
|
3946
4246
|
description?: string;
|
|
3947
4247
|
email?: string;
|
|
4248
|
+
ownerId?: number;
|
|
3948
4249
|
phoneNumber?: string;
|
|
3949
4250
|
profilePictureUrl?: string;
|
|
4251
|
+
resourceOwnerAccount?: string;
|
|
4252
|
+
resourceOwnerId?: number;
|
|
3950
4253
|
vertical?: string;
|
|
3951
4254
|
websitesShrink?: string;
|
|
3952
4255
|
static names(): { [key: string]: string } {
|
|
@@ -3956,8 +4259,11 @@ export class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3956
4259
|
custSpaceId: 'CustSpaceId',
|
|
3957
4260
|
description: 'Description',
|
|
3958
4261
|
email: 'Email',
|
|
4262
|
+
ownerId: 'OwnerId',
|
|
3959
4263
|
phoneNumber: 'PhoneNumber',
|
|
3960
4264
|
profilePictureUrl: 'ProfilePictureUrl',
|
|
4265
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4266
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3961
4267
|
vertical: 'Vertical',
|
|
3962
4268
|
websitesShrink: 'Websites',
|
|
3963
4269
|
};
|
|
@@ -3970,8 +4276,11 @@ export class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3970
4276
|
custSpaceId: 'string',
|
|
3971
4277
|
description: 'string',
|
|
3972
4278
|
email: 'string',
|
|
4279
|
+
ownerId: 'number',
|
|
3973
4280
|
phoneNumber: 'string',
|
|
3974
4281
|
profilePictureUrl: 'string',
|
|
4282
|
+
resourceOwnerAccount: 'string',
|
|
4283
|
+
resourceOwnerId: 'number',
|
|
3975
4284
|
vertical: 'string',
|
|
3976
4285
|
websitesShrink: 'string',
|
|
3977
4286
|
};
|
|
@@ -3987,12 +4296,14 @@ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3987
4296
|
code?: string;
|
|
3988
4297
|
message?: string;
|
|
3989
4298
|
requestId?: string;
|
|
4299
|
+
success?: boolean;
|
|
3990
4300
|
static names(): { [key: string]: string } {
|
|
3991
4301
|
return {
|
|
3992
4302
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3993
4303
|
code: 'Code',
|
|
3994
4304
|
message: 'Message',
|
|
3995
4305
|
requestId: 'RequestId',
|
|
4306
|
+
success: 'Success',
|
|
3996
4307
|
};
|
|
3997
4308
|
}
|
|
3998
4309
|
|
|
@@ -4002,6 +4313,7 @@ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
4002
4313
|
code: 'string',
|
|
4003
4314
|
message: 'string',
|
|
4004
4315
|
requestId: 'string',
|
|
4316
|
+
success: 'boolean',
|
|
4005
4317
|
};
|
|
4006
4318
|
}
|
|
4007
4319
|
|
|
@@ -4280,18 +4592,27 @@ export class QueryChatappPhoneNumbersResponse extends $tea.Model {
|
|
|
4280
4592
|
|
|
4281
4593
|
export class QueryPhoneBusinessProfileRequest extends $tea.Model {
|
|
4282
4594
|
custSpaceId?: string;
|
|
4595
|
+
ownerId?: number;
|
|
4283
4596
|
phoneNumber?: string;
|
|
4597
|
+
resourceOwnerAccount?: string;
|
|
4598
|
+
resourceOwnerId?: number;
|
|
4284
4599
|
static names(): { [key: string]: string } {
|
|
4285
4600
|
return {
|
|
4286
4601
|
custSpaceId: 'CustSpaceId',
|
|
4602
|
+
ownerId: 'OwnerId',
|
|
4287
4603
|
phoneNumber: 'PhoneNumber',
|
|
4604
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4605
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4288
4606
|
};
|
|
4289
4607
|
}
|
|
4290
4608
|
|
|
4291
4609
|
static types(): { [key: string]: any } {
|
|
4292
4610
|
return {
|
|
4293
4611
|
custSpaceId: 'string',
|
|
4612
|
+
ownerId: 'number',
|
|
4294
4613
|
phoneNumber: 'string',
|
|
4614
|
+
resourceOwnerAccount: 'string',
|
|
4615
|
+
resourceOwnerId: 'number',
|
|
4295
4616
|
};
|
|
4296
4617
|
}
|
|
4297
4618
|
|
|
@@ -4306,6 +4627,7 @@ export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
4306
4627
|
data?: QueryPhoneBusinessProfileResponseBodyData;
|
|
4307
4628
|
message?: string;
|
|
4308
4629
|
requestId?: string;
|
|
4630
|
+
success?: boolean;
|
|
4309
4631
|
static names(): { [key: string]: string } {
|
|
4310
4632
|
return {
|
|
4311
4633
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
@@ -4313,6 +4635,7 @@ export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
4313
4635
|
data: 'Data',
|
|
4314
4636
|
message: 'Message',
|
|
4315
4637
|
requestId: 'RequestId',
|
|
4638
|
+
success: 'Success',
|
|
4316
4639
|
};
|
|
4317
4640
|
}
|
|
4318
4641
|
|
|
@@ -4323,6 +4646,7 @@ export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
4323
4646
|
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
4324
4647
|
message: 'string',
|
|
4325
4648
|
requestId: 'string',
|
|
4649
|
+
success: 'boolean',
|
|
4326
4650
|
};
|
|
4327
4651
|
}
|
|
4328
4652
|
|
|
@@ -4358,10 +4682,16 @@ export class QueryPhoneBusinessProfileResponse extends $tea.Model {
|
|
|
4358
4682
|
|
|
4359
4683
|
export class QueryWabaBusinessInfoRequest extends $tea.Model {
|
|
4360
4684
|
custSpaceId?: string;
|
|
4685
|
+
ownerId?: number;
|
|
4686
|
+
resourceOwnerAccount?: string;
|
|
4687
|
+
resourceOwnerId?: number;
|
|
4361
4688
|
wabaId?: string;
|
|
4362
4689
|
static names(): { [key: string]: string } {
|
|
4363
4690
|
return {
|
|
4364
4691
|
custSpaceId: 'CustSpaceId',
|
|
4692
|
+
ownerId: 'OwnerId',
|
|
4693
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4694
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4365
4695
|
wabaId: 'WabaId',
|
|
4366
4696
|
};
|
|
4367
4697
|
}
|
|
@@ -4369,6 +4699,9 @@ export class QueryWabaBusinessInfoRequest extends $tea.Model {
|
|
|
4369
4699
|
static types(): { [key: string]: any } {
|
|
4370
4700
|
return {
|
|
4371
4701
|
custSpaceId: 'string',
|
|
4702
|
+
ownerId: 'number',
|
|
4703
|
+
resourceOwnerAccount: 'string',
|
|
4704
|
+
resourceOwnerId: 'number',
|
|
4372
4705
|
wabaId: 'string',
|
|
4373
4706
|
};
|
|
4374
4707
|
}
|
|
@@ -4384,6 +4717,7 @@ export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
4384
4717
|
data?: QueryWabaBusinessInfoResponseBodyData;
|
|
4385
4718
|
message?: string;
|
|
4386
4719
|
requestId?: string;
|
|
4720
|
+
success?: boolean;
|
|
4387
4721
|
static names(): { [key: string]: string } {
|
|
4388
4722
|
return {
|
|
4389
4723
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
@@ -4391,6 +4725,7 @@ export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
4391
4725
|
data: 'Data',
|
|
4392
4726
|
message: 'Message',
|
|
4393
4727
|
requestId: 'RequestId',
|
|
4728
|
+
success: 'Success',
|
|
4394
4729
|
};
|
|
4395
4730
|
}
|
|
4396
4731
|
|
|
@@ -4401,6 +4736,7 @@ export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
4401
4736
|
data: QueryWabaBusinessInfoResponseBodyData,
|
|
4402
4737
|
message: 'string',
|
|
4403
4738
|
requestId: 'string',
|
|
4739
|
+
success: 'boolean',
|
|
4404
4740
|
};
|
|
4405
4741
|
}
|
|
4406
4742
|
|
|
@@ -5040,13 +5376,19 @@ export class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
5040
5376
|
cartEnable?: boolean;
|
|
5041
5377
|
catalogVisible?: boolean;
|
|
5042
5378
|
custSpaceId?: string;
|
|
5379
|
+
ownerId?: number;
|
|
5043
5380
|
phoneNumber?: string;
|
|
5381
|
+
resourceOwnerAccount?: string;
|
|
5382
|
+
resourceOwnerId?: number;
|
|
5044
5383
|
static names(): { [key: string]: string } {
|
|
5045
5384
|
return {
|
|
5046
5385
|
cartEnable: 'CartEnable',
|
|
5047
5386
|
catalogVisible: 'CatalogVisible',
|
|
5048
5387
|
custSpaceId: 'CustSpaceId',
|
|
5388
|
+
ownerId: 'OwnerId',
|
|
5049
5389
|
phoneNumber: 'PhoneNumber',
|
|
5390
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5391
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
5050
5392
|
};
|
|
5051
5393
|
}
|
|
5052
5394
|
|
|
@@ -5055,7 +5397,10 @@ export class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
5055
5397
|
cartEnable: 'boolean',
|
|
5056
5398
|
catalogVisible: 'boolean',
|
|
5057
5399
|
custSpaceId: 'string',
|
|
5400
|
+
ownerId: 'number',
|
|
5058
5401
|
phoneNumber: 'string',
|
|
5402
|
+
resourceOwnerAccount: 'string',
|
|
5403
|
+
resourceOwnerId: 'number',
|
|
5059
5404
|
};
|
|
5060
5405
|
}
|
|
5061
5406
|
|
|
@@ -5065,22 +5410,28 @@ export class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
5065
5410
|
}
|
|
5066
5411
|
|
|
5067
5412
|
export class UpdateCommerceSettingResponseBody extends $tea.Model {
|
|
5413
|
+
accessDeniedDetail?: string;
|
|
5068
5414
|
code?: string;
|
|
5069
5415
|
message?: string;
|
|
5070
5416
|
requestId?: string;
|
|
5417
|
+
success?: boolean;
|
|
5071
5418
|
static names(): { [key: string]: string } {
|
|
5072
5419
|
return {
|
|
5420
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
5073
5421
|
code: 'Code',
|
|
5074
5422
|
message: 'Message',
|
|
5075
5423
|
requestId: 'RequestId',
|
|
5424
|
+
success: 'Success',
|
|
5076
5425
|
};
|
|
5077
5426
|
}
|
|
5078
5427
|
|
|
5079
5428
|
static types(): { [key: string]: any } {
|
|
5080
5429
|
return {
|
|
5430
|
+
accessDeniedDetail: 'string',
|
|
5081
5431
|
code: 'string',
|
|
5082
5432
|
message: 'string',
|
|
5083
5433
|
requestId: 'string',
|
|
5434
|
+
success: 'boolean',
|
|
5084
5435
|
};
|
|
5085
5436
|
}
|
|
5086
5437
|
|
|
@@ -5114,6 +5465,142 @@ export class UpdateCommerceSettingResponse extends $tea.Model {
|
|
|
5114
5465
|
}
|
|
5115
5466
|
}
|
|
5116
5467
|
|
|
5468
|
+
export class UpdateConversationalAutomationRequest extends $tea.Model {
|
|
5469
|
+
commands?: UpdateConversationalAutomationRequestCommands[];
|
|
5470
|
+
custSpaceId?: string;
|
|
5471
|
+
enableWelcomeMessage?: boolean;
|
|
5472
|
+
ownerId?: number;
|
|
5473
|
+
phoneNumber?: string;
|
|
5474
|
+
prompts?: string[];
|
|
5475
|
+
resourceOwnerAccount?: string;
|
|
5476
|
+
resourceOwnerId?: number;
|
|
5477
|
+
static names(): { [key: string]: string } {
|
|
5478
|
+
return {
|
|
5479
|
+
commands: 'Commands',
|
|
5480
|
+
custSpaceId: 'CustSpaceId',
|
|
5481
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
5482
|
+
ownerId: 'OwnerId',
|
|
5483
|
+
phoneNumber: 'PhoneNumber',
|
|
5484
|
+
prompts: 'Prompts',
|
|
5485
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5486
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
5487
|
+
};
|
|
5488
|
+
}
|
|
5489
|
+
|
|
5490
|
+
static types(): { [key: string]: any } {
|
|
5491
|
+
return {
|
|
5492
|
+
commands: { 'type': 'array', 'itemType': UpdateConversationalAutomationRequestCommands },
|
|
5493
|
+
custSpaceId: 'string',
|
|
5494
|
+
enableWelcomeMessage: 'boolean',
|
|
5495
|
+
ownerId: 'number',
|
|
5496
|
+
phoneNumber: 'string',
|
|
5497
|
+
prompts: { 'type': 'array', 'itemType': 'string' },
|
|
5498
|
+
resourceOwnerAccount: 'string',
|
|
5499
|
+
resourceOwnerId: 'number',
|
|
5500
|
+
};
|
|
5501
|
+
}
|
|
5502
|
+
|
|
5503
|
+
constructor(map?: { [key: string]: any }) {
|
|
5504
|
+
super(map);
|
|
5505
|
+
}
|
|
5506
|
+
}
|
|
5507
|
+
|
|
5508
|
+
export class UpdateConversationalAutomationShrinkRequest extends $tea.Model {
|
|
5509
|
+
commandsShrink?: string;
|
|
5510
|
+
custSpaceId?: string;
|
|
5511
|
+
enableWelcomeMessage?: boolean;
|
|
5512
|
+
ownerId?: number;
|
|
5513
|
+
phoneNumber?: string;
|
|
5514
|
+
promptsShrink?: string;
|
|
5515
|
+
resourceOwnerAccount?: string;
|
|
5516
|
+
resourceOwnerId?: number;
|
|
5517
|
+
static names(): { [key: string]: string } {
|
|
5518
|
+
return {
|
|
5519
|
+
commandsShrink: 'Commands',
|
|
5520
|
+
custSpaceId: 'CustSpaceId',
|
|
5521
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
5522
|
+
ownerId: 'OwnerId',
|
|
5523
|
+
phoneNumber: 'PhoneNumber',
|
|
5524
|
+
promptsShrink: 'Prompts',
|
|
5525
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5526
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
5527
|
+
};
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5530
|
+
static types(): { [key: string]: any } {
|
|
5531
|
+
return {
|
|
5532
|
+
commandsShrink: 'string',
|
|
5533
|
+
custSpaceId: 'string',
|
|
5534
|
+
enableWelcomeMessage: 'boolean',
|
|
5535
|
+
ownerId: 'number',
|
|
5536
|
+
phoneNumber: 'string',
|
|
5537
|
+
promptsShrink: 'string',
|
|
5538
|
+
resourceOwnerAccount: 'string',
|
|
5539
|
+
resourceOwnerId: 'number',
|
|
5540
|
+
};
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
constructor(map?: { [key: string]: any }) {
|
|
5544
|
+
super(map);
|
|
5545
|
+
}
|
|
5546
|
+
}
|
|
5547
|
+
|
|
5548
|
+
export class UpdateConversationalAutomationResponseBody extends $tea.Model {
|
|
5549
|
+
accessDeniedDetail?: string;
|
|
5550
|
+
code?: string;
|
|
5551
|
+
message?: string;
|
|
5552
|
+
requestId?: string;
|
|
5553
|
+
success?: boolean;
|
|
5554
|
+
static names(): { [key: string]: string } {
|
|
5555
|
+
return {
|
|
5556
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
5557
|
+
code: 'Code',
|
|
5558
|
+
message: 'Message',
|
|
5559
|
+
requestId: 'RequestId',
|
|
5560
|
+
success: 'Success',
|
|
5561
|
+
};
|
|
5562
|
+
}
|
|
5563
|
+
|
|
5564
|
+
static types(): { [key: string]: any } {
|
|
5565
|
+
return {
|
|
5566
|
+
accessDeniedDetail: 'string',
|
|
5567
|
+
code: 'string',
|
|
5568
|
+
message: 'string',
|
|
5569
|
+
requestId: 'string',
|
|
5570
|
+
success: 'boolean',
|
|
5571
|
+
};
|
|
5572
|
+
}
|
|
5573
|
+
|
|
5574
|
+
constructor(map?: { [key: string]: any }) {
|
|
5575
|
+
super(map);
|
|
5576
|
+
}
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
export class UpdateConversationalAutomationResponse extends $tea.Model {
|
|
5580
|
+
headers?: { [key: string]: string };
|
|
5581
|
+
statusCode?: number;
|
|
5582
|
+
body?: UpdateConversationalAutomationResponseBody;
|
|
5583
|
+
static names(): { [key: string]: string } {
|
|
5584
|
+
return {
|
|
5585
|
+
headers: 'headers',
|
|
5586
|
+
statusCode: 'statusCode',
|
|
5587
|
+
body: 'body',
|
|
5588
|
+
};
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5591
|
+
static types(): { [key: string]: any } {
|
|
5592
|
+
return {
|
|
5593
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5594
|
+
statusCode: 'number',
|
|
5595
|
+
body: UpdateConversationalAutomationResponseBody,
|
|
5596
|
+
};
|
|
5597
|
+
}
|
|
5598
|
+
|
|
5599
|
+
constructor(map?: { [key: string]: any }) {
|
|
5600
|
+
super(map);
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5117
5604
|
export class UpdateFlowJSONAssetRequest extends $tea.Model {
|
|
5118
5605
|
custSpaceId?: string;
|
|
5119
5606
|
filePath?: string;
|
|
@@ -6641,6 +7128,56 @@ export class GetCommerceSettingResponseBodyData extends $tea.Model {
|
|
|
6641
7128
|
}
|
|
6642
7129
|
}
|
|
6643
7130
|
|
|
7131
|
+
export class GetConversationalAutomationResponseBodyDataCommands extends $tea.Model {
|
|
7132
|
+
commandDescription?: string;
|
|
7133
|
+
commandName?: string;
|
|
7134
|
+
static names(): { [key: string]: string } {
|
|
7135
|
+
return {
|
|
7136
|
+
commandDescription: 'CommandDescription',
|
|
7137
|
+
commandName: 'CommandName',
|
|
7138
|
+
};
|
|
7139
|
+
}
|
|
7140
|
+
|
|
7141
|
+
static types(): { [key: string]: any } {
|
|
7142
|
+
return {
|
|
7143
|
+
commandDescription: 'string',
|
|
7144
|
+
commandName: 'string',
|
|
7145
|
+
};
|
|
7146
|
+
}
|
|
7147
|
+
|
|
7148
|
+
constructor(map?: { [key: string]: any }) {
|
|
7149
|
+
super(map);
|
|
7150
|
+
}
|
|
7151
|
+
}
|
|
7152
|
+
|
|
7153
|
+
export class GetConversationalAutomationResponseBodyData extends $tea.Model {
|
|
7154
|
+
commands?: GetConversationalAutomationResponseBodyDataCommands[];
|
|
7155
|
+
enableWelcomeMessage?: boolean;
|
|
7156
|
+
phoneNumber?: string;
|
|
7157
|
+
prompts?: string[];
|
|
7158
|
+
static names(): { [key: string]: string } {
|
|
7159
|
+
return {
|
|
7160
|
+
commands: 'Commands',
|
|
7161
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
7162
|
+
phoneNumber: 'PhoneNumber',
|
|
7163
|
+
prompts: 'Prompts',
|
|
7164
|
+
};
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
static types(): { [key: string]: any } {
|
|
7168
|
+
return {
|
|
7169
|
+
commands: { 'type': 'array', 'itemType': GetConversationalAutomationResponseBodyDataCommands },
|
|
7170
|
+
enableWelcomeMessage: 'boolean',
|
|
7171
|
+
phoneNumber: 'string',
|
|
7172
|
+
prompts: { 'type': 'array', 'itemType': 'string' },
|
|
7173
|
+
};
|
|
7174
|
+
}
|
|
7175
|
+
|
|
7176
|
+
constructor(map?: { [key: string]: any }) {
|
|
7177
|
+
super(map);
|
|
7178
|
+
}
|
|
7179
|
+
}
|
|
7180
|
+
|
|
6644
7181
|
export class GetFlowResponseBodyData extends $tea.Model {
|
|
6645
7182
|
categories?: string[];
|
|
6646
7183
|
dataApiVersion?: string;
|
|
@@ -6822,6 +7359,93 @@ export class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
|
6822
7359
|
}
|
|
6823
7360
|
}
|
|
6824
7361
|
|
|
7362
|
+
export class GetWhatsappHealthStatusResponseBodyDataEntitiesErrors extends $tea.Model {
|
|
7363
|
+
errorCode?: string;
|
|
7364
|
+
errorDescription?: string;
|
|
7365
|
+
possibleSolution?: string;
|
|
7366
|
+
static names(): { [key: string]: string } {
|
|
7367
|
+
return {
|
|
7368
|
+
errorCode: 'ErrorCode',
|
|
7369
|
+
errorDescription: 'ErrorDescription',
|
|
7370
|
+
possibleSolution: 'PossibleSolution',
|
|
7371
|
+
};
|
|
7372
|
+
}
|
|
7373
|
+
|
|
7374
|
+
static types(): { [key: string]: any } {
|
|
7375
|
+
return {
|
|
7376
|
+
errorCode: 'string',
|
|
7377
|
+
errorDescription: 'string',
|
|
7378
|
+
possibleSolution: 'string',
|
|
7379
|
+
};
|
|
7380
|
+
}
|
|
7381
|
+
|
|
7382
|
+
constructor(map?: { [key: string]: any }) {
|
|
7383
|
+
super(map);
|
|
7384
|
+
}
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7387
|
+
export class GetWhatsappHealthStatusResponseBodyDataEntities extends $tea.Model {
|
|
7388
|
+
businessId?: string;
|
|
7389
|
+
canSendMessage?: string;
|
|
7390
|
+
entityType?: string;
|
|
7391
|
+
errors?: GetWhatsappHealthStatusResponseBodyDataEntitiesErrors[];
|
|
7392
|
+
language?: string;
|
|
7393
|
+
phoneNumber?: string;
|
|
7394
|
+
templateCode?: string;
|
|
7395
|
+
wabaId?: string;
|
|
7396
|
+
static names(): { [key: string]: string } {
|
|
7397
|
+
return {
|
|
7398
|
+
businessId: 'BusinessId',
|
|
7399
|
+
canSendMessage: 'CanSendMessage',
|
|
7400
|
+
entityType: 'EntityType',
|
|
7401
|
+
errors: 'Errors',
|
|
7402
|
+
language: 'Language',
|
|
7403
|
+
phoneNumber: 'PhoneNumber',
|
|
7404
|
+
templateCode: 'TemplateCode',
|
|
7405
|
+
wabaId: 'WabaId',
|
|
7406
|
+
};
|
|
7407
|
+
}
|
|
7408
|
+
|
|
7409
|
+
static types(): { [key: string]: any } {
|
|
7410
|
+
return {
|
|
7411
|
+
businessId: 'string',
|
|
7412
|
+
canSendMessage: 'string',
|
|
7413
|
+
entityType: 'string',
|
|
7414
|
+
errors: { 'type': 'array', 'itemType': GetWhatsappHealthStatusResponseBodyDataEntitiesErrors },
|
|
7415
|
+
language: 'string',
|
|
7416
|
+
phoneNumber: 'string',
|
|
7417
|
+
templateCode: 'string',
|
|
7418
|
+
wabaId: 'string',
|
|
7419
|
+
};
|
|
7420
|
+
}
|
|
7421
|
+
|
|
7422
|
+
constructor(map?: { [key: string]: any }) {
|
|
7423
|
+
super(map);
|
|
7424
|
+
}
|
|
7425
|
+
}
|
|
7426
|
+
|
|
7427
|
+
export class GetWhatsappHealthStatusResponseBodyData extends $tea.Model {
|
|
7428
|
+
canSendMessage?: string;
|
|
7429
|
+
entities?: GetWhatsappHealthStatusResponseBodyDataEntities[];
|
|
7430
|
+
static names(): { [key: string]: string } {
|
|
7431
|
+
return {
|
|
7432
|
+
canSendMessage: 'CanSendMessage',
|
|
7433
|
+
entities: 'Entities',
|
|
7434
|
+
};
|
|
7435
|
+
}
|
|
7436
|
+
|
|
7437
|
+
static types(): { [key: string]: any } {
|
|
7438
|
+
return {
|
|
7439
|
+
canSendMessage: 'string',
|
|
7440
|
+
entities: { 'type': 'array', 'itemType': GetWhatsappHealthStatusResponseBodyDataEntities },
|
|
7441
|
+
};
|
|
7442
|
+
}
|
|
7443
|
+
|
|
7444
|
+
constructor(map?: { [key: string]: any }) {
|
|
7445
|
+
super(map);
|
|
7446
|
+
}
|
|
7447
|
+
}
|
|
7448
|
+
|
|
6825
7449
|
export class ListChatappTemplateRequestPage extends $tea.Model {
|
|
6826
7450
|
index?: number;
|
|
6827
7451
|
size?: number;
|
|
@@ -6848,6 +7472,7 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
6848
7472
|
auditStatus?: string;
|
|
6849
7473
|
category?: string;
|
|
6850
7474
|
language?: string;
|
|
7475
|
+
lastUpdateTime?: number;
|
|
6851
7476
|
reason?: string;
|
|
6852
7477
|
templateCode?: string;
|
|
6853
7478
|
templateName?: string;
|
|
@@ -6857,6 +7482,7 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
6857
7482
|
auditStatus: 'AuditStatus',
|
|
6858
7483
|
category: 'Category',
|
|
6859
7484
|
language: 'Language',
|
|
7485
|
+
lastUpdateTime: 'LastUpdateTime',
|
|
6860
7486
|
reason: 'Reason',
|
|
6861
7487
|
templateCode: 'TemplateCode',
|
|
6862
7488
|
templateName: 'TemplateName',
|
|
@@ -6869,6 +7495,7 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
6869
7495
|
auditStatus: 'string',
|
|
6870
7496
|
category: 'string',
|
|
6871
7497
|
language: 'string',
|
|
7498
|
+
lastUpdateTime: 'number',
|
|
6872
7499
|
reason: 'string',
|
|
6873
7500
|
templateCode: 'string',
|
|
6874
7501
|
templateName: 'string',
|
|
@@ -7709,6 +8336,28 @@ export class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
|
7709
8336
|
}
|
|
7710
8337
|
}
|
|
7711
8338
|
|
|
8339
|
+
export class UpdateConversationalAutomationRequestCommands extends $tea.Model {
|
|
8340
|
+
commandDescription?: string;
|
|
8341
|
+
commandName?: string;
|
|
8342
|
+
static names(): { [key: string]: string } {
|
|
8343
|
+
return {
|
|
8344
|
+
commandDescription: 'CommandDescription',
|
|
8345
|
+
commandName: 'CommandName',
|
|
8346
|
+
};
|
|
8347
|
+
}
|
|
8348
|
+
|
|
8349
|
+
static types(): { [key: string]: any } {
|
|
8350
|
+
return {
|
|
8351
|
+
commandDescription: 'string',
|
|
8352
|
+
commandName: 'string',
|
|
8353
|
+
};
|
|
8354
|
+
}
|
|
8355
|
+
|
|
8356
|
+
constructor(map?: { [key: string]: any }) {
|
|
8357
|
+
super(map);
|
|
8358
|
+
}
|
|
8359
|
+
}
|
|
8360
|
+
|
|
7712
8361
|
export class UpdateFlowJSONAssetResponseBodyData extends $tea.Model {
|
|
7713
8362
|
flowId?: string;
|
|
7714
8363
|
static names(): { [key: string]: string } {
|
|
@@ -7796,29 +8445,41 @@ export default class Client extends OpenApi {
|
|
|
7796
8445
|
*/
|
|
7797
8446
|
async addChatappPhoneNumberWithOptions(request: AddChatappPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<AddChatappPhoneNumberResponse> {
|
|
7798
8447
|
Util.validateModel(request);
|
|
7799
|
-
let
|
|
8448
|
+
let query = { };
|
|
7800
8449
|
if (!Util.isUnset(request.cc)) {
|
|
7801
|
-
|
|
8450
|
+
query["Cc"] = request.cc;
|
|
7802
8451
|
}
|
|
7803
8452
|
|
|
7804
8453
|
if (!Util.isUnset(request.custSpaceId)) {
|
|
7805
|
-
|
|
8454
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8455
|
+
}
|
|
8456
|
+
|
|
8457
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
8458
|
+
query["OwnerId"] = request.ownerId;
|
|
7806
8459
|
}
|
|
7807
8460
|
|
|
7808
8461
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
7809
|
-
|
|
8462
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7810
8463
|
}
|
|
7811
8464
|
|
|
7812
8465
|
if (!Util.isUnset(request.preValidateId)) {
|
|
7813
|
-
|
|
8466
|
+
query["PreValidateId"] = request.preValidateId;
|
|
8467
|
+
}
|
|
8468
|
+
|
|
8469
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
8470
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8471
|
+
}
|
|
8472
|
+
|
|
8473
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
8474
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7814
8475
|
}
|
|
7815
8476
|
|
|
7816
8477
|
if (!Util.isUnset(request.verifiedName)) {
|
|
7817
|
-
|
|
8478
|
+
query["VerifiedName"] = request.verifiedName;
|
|
7818
8479
|
}
|
|
7819
8480
|
|
|
7820
8481
|
let req = new $OpenApi.OpenApiRequest({
|
|
7821
|
-
|
|
8482
|
+
query: OpenApiUtil.query(query),
|
|
7822
8483
|
});
|
|
7823
8484
|
let params = new $OpenApi.Params({
|
|
7824
8485
|
action: "AddChatappPhoneNumber",
|
|
@@ -8030,13 +8691,25 @@ export default class Client extends OpenApi {
|
|
|
8030
8691
|
*/
|
|
8031
8692
|
async chatappBindWabaWithOptions(request: ChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<ChatappBindWabaResponse> {
|
|
8032
8693
|
Util.validateModel(request);
|
|
8033
|
-
let
|
|
8694
|
+
let query = { };
|
|
8695
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
8696
|
+
query["OwnerId"] = request.ownerId;
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8699
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
8700
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8701
|
+
}
|
|
8702
|
+
|
|
8703
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
8704
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8705
|
+
}
|
|
8706
|
+
|
|
8034
8707
|
if (!Util.isUnset(request.wabaId)) {
|
|
8035
|
-
|
|
8708
|
+
query["WabaId"] = request.wabaId;
|
|
8036
8709
|
}
|
|
8037
8710
|
|
|
8038
8711
|
let req = new $OpenApi.OpenApiRequest({
|
|
8039
|
-
|
|
8712
|
+
query: OpenApiUtil.query(query),
|
|
8040
8713
|
});
|
|
8041
8714
|
let params = new $OpenApi.Params({
|
|
8042
8715
|
action: "ChatappBindWaba",
|
|
@@ -8276,17 +8949,29 @@ export default class Client extends OpenApi {
|
|
|
8276
8949
|
*/
|
|
8277
8950
|
async chatappPhoneNumberRegisterWithOptions(request: ChatappPhoneNumberRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberRegisterResponse> {
|
|
8278
8951
|
Util.validateModel(request);
|
|
8279
|
-
let
|
|
8952
|
+
let query = { };
|
|
8280
8953
|
if (!Util.isUnset(request.custSpaceId)) {
|
|
8281
|
-
|
|
8954
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
8958
|
+
query["OwnerId"] = request.ownerId;
|
|
8282
8959
|
}
|
|
8283
8960
|
|
|
8284
8961
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
8285
|
-
|
|
8962
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
8963
|
+
}
|
|
8964
|
+
|
|
8965
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
8966
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8967
|
+
}
|
|
8968
|
+
|
|
8969
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
8970
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8286
8971
|
}
|
|
8287
8972
|
|
|
8288
8973
|
let req = new $OpenApi.OpenApiRequest({
|
|
8289
|
-
|
|
8974
|
+
query: OpenApiUtil.query(query),
|
|
8290
8975
|
});
|
|
8291
8976
|
let params = new $OpenApi.Params({
|
|
8292
8977
|
action: "ChatappPhoneNumberRegister",
|
|
@@ -8331,6 +9016,18 @@ export default class Client extends OpenApi {
|
|
|
8331
9016
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8332
9017
|
}
|
|
8333
9018
|
|
|
9019
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
9020
|
+
query["OwnerId"] = request.ownerId;
|
|
9021
|
+
}
|
|
9022
|
+
|
|
9023
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
9024
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9025
|
+
}
|
|
9026
|
+
|
|
9027
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
9028
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9029
|
+
}
|
|
9030
|
+
|
|
8334
9031
|
let req = new $OpenApi.OpenApiRequest({
|
|
8335
9032
|
query: OpenApiUtil.query(query),
|
|
8336
9033
|
});
|
|
@@ -8372,21 +9069,33 @@ export default class Client extends OpenApi {
|
|
|
8372
9069
|
*/
|
|
8373
9070
|
async chatappVerifyAndRegisterWithOptions(request: ChatappVerifyAndRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappVerifyAndRegisterResponse> {
|
|
8374
9071
|
Util.validateModel(request);
|
|
8375
|
-
let
|
|
9072
|
+
let query = { };
|
|
8376
9073
|
if (!Util.isUnset(request.custSpaceId)) {
|
|
8377
|
-
|
|
9074
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
9075
|
+
}
|
|
9076
|
+
|
|
9077
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
9078
|
+
query["OwnerId"] = request.ownerId;
|
|
8378
9079
|
}
|
|
8379
9080
|
|
|
8380
9081
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
8381
|
-
|
|
9082
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
9083
|
+
}
|
|
9084
|
+
|
|
9085
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
9086
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9087
|
+
}
|
|
9088
|
+
|
|
9089
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
9090
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8382
9091
|
}
|
|
8383
9092
|
|
|
8384
9093
|
if (!Util.isUnset(request.verifyCode)) {
|
|
8385
|
-
|
|
9094
|
+
query["VerifyCode"] = request.verifyCode;
|
|
8386
9095
|
}
|
|
8387
9096
|
|
|
8388
9097
|
let req = new $OpenApi.OpenApiRequest({
|
|
8389
|
-
|
|
9098
|
+
query: OpenApiUtil.query(query),
|
|
8390
9099
|
});
|
|
8391
9100
|
let params = new $OpenApi.Params({
|
|
8392
9101
|
action: "ChatappVerifyAndRegister",
|
|
@@ -8704,12 +9413,24 @@ export default class Client extends OpenApi {
|
|
|
8704
9413
|
query["CustWabaId"] = request.custWabaId;
|
|
8705
9414
|
}
|
|
8706
9415
|
|
|
8707
|
-
if (!Util.isUnset(request.isvCode)) {
|
|
8708
|
-
query["IsvCode"] = request.isvCode;
|
|
9416
|
+
if (!Util.isUnset(request.isvCode)) {
|
|
9417
|
+
query["IsvCode"] = request.isvCode;
|
|
9418
|
+
}
|
|
9419
|
+
|
|
9420
|
+
if (!Util.isUnset(request.language)) {
|
|
9421
|
+
query["Language"] = request.language;
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9424
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
9425
|
+
query["OwnerId"] = request.ownerId;
|
|
9426
|
+
}
|
|
9427
|
+
|
|
9428
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
9429
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8709
9430
|
}
|
|
8710
9431
|
|
|
8711
|
-
if (!Util.isUnset(request.
|
|
8712
|
-
query["
|
|
9432
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
9433
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8713
9434
|
}
|
|
8714
9435
|
|
|
8715
9436
|
if (!Util.isUnset(request.templateCode)) {
|
|
@@ -9220,25 +9941,37 @@ export default class Client extends OpenApi {
|
|
|
9220
9941
|
*/
|
|
9221
9942
|
async getChatappVerifyCodeWithOptions(request: GetChatappVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappVerifyCodeResponse> {
|
|
9222
9943
|
Util.validateModel(request);
|
|
9223
|
-
let
|
|
9944
|
+
let query = { };
|
|
9224
9945
|
if (!Util.isUnset(request.custSpaceId)) {
|
|
9225
|
-
|
|
9946
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
9226
9947
|
}
|
|
9227
9948
|
|
|
9228
9949
|
if (!Util.isUnset(request.locale)) {
|
|
9229
|
-
|
|
9950
|
+
query["Locale"] = request.locale;
|
|
9230
9951
|
}
|
|
9231
9952
|
|
|
9232
9953
|
if (!Util.isUnset(request.method)) {
|
|
9233
|
-
|
|
9954
|
+
query["Method"] = request.method;
|
|
9955
|
+
}
|
|
9956
|
+
|
|
9957
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
9958
|
+
query["OwnerId"] = request.ownerId;
|
|
9234
9959
|
}
|
|
9235
9960
|
|
|
9236
9961
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
9237
|
-
|
|
9962
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
9963
|
+
}
|
|
9964
|
+
|
|
9965
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
9966
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9967
|
+
}
|
|
9968
|
+
|
|
9969
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
9970
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9238
9971
|
}
|
|
9239
9972
|
|
|
9240
9973
|
let req = new $OpenApi.OpenApiRequest({
|
|
9241
|
-
|
|
9974
|
+
query: OpenApiUtil.query(query),
|
|
9242
9975
|
});
|
|
9243
9976
|
let params = new $OpenApi.Params({
|
|
9244
9977
|
action: "GetChatappVerifyCode",
|
|
@@ -9283,10 +10016,22 @@ export default class Client extends OpenApi {
|
|
|
9283
10016
|
query["CustSpaceId"] = request.custSpaceId;
|
|
9284
10017
|
}
|
|
9285
10018
|
|
|
10019
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
10020
|
+
query["OwnerId"] = request.ownerId;
|
|
10021
|
+
}
|
|
10022
|
+
|
|
9286
10023
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
9287
10024
|
query["PhoneNumber"] = request.phoneNumber;
|
|
9288
10025
|
}
|
|
9289
10026
|
|
|
10027
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
10028
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10029
|
+
}
|
|
10030
|
+
|
|
10031
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
10032
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10033
|
+
}
|
|
10034
|
+
|
|
9290
10035
|
let req = new $OpenApi.OpenApiRequest({
|
|
9291
10036
|
query: OpenApiUtil.query(query),
|
|
9292
10037
|
});
|
|
@@ -9317,6 +10062,64 @@ export default class Client extends OpenApi {
|
|
|
9317
10062
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
9318
10063
|
}
|
|
9319
10064
|
|
|
10065
|
+
/**
|
|
10066
|
+
* @summary 获取号码欢迎消息设置信息
|
|
10067
|
+
*
|
|
10068
|
+
* @param request GetConversationalAutomationRequest
|
|
10069
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10070
|
+
* @return GetConversationalAutomationResponse
|
|
10071
|
+
*/
|
|
10072
|
+
async getConversationalAutomationWithOptions(request: GetConversationalAutomationRequest, runtime: $Util.RuntimeOptions): Promise<GetConversationalAutomationResponse> {
|
|
10073
|
+
Util.validateModel(request);
|
|
10074
|
+
let query = { };
|
|
10075
|
+
if (!Util.isUnset(request.custSpaceId)) {
|
|
10076
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
10077
|
+
}
|
|
10078
|
+
|
|
10079
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
10080
|
+
query["OwnerId"] = request.ownerId;
|
|
10081
|
+
}
|
|
10082
|
+
|
|
10083
|
+
if (!Util.isUnset(request.phoneNumber)) {
|
|
10084
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
10085
|
+
}
|
|
10086
|
+
|
|
10087
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
10088
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10089
|
+
}
|
|
10090
|
+
|
|
10091
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
10092
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10093
|
+
}
|
|
10094
|
+
|
|
10095
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10096
|
+
query: OpenApiUtil.query(query),
|
|
10097
|
+
});
|
|
10098
|
+
let params = new $OpenApi.Params({
|
|
10099
|
+
action: "GetConversationalAutomation",
|
|
10100
|
+
version: "2020-06-06",
|
|
10101
|
+
protocol: "HTTPS",
|
|
10102
|
+
pathname: "/",
|
|
10103
|
+
method: "POST",
|
|
10104
|
+
authType: "AK",
|
|
10105
|
+
style: "RPC",
|
|
10106
|
+
reqBodyType: "formData",
|
|
10107
|
+
bodyType: "json",
|
|
10108
|
+
});
|
|
10109
|
+
return $tea.cast<GetConversationalAutomationResponse>(await this.callApi(params, req, runtime), new GetConversationalAutomationResponse({}));
|
|
10110
|
+
}
|
|
10111
|
+
|
|
10112
|
+
/**
|
|
10113
|
+
* @summary 获取号码欢迎消息设置信息
|
|
10114
|
+
*
|
|
10115
|
+
* @param request GetConversationalAutomationRequest
|
|
10116
|
+
* @return GetConversationalAutomationResponse
|
|
10117
|
+
*/
|
|
10118
|
+
async getConversationalAutomation(request: GetConversationalAutomationRequest): Promise<GetConversationalAutomationResponse> {
|
|
10119
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10120
|
+
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
10121
|
+
}
|
|
10122
|
+
|
|
9320
10123
|
/**
|
|
9321
10124
|
* @summary Queries the information about a Flow.
|
|
9322
10125
|
*
|
|
@@ -9785,6 +10588,80 @@ export default class Client extends OpenApi {
|
|
|
9785
10588
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
9786
10589
|
}
|
|
9787
10590
|
|
|
10591
|
+
/**
|
|
10592
|
+
* @summary 获取whatsapp节点信息发送消息健康度
|
|
10593
|
+
*
|
|
10594
|
+
* @param request GetWhatsappHealthStatusRequest
|
|
10595
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10596
|
+
* @return GetWhatsappHealthStatusResponse
|
|
10597
|
+
*/
|
|
10598
|
+
async getWhatsappHealthStatusWithOptions(request: GetWhatsappHealthStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetWhatsappHealthStatusResponse> {
|
|
10599
|
+
Util.validateModel(request);
|
|
10600
|
+
let query = { };
|
|
10601
|
+
if (!Util.isUnset(request.custSpaceId)) {
|
|
10602
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
10603
|
+
}
|
|
10604
|
+
|
|
10605
|
+
if (!Util.isUnset(request.language)) {
|
|
10606
|
+
query["Language"] = request.language;
|
|
10607
|
+
}
|
|
10608
|
+
|
|
10609
|
+
if (!Util.isUnset(request.nodeType)) {
|
|
10610
|
+
query["NodeType"] = request.nodeType;
|
|
10611
|
+
}
|
|
10612
|
+
|
|
10613
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
10614
|
+
query["OwnerId"] = request.ownerId;
|
|
10615
|
+
}
|
|
10616
|
+
|
|
10617
|
+
if (!Util.isUnset(request.phoneNumber)) {
|
|
10618
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
10619
|
+
}
|
|
10620
|
+
|
|
10621
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
10622
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10623
|
+
}
|
|
10624
|
+
|
|
10625
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
10626
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10627
|
+
}
|
|
10628
|
+
|
|
10629
|
+
if (!Util.isUnset(request.templateCode)) {
|
|
10630
|
+
query["TemplateCode"] = request.templateCode;
|
|
10631
|
+
}
|
|
10632
|
+
|
|
10633
|
+
if (!Util.isUnset(request.wabaId)) {
|
|
10634
|
+
query["WabaId"] = request.wabaId;
|
|
10635
|
+
}
|
|
10636
|
+
|
|
10637
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10638
|
+
query: OpenApiUtil.query(query),
|
|
10639
|
+
});
|
|
10640
|
+
let params = new $OpenApi.Params({
|
|
10641
|
+
action: "GetWhatsappHealthStatus",
|
|
10642
|
+
version: "2020-06-06",
|
|
10643
|
+
protocol: "HTTPS",
|
|
10644
|
+
pathname: "/",
|
|
10645
|
+
method: "POST",
|
|
10646
|
+
authType: "AK",
|
|
10647
|
+
style: "RPC",
|
|
10648
|
+
reqBodyType: "formData",
|
|
10649
|
+
bodyType: "json",
|
|
10650
|
+
});
|
|
10651
|
+
return $tea.cast<GetWhatsappHealthStatusResponse>(await this.callApi(params, req, runtime), new GetWhatsappHealthStatusResponse({}));
|
|
10652
|
+
}
|
|
10653
|
+
|
|
10654
|
+
/**
|
|
10655
|
+
* @summary 获取whatsapp节点信息发送消息健康度
|
|
10656
|
+
*
|
|
10657
|
+
* @param request GetWhatsappHealthStatusRequest
|
|
10658
|
+
* @return GetWhatsappHealthStatusResponse
|
|
10659
|
+
*/
|
|
10660
|
+
async getWhatsappHealthStatus(request: GetWhatsappHealthStatusRequest): Promise<GetWhatsappHealthStatusResponse> {
|
|
10661
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10662
|
+
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
10663
|
+
}
|
|
10664
|
+
|
|
9788
10665
|
/**
|
|
9789
10666
|
* @summary Obtains the application ID under the ISV account.
|
|
9790
10667
|
*
|
|
@@ -10385,6 +11262,10 @@ export default class Client extends OpenApi {
|
|
|
10385
11262
|
query["Email"] = request.email;
|
|
10386
11263
|
}
|
|
10387
11264
|
|
|
11265
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
11266
|
+
query["OwnerId"] = request.ownerId;
|
|
11267
|
+
}
|
|
11268
|
+
|
|
10388
11269
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
10389
11270
|
query["PhoneNumber"] = request.phoneNumber;
|
|
10390
11271
|
}
|
|
@@ -10393,6 +11274,14 @@ export default class Client extends OpenApi {
|
|
|
10393
11274
|
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
10394
11275
|
}
|
|
10395
11276
|
|
|
11277
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
11278
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11279
|
+
}
|
|
11280
|
+
|
|
11281
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
11282
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
11283
|
+
}
|
|
11284
|
+
|
|
10396
11285
|
if (!Util.isUnset(request.vertical)) {
|
|
10397
11286
|
query["Vertical"] = request.vertical;
|
|
10398
11287
|
}
|
|
@@ -10613,10 +11502,22 @@ export default class Client extends OpenApi {
|
|
|
10613
11502
|
query["CustSpaceId"] = request.custSpaceId;
|
|
10614
11503
|
}
|
|
10615
11504
|
|
|
11505
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
11506
|
+
query["OwnerId"] = request.ownerId;
|
|
11507
|
+
}
|
|
11508
|
+
|
|
10616
11509
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
10617
11510
|
query["PhoneNumber"] = request.phoneNumber;
|
|
10618
11511
|
}
|
|
10619
11512
|
|
|
11513
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
11514
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11515
|
+
}
|
|
11516
|
+
|
|
11517
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
11518
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
11519
|
+
}
|
|
11520
|
+
|
|
10620
11521
|
let req = new $OpenApi.OpenApiRequest({
|
|
10621
11522
|
query: OpenApiUtil.query(query),
|
|
10622
11523
|
});
|
|
@@ -10663,6 +11564,18 @@ export default class Client extends OpenApi {
|
|
|
10663
11564
|
query["CustSpaceId"] = request.custSpaceId;
|
|
10664
11565
|
}
|
|
10665
11566
|
|
|
11567
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
11568
|
+
query["OwnerId"] = request.ownerId;
|
|
11569
|
+
}
|
|
11570
|
+
|
|
11571
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
11572
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11573
|
+
}
|
|
11574
|
+
|
|
11575
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
11576
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
11577
|
+
}
|
|
11578
|
+
|
|
10666
11579
|
if (!Util.isUnset(request.wabaId)) {
|
|
10667
11580
|
query["WabaId"] = request.wabaId;
|
|
10668
11581
|
}
|
|
@@ -11133,10 +12046,22 @@ export default class Client extends OpenApi {
|
|
|
11133
12046
|
query["CustSpaceId"] = request.custSpaceId;
|
|
11134
12047
|
}
|
|
11135
12048
|
|
|
12049
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
12050
|
+
query["OwnerId"] = request.ownerId;
|
|
12051
|
+
}
|
|
12052
|
+
|
|
11136
12053
|
if (!Util.isUnset(request.phoneNumber)) {
|
|
11137
12054
|
query["PhoneNumber"] = request.phoneNumber;
|
|
11138
12055
|
}
|
|
11139
12056
|
|
|
12057
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
12058
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12059
|
+
}
|
|
12060
|
+
|
|
12061
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
12062
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12063
|
+
}
|
|
12064
|
+
|
|
11140
12065
|
let req = new $OpenApi.OpenApiRequest({
|
|
11141
12066
|
query: OpenApiUtil.query(query),
|
|
11142
12067
|
});
|
|
@@ -11167,6 +12092,86 @@ export default class Client extends OpenApi {
|
|
|
11167
12092
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
11168
12093
|
}
|
|
11169
12094
|
|
|
12095
|
+
/**
|
|
12096
|
+
* @summary 更新号码欢迎消息、命令等属性
|
|
12097
|
+
*
|
|
12098
|
+
* @param tmpReq UpdateConversationalAutomationRequest
|
|
12099
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12100
|
+
* @return UpdateConversationalAutomationResponse
|
|
12101
|
+
*/
|
|
12102
|
+
async updateConversationalAutomationWithOptions(tmpReq: UpdateConversationalAutomationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateConversationalAutomationResponse> {
|
|
12103
|
+
Util.validateModel(tmpReq);
|
|
12104
|
+
let request = new UpdateConversationalAutomationShrinkRequest({ });
|
|
12105
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
12106
|
+
if (!Util.isUnset(tmpReq.commands)) {
|
|
12107
|
+
request.commandsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.commands, "Commands", "json");
|
|
12108
|
+
}
|
|
12109
|
+
|
|
12110
|
+
if (!Util.isUnset(tmpReq.prompts)) {
|
|
12111
|
+
request.promptsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.prompts, "Prompts", "json");
|
|
12112
|
+
}
|
|
12113
|
+
|
|
12114
|
+
let query = { };
|
|
12115
|
+
if (!Util.isUnset(request.commandsShrink)) {
|
|
12116
|
+
query["Commands"] = request.commandsShrink;
|
|
12117
|
+
}
|
|
12118
|
+
|
|
12119
|
+
if (!Util.isUnset(request.custSpaceId)) {
|
|
12120
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
12121
|
+
}
|
|
12122
|
+
|
|
12123
|
+
if (!Util.isUnset(request.enableWelcomeMessage)) {
|
|
12124
|
+
query["EnableWelcomeMessage"] = request.enableWelcomeMessage;
|
|
12125
|
+
}
|
|
12126
|
+
|
|
12127
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
12128
|
+
query["OwnerId"] = request.ownerId;
|
|
12129
|
+
}
|
|
12130
|
+
|
|
12131
|
+
if (!Util.isUnset(request.phoneNumber)) {
|
|
12132
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
12133
|
+
}
|
|
12134
|
+
|
|
12135
|
+
if (!Util.isUnset(request.promptsShrink)) {
|
|
12136
|
+
query["Prompts"] = request.promptsShrink;
|
|
12137
|
+
}
|
|
12138
|
+
|
|
12139
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
12140
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12141
|
+
}
|
|
12142
|
+
|
|
12143
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
12144
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
12145
|
+
}
|
|
12146
|
+
|
|
12147
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12148
|
+
query: OpenApiUtil.query(query),
|
|
12149
|
+
});
|
|
12150
|
+
let params = new $OpenApi.Params({
|
|
12151
|
+
action: "UpdateConversationalAutomation",
|
|
12152
|
+
version: "2020-06-06",
|
|
12153
|
+
protocol: "HTTPS",
|
|
12154
|
+
pathname: "/",
|
|
12155
|
+
method: "POST",
|
|
12156
|
+
authType: "AK",
|
|
12157
|
+
style: "RPC",
|
|
12158
|
+
reqBodyType: "formData",
|
|
12159
|
+
bodyType: "json",
|
|
12160
|
+
});
|
|
12161
|
+
return $tea.cast<UpdateConversationalAutomationResponse>(await this.callApi(params, req, runtime), new UpdateConversationalAutomationResponse({}));
|
|
12162
|
+
}
|
|
12163
|
+
|
|
12164
|
+
/**
|
|
12165
|
+
* @summary 更新号码欢迎消息、命令等属性
|
|
12166
|
+
*
|
|
12167
|
+
* @param request UpdateConversationalAutomationRequest
|
|
12168
|
+
* @return UpdateConversationalAutomationResponse
|
|
12169
|
+
*/
|
|
12170
|
+
async updateConversationalAutomation(request: UpdateConversationalAutomationRequest): Promise<UpdateConversationalAutomationResponse> {
|
|
12171
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12172
|
+
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
12173
|
+
}
|
|
12174
|
+
|
|
11170
12175
|
/**
|
|
11171
12176
|
* @summary 更新flow的表单内容
|
|
11172
12177
|
*
|