@alicloud/cams20200606 1.0.21 → 1.2.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 +723 -8
- package/dist/client.js +1401 -35
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1918 -197
package/dist/client.js
CHANGED
|
@@ -19,6 +19,72 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
+
class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
cc: 'Cc',
|
|
29
|
+
custSpaceId: 'CustSpaceId',
|
|
30
|
+
phoneNumber: 'PhoneNumber',
|
|
31
|
+
preValidateId: 'PreValidateId',
|
|
32
|
+
verifiedName: 'VerifiedName',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static types() {
|
|
36
|
+
return {
|
|
37
|
+
cc: 'string',
|
|
38
|
+
custSpaceId: 'string',
|
|
39
|
+
phoneNumber: 'string',
|
|
40
|
+
preValidateId: 'string',
|
|
41
|
+
verifiedName: 'string',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AddChatappPhoneNumberRequest = AddChatappPhoneNumberRequest;
|
|
46
|
+
class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
47
|
+
constructor(map) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
static names() {
|
|
51
|
+
return {
|
|
52
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
53
|
+
code: 'Code',
|
|
54
|
+
message: 'Message',
|
|
55
|
+
requestId: 'RequestId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static types() {
|
|
59
|
+
return {
|
|
60
|
+
accessDeniedDetail: 'string',
|
|
61
|
+
code: 'string',
|
|
62
|
+
message: 'string',
|
|
63
|
+
requestId: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AddChatappPhoneNumberResponseBody = AddChatappPhoneNumberResponseBody;
|
|
68
|
+
class AddChatappPhoneNumberResponse extends $tea.Model {
|
|
69
|
+
constructor(map) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
static names() {
|
|
73
|
+
return {
|
|
74
|
+
headers: 'headers',
|
|
75
|
+
statusCode: 'statusCode',
|
|
76
|
+
body: 'body',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static types() {
|
|
80
|
+
return {
|
|
81
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82
|
+
statusCode: 'number',
|
|
83
|
+
body: AddChatappPhoneNumberResponseBody,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.AddChatappPhoneNumberResponse = AddChatappPhoneNumberResponse;
|
|
22
88
|
class BeeBotAssociateRequest extends $tea.Model {
|
|
23
89
|
constructor(map) {
|
|
24
90
|
super(map);
|
|
@@ -81,6 +147,7 @@ class BeeBotAssociateResponseBody extends $tea.Model {
|
|
|
81
147
|
}
|
|
82
148
|
static names() {
|
|
83
149
|
return {
|
|
150
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
84
151
|
code: 'Code',
|
|
85
152
|
data: 'Data',
|
|
86
153
|
message: 'Message',
|
|
@@ -89,6 +156,7 @@ class BeeBotAssociateResponseBody extends $tea.Model {
|
|
|
89
156
|
}
|
|
90
157
|
static types() {
|
|
91
158
|
return {
|
|
159
|
+
accessDeniedDetail: 'string',
|
|
92
160
|
code: 'string',
|
|
93
161
|
data: BeeBotAssociateResponseBodyData,
|
|
94
162
|
message: 'string',
|
|
@@ -195,6 +263,7 @@ class BeeBotChatResponseBody extends $tea.Model {
|
|
|
195
263
|
}
|
|
196
264
|
static names() {
|
|
197
265
|
return {
|
|
266
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
198
267
|
code: 'Code',
|
|
199
268
|
data: 'Data',
|
|
200
269
|
message: 'Message',
|
|
@@ -203,6 +272,7 @@ class BeeBotChatResponseBody extends $tea.Model {
|
|
|
203
272
|
}
|
|
204
273
|
static types() {
|
|
205
274
|
return {
|
|
275
|
+
accessDeniedDetail: 'string',
|
|
206
276
|
code: 'string',
|
|
207
277
|
data: BeeBotChatResponseBodyData,
|
|
208
278
|
message: 'string',
|
|
@@ -253,6 +323,7 @@ class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
253
323
|
}
|
|
254
324
|
static names() {
|
|
255
325
|
return {
|
|
326
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
256
327
|
code: 'Code',
|
|
257
328
|
data: 'Data',
|
|
258
329
|
message: 'Message',
|
|
@@ -261,6 +332,7 @@ class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
261
332
|
}
|
|
262
333
|
static types() {
|
|
263
334
|
return {
|
|
335
|
+
accessDeniedDetail: 'string',
|
|
264
336
|
code: 'string',
|
|
265
337
|
data: ChatappBindWabaResponseBodyData,
|
|
266
338
|
message: 'string',
|
|
@@ -311,6 +383,7 @@ class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
|
311
383
|
}
|
|
312
384
|
static names() {
|
|
313
385
|
return {
|
|
386
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
314
387
|
code: 'Code',
|
|
315
388
|
message: 'Message',
|
|
316
389
|
requestId: 'RequestId',
|
|
@@ -319,6 +392,7 @@ class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
|
319
392
|
}
|
|
320
393
|
static types() {
|
|
321
394
|
return {
|
|
395
|
+
accessDeniedDetail: 'string',
|
|
322
396
|
code: 'string',
|
|
323
397
|
message: 'string',
|
|
324
398
|
requestId: 'string',
|
|
@@ -371,6 +445,7 @@ class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
|
371
445
|
}
|
|
372
446
|
static names() {
|
|
373
447
|
return {
|
|
448
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
374
449
|
code: 'Code',
|
|
375
450
|
message: 'Message',
|
|
376
451
|
requestId: 'RequestId',
|
|
@@ -378,6 +453,7 @@ class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
|
378
453
|
}
|
|
379
454
|
static types() {
|
|
380
455
|
return {
|
|
456
|
+
accessDeniedDetail: 'string',
|
|
381
457
|
code: 'string',
|
|
382
458
|
message: 'string',
|
|
383
459
|
requestId: 'string',
|
|
@@ -431,6 +507,7 @@ class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
|
431
507
|
}
|
|
432
508
|
static names() {
|
|
433
509
|
return {
|
|
510
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
434
511
|
code: 'Code',
|
|
435
512
|
data: 'Data',
|
|
436
513
|
message: 'Message',
|
|
@@ -439,6 +516,7 @@ class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
|
439
516
|
}
|
|
440
517
|
static types() {
|
|
441
518
|
return {
|
|
519
|
+
accessDeniedDetail: 'string',
|
|
442
520
|
code: 'string',
|
|
443
521
|
data: ChatappMigrationVerifiedResponseBodyData,
|
|
444
522
|
message: 'string',
|
|
@@ -467,6 +545,66 @@ class ChatappMigrationVerifiedResponse extends $tea.Model {
|
|
|
467
545
|
}
|
|
468
546
|
}
|
|
469
547
|
exports.ChatappMigrationVerifiedResponse = ChatappMigrationVerifiedResponse;
|
|
548
|
+
class ChatappPhoneNumberDeregisterRequest extends $tea.Model {
|
|
549
|
+
constructor(map) {
|
|
550
|
+
super(map);
|
|
551
|
+
}
|
|
552
|
+
static names() {
|
|
553
|
+
return {
|
|
554
|
+
custSpaceId: 'CustSpaceId',
|
|
555
|
+
phoneNumber: 'PhoneNumber',
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
static types() {
|
|
559
|
+
return {
|
|
560
|
+
custSpaceId: 'string',
|
|
561
|
+
phoneNumber: 'string',
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exports.ChatappPhoneNumberDeregisterRequest = ChatappPhoneNumberDeregisterRequest;
|
|
566
|
+
class ChatappPhoneNumberDeregisterResponseBody extends $tea.Model {
|
|
567
|
+
constructor(map) {
|
|
568
|
+
super(map);
|
|
569
|
+
}
|
|
570
|
+
static names() {
|
|
571
|
+
return {
|
|
572
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
573
|
+
code: 'Code',
|
|
574
|
+
message: 'Message',
|
|
575
|
+
requestId: 'RequestId',
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
static types() {
|
|
579
|
+
return {
|
|
580
|
+
accessDeniedDetail: 'string',
|
|
581
|
+
code: 'string',
|
|
582
|
+
message: 'string',
|
|
583
|
+
requestId: 'string',
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
exports.ChatappPhoneNumberDeregisterResponseBody = ChatappPhoneNumberDeregisterResponseBody;
|
|
588
|
+
class ChatappPhoneNumberDeregisterResponse extends $tea.Model {
|
|
589
|
+
constructor(map) {
|
|
590
|
+
super(map);
|
|
591
|
+
}
|
|
592
|
+
static names() {
|
|
593
|
+
return {
|
|
594
|
+
headers: 'headers',
|
|
595
|
+
statusCode: 'statusCode',
|
|
596
|
+
body: 'body',
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
static types() {
|
|
600
|
+
return {
|
|
601
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
602
|
+
statusCode: 'number',
|
|
603
|
+
body: ChatappPhoneNumberDeregisterResponseBody,
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
exports.ChatappPhoneNumberDeregisterResponse = ChatappPhoneNumberDeregisterResponse;
|
|
470
608
|
class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
471
609
|
constructor(map) {
|
|
472
610
|
super(map);
|
|
@@ -491,6 +629,7 @@ class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
491
629
|
}
|
|
492
630
|
static names() {
|
|
493
631
|
return {
|
|
632
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
494
633
|
code: 'Code',
|
|
495
634
|
message: 'Message',
|
|
496
635
|
requestId: 'RequestId',
|
|
@@ -498,6 +637,7 @@ class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
498
637
|
}
|
|
499
638
|
static types() {
|
|
500
639
|
return {
|
|
640
|
+
accessDeniedDetail: 'string',
|
|
501
641
|
code: 'string',
|
|
502
642
|
message: 'string',
|
|
503
643
|
requestId: 'string',
|
|
@@ -547,6 +687,7 @@ class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
547
687
|
}
|
|
548
688
|
static names() {
|
|
549
689
|
return {
|
|
690
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
550
691
|
code: 'Code',
|
|
551
692
|
message: 'Message',
|
|
552
693
|
phoneNumbers: 'PhoneNumbers',
|
|
@@ -555,6 +696,7 @@ class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
555
696
|
}
|
|
556
697
|
static types() {
|
|
557
698
|
return {
|
|
699
|
+
accessDeniedDetail: 'string',
|
|
558
700
|
code: 'string',
|
|
559
701
|
message: 'string',
|
|
560
702
|
phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
|
|
@@ -609,6 +751,7 @@ class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
609
751
|
}
|
|
610
752
|
static names() {
|
|
611
753
|
return {
|
|
754
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
612
755
|
code: 'Code',
|
|
613
756
|
message: 'Message',
|
|
614
757
|
requestId: 'RequestId',
|
|
@@ -616,6 +759,7 @@ class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
616
759
|
}
|
|
617
760
|
static types() {
|
|
618
761
|
return {
|
|
762
|
+
accessDeniedDetail: 'string',
|
|
619
763
|
code: 'string',
|
|
620
764
|
message: 'string',
|
|
621
765
|
requestId: 'string',
|
|
@@ -669,6 +813,7 @@ class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
|
669
813
|
}
|
|
670
814
|
static names() {
|
|
671
815
|
return {
|
|
816
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
672
817
|
code: 'Code',
|
|
673
818
|
data: 'Data',
|
|
674
819
|
message: 'Message',
|
|
@@ -677,6 +822,7 @@ class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
|
677
822
|
}
|
|
678
823
|
static types() {
|
|
679
824
|
return {
|
|
825
|
+
accessDeniedDetail: 'string',
|
|
680
826
|
code: 'string',
|
|
681
827
|
data: CreateChatappMigrationInitiateResponseBodyData,
|
|
682
828
|
message: 'string',
|
|
@@ -719,6 +865,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
719
865
|
example: 'Example',
|
|
720
866
|
isvCode: 'IsvCode',
|
|
721
867
|
language: 'Language',
|
|
868
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
722
869
|
name: 'Name',
|
|
723
870
|
templateType: 'TemplateType',
|
|
724
871
|
};
|
|
@@ -733,6 +880,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
733
880
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
734
881
|
isvCode: 'string',
|
|
735
882
|
language: 'string',
|
|
883
|
+
messageSendTtlSeconds: 'number',
|
|
736
884
|
name: 'string',
|
|
737
885
|
templateType: 'string',
|
|
738
886
|
};
|
|
@@ -753,6 +901,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
753
901
|
exampleShrink: 'Example',
|
|
754
902
|
isvCode: 'IsvCode',
|
|
755
903
|
language: 'Language',
|
|
904
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
756
905
|
name: 'Name',
|
|
757
906
|
templateType: 'TemplateType',
|
|
758
907
|
};
|
|
@@ -767,6 +916,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
767
916
|
exampleShrink: 'string',
|
|
768
917
|
isvCode: 'string',
|
|
769
918
|
language: 'string',
|
|
919
|
+
messageSendTtlSeconds: 'number',
|
|
770
920
|
name: 'string',
|
|
771
921
|
templateType: 'string',
|
|
772
922
|
};
|
|
@@ -779,6 +929,7 @@ class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
|
779
929
|
}
|
|
780
930
|
static names() {
|
|
781
931
|
return {
|
|
932
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
782
933
|
code: 'Code',
|
|
783
934
|
data: 'Data',
|
|
784
935
|
message: 'Message',
|
|
@@ -787,6 +938,7 @@ class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
|
787
938
|
}
|
|
788
939
|
static types() {
|
|
789
940
|
return {
|
|
941
|
+
accessDeniedDetail: 'string',
|
|
790
942
|
code: 'string',
|
|
791
943
|
data: CreateChatappTemplateResponseBodyData,
|
|
792
944
|
message: 'string',
|
|
@@ -843,6 +995,7 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
843
995
|
}
|
|
844
996
|
static names() {
|
|
845
997
|
return {
|
|
998
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
846
999
|
code: 'Code',
|
|
847
1000
|
message: 'Message',
|
|
848
1001
|
requestId: 'RequestId',
|
|
@@ -850,6 +1003,7 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
850
1003
|
}
|
|
851
1004
|
static types() {
|
|
852
1005
|
return {
|
|
1006
|
+
accessDeniedDetail: 'string',
|
|
853
1007
|
code: 'string',
|
|
854
1008
|
message: 'string',
|
|
855
1009
|
requestId: 'string',
|
|
@@ -877,6 +1031,136 @@ class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
877
1031
|
}
|
|
878
1032
|
}
|
|
879
1033
|
exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
|
|
1034
|
+
class EnableWhatsappROIMetricRequest extends $tea.Model {
|
|
1035
|
+
constructor(map) {
|
|
1036
|
+
super(map);
|
|
1037
|
+
}
|
|
1038
|
+
static names() {
|
|
1039
|
+
return {
|
|
1040
|
+
custSpaceId: 'CustSpaceId',
|
|
1041
|
+
isvCode: 'IsvCode',
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
static types() {
|
|
1045
|
+
return {
|
|
1046
|
+
custSpaceId: 'string',
|
|
1047
|
+
isvCode: 'string',
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
exports.EnableWhatsappROIMetricRequest = EnableWhatsappROIMetricRequest;
|
|
1052
|
+
class EnableWhatsappROIMetricResponseBody extends $tea.Model {
|
|
1053
|
+
constructor(map) {
|
|
1054
|
+
super(map);
|
|
1055
|
+
}
|
|
1056
|
+
static names() {
|
|
1057
|
+
return {
|
|
1058
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1059
|
+
code: 'Code',
|
|
1060
|
+
message: 'Message',
|
|
1061
|
+
requestId: 'RequestId',
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
static types() {
|
|
1065
|
+
return {
|
|
1066
|
+
accessDeniedDetail: 'string',
|
|
1067
|
+
code: 'string',
|
|
1068
|
+
message: 'string',
|
|
1069
|
+
requestId: 'string',
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
exports.EnableWhatsappROIMetricResponseBody = EnableWhatsappROIMetricResponseBody;
|
|
1074
|
+
class EnableWhatsappROIMetricResponse extends $tea.Model {
|
|
1075
|
+
constructor(map) {
|
|
1076
|
+
super(map);
|
|
1077
|
+
}
|
|
1078
|
+
static names() {
|
|
1079
|
+
return {
|
|
1080
|
+
headers: 'headers',
|
|
1081
|
+
statusCode: 'statusCode',
|
|
1082
|
+
body: 'body',
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
static types() {
|
|
1086
|
+
return {
|
|
1087
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1088
|
+
statusCode: 'number',
|
|
1089
|
+
body: EnableWhatsappROIMetricResponseBody,
|
|
1090
|
+
};
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
exports.EnableWhatsappROIMetricResponse = EnableWhatsappROIMetricResponse;
|
|
1094
|
+
class GetChatappPhoneNumberMetricRequest extends $tea.Model {
|
|
1095
|
+
constructor(map) {
|
|
1096
|
+
super(map);
|
|
1097
|
+
}
|
|
1098
|
+
static names() {
|
|
1099
|
+
return {
|
|
1100
|
+
custSpaceId: 'CustSpaceId',
|
|
1101
|
+
end: 'End',
|
|
1102
|
+
granularity: 'Granularity',
|
|
1103
|
+
isvCode: 'IsvCode',
|
|
1104
|
+
phoneNumber: 'PhoneNumber',
|
|
1105
|
+
start: 'Start',
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
static types() {
|
|
1109
|
+
return {
|
|
1110
|
+
custSpaceId: 'string',
|
|
1111
|
+
end: 'number',
|
|
1112
|
+
granularity: 'string',
|
|
1113
|
+
isvCode: 'string',
|
|
1114
|
+
phoneNumber: 'string',
|
|
1115
|
+
start: 'number',
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
exports.GetChatappPhoneNumberMetricRequest = GetChatappPhoneNumberMetricRequest;
|
|
1120
|
+
class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
|
|
1121
|
+
constructor(map) {
|
|
1122
|
+
super(map);
|
|
1123
|
+
}
|
|
1124
|
+
static names() {
|
|
1125
|
+
return {
|
|
1126
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1127
|
+
code: 'Code',
|
|
1128
|
+
data: 'Data',
|
|
1129
|
+
message: 'Message',
|
|
1130
|
+
requestId: 'RequestId',
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
static types() {
|
|
1134
|
+
return {
|
|
1135
|
+
accessDeniedDetail: 'string',
|
|
1136
|
+
code: 'string',
|
|
1137
|
+
data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
|
|
1138
|
+
message: 'string',
|
|
1139
|
+
requestId: 'string',
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
exports.GetChatappPhoneNumberMetricResponseBody = GetChatappPhoneNumberMetricResponseBody;
|
|
1144
|
+
class GetChatappPhoneNumberMetricResponse extends $tea.Model {
|
|
1145
|
+
constructor(map) {
|
|
1146
|
+
super(map);
|
|
1147
|
+
}
|
|
1148
|
+
static names() {
|
|
1149
|
+
return {
|
|
1150
|
+
headers: 'headers',
|
|
1151
|
+
statusCode: 'statusCode',
|
|
1152
|
+
body: 'body',
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
static types() {
|
|
1156
|
+
return {
|
|
1157
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1158
|
+
statusCode: 'number',
|
|
1159
|
+
body: GetChatappPhoneNumberMetricResponseBody,
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
exports.GetChatappPhoneNumberMetricResponse = GetChatappPhoneNumberMetricResponse;
|
|
880
1164
|
class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
881
1165
|
constructor(map) {
|
|
882
1166
|
super(map);
|
|
@@ -909,6 +1193,7 @@ class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
|
909
1193
|
}
|
|
910
1194
|
static names() {
|
|
911
1195
|
return {
|
|
1196
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
912
1197
|
code: 'Code',
|
|
913
1198
|
data: 'Data',
|
|
914
1199
|
message: 'Message',
|
|
@@ -917,6 +1202,7 @@ class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
|
917
1202
|
}
|
|
918
1203
|
static types() {
|
|
919
1204
|
return {
|
|
1205
|
+
accessDeniedDetail: 'string',
|
|
920
1206
|
code: 'string',
|
|
921
1207
|
data: GetChatappTemplateDetailResponseBodyData,
|
|
922
1208
|
message: 'string',
|
|
@@ -945,6 +1231,80 @@ class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
|
945
1231
|
}
|
|
946
1232
|
}
|
|
947
1233
|
exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
|
|
1234
|
+
class GetChatappTemplateMetricRequest extends $tea.Model {
|
|
1235
|
+
constructor(map) {
|
|
1236
|
+
super(map);
|
|
1237
|
+
}
|
|
1238
|
+
static names() {
|
|
1239
|
+
return {
|
|
1240
|
+
custSpaceId: 'CustSpaceId',
|
|
1241
|
+
end: 'End',
|
|
1242
|
+
granularity: 'Granularity',
|
|
1243
|
+
isvCode: 'IsvCode',
|
|
1244
|
+
language: 'Language',
|
|
1245
|
+
start: 'Start',
|
|
1246
|
+
templateCode: 'TemplateCode',
|
|
1247
|
+
templateType: 'TemplateType',
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
static types() {
|
|
1251
|
+
return {
|
|
1252
|
+
custSpaceId: 'string',
|
|
1253
|
+
end: 'number',
|
|
1254
|
+
granularity: 'string',
|
|
1255
|
+
isvCode: 'string',
|
|
1256
|
+
language: 'string',
|
|
1257
|
+
start: 'number',
|
|
1258
|
+
templateCode: 'string',
|
|
1259
|
+
templateType: 'string',
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
exports.GetChatappTemplateMetricRequest = GetChatappTemplateMetricRequest;
|
|
1264
|
+
class GetChatappTemplateMetricResponseBody extends $tea.Model {
|
|
1265
|
+
constructor(map) {
|
|
1266
|
+
super(map);
|
|
1267
|
+
}
|
|
1268
|
+
static names() {
|
|
1269
|
+
return {
|
|
1270
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1271
|
+
code: 'Code',
|
|
1272
|
+
data: 'Data',
|
|
1273
|
+
message: 'Message',
|
|
1274
|
+
requestId: 'RequestId',
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
static types() {
|
|
1278
|
+
return {
|
|
1279
|
+
accessDeniedDetail: 'string',
|
|
1280
|
+
code: 'string',
|
|
1281
|
+
data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
|
|
1282
|
+
message: 'string',
|
|
1283
|
+
requestId: 'string',
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
exports.GetChatappTemplateMetricResponseBody = GetChatappTemplateMetricResponseBody;
|
|
1288
|
+
class GetChatappTemplateMetricResponse extends $tea.Model {
|
|
1289
|
+
constructor(map) {
|
|
1290
|
+
super(map);
|
|
1291
|
+
}
|
|
1292
|
+
static names() {
|
|
1293
|
+
return {
|
|
1294
|
+
headers: 'headers',
|
|
1295
|
+
statusCode: 'statusCode',
|
|
1296
|
+
body: 'body',
|
|
1297
|
+
};
|
|
1298
|
+
}
|
|
1299
|
+
static types() {
|
|
1300
|
+
return {
|
|
1301
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1302
|
+
statusCode: 'number',
|
|
1303
|
+
body: GetChatappTemplateMetricResponseBody,
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
exports.GetChatappTemplateMetricResponse = GetChatappTemplateMetricResponse;
|
|
948
1308
|
class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
949
1309
|
constructor(map) {
|
|
950
1310
|
super(map);
|
|
@@ -967,6 +1327,7 @@ class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
|
967
1327
|
}
|
|
968
1328
|
static names() {
|
|
969
1329
|
return {
|
|
1330
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
970
1331
|
code: 'Code',
|
|
971
1332
|
data: 'Data',
|
|
972
1333
|
message: 'Message',
|
|
@@ -975,6 +1336,7 @@ class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
|
975
1336
|
}
|
|
976
1337
|
static types() {
|
|
977
1338
|
return {
|
|
1339
|
+
accessDeniedDetail: 'string',
|
|
978
1340
|
code: 'string',
|
|
979
1341
|
data: GetChatappUploadAuthorizationResponseBodyData,
|
|
980
1342
|
message: 'string',
|
|
@@ -1031,6 +1393,7 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1031
1393
|
}
|
|
1032
1394
|
static names() {
|
|
1033
1395
|
return {
|
|
1396
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1034
1397
|
code: 'Code',
|
|
1035
1398
|
message: 'Message',
|
|
1036
1399
|
requestId: 'RequestId',
|
|
@@ -1038,6 +1401,7 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1038
1401
|
}
|
|
1039
1402
|
static types() {
|
|
1040
1403
|
return {
|
|
1404
|
+
accessDeniedDetail: 'string',
|
|
1041
1405
|
code: 'string',
|
|
1042
1406
|
message: 'string',
|
|
1043
1407
|
requestId: 'string',
|
|
@@ -1093,6 +1457,7 @@ class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
|
1093
1457
|
}
|
|
1094
1458
|
static names() {
|
|
1095
1459
|
return {
|
|
1460
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1096
1461
|
code: 'Code',
|
|
1097
1462
|
data: 'Data',
|
|
1098
1463
|
message: 'Message',
|
|
@@ -1101,6 +1466,7 @@ class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
|
1101
1466
|
}
|
|
1102
1467
|
static types() {
|
|
1103
1468
|
return {
|
|
1469
|
+
accessDeniedDetail: 'string',
|
|
1104
1470
|
code: 'string',
|
|
1105
1471
|
data: GetMigrationVerifyCodeResponseBodyData,
|
|
1106
1472
|
message: 'string',
|
|
@@ -1189,6 +1555,136 @@ class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
|
|
|
1189
1555
|
}
|
|
1190
1556
|
}
|
|
1191
1557
|
exports.GetPhoneNumberVerificationStatusResponse = GetPhoneNumberVerificationStatusResponse;
|
|
1558
|
+
class GetPreValidatePhoneIdRequest extends $tea.Model {
|
|
1559
|
+
constructor(map) {
|
|
1560
|
+
super(map);
|
|
1561
|
+
}
|
|
1562
|
+
static names() {
|
|
1563
|
+
return {
|
|
1564
|
+
phoneNumber: 'PhoneNumber',
|
|
1565
|
+
verifyCode: 'VerifyCode',
|
|
1566
|
+
};
|
|
1567
|
+
}
|
|
1568
|
+
static types() {
|
|
1569
|
+
return {
|
|
1570
|
+
phoneNumber: 'string',
|
|
1571
|
+
verifyCode: 'string',
|
|
1572
|
+
};
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
exports.GetPreValidatePhoneIdRequest = GetPreValidatePhoneIdRequest;
|
|
1576
|
+
class GetPreValidatePhoneIdResponseBody extends $tea.Model {
|
|
1577
|
+
constructor(map) {
|
|
1578
|
+
super(map);
|
|
1579
|
+
}
|
|
1580
|
+
static names() {
|
|
1581
|
+
return {
|
|
1582
|
+
code: 'Code',
|
|
1583
|
+
data: 'Data',
|
|
1584
|
+
message: 'Message',
|
|
1585
|
+
requestId: 'RequestId',
|
|
1586
|
+
};
|
|
1587
|
+
}
|
|
1588
|
+
static types() {
|
|
1589
|
+
return {
|
|
1590
|
+
code: 'string',
|
|
1591
|
+
data: GetPreValidatePhoneIdResponseBodyData,
|
|
1592
|
+
message: 'string',
|
|
1593
|
+
requestId: 'string',
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
exports.GetPreValidatePhoneIdResponseBody = GetPreValidatePhoneIdResponseBody;
|
|
1598
|
+
class GetPreValidatePhoneIdResponse extends $tea.Model {
|
|
1599
|
+
constructor(map) {
|
|
1600
|
+
super(map);
|
|
1601
|
+
}
|
|
1602
|
+
static names() {
|
|
1603
|
+
return {
|
|
1604
|
+
headers: 'headers',
|
|
1605
|
+
statusCode: 'statusCode',
|
|
1606
|
+
body: 'body',
|
|
1607
|
+
};
|
|
1608
|
+
}
|
|
1609
|
+
static types() {
|
|
1610
|
+
return {
|
|
1611
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1612
|
+
statusCode: 'number',
|
|
1613
|
+
body: GetPreValidatePhoneIdResponseBody,
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
exports.GetPreValidatePhoneIdResponse = GetPreValidatePhoneIdResponse;
|
|
1618
|
+
class GetWhatsappConnectionCatalogRequest extends $tea.Model {
|
|
1619
|
+
constructor(map) {
|
|
1620
|
+
super(map);
|
|
1621
|
+
}
|
|
1622
|
+
static names() {
|
|
1623
|
+
return {
|
|
1624
|
+
custSpaceId: 'CustSpaceId',
|
|
1625
|
+
ownerId: 'OwnerId',
|
|
1626
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1627
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1628
|
+
wabaId: 'WabaId',
|
|
1629
|
+
};
|
|
1630
|
+
}
|
|
1631
|
+
static types() {
|
|
1632
|
+
return {
|
|
1633
|
+
custSpaceId: 'string',
|
|
1634
|
+
ownerId: 'number',
|
|
1635
|
+
resourceOwnerAccount: 'string',
|
|
1636
|
+
resourceOwnerId: 'number',
|
|
1637
|
+
wabaId: 'string',
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
exports.GetWhatsappConnectionCatalogRequest = GetWhatsappConnectionCatalogRequest;
|
|
1642
|
+
class GetWhatsappConnectionCatalogResponseBody extends $tea.Model {
|
|
1643
|
+
constructor(map) {
|
|
1644
|
+
super(map);
|
|
1645
|
+
}
|
|
1646
|
+
static names() {
|
|
1647
|
+
return {
|
|
1648
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1649
|
+
code: 'Code',
|
|
1650
|
+
message: 'Message',
|
|
1651
|
+
model: 'Model',
|
|
1652
|
+
requestId: 'RequestId',
|
|
1653
|
+
success: 'Success',
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
static types() {
|
|
1657
|
+
return {
|
|
1658
|
+
accessDeniedDetail: 'string',
|
|
1659
|
+
code: 'string',
|
|
1660
|
+
message: 'string',
|
|
1661
|
+
model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1662
|
+
requestId: 'string',
|
|
1663
|
+
success: 'boolean',
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
exports.GetWhatsappConnectionCatalogResponseBody = GetWhatsappConnectionCatalogResponseBody;
|
|
1668
|
+
class GetWhatsappConnectionCatalogResponse extends $tea.Model {
|
|
1669
|
+
constructor(map) {
|
|
1670
|
+
super(map);
|
|
1671
|
+
}
|
|
1672
|
+
static names() {
|
|
1673
|
+
return {
|
|
1674
|
+
headers: 'headers',
|
|
1675
|
+
statusCode: 'statusCode',
|
|
1676
|
+
body: 'body',
|
|
1677
|
+
};
|
|
1678
|
+
}
|
|
1679
|
+
static types() {
|
|
1680
|
+
return {
|
|
1681
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1682
|
+
statusCode: 'number',
|
|
1683
|
+
body: GetWhatsappConnectionCatalogResponseBody,
|
|
1684
|
+
};
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
exports.GetWhatsappConnectionCatalogResponse = GetWhatsappConnectionCatalogResponse;
|
|
1192
1688
|
class IsvGetAppIdRequest extends $tea.Model {
|
|
1193
1689
|
constructor(map) {
|
|
1194
1690
|
super(map);
|
|
@@ -1211,6 +1707,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1211
1707
|
}
|
|
1212
1708
|
static names() {
|
|
1213
1709
|
return {
|
|
1710
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1214
1711
|
appId: 'AppId',
|
|
1215
1712
|
code: 'Code',
|
|
1216
1713
|
message: 'Message',
|
|
@@ -1219,6 +1716,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1219
1716
|
}
|
|
1220
1717
|
static types() {
|
|
1221
1718
|
return {
|
|
1719
|
+
accessDeniedDetail: 'string',
|
|
1222
1720
|
appId: 'string',
|
|
1223
1721
|
code: 'string',
|
|
1224
1722
|
message: 'string',
|
|
@@ -1276,62 +1774,222 @@ class ListChatappTemplateRequest extends $tea.Model {
|
|
|
1276
1774
|
};
|
|
1277
1775
|
}
|
|
1278
1776
|
}
|
|
1279
|
-
exports.ListChatappTemplateRequest = ListChatappTemplateRequest;
|
|
1280
|
-
class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
1777
|
+
exports.ListChatappTemplateRequest = ListChatappTemplateRequest;
|
|
1778
|
+
class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
1779
|
+
constructor(map) {
|
|
1780
|
+
super(map);
|
|
1781
|
+
}
|
|
1782
|
+
static names() {
|
|
1783
|
+
return {
|
|
1784
|
+
auditStatus: 'AuditStatus',
|
|
1785
|
+
custSpaceId: 'CustSpaceId',
|
|
1786
|
+
custWabaId: 'CustWabaId',
|
|
1787
|
+
isvCode: 'IsvCode',
|
|
1788
|
+
language: 'Language',
|
|
1789
|
+
name: 'Name',
|
|
1790
|
+
pageShrink: 'Page',
|
|
1791
|
+
templateType: 'TemplateType',
|
|
1792
|
+
};
|
|
1793
|
+
}
|
|
1794
|
+
static types() {
|
|
1795
|
+
return {
|
|
1796
|
+
auditStatus: 'string',
|
|
1797
|
+
custSpaceId: 'string',
|
|
1798
|
+
custWabaId: 'string',
|
|
1799
|
+
isvCode: 'string',
|
|
1800
|
+
language: 'string',
|
|
1801
|
+
name: 'string',
|
|
1802
|
+
pageShrink: 'string',
|
|
1803
|
+
templateType: 'string',
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
exports.ListChatappTemplateShrinkRequest = ListChatappTemplateShrinkRequest;
|
|
1808
|
+
class ListChatappTemplateResponseBody extends $tea.Model {
|
|
1809
|
+
constructor(map) {
|
|
1810
|
+
super(map);
|
|
1811
|
+
}
|
|
1812
|
+
static names() {
|
|
1813
|
+
return {
|
|
1814
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1815
|
+
code: 'Code',
|
|
1816
|
+
listTemplate: 'ListTemplate',
|
|
1817
|
+
message: 'Message',
|
|
1818
|
+
requestId: 'RequestId',
|
|
1819
|
+
total: 'Total',
|
|
1820
|
+
};
|
|
1821
|
+
}
|
|
1822
|
+
static types() {
|
|
1823
|
+
return {
|
|
1824
|
+
accessDeniedDetail: 'string',
|
|
1825
|
+
code: 'string',
|
|
1826
|
+
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1827
|
+
message: 'string',
|
|
1828
|
+
requestId: 'string',
|
|
1829
|
+
total: 'number',
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
exports.ListChatappTemplateResponseBody = ListChatappTemplateResponseBody;
|
|
1834
|
+
class ListChatappTemplateResponse extends $tea.Model {
|
|
1835
|
+
constructor(map) {
|
|
1836
|
+
super(map);
|
|
1837
|
+
}
|
|
1838
|
+
static names() {
|
|
1839
|
+
return {
|
|
1840
|
+
headers: 'headers',
|
|
1841
|
+
statusCode: 'statusCode',
|
|
1842
|
+
body: 'body',
|
|
1843
|
+
};
|
|
1844
|
+
}
|
|
1845
|
+
static types() {
|
|
1846
|
+
return {
|
|
1847
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1848
|
+
statusCode: 'number',
|
|
1849
|
+
body: ListChatappTemplateResponseBody,
|
|
1850
|
+
};
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
exports.ListChatappTemplateResponse = ListChatappTemplateResponse;
|
|
1854
|
+
class ListProductRequest extends $tea.Model {
|
|
1855
|
+
constructor(map) {
|
|
1856
|
+
super(map);
|
|
1857
|
+
}
|
|
1858
|
+
static names() {
|
|
1859
|
+
return {
|
|
1860
|
+
after: 'After',
|
|
1861
|
+
before: 'Before',
|
|
1862
|
+
catalogId: 'CatalogId',
|
|
1863
|
+
custSpaceId: 'CustSpaceId',
|
|
1864
|
+
fields: 'Fields',
|
|
1865
|
+
limit: 'Limit',
|
|
1866
|
+
ownerId: 'OwnerId',
|
|
1867
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1868
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1869
|
+
wabaId: 'WabaId',
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
static types() {
|
|
1873
|
+
return {
|
|
1874
|
+
after: 'string',
|
|
1875
|
+
before: 'string',
|
|
1876
|
+
catalogId: 'string',
|
|
1877
|
+
custSpaceId: 'string',
|
|
1878
|
+
fields: 'string',
|
|
1879
|
+
limit: 'number',
|
|
1880
|
+
ownerId: 'number',
|
|
1881
|
+
resourceOwnerAccount: 'string',
|
|
1882
|
+
resourceOwnerId: 'number',
|
|
1883
|
+
wabaId: 'string',
|
|
1884
|
+
};
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
exports.ListProductRequest = ListProductRequest;
|
|
1888
|
+
class ListProductResponseBody extends $tea.Model {
|
|
1889
|
+
constructor(map) {
|
|
1890
|
+
super(map);
|
|
1891
|
+
}
|
|
1892
|
+
static names() {
|
|
1893
|
+
return {
|
|
1894
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1895
|
+
code: 'Code',
|
|
1896
|
+
message: 'Message',
|
|
1897
|
+
model: 'Model',
|
|
1898
|
+
requestId: 'RequestId',
|
|
1899
|
+
success: 'Success',
|
|
1900
|
+
};
|
|
1901
|
+
}
|
|
1902
|
+
static types() {
|
|
1903
|
+
return {
|
|
1904
|
+
accessDeniedDetail: 'string',
|
|
1905
|
+
code: 'string',
|
|
1906
|
+
message: 'string',
|
|
1907
|
+
model: ListProductResponseBodyModel,
|
|
1908
|
+
requestId: 'string',
|
|
1909
|
+
success: 'boolean',
|
|
1910
|
+
};
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
exports.ListProductResponseBody = ListProductResponseBody;
|
|
1914
|
+
class ListProductResponse extends $tea.Model {
|
|
1915
|
+
constructor(map) {
|
|
1916
|
+
super(map);
|
|
1917
|
+
}
|
|
1918
|
+
static names() {
|
|
1919
|
+
return {
|
|
1920
|
+
headers: 'headers',
|
|
1921
|
+
statusCode: 'statusCode',
|
|
1922
|
+
body: 'body',
|
|
1923
|
+
};
|
|
1924
|
+
}
|
|
1925
|
+
static types() {
|
|
1926
|
+
return {
|
|
1927
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1928
|
+
statusCode: 'number',
|
|
1929
|
+
body: ListProductResponseBody,
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.ListProductResponse = ListProductResponse;
|
|
1934
|
+
class ListProductCatalogRequest extends $tea.Model {
|
|
1281
1935
|
constructor(map) {
|
|
1282
1936
|
super(map);
|
|
1283
1937
|
}
|
|
1284
1938
|
static names() {
|
|
1285
1939
|
return {
|
|
1286
|
-
|
|
1940
|
+
after: 'After',
|
|
1941
|
+
before: 'Before',
|
|
1942
|
+
businessId: 'BusinessId',
|
|
1287
1943
|
custSpaceId: 'CustSpaceId',
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
templateType: 'TemplateType',
|
|
1944
|
+
fields: 'Fields',
|
|
1945
|
+
limit: 'Limit',
|
|
1946
|
+
ownerId: 'OwnerId',
|
|
1947
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1948
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1294
1949
|
};
|
|
1295
1950
|
}
|
|
1296
1951
|
static types() {
|
|
1297
1952
|
return {
|
|
1298
|
-
|
|
1953
|
+
after: 'string',
|
|
1954
|
+
before: 'string',
|
|
1955
|
+
businessId: 'number',
|
|
1299
1956
|
custSpaceId: 'string',
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
templateType: 'string',
|
|
1957
|
+
fields: 'string',
|
|
1958
|
+
limit: 'number',
|
|
1959
|
+
ownerId: 'number',
|
|
1960
|
+
resourceOwnerAccount: 'string',
|
|
1961
|
+
resourceOwnerId: 'number',
|
|
1306
1962
|
};
|
|
1307
1963
|
}
|
|
1308
1964
|
}
|
|
1309
|
-
exports.
|
|
1310
|
-
class
|
|
1965
|
+
exports.ListProductCatalogRequest = ListProductCatalogRequest;
|
|
1966
|
+
class ListProductCatalogResponseBody extends $tea.Model {
|
|
1311
1967
|
constructor(map) {
|
|
1312
1968
|
super(map);
|
|
1313
1969
|
}
|
|
1314
1970
|
static names() {
|
|
1315
1971
|
return {
|
|
1972
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1316
1973
|
code: 'Code',
|
|
1317
|
-
listTemplate: 'ListTemplate',
|
|
1318
1974
|
message: 'Message',
|
|
1975
|
+
model: 'Model',
|
|
1319
1976
|
requestId: 'RequestId',
|
|
1320
|
-
|
|
1977
|
+
success: 'Success',
|
|
1321
1978
|
};
|
|
1322
1979
|
}
|
|
1323
1980
|
static types() {
|
|
1324
1981
|
return {
|
|
1982
|
+
accessDeniedDetail: 'string',
|
|
1325
1983
|
code: 'string',
|
|
1326
|
-
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1327
1984
|
message: 'string',
|
|
1985
|
+
model: ListProductCatalogResponseBodyModel,
|
|
1328
1986
|
requestId: 'string',
|
|
1329
|
-
|
|
1987
|
+
success: 'boolean',
|
|
1330
1988
|
};
|
|
1331
1989
|
}
|
|
1332
1990
|
}
|
|
1333
|
-
exports.
|
|
1334
|
-
class
|
|
1991
|
+
exports.ListProductCatalogResponseBody = ListProductCatalogResponseBody;
|
|
1992
|
+
class ListProductCatalogResponse extends $tea.Model {
|
|
1335
1993
|
constructor(map) {
|
|
1336
1994
|
super(map);
|
|
1337
1995
|
}
|
|
@@ -1346,11 +2004,11 @@ class ListChatappTemplateResponse extends $tea.Model {
|
|
|
1346
2004
|
return {
|
|
1347
2005
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1348
2006
|
statusCode: 'number',
|
|
1349
|
-
body:
|
|
2007
|
+
body: ListProductCatalogResponseBody,
|
|
1350
2008
|
};
|
|
1351
2009
|
}
|
|
1352
2010
|
}
|
|
1353
|
-
exports.
|
|
2011
|
+
exports.ListProductCatalogResponse = ListProductCatalogResponse;
|
|
1354
2012
|
class ModifyChatappTemplateRequest extends $tea.Model {
|
|
1355
2013
|
constructor(map) {
|
|
1356
2014
|
super(map);
|
|
@@ -1364,6 +2022,7 @@ class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1364
2022
|
example: 'Example',
|
|
1365
2023
|
isvCode: 'IsvCode',
|
|
1366
2024
|
language: 'Language',
|
|
2025
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
1367
2026
|
templateCode: 'TemplateCode',
|
|
1368
2027
|
templateType: 'TemplateType',
|
|
1369
2028
|
};
|
|
@@ -1377,6 +2036,7 @@ class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1377
2036
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1378
2037
|
isvCode: 'string',
|
|
1379
2038
|
language: 'string',
|
|
2039
|
+
messageSendTtlSeconds: 'number',
|
|
1380
2040
|
templateCode: 'string',
|
|
1381
2041
|
templateType: 'string',
|
|
1382
2042
|
};
|
|
@@ -1396,6 +2056,7 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1396
2056
|
exampleShrink: 'Example',
|
|
1397
2057
|
isvCode: 'IsvCode',
|
|
1398
2058
|
language: 'Language',
|
|
2059
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
1399
2060
|
templateCode: 'TemplateCode',
|
|
1400
2061
|
templateType: 'TemplateType',
|
|
1401
2062
|
};
|
|
@@ -1409,6 +2070,7 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1409
2070
|
exampleShrink: 'string',
|
|
1410
2071
|
isvCode: 'string',
|
|
1411
2072
|
language: 'string',
|
|
2073
|
+
messageSendTtlSeconds: 'number',
|
|
1412
2074
|
templateCode: 'string',
|
|
1413
2075
|
templateType: 'string',
|
|
1414
2076
|
};
|
|
@@ -1421,6 +2083,7 @@ class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
|
1421
2083
|
}
|
|
1422
2084
|
static names() {
|
|
1423
2085
|
return {
|
|
2086
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1424
2087
|
code: 'Code',
|
|
1425
2088
|
data: 'Data',
|
|
1426
2089
|
message: 'Message',
|
|
@@ -1429,6 +2092,7 @@ class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
|
1429
2092
|
}
|
|
1430
2093
|
static types() {
|
|
1431
2094
|
return {
|
|
2095
|
+
accessDeniedDetail: 'string',
|
|
1432
2096
|
code: 'string',
|
|
1433
2097
|
data: ModifyChatappTemplateResponseBodyData,
|
|
1434
2098
|
message: 'string',
|
|
@@ -1523,6 +2187,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1523
2187
|
}
|
|
1524
2188
|
static names() {
|
|
1525
2189
|
return {
|
|
2190
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1526
2191
|
code: 'Code',
|
|
1527
2192
|
message: 'Message',
|
|
1528
2193
|
requestId: 'RequestId',
|
|
@@ -1530,6 +2195,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1530
2195
|
}
|
|
1531
2196
|
static types() {
|
|
1532
2197
|
return {
|
|
2198
|
+
accessDeniedDetail: 'string',
|
|
1533
2199
|
code: 'string',
|
|
1534
2200
|
message: 'string',
|
|
1535
2201
|
requestId: 'string',
|
|
@@ -1581,6 +2247,7 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
1581
2247
|
}
|
|
1582
2248
|
static names() {
|
|
1583
2249
|
return {
|
|
2250
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1584
2251
|
code: 'Code',
|
|
1585
2252
|
data: 'Data',
|
|
1586
2253
|
message: 'Message',
|
|
@@ -1589,6 +2256,7 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
1589
2256
|
}
|
|
1590
2257
|
static types() {
|
|
1591
2258
|
return {
|
|
2259
|
+
accessDeniedDetail: 'string',
|
|
1592
2260
|
code: 'string',
|
|
1593
2261
|
data: QueryChatappBindWabaResponseBodyData,
|
|
1594
2262
|
message: 'string',
|
|
@@ -1641,6 +2309,7 @@ class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
|
1641
2309
|
}
|
|
1642
2310
|
static names() {
|
|
1643
2311
|
return {
|
|
2312
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1644
2313
|
code: 'Code',
|
|
1645
2314
|
message: 'Message',
|
|
1646
2315
|
phoneNumbers: 'PhoneNumbers',
|
|
@@ -1649,6 +2318,7 @@ class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
|
1649
2318
|
}
|
|
1650
2319
|
static types() {
|
|
1651
2320
|
return {
|
|
2321
|
+
accessDeniedDetail: 'string',
|
|
1652
2322
|
code: 'string',
|
|
1653
2323
|
message: 'string',
|
|
1654
2324
|
phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
|
|
@@ -1701,6 +2371,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1701
2371
|
}
|
|
1702
2372
|
static names() {
|
|
1703
2373
|
return {
|
|
2374
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1704
2375
|
code: 'Code',
|
|
1705
2376
|
data: 'Data',
|
|
1706
2377
|
message: 'Message',
|
|
@@ -1709,6 +2380,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1709
2380
|
}
|
|
1710
2381
|
static types() {
|
|
1711
2382
|
return {
|
|
2383
|
+
accessDeniedDetail: 'string',
|
|
1712
2384
|
code: 'string',
|
|
1713
2385
|
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
1714
2386
|
message: 'string',
|
|
@@ -1761,6 +2433,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
1761
2433
|
}
|
|
1762
2434
|
static names() {
|
|
1763
2435
|
return {
|
|
2436
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1764
2437
|
code: 'Code',
|
|
1765
2438
|
data: 'Data',
|
|
1766
2439
|
message: 'Message',
|
|
@@ -1769,6 +2442,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
1769
2442
|
}
|
|
1770
2443
|
static types() {
|
|
1771
2444
|
return {
|
|
2445
|
+
accessDeniedDetail: 'string',
|
|
1772
2446
|
code: 'string',
|
|
1773
2447
|
data: QueryWabaBusinessInfoResponseBodyData,
|
|
1774
2448
|
message: 'string',
|
|
@@ -1891,6 +2565,7 @@ class SendChatappMassMessageResponseBody extends $tea.Model {
|
|
|
1891
2565
|
}
|
|
1892
2566
|
static names() {
|
|
1893
2567
|
return {
|
|
2568
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1894
2569
|
code: 'Code',
|
|
1895
2570
|
groupMessageId: 'GroupMessageId',
|
|
1896
2571
|
message: 'Message',
|
|
@@ -1899,6 +2574,7 @@ class SendChatappMassMessageResponseBody extends $tea.Model {
|
|
|
1899
2574
|
}
|
|
1900
2575
|
static types() {
|
|
1901
2576
|
return {
|
|
2577
|
+
accessDeniedDetail: 'string',
|
|
1902
2578
|
code: 'string',
|
|
1903
2579
|
groupMessageId: 'string',
|
|
1904
2580
|
message: 'string',
|
|
@@ -1947,6 +2623,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1947
2623
|
language: 'Language',
|
|
1948
2624
|
messageType: 'MessageType',
|
|
1949
2625
|
payload: 'Payload',
|
|
2626
|
+
productAction: 'ProductAction',
|
|
1950
2627
|
tag: 'Tag',
|
|
1951
2628
|
taskId: 'TaskId',
|
|
1952
2629
|
templateCode: 'TemplateCode',
|
|
@@ -1973,6 +2650,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1973
2650
|
language: 'string',
|
|
1974
2651
|
messageType: 'string',
|
|
1975
2652
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
2653
|
+
productAction: SendChatappMessageRequestProductAction,
|
|
1976
2654
|
tag: 'string',
|
|
1977
2655
|
taskId: 'string',
|
|
1978
2656
|
templateCode: 'string',
|
|
@@ -2005,6 +2683,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2005
2683
|
language: 'Language',
|
|
2006
2684
|
messageType: 'MessageType',
|
|
2007
2685
|
payloadShrink: 'Payload',
|
|
2686
|
+
productActionShrink: 'ProductAction',
|
|
2008
2687
|
tag: 'Tag',
|
|
2009
2688
|
taskId: 'TaskId',
|
|
2010
2689
|
templateCode: 'TemplateCode',
|
|
@@ -2031,6 +2710,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2031
2710
|
language: 'string',
|
|
2032
2711
|
messageType: 'string',
|
|
2033
2712
|
payloadShrink: 'string',
|
|
2713
|
+
productActionShrink: 'string',
|
|
2034
2714
|
tag: 'string',
|
|
2035
2715
|
taskId: 'string',
|
|
2036
2716
|
templateCode: 'string',
|
|
@@ -2119,6 +2799,7 @@ class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
|
2119
2799
|
}
|
|
2120
2800
|
static names() {
|
|
2121
2801
|
return {
|
|
2802
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2122
2803
|
code: 'Code',
|
|
2123
2804
|
message: 'Message',
|
|
2124
2805
|
requestId: 'RequestId',
|
|
@@ -2126,6 +2807,7 @@ class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
|
2126
2807
|
}
|
|
2127
2808
|
static types() {
|
|
2128
2809
|
return {
|
|
2810
|
+
accessDeniedDetail: 'string',
|
|
2129
2811
|
code: 'string',
|
|
2130
2812
|
message: 'string',
|
|
2131
2813
|
requestId: 'string',
|
|
@@ -2181,6 +2863,7 @@ class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
|
2181
2863
|
}
|
|
2182
2864
|
static names() {
|
|
2183
2865
|
return {
|
|
2866
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2184
2867
|
code: 'Code',
|
|
2185
2868
|
message: 'Message',
|
|
2186
2869
|
requestId: 'RequestId',
|
|
@@ -2188,6 +2871,7 @@ class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
|
2188
2871
|
}
|
|
2189
2872
|
static types() {
|
|
2190
2873
|
return {
|
|
2874
|
+
accessDeniedDetail: 'string',
|
|
2191
2875
|
code: 'string',
|
|
2192
2876
|
message: 'string',
|
|
2193
2877
|
requestId: 'string',
|
|
@@ -2247,6 +2931,7 @@ class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
|
2247
2931
|
}
|
|
2248
2932
|
static names() {
|
|
2249
2933
|
return {
|
|
2934
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2250
2935
|
code: 'Code',
|
|
2251
2936
|
message: 'Message',
|
|
2252
2937
|
requestId: 'RequestId',
|
|
@@ -2254,6 +2939,7 @@ class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
|
2254
2939
|
}
|
|
2255
2940
|
static types() {
|
|
2256
2941
|
return {
|
|
2942
|
+
accessDeniedDetail: 'string',
|
|
2257
2943
|
code: 'string',
|
|
2258
2944
|
message: 'string',
|
|
2259
2945
|
requestId: 'string',
|
|
@@ -2701,6 +3387,32 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
2701
3387
|
}
|
|
2702
3388
|
}
|
|
2703
3389
|
exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
|
|
3390
|
+
class GetChatappPhoneNumberMetricResponseBodyData extends $tea.Model {
|
|
3391
|
+
constructor(map) {
|
|
3392
|
+
super(map);
|
|
3393
|
+
}
|
|
3394
|
+
static names() {
|
|
3395
|
+
return {
|
|
3396
|
+
deliveredCount: 'DeliveredCount',
|
|
3397
|
+
end: 'End',
|
|
3398
|
+
granularity: 'Granularity',
|
|
3399
|
+
phoneNumber: 'PhoneNumber',
|
|
3400
|
+
sentCount: 'SentCount',
|
|
3401
|
+
start: 'Start',
|
|
3402
|
+
};
|
|
3403
|
+
}
|
|
3404
|
+
static types() {
|
|
3405
|
+
return {
|
|
3406
|
+
deliveredCount: 'number',
|
|
3407
|
+
end: 'number',
|
|
3408
|
+
granularity: 'string',
|
|
3409
|
+
phoneNumber: 'string',
|
|
3410
|
+
sentCount: 'number',
|
|
3411
|
+
start: 'number',
|
|
3412
|
+
};
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
exports.GetChatappPhoneNumberMetricResponseBodyData = GetChatappPhoneNumberMetricResponseBodyData;
|
|
2704
3416
|
class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
|
|
2705
3417
|
constructor(map) {
|
|
2706
3418
|
super(map);
|
|
@@ -2816,7 +3528,10 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
2816
3528
|
components: 'Components',
|
|
2817
3529
|
example: 'Example',
|
|
2818
3530
|
language: 'Language',
|
|
3531
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
2819
3532
|
name: 'Name',
|
|
3533
|
+
qualityScore: 'QualityScore',
|
|
3534
|
+
reason: 'Reason',
|
|
2820
3535
|
templateCode: 'TemplateCode',
|
|
2821
3536
|
templateType: 'TemplateType',
|
|
2822
3537
|
};
|
|
@@ -2828,13 +3543,66 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
2828
3543
|
components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
|
|
2829
3544
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2830
3545
|
language: 'string',
|
|
3546
|
+
messageSendTtlSeconds: 'number',
|
|
2831
3547
|
name: 'string',
|
|
3548
|
+
qualityScore: 'string',
|
|
3549
|
+
reason: 'string',
|
|
2832
3550
|
templateCode: 'string',
|
|
2833
3551
|
templateType: 'string',
|
|
2834
3552
|
};
|
|
2835
3553
|
}
|
|
2836
3554
|
}
|
|
2837
3555
|
exports.GetChatappTemplateDetailResponseBodyData = GetChatappTemplateDetailResponseBodyData;
|
|
3556
|
+
class GetChatappTemplateMetricResponseBodyDataCliented extends $tea.Model {
|
|
3557
|
+
constructor(map) {
|
|
3558
|
+
super(map);
|
|
3559
|
+
}
|
|
3560
|
+
static names() {
|
|
3561
|
+
return {
|
|
3562
|
+
buttonContent: 'ButtonContent',
|
|
3563
|
+
count: 'Count',
|
|
3564
|
+
type: 'Type',
|
|
3565
|
+
};
|
|
3566
|
+
}
|
|
3567
|
+
static types() {
|
|
3568
|
+
return {
|
|
3569
|
+
buttonContent: 'string',
|
|
3570
|
+
count: 'number',
|
|
3571
|
+
type: 'string',
|
|
3572
|
+
};
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
exports.GetChatappTemplateMetricResponseBodyDataCliented = GetChatappTemplateMetricResponseBodyDataCliented;
|
|
3576
|
+
class GetChatappTemplateMetricResponseBodyData extends $tea.Model {
|
|
3577
|
+
constructor(map) {
|
|
3578
|
+
super(map);
|
|
3579
|
+
}
|
|
3580
|
+
static names() {
|
|
3581
|
+
return {
|
|
3582
|
+
cliented: 'Cliented',
|
|
3583
|
+
deliveredCount: 'DeliveredCount',
|
|
3584
|
+
end: 'End',
|
|
3585
|
+
language: 'Language',
|
|
3586
|
+
readCount: 'ReadCount',
|
|
3587
|
+
sentCount: 'SentCount',
|
|
3588
|
+
start: 'Start',
|
|
3589
|
+
templateCode: 'TemplateCode',
|
|
3590
|
+
};
|
|
3591
|
+
}
|
|
3592
|
+
static types() {
|
|
3593
|
+
return {
|
|
3594
|
+
cliented: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyDataCliented },
|
|
3595
|
+
deliveredCount: 'number',
|
|
3596
|
+
end: 'number',
|
|
3597
|
+
language: 'string',
|
|
3598
|
+
readCount: 'number',
|
|
3599
|
+
sentCount: 'number',
|
|
3600
|
+
start: 'number',
|
|
3601
|
+
templateCode: 'string',
|
|
3602
|
+
};
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
exports.GetChatappTemplateMetricResponseBodyData = GetChatappTemplateMetricResponseBodyData;
|
|
2838
3606
|
class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
|
|
2839
3607
|
constructor(map) {
|
|
2840
3608
|
super(map);
|
|
@@ -2901,6 +3669,24 @@ class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
|
|
|
2901
3669
|
}
|
|
2902
3670
|
}
|
|
2903
3671
|
exports.GetPhoneNumberVerificationStatusResponseBodyData = GetPhoneNumberVerificationStatusResponseBodyData;
|
|
3672
|
+
class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
3673
|
+
constructor(map) {
|
|
3674
|
+
super(map);
|
|
3675
|
+
}
|
|
3676
|
+
static names() {
|
|
3677
|
+
return {
|
|
3678
|
+
phoneNumber: 'PhoneNumber',
|
|
3679
|
+
phoneNumberId: 'PhoneNumberId',
|
|
3680
|
+
};
|
|
3681
|
+
}
|
|
3682
|
+
static types() {
|
|
3683
|
+
return {
|
|
3684
|
+
phoneNumber: 'string',
|
|
3685
|
+
phoneNumberId: 'string',
|
|
3686
|
+
};
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
exports.GetPreValidatePhoneIdResponseBodyData = GetPreValidatePhoneIdResponseBodyData;
|
|
2904
3690
|
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
2905
3691
|
constructor(map) {
|
|
2906
3692
|
super(map);
|
|
@@ -2928,6 +3714,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
2928
3714
|
auditStatus: 'AuditStatus',
|
|
2929
3715
|
category: 'Category',
|
|
2930
3716
|
language: 'Language',
|
|
3717
|
+
reason: 'Reason',
|
|
2931
3718
|
templateCode: 'TemplateCode',
|
|
2932
3719
|
templateName: 'TemplateName',
|
|
2933
3720
|
templateType: 'TemplateType',
|
|
@@ -2938,6 +3725,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
2938
3725
|
auditStatus: 'string',
|
|
2939
3726
|
category: 'string',
|
|
2940
3727
|
language: 'string',
|
|
3728
|
+
reason: 'string',
|
|
2941
3729
|
templateCode: 'string',
|
|
2942
3730
|
templateName: 'string',
|
|
2943
3731
|
templateType: 'string',
|
|
@@ -2945,6 +3733,110 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
2945
3733
|
}
|
|
2946
3734
|
}
|
|
2947
3735
|
exports.ListChatappTemplateResponseBodyListTemplate = ListChatappTemplateResponseBodyListTemplate;
|
|
3736
|
+
class ListProductResponseBodyModelPagingCursors extends $tea.Model {
|
|
3737
|
+
constructor(map) {
|
|
3738
|
+
super(map);
|
|
3739
|
+
}
|
|
3740
|
+
static names() {
|
|
3741
|
+
return {
|
|
3742
|
+
after: 'After',
|
|
3743
|
+
before: 'Before',
|
|
3744
|
+
};
|
|
3745
|
+
}
|
|
3746
|
+
static types() {
|
|
3747
|
+
return {
|
|
3748
|
+
after: 'string',
|
|
3749
|
+
before: 'string',
|
|
3750
|
+
};
|
|
3751
|
+
}
|
|
3752
|
+
}
|
|
3753
|
+
exports.ListProductResponseBodyModelPagingCursors = ListProductResponseBodyModelPagingCursors;
|
|
3754
|
+
class ListProductResponseBodyModelPaging extends $tea.Model {
|
|
3755
|
+
constructor(map) {
|
|
3756
|
+
super(map);
|
|
3757
|
+
}
|
|
3758
|
+
static names() {
|
|
3759
|
+
return {
|
|
3760
|
+
cursors: 'Cursors',
|
|
3761
|
+
};
|
|
3762
|
+
}
|
|
3763
|
+
static types() {
|
|
3764
|
+
return {
|
|
3765
|
+
cursors: ListProductResponseBodyModelPagingCursors,
|
|
3766
|
+
};
|
|
3767
|
+
}
|
|
3768
|
+
}
|
|
3769
|
+
exports.ListProductResponseBodyModelPaging = ListProductResponseBodyModelPaging;
|
|
3770
|
+
class ListProductResponseBodyModel extends $tea.Model {
|
|
3771
|
+
constructor(map) {
|
|
3772
|
+
super(map);
|
|
3773
|
+
}
|
|
3774
|
+
static names() {
|
|
3775
|
+
return {
|
|
3776
|
+
data: 'Data',
|
|
3777
|
+
paging: 'Paging',
|
|
3778
|
+
};
|
|
3779
|
+
}
|
|
3780
|
+
static types() {
|
|
3781
|
+
return {
|
|
3782
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
3783
|
+
paging: ListProductResponseBodyModelPaging,
|
|
3784
|
+
};
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
exports.ListProductResponseBodyModel = ListProductResponseBodyModel;
|
|
3788
|
+
class ListProductCatalogResponseBodyModelPagingCursors extends $tea.Model {
|
|
3789
|
+
constructor(map) {
|
|
3790
|
+
super(map);
|
|
3791
|
+
}
|
|
3792
|
+
static names() {
|
|
3793
|
+
return {
|
|
3794
|
+
after: 'After',
|
|
3795
|
+
before: 'Before',
|
|
3796
|
+
};
|
|
3797
|
+
}
|
|
3798
|
+
static types() {
|
|
3799
|
+
return {
|
|
3800
|
+
after: 'string',
|
|
3801
|
+
before: 'string',
|
|
3802
|
+
};
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
exports.ListProductCatalogResponseBodyModelPagingCursors = ListProductCatalogResponseBodyModelPagingCursors;
|
|
3806
|
+
class ListProductCatalogResponseBodyModelPaging extends $tea.Model {
|
|
3807
|
+
constructor(map) {
|
|
3808
|
+
super(map);
|
|
3809
|
+
}
|
|
3810
|
+
static names() {
|
|
3811
|
+
return {
|
|
3812
|
+
cursors: 'Cursors',
|
|
3813
|
+
};
|
|
3814
|
+
}
|
|
3815
|
+
static types() {
|
|
3816
|
+
return {
|
|
3817
|
+
cursors: ListProductCatalogResponseBodyModelPagingCursors,
|
|
3818
|
+
};
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
exports.ListProductCatalogResponseBodyModelPaging = ListProductCatalogResponseBodyModelPaging;
|
|
3822
|
+
class ListProductCatalogResponseBodyModel extends $tea.Model {
|
|
3823
|
+
constructor(map) {
|
|
3824
|
+
super(map);
|
|
3825
|
+
}
|
|
3826
|
+
static names() {
|
|
3827
|
+
return {
|
|
3828
|
+
data: 'Data',
|
|
3829
|
+
paging: 'Paging',
|
|
3830
|
+
};
|
|
3831
|
+
}
|
|
3832
|
+
static types() {
|
|
3833
|
+
return {
|
|
3834
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
3835
|
+
paging: ListProductCatalogResponseBodyModelPaging,
|
|
3836
|
+
};
|
|
3837
|
+
}
|
|
3838
|
+
}
|
|
3839
|
+
exports.ListProductCatalogResponseBodyModel = ListProductCatalogResponseBodyModel;
|
|
2948
3840
|
class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
2949
3841
|
constructor(map) {
|
|
2950
3842
|
super(map);
|
|
@@ -3143,6 +4035,58 @@ class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
|
|
|
3143
4035
|
}
|
|
3144
4036
|
}
|
|
3145
4037
|
exports.QueryWabaBusinessInfoResponseBodyData = QueryWabaBusinessInfoResponseBodyData;
|
|
4038
|
+
class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
|
|
4039
|
+
constructor(map) {
|
|
4040
|
+
super(map);
|
|
4041
|
+
}
|
|
4042
|
+
static names() {
|
|
4043
|
+
return {
|
|
4044
|
+
productRetailerId: 'ProductRetailerId',
|
|
4045
|
+
};
|
|
4046
|
+
}
|
|
4047
|
+
static types() {
|
|
4048
|
+
return {
|
|
4049
|
+
productRetailerId: 'string',
|
|
4050
|
+
};
|
|
4051
|
+
}
|
|
4052
|
+
}
|
|
4053
|
+
exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = SendChatappMassMessageRequestSenderListProductActionSectionsProductItems;
|
|
4054
|
+
class SendChatappMassMessageRequestSenderListProductActionSections extends $tea.Model {
|
|
4055
|
+
constructor(map) {
|
|
4056
|
+
super(map);
|
|
4057
|
+
}
|
|
4058
|
+
static names() {
|
|
4059
|
+
return {
|
|
4060
|
+
productItems: 'ProductItems',
|
|
4061
|
+
title: 'Title',
|
|
4062
|
+
};
|
|
4063
|
+
}
|
|
4064
|
+
static types() {
|
|
4065
|
+
return {
|
|
4066
|
+
productItems: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSectionsProductItems },
|
|
4067
|
+
title: 'string',
|
|
4068
|
+
};
|
|
4069
|
+
}
|
|
4070
|
+
}
|
|
4071
|
+
exports.SendChatappMassMessageRequestSenderListProductActionSections = SendChatappMassMessageRequestSenderListProductActionSections;
|
|
4072
|
+
class SendChatappMassMessageRequestSenderListProductAction extends $tea.Model {
|
|
4073
|
+
constructor(map) {
|
|
4074
|
+
super(map);
|
|
4075
|
+
}
|
|
4076
|
+
static names() {
|
|
4077
|
+
return {
|
|
4078
|
+
sections: 'Sections',
|
|
4079
|
+
thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
|
|
4080
|
+
};
|
|
4081
|
+
}
|
|
4082
|
+
static types() {
|
|
4083
|
+
return {
|
|
4084
|
+
sections: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSections },
|
|
4085
|
+
thumbnailProductRetailerId: 'string',
|
|
4086
|
+
};
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
4089
|
+
exports.SendChatappMassMessageRequestSenderListProductAction = SendChatappMassMessageRequestSenderListProductAction;
|
|
3146
4090
|
class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
3147
4091
|
constructor(map) {
|
|
3148
4092
|
super(map);
|
|
@@ -3150,6 +4094,7 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
3150
4094
|
static names() {
|
|
3151
4095
|
return {
|
|
3152
4096
|
payload: 'Payload',
|
|
4097
|
+
productAction: 'ProductAction',
|
|
3153
4098
|
templateParams: 'TemplateParams',
|
|
3154
4099
|
to: 'To',
|
|
3155
4100
|
};
|
|
@@ -3157,12 +4102,65 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
3157
4102
|
static types() {
|
|
3158
4103
|
return {
|
|
3159
4104
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
4105
|
+
productAction: SendChatappMassMessageRequestSenderListProductAction,
|
|
3160
4106
|
templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3161
4107
|
to: 'string',
|
|
3162
4108
|
};
|
|
3163
4109
|
}
|
|
3164
4110
|
}
|
|
3165
4111
|
exports.SendChatappMassMessageRequestSenderList = SendChatappMassMessageRequestSenderList;
|
|
4112
|
+
class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
|
|
4113
|
+
constructor(map) {
|
|
4114
|
+
super(map);
|
|
4115
|
+
}
|
|
4116
|
+
static names() {
|
|
4117
|
+
return {
|
|
4118
|
+
productRetailerId: 'ProductRetailerId',
|
|
4119
|
+
};
|
|
4120
|
+
}
|
|
4121
|
+
static types() {
|
|
4122
|
+
return {
|
|
4123
|
+
productRetailerId: 'string',
|
|
4124
|
+
};
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
4127
|
+
exports.SendChatappMessageRequestProductActionSectionsProductItems = SendChatappMessageRequestProductActionSectionsProductItems;
|
|
4128
|
+
class SendChatappMessageRequestProductActionSections extends $tea.Model {
|
|
4129
|
+
constructor(map) {
|
|
4130
|
+
super(map);
|
|
4131
|
+
}
|
|
4132
|
+
static names() {
|
|
4133
|
+
return {
|
|
4134
|
+
productItems: 'ProductItems',
|
|
4135
|
+
title: 'Title',
|
|
4136
|
+
};
|
|
4137
|
+
}
|
|
4138
|
+
static types() {
|
|
4139
|
+
return {
|
|
4140
|
+
productItems: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSectionsProductItems },
|
|
4141
|
+
title: 'string',
|
|
4142
|
+
};
|
|
4143
|
+
}
|
|
4144
|
+
}
|
|
4145
|
+
exports.SendChatappMessageRequestProductActionSections = SendChatappMessageRequestProductActionSections;
|
|
4146
|
+
class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
4147
|
+
constructor(map) {
|
|
4148
|
+
super(map);
|
|
4149
|
+
}
|
|
4150
|
+
static names() {
|
|
4151
|
+
return {
|
|
4152
|
+
sections: 'Sections',
|
|
4153
|
+
thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
|
|
4154
|
+
};
|
|
4155
|
+
}
|
|
4156
|
+
static types() {
|
|
4157
|
+
return {
|
|
4158
|
+
sections: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSections },
|
|
4159
|
+
thumbnailProductRetailerId: 'string',
|
|
4160
|
+
};
|
|
4161
|
+
}
|
|
4162
|
+
}
|
|
4163
|
+
exports.SendChatappMessageRequestProductAction = SendChatappMessageRequestProductAction;
|
|
3166
4164
|
class Client extends openapi_client_1.default {
|
|
3167
4165
|
constructor(config) {
|
|
3168
4166
|
super(config);
|
|
@@ -3174,10 +4172,48 @@ class Client extends openapi_client_1.default {
|
|
|
3174
4172
|
if (!tea_util_1.default.empty(endpoint)) {
|
|
3175
4173
|
return endpoint;
|
|
3176
4174
|
}
|
|
3177
|
-
if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
|
|
3178
|
-
return endpointMap[regionId];
|
|
4175
|
+
if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
|
|
4176
|
+
return endpointMap[regionId];
|
|
4177
|
+
}
|
|
4178
|
+
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4179
|
+
}
|
|
4180
|
+
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
4181
|
+
tea_util_1.default.validateModel(request);
|
|
4182
|
+
let body = {};
|
|
4183
|
+
if (!tea_util_1.default.isUnset(request.cc)) {
|
|
4184
|
+
body["Cc"] = request.cc;
|
|
4185
|
+
}
|
|
4186
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4187
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
4188
|
+
}
|
|
4189
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4190
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
4191
|
+
}
|
|
4192
|
+
if (!tea_util_1.default.isUnset(request.preValidateId)) {
|
|
4193
|
+
body["PreValidateId"] = request.preValidateId;
|
|
3179
4194
|
}
|
|
3180
|
-
|
|
4195
|
+
if (!tea_util_1.default.isUnset(request.verifiedName)) {
|
|
4196
|
+
body["VerifiedName"] = request.verifiedName;
|
|
4197
|
+
}
|
|
4198
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4199
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4200
|
+
});
|
|
4201
|
+
let params = new $OpenApi.Params({
|
|
4202
|
+
action: "AddChatappPhoneNumber",
|
|
4203
|
+
version: "2020-06-06",
|
|
4204
|
+
protocol: "HTTPS",
|
|
4205
|
+
pathname: "/",
|
|
4206
|
+
method: "POST",
|
|
4207
|
+
authType: "AK",
|
|
4208
|
+
style: "RPC",
|
|
4209
|
+
reqBodyType: "formData",
|
|
4210
|
+
bodyType: "json",
|
|
4211
|
+
});
|
|
4212
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
|
|
4213
|
+
}
|
|
4214
|
+
async addChatappPhoneNumber(request) {
|
|
4215
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4216
|
+
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
3181
4217
|
}
|
|
3182
4218
|
/**
|
|
3183
4219
|
* 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.
|
|
@@ -3483,6 +4519,35 @@ class Client extends openapi_client_1.default {
|
|
|
3483
4519
|
let runtime = new $Util.RuntimeOptions({});
|
|
3484
4520
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
3485
4521
|
}
|
|
4522
|
+
async chatappPhoneNumberDeregisterWithOptions(request, runtime) {
|
|
4523
|
+
tea_util_1.default.validateModel(request);
|
|
4524
|
+
let body = {};
|
|
4525
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4526
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
4527
|
+
}
|
|
4528
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4529
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
4530
|
+
}
|
|
4531
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4532
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4533
|
+
});
|
|
4534
|
+
let params = new $OpenApi.Params({
|
|
4535
|
+
action: "ChatappPhoneNumberDeregister",
|
|
4536
|
+
version: "2020-06-06",
|
|
4537
|
+
protocol: "HTTPS",
|
|
4538
|
+
pathname: "/",
|
|
4539
|
+
method: "POST",
|
|
4540
|
+
authType: "AK",
|
|
4541
|
+
style: "RPC",
|
|
4542
|
+
reqBodyType: "formData",
|
|
4543
|
+
bodyType: "json",
|
|
4544
|
+
});
|
|
4545
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
|
|
4546
|
+
}
|
|
4547
|
+
async chatappPhoneNumberDeregister(request) {
|
|
4548
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4549
|
+
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
4550
|
+
}
|
|
3486
4551
|
/**
|
|
3487
4552
|
* 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.
|
|
3488
4553
|
*
|
|
@@ -3696,6 +4761,9 @@ class Client extends openapi_client_1.default {
|
|
|
3696
4761
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3697
4762
|
body["Language"] = request.language;
|
|
3698
4763
|
}
|
|
4764
|
+
if (!tea_util_1.default.isUnset(request.messageSendTtlSeconds)) {
|
|
4765
|
+
body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
4766
|
+
}
|
|
3699
4767
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3700
4768
|
body["Name"] = request.name;
|
|
3701
4769
|
}
|
|
@@ -3778,8 +4846,79 @@ class Client extends openapi_client_1.default {
|
|
|
3778
4846
|
let runtime = new $Util.RuntimeOptions({});
|
|
3779
4847
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
3780
4848
|
}
|
|
4849
|
+
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
4850
|
+
tea_util_1.default.validateModel(request);
|
|
4851
|
+
let query = {};
|
|
4852
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4853
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4854
|
+
}
|
|
4855
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4856
|
+
query["IsvCode"] = request.isvCode;
|
|
4857
|
+
}
|
|
4858
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4859
|
+
query: openapi_util_1.default.query(query),
|
|
4860
|
+
});
|
|
4861
|
+
let params = new $OpenApi.Params({
|
|
4862
|
+
action: "EnableWhatsappROIMetric",
|
|
4863
|
+
version: "2020-06-06",
|
|
4864
|
+
protocol: "HTTPS",
|
|
4865
|
+
pathname: "/",
|
|
4866
|
+
method: "POST",
|
|
4867
|
+
authType: "AK",
|
|
4868
|
+
style: "RPC",
|
|
4869
|
+
reqBodyType: "formData",
|
|
4870
|
+
bodyType: "json",
|
|
4871
|
+
});
|
|
4872
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
|
|
4873
|
+
}
|
|
4874
|
+
async enableWhatsappROIMetric(request) {
|
|
4875
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4876
|
+
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
4877
|
+
}
|
|
4878
|
+
async getChatappPhoneNumberMetricWithOptions(request, runtime) {
|
|
4879
|
+
tea_util_1.default.validateModel(request);
|
|
4880
|
+
let query = {};
|
|
4881
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4882
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4883
|
+
}
|
|
4884
|
+
if (!tea_util_1.default.isUnset(request.end)) {
|
|
4885
|
+
query["End"] = request.end;
|
|
4886
|
+
}
|
|
4887
|
+
if (!tea_util_1.default.isUnset(request.granularity)) {
|
|
4888
|
+
query["Granularity"] = request.granularity;
|
|
4889
|
+
}
|
|
4890
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4891
|
+
query["IsvCode"] = request.isvCode;
|
|
4892
|
+
}
|
|
4893
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4894
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
4895
|
+
}
|
|
4896
|
+
if (!tea_util_1.default.isUnset(request.start)) {
|
|
4897
|
+
query["Start"] = request.start;
|
|
4898
|
+
}
|
|
4899
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4900
|
+
query: openapi_util_1.default.query(query),
|
|
4901
|
+
});
|
|
4902
|
+
let params = new $OpenApi.Params({
|
|
4903
|
+
action: "GetChatappPhoneNumberMetric",
|
|
4904
|
+
version: "2020-06-06",
|
|
4905
|
+
protocol: "HTTPS",
|
|
4906
|
+
pathname: "/",
|
|
4907
|
+
method: "POST",
|
|
4908
|
+
authType: "AK",
|
|
4909
|
+
style: "RPC",
|
|
4910
|
+
reqBodyType: "formData",
|
|
4911
|
+
bodyType: "json",
|
|
4912
|
+
});
|
|
4913
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
|
|
4914
|
+
}
|
|
4915
|
+
async getChatappPhoneNumberMetric(request) {
|
|
4916
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4917
|
+
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
4918
|
+
}
|
|
3781
4919
|
/**
|
|
3782
|
-
*
|
|
4920
|
+
* ### QPS limit
|
|
4921
|
+
* 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.
|
|
3783
4922
|
*
|
|
3784
4923
|
* @param request GetChatappTemplateDetailRequest
|
|
3785
4924
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3823,7 +4962,8 @@ class Client extends openapi_client_1.default {
|
|
|
3823
4962
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
3824
4963
|
}
|
|
3825
4964
|
/**
|
|
3826
|
-
*
|
|
4965
|
+
* ### QPS limit
|
|
4966
|
+
* 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.
|
|
3827
4967
|
*
|
|
3828
4968
|
* @param request GetChatappTemplateDetailRequest
|
|
3829
4969
|
* @return GetChatappTemplateDetailResponse
|
|
@@ -3832,6 +4972,53 @@ class Client extends openapi_client_1.default {
|
|
|
3832
4972
|
let runtime = new $Util.RuntimeOptions({});
|
|
3833
4973
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3834
4974
|
}
|
|
4975
|
+
async getChatappTemplateMetricWithOptions(request, runtime) {
|
|
4976
|
+
tea_util_1.default.validateModel(request);
|
|
4977
|
+
let query = {};
|
|
4978
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4979
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4980
|
+
}
|
|
4981
|
+
if (!tea_util_1.default.isUnset(request.end)) {
|
|
4982
|
+
query["End"] = request.end;
|
|
4983
|
+
}
|
|
4984
|
+
if (!tea_util_1.default.isUnset(request.granularity)) {
|
|
4985
|
+
query["Granularity"] = request.granularity;
|
|
4986
|
+
}
|
|
4987
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4988
|
+
query["IsvCode"] = request.isvCode;
|
|
4989
|
+
}
|
|
4990
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
4991
|
+
query["Language"] = request.language;
|
|
4992
|
+
}
|
|
4993
|
+
if (!tea_util_1.default.isUnset(request.start)) {
|
|
4994
|
+
query["Start"] = request.start;
|
|
4995
|
+
}
|
|
4996
|
+
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
4997
|
+
query["TemplateCode"] = request.templateCode;
|
|
4998
|
+
}
|
|
4999
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
5000
|
+
query["TemplateType"] = request.templateType;
|
|
5001
|
+
}
|
|
5002
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5003
|
+
query: openapi_util_1.default.query(query),
|
|
5004
|
+
});
|
|
5005
|
+
let params = new $OpenApi.Params({
|
|
5006
|
+
action: "GetChatappTemplateMetric",
|
|
5007
|
+
version: "2020-06-06",
|
|
5008
|
+
protocol: "HTTPS",
|
|
5009
|
+
pathname: "/",
|
|
5010
|
+
method: "POST",
|
|
5011
|
+
authType: "AK",
|
|
5012
|
+
style: "RPC",
|
|
5013
|
+
reqBodyType: "formData",
|
|
5014
|
+
bodyType: "json",
|
|
5015
|
+
});
|
|
5016
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
|
|
5017
|
+
}
|
|
5018
|
+
async getChatappTemplateMetric(request) {
|
|
5019
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5020
|
+
return await this.getChatappTemplateMetricWithOptions(request, runtime);
|
|
5021
|
+
}
|
|
3835
5022
|
/**
|
|
3836
5023
|
* 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.
|
|
3837
5024
|
*
|
|
@@ -4009,8 +5196,75 @@ class Client extends openapi_client_1.default {
|
|
|
4009
5196
|
let runtime = new $Util.RuntimeOptions({});
|
|
4010
5197
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
4011
5198
|
}
|
|
5199
|
+
async getPreValidatePhoneIdWithOptions(request, runtime) {
|
|
5200
|
+
tea_util_1.default.validateModel(request);
|
|
5201
|
+
let body = {};
|
|
5202
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
5203
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
5204
|
+
}
|
|
5205
|
+
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
5206
|
+
body["VerifyCode"] = request.verifyCode;
|
|
5207
|
+
}
|
|
5208
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5209
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
5210
|
+
});
|
|
5211
|
+
let params = new $OpenApi.Params({
|
|
5212
|
+
action: "GetPreValidatePhoneId",
|
|
5213
|
+
version: "2020-06-06",
|
|
5214
|
+
protocol: "HTTPS",
|
|
5215
|
+
pathname: "/",
|
|
5216
|
+
method: "POST",
|
|
5217
|
+
authType: "AK",
|
|
5218
|
+
style: "RPC",
|
|
5219
|
+
reqBodyType: "formData",
|
|
5220
|
+
bodyType: "json",
|
|
5221
|
+
});
|
|
5222
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
5223
|
+
}
|
|
5224
|
+
async getPreValidatePhoneId(request) {
|
|
5225
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5226
|
+
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5227
|
+
}
|
|
5228
|
+
async getWhatsappConnectionCatalogWithOptions(request, runtime) {
|
|
5229
|
+
tea_util_1.default.validateModel(request);
|
|
5230
|
+
let query = {};
|
|
5231
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5232
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5233
|
+
}
|
|
5234
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
5235
|
+
query["OwnerId"] = request.ownerId;
|
|
5236
|
+
}
|
|
5237
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
5238
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5239
|
+
}
|
|
5240
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
5241
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5242
|
+
}
|
|
5243
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
5244
|
+
query["WabaId"] = request.wabaId;
|
|
5245
|
+
}
|
|
5246
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5247
|
+
query: openapi_util_1.default.query(query),
|
|
5248
|
+
});
|
|
5249
|
+
let params = new $OpenApi.Params({
|
|
5250
|
+
action: "GetWhatsappConnectionCatalog",
|
|
5251
|
+
version: "2020-06-06",
|
|
5252
|
+
protocol: "HTTPS",
|
|
5253
|
+
pathname: "/",
|
|
5254
|
+
method: "POST",
|
|
5255
|
+
authType: "AK",
|
|
5256
|
+
style: "RPC",
|
|
5257
|
+
reqBodyType: "formData",
|
|
5258
|
+
bodyType: "json",
|
|
5259
|
+
});
|
|
5260
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
|
|
5261
|
+
}
|
|
5262
|
+
async getWhatsappConnectionCatalog(request) {
|
|
5263
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5264
|
+
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
5265
|
+
}
|
|
4012
5266
|
/**
|
|
4013
|
-
*
|
|
5267
|
+
* 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.
|
|
4014
5268
|
*
|
|
4015
5269
|
* @param request IsvGetAppIdRequest
|
|
4016
5270
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4039,7 +5293,7 @@ class Client extends openapi_client_1.default {
|
|
|
4039
5293
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
4040
5294
|
}
|
|
4041
5295
|
/**
|
|
4042
|
-
*
|
|
5296
|
+
* 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.
|
|
4043
5297
|
*
|
|
4044
5298
|
* @param request IsvGetAppIdRequest
|
|
4045
5299
|
* @return IsvGetAppIdResponse
|
|
@@ -4115,6 +5369,109 @@ class Client extends openapi_client_1.default {
|
|
|
4115
5369
|
let runtime = new $Util.RuntimeOptions({});
|
|
4116
5370
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
4117
5371
|
}
|
|
5372
|
+
async listProductWithOptions(request, runtime) {
|
|
5373
|
+
tea_util_1.default.validateModel(request);
|
|
5374
|
+
let query = {};
|
|
5375
|
+
if (!tea_util_1.default.isUnset(request.after)) {
|
|
5376
|
+
query["After"] = request.after;
|
|
5377
|
+
}
|
|
5378
|
+
if (!tea_util_1.default.isUnset(request.before)) {
|
|
5379
|
+
query["Before"] = request.before;
|
|
5380
|
+
}
|
|
5381
|
+
if (!tea_util_1.default.isUnset(request.catalogId)) {
|
|
5382
|
+
query["CatalogId"] = request.catalogId;
|
|
5383
|
+
}
|
|
5384
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5385
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5386
|
+
}
|
|
5387
|
+
if (!tea_util_1.default.isUnset(request.fields)) {
|
|
5388
|
+
query["Fields"] = request.fields;
|
|
5389
|
+
}
|
|
5390
|
+
if (!tea_util_1.default.isUnset(request.limit)) {
|
|
5391
|
+
query["Limit"] = request.limit;
|
|
5392
|
+
}
|
|
5393
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
5394
|
+
query["OwnerId"] = request.ownerId;
|
|
5395
|
+
}
|
|
5396
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
5397
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5398
|
+
}
|
|
5399
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
5400
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5401
|
+
}
|
|
5402
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
5403
|
+
query["WabaId"] = request.wabaId;
|
|
5404
|
+
}
|
|
5405
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5406
|
+
query: openapi_util_1.default.query(query),
|
|
5407
|
+
});
|
|
5408
|
+
let params = new $OpenApi.Params({
|
|
5409
|
+
action: "ListProduct",
|
|
5410
|
+
version: "2020-06-06",
|
|
5411
|
+
protocol: "HTTPS",
|
|
5412
|
+
pathname: "/",
|
|
5413
|
+
method: "POST",
|
|
5414
|
+
authType: "AK",
|
|
5415
|
+
style: "RPC",
|
|
5416
|
+
reqBodyType: "formData",
|
|
5417
|
+
bodyType: "json",
|
|
5418
|
+
});
|
|
5419
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListProductResponse({}));
|
|
5420
|
+
}
|
|
5421
|
+
async listProduct(request) {
|
|
5422
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5423
|
+
return await this.listProductWithOptions(request, runtime);
|
|
5424
|
+
}
|
|
5425
|
+
async listProductCatalogWithOptions(request, runtime) {
|
|
5426
|
+
tea_util_1.default.validateModel(request);
|
|
5427
|
+
let query = {};
|
|
5428
|
+
if (!tea_util_1.default.isUnset(request.after)) {
|
|
5429
|
+
query["After"] = request.after;
|
|
5430
|
+
}
|
|
5431
|
+
if (!tea_util_1.default.isUnset(request.before)) {
|
|
5432
|
+
query["Before"] = request.before;
|
|
5433
|
+
}
|
|
5434
|
+
if (!tea_util_1.default.isUnset(request.businessId)) {
|
|
5435
|
+
query["BusinessId"] = request.businessId;
|
|
5436
|
+
}
|
|
5437
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5438
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5439
|
+
}
|
|
5440
|
+
if (!tea_util_1.default.isUnset(request.fields)) {
|
|
5441
|
+
query["Fields"] = request.fields;
|
|
5442
|
+
}
|
|
5443
|
+
if (!tea_util_1.default.isUnset(request.limit)) {
|
|
5444
|
+
query["Limit"] = request.limit;
|
|
5445
|
+
}
|
|
5446
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
5447
|
+
query["OwnerId"] = request.ownerId;
|
|
5448
|
+
}
|
|
5449
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
5450
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5451
|
+
}
|
|
5452
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
5453
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5454
|
+
}
|
|
5455
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5456
|
+
query: openapi_util_1.default.query(query),
|
|
5457
|
+
});
|
|
5458
|
+
let params = new $OpenApi.Params({
|
|
5459
|
+
action: "ListProductCatalog",
|
|
5460
|
+
version: "2020-06-06",
|
|
5461
|
+
protocol: "HTTPS",
|
|
5462
|
+
pathname: "/",
|
|
5463
|
+
method: "POST",
|
|
5464
|
+
authType: "AK",
|
|
5465
|
+
style: "RPC",
|
|
5466
|
+
reqBodyType: "formData",
|
|
5467
|
+
bodyType: "json",
|
|
5468
|
+
});
|
|
5469
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
|
|
5470
|
+
}
|
|
5471
|
+
async listProductCatalog(request) {
|
|
5472
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5473
|
+
return await this.listProductCatalogWithOptions(request, runtime);
|
|
5474
|
+
}
|
|
4118
5475
|
/**
|
|
4119
5476
|
* The name of the message template.
|
|
4120
5477
|
*
|
|
@@ -4154,6 +5511,9 @@ class Client extends openapi_client_1.default {
|
|
|
4154
5511
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
4155
5512
|
body["Language"] = request.language;
|
|
4156
5513
|
}
|
|
5514
|
+
if (!tea_util_1.default.isUnset(request.messageSendTtlSeconds)) {
|
|
5515
|
+
body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
5516
|
+
}
|
|
4157
5517
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
4158
5518
|
body["TemplateCode"] = request.templateCode;
|
|
4159
5519
|
}
|
|
@@ -4187,7 +5547,7 @@ class Client extends openapi_client_1.default {
|
|
|
4187
5547
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
4188
5548
|
}
|
|
4189
5549
|
/**
|
|
4190
|
-
*
|
|
5550
|
+
* ModifyPhoneBusinessProfile
|
|
4191
5551
|
*
|
|
4192
5552
|
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
4193
5553
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4242,7 +5602,7 @@ class Client extends openapi_client_1.default {
|
|
|
4242
5602
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
4243
5603
|
}
|
|
4244
5604
|
/**
|
|
4245
|
-
*
|
|
5605
|
+
* ModifyPhoneBusinessProfile
|
|
4246
5606
|
*
|
|
4247
5607
|
* @param request ModifyPhoneBusinessProfileRequest
|
|
4248
5608
|
* @return ModifyPhoneBusinessProfileResponse
|
|
@@ -4521,6 +5881,9 @@ class Client extends openapi_client_1.default {
|
|
|
4521
5881
|
if (!tea_util_1.default.isUnset(tmpReq.payload)) {
|
|
4522
5882
|
request.payloadShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
|
|
4523
5883
|
}
|
|
5884
|
+
if (!tea_util_1.default.isUnset(tmpReq.productAction)) {
|
|
5885
|
+
request.productActionShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.productAction, "ProductAction", "json");
|
|
5886
|
+
}
|
|
4524
5887
|
if (!tea_util_1.default.isUnset(tmpReq.templateParams)) {
|
|
4525
5888
|
request.templateParamsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.templateParams, "TemplateParams", "json");
|
|
4526
5889
|
}
|
|
@@ -4568,6 +5931,9 @@ class Client extends openapi_client_1.default {
|
|
|
4568
5931
|
if (!tea_util_1.default.isUnset(request.messageType)) {
|
|
4569
5932
|
body["MessageType"] = request.messageType;
|
|
4570
5933
|
}
|
|
5934
|
+
if (!tea_util_1.default.isUnset(request.productActionShrink)) {
|
|
5935
|
+
body["ProductAction"] = request.productActionShrink;
|
|
5936
|
+
}
|
|
4571
5937
|
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
4572
5938
|
body["Tag"] = request.tag;
|
|
4573
5939
|
}
|