@alicloud/cams20200606 1.1.0 → 1.2.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 +549 -2
- package/dist/client.js +1116 -33
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1472 -114
package/dist/client.d.ts
CHANGED
|
@@ -4,6 +4,53 @@
|
|
|
4
4
|
import * as $Util from '@alicloud/tea-util';
|
|
5
5
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
6
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
|
+
export declare class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
8
|
+
cc?: string;
|
|
9
|
+
custSpaceId?: string;
|
|
10
|
+
phoneNumber?: string;
|
|
11
|
+
preValidateId?: string;
|
|
12
|
+
verifiedName?: string;
|
|
13
|
+
static names(): {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
static types(): {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
constructor(map?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export declare class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
24
|
+
accessDeniedDetail?: string;
|
|
25
|
+
code?: string;
|
|
26
|
+
message?: string;
|
|
27
|
+
requestId?: string;
|
|
28
|
+
static names(): {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
static types(): {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
constructor(map?: {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
export declare class AddChatappPhoneNumberResponse extends $tea.Model {
|
|
39
|
+
headers: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
statusCode: number;
|
|
43
|
+
body: AddChatappPhoneNumberResponseBody;
|
|
44
|
+
static names(): {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
static types(): {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
constructor(map?: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
7
54
|
export declare class BeeBotAssociateRequest extends $tea.Model {
|
|
8
55
|
chatBotInstanceId?: string;
|
|
9
56
|
custSpaceId?: string;
|
|
@@ -328,6 +375,50 @@ export declare class ChatappMigrationVerifiedResponse extends $tea.Model {
|
|
|
328
375
|
[key: string]: any;
|
|
329
376
|
});
|
|
330
377
|
}
|
|
378
|
+
export declare class ChatappPhoneNumberDeregisterRequest extends $tea.Model {
|
|
379
|
+
custSpaceId?: string;
|
|
380
|
+
phoneNumber?: string;
|
|
381
|
+
static names(): {
|
|
382
|
+
[key: string]: string;
|
|
383
|
+
};
|
|
384
|
+
static types(): {
|
|
385
|
+
[key: string]: any;
|
|
386
|
+
};
|
|
387
|
+
constructor(map?: {
|
|
388
|
+
[key: string]: any;
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
export declare class ChatappPhoneNumberDeregisterResponseBody extends $tea.Model {
|
|
392
|
+
accessDeniedDetail?: string;
|
|
393
|
+
code?: string;
|
|
394
|
+
message?: string;
|
|
395
|
+
requestId?: string;
|
|
396
|
+
static names(): {
|
|
397
|
+
[key: string]: string;
|
|
398
|
+
};
|
|
399
|
+
static types(): {
|
|
400
|
+
[key: string]: any;
|
|
401
|
+
};
|
|
402
|
+
constructor(map?: {
|
|
403
|
+
[key: string]: any;
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
export declare class ChatappPhoneNumberDeregisterResponse extends $tea.Model {
|
|
407
|
+
headers: {
|
|
408
|
+
[key: string]: string;
|
|
409
|
+
};
|
|
410
|
+
statusCode: number;
|
|
411
|
+
body: ChatappPhoneNumberDeregisterResponseBody;
|
|
412
|
+
static names(): {
|
|
413
|
+
[key: string]: string;
|
|
414
|
+
};
|
|
415
|
+
static types(): {
|
|
416
|
+
[key: string]: any;
|
|
417
|
+
};
|
|
418
|
+
constructor(map?: {
|
|
419
|
+
[key: string]: any;
|
|
420
|
+
});
|
|
421
|
+
}
|
|
331
422
|
export declare class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
332
423
|
custSpaceId?: string;
|
|
333
424
|
phoneNumber?: string;
|
|
@@ -631,6 +722,99 @@ export declare class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
631
722
|
[key: string]: any;
|
|
632
723
|
});
|
|
633
724
|
}
|
|
725
|
+
export declare class EnableWhatsappROIMetricRequest extends $tea.Model {
|
|
726
|
+
custSpaceId?: string;
|
|
727
|
+
isvCode?: string;
|
|
728
|
+
static names(): {
|
|
729
|
+
[key: string]: string;
|
|
730
|
+
};
|
|
731
|
+
static types(): {
|
|
732
|
+
[key: string]: any;
|
|
733
|
+
};
|
|
734
|
+
constructor(map?: {
|
|
735
|
+
[key: string]: any;
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
export declare class EnableWhatsappROIMetricResponseBody extends $tea.Model {
|
|
739
|
+
accessDeniedDetail?: string;
|
|
740
|
+
code?: string;
|
|
741
|
+
message?: string;
|
|
742
|
+
requestId?: string;
|
|
743
|
+
static names(): {
|
|
744
|
+
[key: string]: string;
|
|
745
|
+
};
|
|
746
|
+
static types(): {
|
|
747
|
+
[key: string]: any;
|
|
748
|
+
};
|
|
749
|
+
constructor(map?: {
|
|
750
|
+
[key: string]: any;
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
export declare class EnableWhatsappROIMetricResponse extends $tea.Model {
|
|
754
|
+
headers: {
|
|
755
|
+
[key: string]: string;
|
|
756
|
+
};
|
|
757
|
+
statusCode: number;
|
|
758
|
+
body: EnableWhatsappROIMetricResponseBody;
|
|
759
|
+
static names(): {
|
|
760
|
+
[key: string]: string;
|
|
761
|
+
};
|
|
762
|
+
static types(): {
|
|
763
|
+
[key: string]: any;
|
|
764
|
+
};
|
|
765
|
+
constructor(map?: {
|
|
766
|
+
[key: string]: any;
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
export declare class GetChatappPhoneNumberMetricRequest extends $tea.Model {
|
|
770
|
+
custSpaceId?: string;
|
|
771
|
+
end?: number;
|
|
772
|
+
granularity?: string;
|
|
773
|
+
isvCode?: string;
|
|
774
|
+
phoneNumber?: string;
|
|
775
|
+
start?: number;
|
|
776
|
+
static names(): {
|
|
777
|
+
[key: string]: string;
|
|
778
|
+
};
|
|
779
|
+
static types(): {
|
|
780
|
+
[key: string]: any;
|
|
781
|
+
};
|
|
782
|
+
constructor(map?: {
|
|
783
|
+
[key: string]: any;
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
export declare class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
|
|
787
|
+
accessDeniedDetail?: string;
|
|
788
|
+
code?: string;
|
|
789
|
+
data?: GetChatappPhoneNumberMetricResponseBodyData[];
|
|
790
|
+
message?: string;
|
|
791
|
+
requestId?: string;
|
|
792
|
+
static names(): {
|
|
793
|
+
[key: string]: string;
|
|
794
|
+
};
|
|
795
|
+
static types(): {
|
|
796
|
+
[key: string]: any;
|
|
797
|
+
};
|
|
798
|
+
constructor(map?: {
|
|
799
|
+
[key: string]: any;
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
export declare class GetChatappPhoneNumberMetricResponse extends $tea.Model {
|
|
803
|
+
headers: {
|
|
804
|
+
[key: string]: string;
|
|
805
|
+
};
|
|
806
|
+
statusCode: number;
|
|
807
|
+
body: GetChatappPhoneNumberMetricResponseBody;
|
|
808
|
+
static names(): {
|
|
809
|
+
[key: string]: string;
|
|
810
|
+
};
|
|
811
|
+
static types(): {
|
|
812
|
+
[key: string]: any;
|
|
813
|
+
};
|
|
814
|
+
constructor(map?: {
|
|
815
|
+
[key: string]: any;
|
|
816
|
+
});
|
|
817
|
+
}
|
|
634
818
|
export declare class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
635
819
|
custSpaceId?: string;
|
|
636
820
|
custWabaId?: string;
|
|
@@ -680,6 +864,57 @@ export declare class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
|
680
864
|
[key: string]: any;
|
|
681
865
|
});
|
|
682
866
|
}
|
|
867
|
+
export declare class GetChatappTemplateMetricRequest extends $tea.Model {
|
|
868
|
+
custSpaceId?: string;
|
|
869
|
+
end?: number;
|
|
870
|
+
granularity?: string;
|
|
871
|
+
isvCode?: string;
|
|
872
|
+
language?: string;
|
|
873
|
+
start?: number;
|
|
874
|
+
templateCode?: string;
|
|
875
|
+
templateType?: string;
|
|
876
|
+
static names(): {
|
|
877
|
+
[key: string]: string;
|
|
878
|
+
};
|
|
879
|
+
static types(): {
|
|
880
|
+
[key: string]: any;
|
|
881
|
+
};
|
|
882
|
+
constructor(map?: {
|
|
883
|
+
[key: string]: any;
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
export declare class GetChatappTemplateMetricResponseBody extends $tea.Model {
|
|
887
|
+
accessDeniedDetail?: string;
|
|
888
|
+
code?: string;
|
|
889
|
+
data?: GetChatappTemplateMetricResponseBodyData[];
|
|
890
|
+
message?: string;
|
|
891
|
+
requestId?: string;
|
|
892
|
+
static names(): {
|
|
893
|
+
[key: string]: string;
|
|
894
|
+
};
|
|
895
|
+
static types(): {
|
|
896
|
+
[key: string]: any;
|
|
897
|
+
};
|
|
898
|
+
constructor(map?: {
|
|
899
|
+
[key: string]: any;
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
export declare class GetChatappTemplateMetricResponse extends $tea.Model {
|
|
903
|
+
headers: {
|
|
904
|
+
[key: string]: string;
|
|
905
|
+
};
|
|
906
|
+
statusCode: number;
|
|
907
|
+
body: GetChatappTemplateMetricResponseBody;
|
|
908
|
+
static names(): {
|
|
909
|
+
[key: string]: string;
|
|
910
|
+
};
|
|
911
|
+
static types(): {
|
|
912
|
+
[key: string]: any;
|
|
913
|
+
};
|
|
914
|
+
constructor(map?: {
|
|
915
|
+
[key: string]: any;
|
|
916
|
+
});
|
|
917
|
+
}
|
|
683
918
|
export declare class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
684
919
|
custSpaceId?: string;
|
|
685
920
|
static names(): {
|
|
@@ -905,6 +1140,57 @@ export declare class GetPreValidatePhoneIdResponse extends $tea.Model {
|
|
|
905
1140
|
[key: string]: any;
|
|
906
1141
|
});
|
|
907
1142
|
}
|
|
1143
|
+
export declare class GetWhatsappConnectionCatalogRequest extends $tea.Model {
|
|
1144
|
+
custSpaceId?: string;
|
|
1145
|
+
ownerId?: number;
|
|
1146
|
+
resourceOwnerAccount?: string;
|
|
1147
|
+
resourceOwnerId?: number;
|
|
1148
|
+
wabaId?: string;
|
|
1149
|
+
static names(): {
|
|
1150
|
+
[key: string]: string;
|
|
1151
|
+
};
|
|
1152
|
+
static types(): {
|
|
1153
|
+
[key: string]: any;
|
|
1154
|
+
};
|
|
1155
|
+
constructor(map?: {
|
|
1156
|
+
[key: string]: any;
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
export declare class GetWhatsappConnectionCatalogResponseBody extends $tea.Model {
|
|
1160
|
+
accessDeniedDetail?: string;
|
|
1161
|
+
code?: string;
|
|
1162
|
+
message?: string;
|
|
1163
|
+
model?: {
|
|
1164
|
+
[key: string]: any;
|
|
1165
|
+
};
|
|
1166
|
+
requestId?: string;
|
|
1167
|
+
success?: boolean;
|
|
1168
|
+
static names(): {
|
|
1169
|
+
[key: string]: string;
|
|
1170
|
+
};
|
|
1171
|
+
static types(): {
|
|
1172
|
+
[key: string]: any;
|
|
1173
|
+
};
|
|
1174
|
+
constructor(map?: {
|
|
1175
|
+
[key: string]: any;
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
export declare class GetWhatsappConnectionCatalogResponse extends $tea.Model {
|
|
1179
|
+
headers: {
|
|
1180
|
+
[key: string]: string;
|
|
1181
|
+
};
|
|
1182
|
+
statusCode: number;
|
|
1183
|
+
body: GetWhatsappConnectionCatalogResponseBody;
|
|
1184
|
+
static names(): {
|
|
1185
|
+
[key: string]: string;
|
|
1186
|
+
};
|
|
1187
|
+
static types(): {
|
|
1188
|
+
[key: string]: any;
|
|
1189
|
+
};
|
|
1190
|
+
constructor(map?: {
|
|
1191
|
+
[key: string]: any;
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
908
1194
|
export declare class IsvGetAppIdRequest extends $tea.Model {
|
|
909
1195
|
type?: string;
|
|
910
1196
|
static names(): {
|
|
@@ -1020,6 +1306,113 @@ export declare class ListChatappTemplateResponse extends $tea.Model {
|
|
|
1020
1306
|
[key: string]: any;
|
|
1021
1307
|
});
|
|
1022
1308
|
}
|
|
1309
|
+
export declare class ListProductRequest extends $tea.Model {
|
|
1310
|
+
after?: string;
|
|
1311
|
+
before?: string;
|
|
1312
|
+
catalogId?: string;
|
|
1313
|
+
custSpaceId?: string;
|
|
1314
|
+
fields?: string;
|
|
1315
|
+
limit?: number;
|
|
1316
|
+
ownerId?: number;
|
|
1317
|
+
resourceOwnerAccount?: string;
|
|
1318
|
+
resourceOwnerId?: number;
|
|
1319
|
+
wabaId?: string;
|
|
1320
|
+
static names(): {
|
|
1321
|
+
[key: string]: string;
|
|
1322
|
+
};
|
|
1323
|
+
static types(): {
|
|
1324
|
+
[key: string]: any;
|
|
1325
|
+
};
|
|
1326
|
+
constructor(map?: {
|
|
1327
|
+
[key: string]: any;
|
|
1328
|
+
});
|
|
1329
|
+
}
|
|
1330
|
+
export declare class ListProductResponseBody extends $tea.Model {
|
|
1331
|
+
accessDeniedDetail?: string;
|
|
1332
|
+
code?: string;
|
|
1333
|
+
message?: string;
|
|
1334
|
+
model?: ListProductResponseBodyModel;
|
|
1335
|
+
requestId?: string;
|
|
1336
|
+
success?: boolean;
|
|
1337
|
+
static names(): {
|
|
1338
|
+
[key: string]: string;
|
|
1339
|
+
};
|
|
1340
|
+
static types(): {
|
|
1341
|
+
[key: string]: any;
|
|
1342
|
+
};
|
|
1343
|
+
constructor(map?: {
|
|
1344
|
+
[key: string]: any;
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
export declare class ListProductResponse extends $tea.Model {
|
|
1348
|
+
headers: {
|
|
1349
|
+
[key: string]: string;
|
|
1350
|
+
};
|
|
1351
|
+
statusCode: number;
|
|
1352
|
+
body: ListProductResponseBody;
|
|
1353
|
+
static names(): {
|
|
1354
|
+
[key: string]: string;
|
|
1355
|
+
};
|
|
1356
|
+
static types(): {
|
|
1357
|
+
[key: string]: any;
|
|
1358
|
+
};
|
|
1359
|
+
constructor(map?: {
|
|
1360
|
+
[key: string]: any;
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
export declare class ListProductCatalogRequest extends $tea.Model {
|
|
1364
|
+
after?: string;
|
|
1365
|
+
before?: string;
|
|
1366
|
+
businessId?: number;
|
|
1367
|
+
custSpaceId?: string;
|
|
1368
|
+
fields?: string;
|
|
1369
|
+
limit?: number;
|
|
1370
|
+
ownerId?: number;
|
|
1371
|
+
resourceOwnerAccount?: string;
|
|
1372
|
+
resourceOwnerId?: number;
|
|
1373
|
+
static names(): {
|
|
1374
|
+
[key: string]: string;
|
|
1375
|
+
};
|
|
1376
|
+
static types(): {
|
|
1377
|
+
[key: string]: any;
|
|
1378
|
+
};
|
|
1379
|
+
constructor(map?: {
|
|
1380
|
+
[key: string]: any;
|
|
1381
|
+
});
|
|
1382
|
+
}
|
|
1383
|
+
export declare class ListProductCatalogResponseBody extends $tea.Model {
|
|
1384
|
+
accessDeniedDetail?: string;
|
|
1385
|
+
code?: string;
|
|
1386
|
+
message?: string;
|
|
1387
|
+
model?: ListProductCatalogResponseBodyModel;
|
|
1388
|
+
requestId?: string;
|
|
1389
|
+
success?: boolean;
|
|
1390
|
+
static names(): {
|
|
1391
|
+
[key: string]: string;
|
|
1392
|
+
};
|
|
1393
|
+
static types(): {
|
|
1394
|
+
[key: string]: any;
|
|
1395
|
+
};
|
|
1396
|
+
constructor(map?: {
|
|
1397
|
+
[key: string]: any;
|
|
1398
|
+
});
|
|
1399
|
+
}
|
|
1400
|
+
export declare class ListProductCatalogResponse extends $tea.Model {
|
|
1401
|
+
headers: {
|
|
1402
|
+
[key: string]: string;
|
|
1403
|
+
};
|
|
1404
|
+
statusCode: number;
|
|
1405
|
+
body: ListProductCatalogResponseBody;
|
|
1406
|
+
static names(): {
|
|
1407
|
+
[key: string]: string;
|
|
1408
|
+
};
|
|
1409
|
+
static types(): {
|
|
1410
|
+
[key: string]: any;
|
|
1411
|
+
};
|
|
1412
|
+
constructor(map?: {
|
|
1413
|
+
[key: string]: any;
|
|
1414
|
+
});
|
|
1415
|
+
}
|
|
1023
1416
|
export declare class ModifyChatappTemplateRequest extends $tea.Model {
|
|
1024
1417
|
category?: string;
|
|
1025
1418
|
components?: ModifyChatappTemplateRequestComponents[];
|
|
@@ -1352,6 +1745,7 @@ export declare class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1352
1745
|
fallBackContent?: string;
|
|
1353
1746
|
fallBackDuration?: number;
|
|
1354
1747
|
fallBackId?: string;
|
|
1748
|
+
fallBackRule?: string;
|
|
1355
1749
|
from?: string;
|
|
1356
1750
|
isvCode?: string;
|
|
1357
1751
|
label?: string;
|
|
@@ -1378,6 +1772,7 @@ export declare class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1378
1772
|
fallBackContent?: string;
|
|
1379
1773
|
fallBackDuration?: number;
|
|
1380
1774
|
fallBackId?: string;
|
|
1775
|
+
fallBackRule?: string;
|
|
1381
1776
|
from?: string;
|
|
1382
1777
|
isvCode?: string;
|
|
1383
1778
|
label?: string;
|
|
@@ -1438,6 +1833,7 @@ export declare class SendChatappMessageRequest extends $tea.Model {
|
|
|
1438
1833
|
fallBackContent?: string;
|
|
1439
1834
|
fallBackDuration?: number;
|
|
1440
1835
|
fallBackId?: string;
|
|
1836
|
+
fallBackRule?: string;
|
|
1441
1837
|
from?: string;
|
|
1442
1838
|
isvCode?: string;
|
|
1443
1839
|
label?: string;
|
|
@@ -1474,6 +1870,7 @@ export declare class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
1474
1870
|
fallBackContent?: string;
|
|
1475
1871
|
fallBackDuration?: number;
|
|
1476
1872
|
fallBackId?: string;
|
|
1873
|
+
fallBackRule?: string;
|
|
1477
1874
|
from?: string;
|
|
1478
1875
|
isvCode?: string;
|
|
1479
1876
|
label?: string;
|
|
@@ -1955,6 +2352,23 @@ export declare class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
1955
2352
|
[key: string]: any;
|
|
1956
2353
|
});
|
|
1957
2354
|
}
|
|
2355
|
+
export declare class GetChatappPhoneNumberMetricResponseBodyData extends $tea.Model {
|
|
2356
|
+
deliveredCount?: number;
|
|
2357
|
+
end?: number;
|
|
2358
|
+
granularity?: string;
|
|
2359
|
+
phoneNumber?: string;
|
|
2360
|
+
sentCount?: number;
|
|
2361
|
+
start?: number;
|
|
2362
|
+
static names(): {
|
|
2363
|
+
[key: string]: string;
|
|
2364
|
+
};
|
|
2365
|
+
static types(): {
|
|
2366
|
+
[key: string]: any;
|
|
2367
|
+
};
|
|
2368
|
+
constructor(map?: {
|
|
2369
|
+
[key: string]: any;
|
|
2370
|
+
});
|
|
2371
|
+
}
|
|
1958
2372
|
export declare class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
|
|
1959
2373
|
action?: string;
|
|
1960
2374
|
intentCode?: string;
|
|
@@ -2030,6 +2444,7 @@ export declare class GetChatappTemplateDetailResponseBodyData extends $tea.Model
|
|
|
2030
2444
|
messageSendTtlSeconds?: number;
|
|
2031
2445
|
name?: string;
|
|
2032
2446
|
qualityScore?: string;
|
|
2447
|
+
reason?: string;
|
|
2033
2448
|
templateCode?: string;
|
|
2034
2449
|
templateType?: string;
|
|
2035
2450
|
static names(): {
|
|
@@ -2042,6 +2457,39 @@ export declare class GetChatappTemplateDetailResponseBodyData extends $tea.Model
|
|
|
2042
2457
|
[key: string]: any;
|
|
2043
2458
|
});
|
|
2044
2459
|
}
|
|
2460
|
+
export declare class GetChatappTemplateMetricResponseBodyDataCliented extends $tea.Model {
|
|
2461
|
+
buttonContent?: string;
|
|
2462
|
+
count?: number;
|
|
2463
|
+
type?: string;
|
|
2464
|
+
static names(): {
|
|
2465
|
+
[key: string]: string;
|
|
2466
|
+
};
|
|
2467
|
+
static types(): {
|
|
2468
|
+
[key: string]: any;
|
|
2469
|
+
};
|
|
2470
|
+
constructor(map?: {
|
|
2471
|
+
[key: string]: any;
|
|
2472
|
+
});
|
|
2473
|
+
}
|
|
2474
|
+
export declare class GetChatappTemplateMetricResponseBodyData extends $tea.Model {
|
|
2475
|
+
cliented?: GetChatappTemplateMetricResponseBodyDataCliented[];
|
|
2476
|
+
deliveredCount?: number;
|
|
2477
|
+
end?: number;
|
|
2478
|
+
language?: string;
|
|
2479
|
+
readCount?: number;
|
|
2480
|
+
sentCount?: number;
|
|
2481
|
+
start?: number;
|
|
2482
|
+
templateCode?: string;
|
|
2483
|
+
static names(): {
|
|
2484
|
+
[key: string]: string;
|
|
2485
|
+
};
|
|
2486
|
+
static types(): {
|
|
2487
|
+
[key: string]: any;
|
|
2488
|
+
};
|
|
2489
|
+
constructor(map?: {
|
|
2490
|
+
[key: string]: any;
|
|
2491
|
+
});
|
|
2492
|
+
}
|
|
2045
2493
|
export declare class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
|
|
2046
2494
|
accessKeyId?: string;
|
|
2047
2495
|
accessKeySecret?: string;
|
|
@@ -2117,6 +2565,7 @@ export declare class ListChatappTemplateResponseBodyListTemplate extends $tea.Mo
|
|
|
2117
2565
|
auditStatus?: string;
|
|
2118
2566
|
category?: string;
|
|
2119
2567
|
language?: string;
|
|
2568
|
+
reason?: string;
|
|
2120
2569
|
templateCode?: string;
|
|
2121
2570
|
templateName?: string;
|
|
2122
2571
|
templateType?: string;
|
|
@@ -2130,6 +2579,86 @@ export declare class ListChatappTemplateResponseBodyListTemplate extends $tea.Mo
|
|
|
2130
2579
|
[key: string]: any;
|
|
2131
2580
|
});
|
|
2132
2581
|
}
|
|
2582
|
+
export declare class ListProductResponseBodyModelPagingCursors extends $tea.Model {
|
|
2583
|
+
after?: string;
|
|
2584
|
+
before?: string;
|
|
2585
|
+
static names(): {
|
|
2586
|
+
[key: string]: string;
|
|
2587
|
+
};
|
|
2588
|
+
static types(): {
|
|
2589
|
+
[key: string]: any;
|
|
2590
|
+
};
|
|
2591
|
+
constructor(map?: {
|
|
2592
|
+
[key: string]: any;
|
|
2593
|
+
});
|
|
2594
|
+
}
|
|
2595
|
+
export declare class ListProductResponseBodyModelPaging extends $tea.Model {
|
|
2596
|
+
cursors?: ListProductResponseBodyModelPagingCursors;
|
|
2597
|
+
static names(): {
|
|
2598
|
+
[key: string]: string;
|
|
2599
|
+
};
|
|
2600
|
+
static types(): {
|
|
2601
|
+
[key: string]: any;
|
|
2602
|
+
};
|
|
2603
|
+
constructor(map?: {
|
|
2604
|
+
[key: string]: any;
|
|
2605
|
+
});
|
|
2606
|
+
}
|
|
2607
|
+
export declare class ListProductResponseBodyModel extends $tea.Model {
|
|
2608
|
+
data?: {
|
|
2609
|
+
[key: string]: any;
|
|
2610
|
+
}[];
|
|
2611
|
+
paging?: ListProductResponseBodyModelPaging;
|
|
2612
|
+
static names(): {
|
|
2613
|
+
[key: string]: string;
|
|
2614
|
+
};
|
|
2615
|
+
static types(): {
|
|
2616
|
+
[key: string]: any;
|
|
2617
|
+
};
|
|
2618
|
+
constructor(map?: {
|
|
2619
|
+
[key: string]: any;
|
|
2620
|
+
});
|
|
2621
|
+
}
|
|
2622
|
+
export declare class ListProductCatalogResponseBodyModelPagingCursors extends $tea.Model {
|
|
2623
|
+
after?: string;
|
|
2624
|
+
before?: string;
|
|
2625
|
+
static names(): {
|
|
2626
|
+
[key: string]: string;
|
|
2627
|
+
};
|
|
2628
|
+
static types(): {
|
|
2629
|
+
[key: string]: any;
|
|
2630
|
+
};
|
|
2631
|
+
constructor(map?: {
|
|
2632
|
+
[key: string]: any;
|
|
2633
|
+
});
|
|
2634
|
+
}
|
|
2635
|
+
export declare class ListProductCatalogResponseBodyModelPaging extends $tea.Model {
|
|
2636
|
+
cursors?: ListProductCatalogResponseBodyModelPagingCursors;
|
|
2637
|
+
static names(): {
|
|
2638
|
+
[key: string]: string;
|
|
2639
|
+
};
|
|
2640
|
+
static types(): {
|
|
2641
|
+
[key: string]: any;
|
|
2642
|
+
};
|
|
2643
|
+
constructor(map?: {
|
|
2644
|
+
[key: string]: any;
|
|
2645
|
+
});
|
|
2646
|
+
}
|
|
2647
|
+
export declare class ListProductCatalogResponseBodyModel extends $tea.Model {
|
|
2648
|
+
data?: {
|
|
2649
|
+
[key: string]: any;
|
|
2650
|
+
}[];
|
|
2651
|
+
paging?: ListProductCatalogResponseBodyModelPaging;
|
|
2652
|
+
static names(): {
|
|
2653
|
+
[key: string]: string;
|
|
2654
|
+
};
|
|
2655
|
+
static types(): {
|
|
2656
|
+
[key: string]: any;
|
|
2657
|
+
};
|
|
2658
|
+
constructor(map?: {
|
|
2659
|
+
[key: string]: any;
|
|
2660
|
+
});
|
|
2661
|
+
}
|
|
2133
2662
|
export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
2134
2663
|
autofillText?: string;
|
|
2135
2664
|
isOptOut?: boolean;
|
|
@@ -2355,6 +2884,8 @@ export default class Client extends OpenApi {
|
|
|
2355
2884
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
2356
2885
|
[key: string]: string;
|
|
2357
2886
|
}, endpoint: string): string;
|
|
2887
|
+
addChatappPhoneNumberWithOptions(request: AddChatappPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<AddChatappPhoneNumberResponse>;
|
|
2888
|
+
addChatappPhoneNumber(request: AddChatappPhoneNumberRequest): Promise<AddChatappPhoneNumberResponse>;
|
|
2358
2889
|
/**
|
|
2359
2890
|
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2360
2891
|
*
|
|
@@ -2445,6 +2976,8 @@ export default class Client extends OpenApi {
|
|
|
2445
2976
|
* @return ChatappMigrationVerifiedResponse
|
|
2446
2977
|
*/
|
|
2447
2978
|
chatappMigrationVerified(request: ChatappMigrationVerifiedRequest): Promise<ChatappMigrationVerifiedResponse>;
|
|
2979
|
+
chatappPhoneNumberDeregisterWithOptions(request: ChatappPhoneNumberDeregisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberDeregisterResponse>;
|
|
2980
|
+
chatappPhoneNumberDeregister(request: ChatappPhoneNumberDeregisterRequest): Promise<ChatappPhoneNumberDeregisterResponse>;
|
|
2448
2981
|
/**
|
|
2449
2982
|
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2450
2983
|
*
|
|
@@ -2537,8 +3070,13 @@ export default class Client extends OpenApi {
|
|
|
2537
3070
|
* @return DeleteChatappTemplateResponse
|
|
2538
3071
|
*/
|
|
2539
3072
|
deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse>;
|
|
3073
|
+
enableWhatsappROIMetricWithOptions(request: EnableWhatsappROIMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableWhatsappROIMetricResponse>;
|
|
3074
|
+
enableWhatsappROIMetric(request: EnableWhatsappROIMetricRequest): Promise<EnableWhatsappROIMetricResponse>;
|
|
3075
|
+
getChatappPhoneNumberMetricWithOptions(request: GetChatappPhoneNumberMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappPhoneNumberMetricResponse>;
|
|
3076
|
+
getChatappPhoneNumberMetric(request: GetChatappPhoneNumberMetricRequest): Promise<GetChatappPhoneNumberMetricResponse>;
|
|
2540
3077
|
/**
|
|
2541
|
-
*
|
|
3078
|
+
* ### QPS limit
|
|
3079
|
+
* You can call this API operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2542
3080
|
*
|
|
2543
3081
|
* @param request GetChatappTemplateDetailRequest
|
|
2544
3082
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2546,12 +3084,15 @@ export default class Client extends OpenApi {
|
|
|
2546
3084
|
*/
|
|
2547
3085
|
getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse>;
|
|
2548
3086
|
/**
|
|
2549
|
-
*
|
|
3087
|
+
* ### QPS limit
|
|
3088
|
+
* You can call this API operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2550
3089
|
*
|
|
2551
3090
|
* @param request GetChatappTemplateDetailRequest
|
|
2552
3091
|
* @return GetChatappTemplateDetailResponse
|
|
2553
3092
|
*/
|
|
2554
3093
|
getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
|
|
3094
|
+
getChatappTemplateMetricWithOptions(request: GetChatappTemplateMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateMetricResponse>;
|
|
3095
|
+
getChatappTemplateMetric(request: GetChatappTemplateMetricRequest): Promise<GetChatappTemplateMetricResponse>;
|
|
2555
3096
|
/**
|
|
2556
3097
|
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2557
3098
|
*
|
|
@@ -2614,6 +3155,8 @@ export default class Client extends OpenApi {
|
|
|
2614
3155
|
getPhoneNumberVerificationStatus(request: GetPhoneNumberVerificationStatusRequest): Promise<GetPhoneNumberVerificationStatusResponse>;
|
|
2615
3156
|
getPreValidatePhoneIdWithOptions(request: GetPreValidatePhoneIdRequest, runtime: $Util.RuntimeOptions): Promise<GetPreValidatePhoneIdResponse>;
|
|
2616
3157
|
getPreValidatePhoneId(request: GetPreValidatePhoneIdRequest): Promise<GetPreValidatePhoneIdResponse>;
|
|
3158
|
+
getWhatsappConnectionCatalogWithOptions(request: GetWhatsappConnectionCatalogRequest, runtime: $Util.RuntimeOptions): Promise<GetWhatsappConnectionCatalogResponse>;
|
|
3159
|
+
getWhatsappConnectionCatalog(request: GetWhatsappConnectionCatalogRequest): Promise<GetWhatsappConnectionCatalogResponse>;
|
|
2617
3160
|
/**
|
|
2618
3161
|
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2619
3162
|
*
|
|
@@ -2646,6 +3189,10 @@ export default class Client extends OpenApi {
|
|
|
2646
3189
|
* @return ListChatappTemplateResponse
|
|
2647
3190
|
*/
|
|
2648
3191
|
listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
|
|
3192
|
+
listProductWithOptions(request: ListProductRequest, runtime: $Util.RuntimeOptions): Promise<ListProductResponse>;
|
|
3193
|
+
listProduct(request: ListProductRequest): Promise<ListProductResponse>;
|
|
3194
|
+
listProductCatalogWithOptions(request: ListProductCatalogRequest, runtime: $Util.RuntimeOptions): Promise<ListProductCatalogResponse>;
|
|
3195
|
+
listProductCatalog(request: ListProductCatalogRequest): Promise<ListProductCatalogResponse>;
|
|
2649
3196
|
/**
|
|
2650
3197
|
* The name of the message template.
|
|
2651
3198
|
*
|