@alicloud/dm20151123 1.0.2 → 1.0.3
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 +288 -0
- package/dist/client.js +572 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +718 -2
package/dist/client.js
CHANGED
|
@@ -19,6 +19,64 @@ 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 AddIpfilterRequest extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
ipAddress: 'IpAddress',
|
|
29
|
+
ownerId: 'OwnerId',
|
|
30
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
31
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
static types() {
|
|
35
|
+
return {
|
|
36
|
+
ipAddress: 'string',
|
|
37
|
+
ownerId: 'number',
|
|
38
|
+
resourceOwnerAccount: 'string',
|
|
39
|
+
resourceOwnerId: 'number',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.AddIpfilterRequest = AddIpfilterRequest;
|
|
44
|
+
class AddIpfilterResponseBody extends $tea.Model {
|
|
45
|
+
constructor(map) {
|
|
46
|
+
super(map);
|
|
47
|
+
}
|
|
48
|
+
static names() {
|
|
49
|
+
return {
|
|
50
|
+
requestId: 'RequestId',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static types() {
|
|
54
|
+
return {
|
|
55
|
+
requestId: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.AddIpfilterResponseBody = AddIpfilterResponseBody;
|
|
60
|
+
class AddIpfilterResponse extends $tea.Model {
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
static names() {
|
|
65
|
+
return {
|
|
66
|
+
headers: 'headers',
|
|
67
|
+
statusCode: 'statusCode',
|
|
68
|
+
body: 'body',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static types() {
|
|
72
|
+
return {
|
|
73
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
74
|
+
statusCode: 'number',
|
|
75
|
+
body: AddIpfilterResponseBody,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.AddIpfilterResponse = AddIpfilterResponse;
|
|
22
80
|
class ApproveReplyMailAddressRequest extends $tea.Model {
|
|
23
81
|
constructor(map) {
|
|
24
82
|
super(map);
|
|
@@ -64,12 +122,14 @@ class ApproveReplyMailAddressResponse extends $tea.Model {
|
|
|
64
122
|
static names() {
|
|
65
123
|
return {
|
|
66
124
|
headers: 'headers',
|
|
125
|
+
statusCode: 'statusCode',
|
|
67
126
|
body: 'body',
|
|
68
127
|
};
|
|
69
128
|
}
|
|
70
129
|
static types() {
|
|
71
130
|
return {
|
|
72
131
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
132
|
+
statusCode: 'number',
|
|
73
133
|
body: ApproveReplyMailAddressResponseBody,
|
|
74
134
|
};
|
|
75
135
|
}
|
|
@@ -136,12 +196,14 @@ class BatchSendMailResponse extends $tea.Model {
|
|
|
136
196
|
static names() {
|
|
137
197
|
return {
|
|
138
198
|
headers: 'headers',
|
|
199
|
+
statusCode: 'statusCode',
|
|
139
200
|
body: 'body',
|
|
140
201
|
};
|
|
141
202
|
}
|
|
142
203
|
static types() {
|
|
143
204
|
return {
|
|
144
205
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
206
|
+
statusCode: 'number',
|
|
145
207
|
body: BatchSendMailResponseBody,
|
|
146
208
|
};
|
|
147
209
|
}
|
|
@@ -194,12 +256,14 @@ class CheckDomainResponse extends $tea.Model {
|
|
|
194
256
|
static names() {
|
|
195
257
|
return {
|
|
196
258
|
headers: 'headers',
|
|
259
|
+
statusCode: 'statusCode',
|
|
197
260
|
body: 'body',
|
|
198
261
|
};
|
|
199
262
|
}
|
|
200
263
|
static types() {
|
|
201
264
|
return {
|
|
202
265
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
266
|
+
statusCode: 'number',
|
|
203
267
|
body: CheckDomainResponseBody,
|
|
204
268
|
};
|
|
205
269
|
}
|
|
@@ -254,12 +318,14 @@ class CheckReplyToMailAddressResponse extends $tea.Model {
|
|
|
254
318
|
static names() {
|
|
255
319
|
return {
|
|
256
320
|
headers: 'headers',
|
|
321
|
+
statusCode: 'statusCode',
|
|
257
322
|
body: 'body',
|
|
258
323
|
};
|
|
259
324
|
}
|
|
260
325
|
static types() {
|
|
261
326
|
return {
|
|
262
327
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
328
|
+
statusCode: 'number',
|
|
263
329
|
body: CheckReplyToMailAddressResponseBody,
|
|
264
330
|
};
|
|
265
331
|
}
|
|
@@ -312,12 +378,14 @@ class CreateDomainResponse extends $tea.Model {
|
|
|
312
378
|
static names() {
|
|
313
379
|
return {
|
|
314
380
|
headers: 'headers',
|
|
381
|
+
statusCode: 'statusCode',
|
|
315
382
|
body: 'body',
|
|
316
383
|
};
|
|
317
384
|
}
|
|
318
385
|
static types() {
|
|
319
386
|
return {
|
|
320
387
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
388
|
+
statusCode: 'number',
|
|
321
389
|
body: CreateDomainResponseBody,
|
|
322
390
|
};
|
|
323
391
|
}
|
|
@@ -374,12 +442,14 @@ class CreateMailAddressResponse extends $tea.Model {
|
|
|
374
442
|
static names() {
|
|
375
443
|
return {
|
|
376
444
|
headers: 'headers',
|
|
445
|
+
statusCode: 'statusCode',
|
|
377
446
|
body: 'body',
|
|
378
447
|
};
|
|
379
448
|
}
|
|
380
449
|
static types() {
|
|
381
450
|
return {
|
|
382
451
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
452
|
+
statusCode: 'number',
|
|
383
453
|
body: CreateMailAddressResponseBody,
|
|
384
454
|
};
|
|
385
455
|
}
|
|
@@ -436,12 +506,14 @@ class CreateReceiverResponse extends $tea.Model {
|
|
|
436
506
|
static names() {
|
|
437
507
|
return {
|
|
438
508
|
headers: 'headers',
|
|
509
|
+
statusCode: 'statusCode',
|
|
439
510
|
body: 'body',
|
|
440
511
|
};
|
|
441
512
|
}
|
|
442
513
|
static types() {
|
|
443
514
|
return {
|
|
444
515
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
516
|
+
statusCode: 'number',
|
|
445
517
|
body: CreateReceiverResponseBody,
|
|
446
518
|
};
|
|
447
519
|
}
|
|
@@ -494,12 +566,14 @@ class CreateTagResponse extends $tea.Model {
|
|
|
494
566
|
static names() {
|
|
495
567
|
return {
|
|
496
568
|
headers: 'headers',
|
|
569
|
+
statusCode: 'statusCode',
|
|
497
570
|
body: 'body',
|
|
498
571
|
};
|
|
499
572
|
}
|
|
500
573
|
static types() {
|
|
501
574
|
return {
|
|
502
575
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
576
|
+
statusCode: 'number',
|
|
503
577
|
body: CreateTagResponseBody,
|
|
504
578
|
};
|
|
505
579
|
}
|
|
@@ -550,17 +624,79 @@ class DeleteDomainResponse extends $tea.Model {
|
|
|
550
624
|
static names() {
|
|
551
625
|
return {
|
|
552
626
|
headers: 'headers',
|
|
627
|
+
statusCode: 'statusCode',
|
|
553
628
|
body: 'body',
|
|
554
629
|
};
|
|
555
630
|
}
|
|
556
631
|
static types() {
|
|
557
632
|
return {
|
|
558
633
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
634
|
+
statusCode: 'number',
|
|
559
635
|
body: DeleteDomainResponseBody,
|
|
560
636
|
};
|
|
561
637
|
}
|
|
562
638
|
}
|
|
563
639
|
exports.DeleteDomainResponse = DeleteDomainResponse;
|
|
640
|
+
class DeleteIpfilterByEdmIdRequest extends $tea.Model {
|
|
641
|
+
constructor(map) {
|
|
642
|
+
super(map);
|
|
643
|
+
}
|
|
644
|
+
static names() {
|
|
645
|
+
return {
|
|
646
|
+
fromType: 'FromType',
|
|
647
|
+
id: 'Id',
|
|
648
|
+
ownerId: 'OwnerId',
|
|
649
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
650
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
static types() {
|
|
654
|
+
return {
|
|
655
|
+
fromType: 'number',
|
|
656
|
+
id: 'string',
|
|
657
|
+
ownerId: 'number',
|
|
658
|
+
resourceOwnerAccount: 'string',
|
|
659
|
+
resourceOwnerId: 'number',
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
exports.DeleteIpfilterByEdmIdRequest = DeleteIpfilterByEdmIdRequest;
|
|
664
|
+
class DeleteIpfilterByEdmIdResponseBody extends $tea.Model {
|
|
665
|
+
constructor(map) {
|
|
666
|
+
super(map);
|
|
667
|
+
}
|
|
668
|
+
static names() {
|
|
669
|
+
return {
|
|
670
|
+
requestId: 'RequestId',
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
static types() {
|
|
674
|
+
return {
|
|
675
|
+
requestId: 'string',
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
exports.DeleteIpfilterByEdmIdResponseBody = DeleteIpfilterByEdmIdResponseBody;
|
|
680
|
+
class DeleteIpfilterByEdmIdResponse extends $tea.Model {
|
|
681
|
+
constructor(map) {
|
|
682
|
+
super(map);
|
|
683
|
+
}
|
|
684
|
+
static names() {
|
|
685
|
+
return {
|
|
686
|
+
headers: 'headers',
|
|
687
|
+
statusCode: 'statusCode',
|
|
688
|
+
body: 'body',
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
static types() {
|
|
692
|
+
return {
|
|
693
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
694
|
+
statusCode: 'number',
|
|
695
|
+
body: DeleteIpfilterByEdmIdResponseBody,
|
|
696
|
+
};
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
exports.DeleteIpfilterByEdmIdResponse = DeleteIpfilterByEdmIdResponse;
|
|
564
700
|
class DeleteMailAddressRequest extends $tea.Model {
|
|
565
701
|
constructor(map) {
|
|
566
702
|
super(map);
|
|
@@ -606,12 +742,14 @@ class DeleteMailAddressResponse extends $tea.Model {
|
|
|
606
742
|
static names() {
|
|
607
743
|
return {
|
|
608
744
|
headers: 'headers',
|
|
745
|
+
statusCode: 'statusCode',
|
|
609
746
|
body: 'body',
|
|
610
747
|
};
|
|
611
748
|
}
|
|
612
749
|
static types() {
|
|
613
750
|
return {
|
|
614
751
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
752
|
+
statusCode: 'number',
|
|
615
753
|
body: DeleteMailAddressResponseBody,
|
|
616
754
|
};
|
|
617
755
|
}
|
|
@@ -662,12 +800,14 @@ class DeleteReceiverResponse extends $tea.Model {
|
|
|
662
800
|
static names() {
|
|
663
801
|
return {
|
|
664
802
|
headers: 'headers',
|
|
803
|
+
statusCode: 'statusCode',
|
|
665
804
|
body: 'body',
|
|
666
805
|
};
|
|
667
806
|
}
|
|
668
807
|
static types() {
|
|
669
808
|
return {
|
|
670
809
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
810
|
+
statusCode: 'number',
|
|
671
811
|
body: DeleteReceiverResponseBody,
|
|
672
812
|
};
|
|
673
813
|
}
|
|
@@ -720,12 +860,14 @@ class DeleteReceiverDetailResponse extends $tea.Model {
|
|
|
720
860
|
static names() {
|
|
721
861
|
return {
|
|
722
862
|
headers: 'headers',
|
|
863
|
+
statusCode: 'statusCode',
|
|
723
864
|
body: 'body',
|
|
724
865
|
};
|
|
725
866
|
}
|
|
726
867
|
static types() {
|
|
727
868
|
return {
|
|
728
869
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
870
|
+
statusCode: 'number',
|
|
729
871
|
body: DeleteReceiverDetailResponseBody,
|
|
730
872
|
};
|
|
731
873
|
}
|
|
@@ -776,12 +918,14 @@ class DeleteTagResponse extends $tea.Model {
|
|
|
776
918
|
static names() {
|
|
777
919
|
return {
|
|
778
920
|
headers: 'headers',
|
|
921
|
+
statusCode: 'statusCode',
|
|
779
922
|
body: 'body',
|
|
780
923
|
};
|
|
781
924
|
}
|
|
782
925
|
static types() {
|
|
783
926
|
return {
|
|
784
927
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
928
|
+
statusCode: 'number',
|
|
785
929
|
body: DeleteTagResponseBody,
|
|
786
930
|
};
|
|
787
931
|
}
|
|
@@ -860,12 +1004,14 @@ class DescAccountSummaryResponse extends $tea.Model {
|
|
|
860
1004
|
static names() {
|
|
861
1005
|
return {
|
|
862
1006
|
headers: 'headers',
|
|
1007
|
+
statusCode: 'statusCode',
|
|
863
1008
|
body: 'body',
|
|
864
1009
|
};
|
|
865
1010
|
}
|
|
866
1011
|
static types() {
|
|
867
1012
|
return {
|
|
868
1013
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1014
|
+
statusCode: 'number',
|
|
869
1015
|
body: DescAccountSummaryResponseBody,
|
|
870
1016
|
};
|
|
871
1017
|
}
|
|
@@ -954,17 +1100,141 @@ class DescDomainResponse extends $tea.Model {
|
|
|
954
1100
|
static names() {
|
|
955
1101
|
return {
|
|
956
1102
|
headers: 'headers',
|
|
1103
|
+
statusCode: 'statusCode',
|
|
957
1104
|
body: 'body',
|
|
958
1105
|
};
|
|
959
1106
|
}
|
|
960
1107
|
static types() {
|
|
961
1108
|
return {
|
|
962
1109
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1110
|
+
statusCode: 'number',
|
|
963
1111
|
body: DescDomainResponseBody,
|
|
964
1112
|
};
|
|
965
1113
|
}
|
|
966
1114
|
}
|
|
967
1115
|
exports.DescDomainResponse = DescDomainResponse;
|
|
1116
|
+
class GetIpProtectionRequest extends $tea.Model {
|
|
1117
|
+
constructor(map) {
|
|
1118
|
+
super(map);
|
|
1119
|
+
}
|
|
1120
|
+
static names() {
|
|
1121
|
+
return {
|
|
1122
|
+
ownerId: 'OwnerId',
|
|
1123
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1124
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
static types() {
|
|
1128
|
+
return {
|
|
1129
|
+
ownerId: 'number',
|
|
1130
|
+
resourceOwnerAccount: 'string',
|
|
1131
|
+
resourceOwnerId: 'number',
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
exports.GetIpProtectionRequest = GetIpProtectionRequest;
|
|
1136
|
+
class GetIpProtectionResponseBody extends $tea.Model {
|
|
1137
|
+
constructor(map) {
|
|
1138
|
+
super(map);
|
|
1139
|
+
}
|
|
1140
|
+
static names() {
|
|
1141
|
+
return {
|
|
1142
|
+
ipProtection: 'IpProtection',
|
|
1143
|
+
requestId: 'RequestId',
|
|
1144
|
+
};
|
|
1145
|
+
}
|
|
1146
|
+
static types() {
|
|
1147
|
+
return {
|
|
1148
|
+
ipProtection: 'string',
|
|
1149
|
+
requestId: 'string',
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
exports.GetIpProtectionResponseBody = GetIpProtectionResponseBody;
|
|
1154
|
+
class GetIpProtectionResponse extends $tea.Model {
|
|
1155
|
+
constructor(map) {
|
|
1156
|
+
super(map);
|
|
1157
|
+
}
|
|
1158
|
+
static names() {
|
|
1159
|
+
return {
|
|
1160
|
+
headers: 'headers',
|
|
1161
|
+
statusCode: 'statusCode',
|
|
1162
|
+
body: 'body',
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
static types() {
|
|
1166
|
+
return {
|
|
1167
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1168
|
+
statusCode: 'number',
|
|
1169
|
+
body: GetIpProtectionResponseBody,
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
exports.GetIpProtectionResponse = GetIpProtectionResponse;
|
|
1174
|
+
class GetIpfilterListRequest extends $tea.Model {
|
|
1175
|
+
constructor(map) {
|
|
1176
|
+
super(map);
|
|
1177
|
+
}
|
|
1178
|
+
static names() {
|
|
1179
|
+
return {
|
|
1180
|
+
ownerId: 'OwnerId',
|
|
1181
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1182
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1183
|
+
};
|
|
1184
|
+
}
|
|
1185
|
+
static types() {
|
|
1186
|
+
return {
|
|
1187
|
+
ownerId: 'number',
|
|
1188
|
+
resourceOwnerAccount: 'string',
|
|
1189
|
+
resourceOwnerId: 'number',
|
|
1190
|
+
};
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
exports.GetIpfilterListRequest = GetIpfilterListRequest;
|
|
1194
|
+
class GetIpfilterListResponseBody extends $tea.Model {
|
|
1195
|
+
constructor(map) {
|
|
1196
|
+
super(map);
|
|
1197
|
+
}
|
|
1198
|
+
static names() {
|
|
1199
|
+
return {
|
|
1200
|
+
pageNumber: 'PageNumber',
|
|
1201
|
+
pageSize: 'PageSize',
|
|
1202
|
+
requestId: 'RequestId',
|
|
1203
|
+
totalCount: 'TotalCount',
|
|
1204
|
+
data: 'data',
|
|
1205
|
+
};
|
|
1206
|
+
}
|
|
1207
|
+
static types() {
|
|
1208
|
+
return {
|
|
1209
|
+
pageNumber: 'number',
|
|
1210
|
+
pageSize: 'number',
|
|
1211
|
+
requestId: 'string',
|
|
1212
|
+
totalCount: 'number',
|
|
1213
|
+
data: GetIpfilterListResponseBodyData,
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
exports.GetIpfilterListResponseBody = GetIpfilterListResponseBody;
|
|
1218
|
+
class GetIpfilterListResponse extends $tea.Model {
|
|
1219
|
+
constructor(map) {
|
|
1220
|
+
super(map);
|
|
1221
|
+
}
|
|
1222
|
+
static names() {
|
|
1223
|
+
return {
|
|
1224
|
+
headers: 'headers',
|
|
1225
|
+
statusCode: 'statusCode',
|
|
1226
|
+
body: 'body',
|
|
1227
|
+
};
|
|
1228
|
+
}
|
|
1229
|
+
static types() {
|
|
1230
|
+
return {
|
|
1231
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1232
|
+
statusCode: 'number',
|
|
1233
|
+
body: GetIpfilterListResponseBody,
|
|
1234
|
+
};
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
exports.GetIpfilterListResponse = GetIpfilterListResponse;
|
|
968
1238
|
class GetTrackListRequest extends $tea.Model {
|
|
969
1239
|
constructor(map) {
|
|
970
1240
|
super(map);
|
|
@@ -1036,12 +1306,14 @@ class GetTrackListResponse extends $tea.Model {
|
|
|
1036
1306
|
static names() {
|
|
1037
1307
|
return {
|
|
1038
1308
|
headers: 'headers',
|
|
1309
|
+
statusCode: 'statusCode',
|
|
1039
1310
|
body: 'body',
|
|
1040
1311
|
};
|
|
1041
1312
|
}
|
|
1042
1313
|
static types() {
|
|
1043
1314
|
return {
|
|
1044
1315
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1316
|
+
statusCode: 'number',
|
|
1045
1317
|
body: GetTrackListResponseBody,
|
|
1046
1318
|
};
|
|
1047
1319
|
}
|
|
@@ -1122,12 +1394,14 @@ class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
|
|
|
1122
1394
|
static names() {
|
|
1123
1395
|
return {
|
|
1124
1396
|
headers: 'headers',
|
|
1397
|
+
statusCode: 'statusCode',
|
|
1125
1398
|
body: 'body',
|
|
1126
1399
|
};
|
|
1127
1400
|
}
|
|
1128
1401
|
static types() {
|
|
1129
1402
|
return {
|
|
1130
1403
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1404
|
+
statusCode: 'number',
|
|
1131
1405
|
body: GetTrackListByMailFromAndTagNameResponseBody,
|
|
1132
1406
|
};
|
|
1133
1407
|
}
|
|
@@ -1182,12 +1456,14 @@ class ModifyMailAddressResponse extends $tea.Model {
|
|
|
1182
1456
|
static names() {
|
|
1183
1457
|
return {
|
|
1184
1458
|
headers: 'headers',
|
|
1459
|
+
statusCode: 'statusCode',
|
|
1185
1460
|
body: 'body',
|
|
1186
1461
|
};
|
|
1187
1462
|
}
|
|
1188
1463
|
static types() {
|
|
1189
1464
|
return {
|
|
1190
1465
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1466
|
+
statusCode: 'number',
|
|
1191
1467
|
body: ModifyMailAddressResponseBody,
|
|
1192
1468
|
};
|
|
1193
1469
|
}
|
|
@@ -1242,12 +1518,14 @@ class ModifyPWByDomainResponse extends $tea.Model {
|
|
|
1242
1518
|
static names() {
|
|
1243
1519
|
return {
|
|
1244
1520
|
headers: 'headers',
|
|
1521
|
+
statusCode: 'statusCode',
|
|
1245
1522
|
body: 'body',
|
|
1246
1523
|
};
|
|
1247
1524
|
}
|
|
1248
1525
|
static types() {
|
|
1249
1526
|
return {
|
|
1250
1527
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1528
|
+
statusCode: 'number',
|
|
1251
1529
|
body: ModifyPWByDomainResponseBody,
|
|
1252
1530
|
};
|
|
1253
1531
|
}
|
|
@@ -1300,12 +1578,14 @@ class ModifyTagResponse extends $tea.Model {
|
|
|
1300
1578
|
static names() {
|
|
1301
1579
|
return {
|
|
1302
1580
|
headers: 'headers',
|
|
1581
|
+
statusCode: 'statusCode',
|
|
1303
1582
|
body: 'body',
|
|
1304
1583
|
};
|
|
1305
1584
|
}
|
|
1306
1585
|
static types() {
|
|
1307
1586
|
return {
|
|
1308
1587
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1588
|
+
statusCode: 'number',
|
|
1309
1589
|
body: ModifyTagResponseBody,
|
|
1310
1590
|
};
|
|
1311
1591
|
}
|
|
@@ -1370,12 +1650,14 @@ class QueryDomainByParamResponse extends $tea.Model {
|
|
|
1370
1650
|
static names() {
|
|
1371
1651
|
return {
|
|
1372
1652
|
headers: 'headers',
|
|
1653
|
+
statusCode: 'statusCode',
|
|
1373
1654
|
body: 'body',
|
|
1374
1655
|
};
|
|
1375
1656
|
}
|
|
1376
1657
|
static types() {
|
|
1377
1658
|
return {
|
|
1378
1659
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1660
|
+
statusCode: 'number',
|
|
1379
1661
|
body: QueryDomainByParamResponseBody,
|
|
1380
1662
|
};
|
|
1381
1663
|
}
|
|
@@ -1440,12 +1722,14 @@ class QueryInvalidAddressResponse extends $tea.Model {
|
|
|
1440
1722
|
static names() {
|
|
1441
1723
|
return {
|
|
1442
1724
|
headers: 'headers',
|
|
1725
|
+
statusCode: 'statusCode',
|
|
1443
1726
|
body: 'body',
|
|
1444
1727
|
};
|
|
1445
1728
|
}
|
|
1446
1729
|
static types() {
|
|
1447
1730
|
return {
|
|
1448
1731
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1732
|
+
statusCode: 'number',
|
|
1449
1733
|
body: QueryInvalidAddressResponseBody,
|
|
1450
1734
|
};
|
|
1451
1735
|
}
|
|
@@ -1510,12 +1794,14 @@ class QueryMailAddressByParamResponse extends $tea.Model {
|
|
|
1510
1794
|
static names() {
|
|
1511
1795
|
return {
|
|
1512
1796
|
headers: 'headers',
|
|
1797
|
+
statusCode: 'statusCode',
|
|
1513
1798
|
body: 'body',
|
|
1514
1799
|
};
|
|
1515
1800
|
}
|
|
1516
1801
|
static types() {
|
|
1517
1802
|
return {
|
|
1518
1803
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1804
|
+
statusCode: 'number',
|
|
1519
1805
|
body: QueryMailAddressByParamResponseBody,
|
|
1520
1806
|
};
|
|
1521
1807
|
}
|
|
@@ -1580,12 +1866,14 @@ class QueryReceiverByParamResponse extends $tea.Model {
|
|
|
1580
1866
|
static names() {
|
|
1581
1867
|
return {
|
|
1582
1868
|
headers: 'headers',
|
|
1869
|
+
statusCode: 'statusCode',
|
|
1583
1870
|
body: 'body',
|
|
1584
1871
|
};
|
|
1585
1872
|
}
|
|
1586
1873
|
static types() {
|
|
1587
1874
|
return {
|
|
1588
1875
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1876
|
+
statusCode: 'number',
|
|
1589
1877
|
body: QueryReceiverByParamResponseBody,
|
|
1590
1878
|
};
|
|
1591
1879
|
}
|
|
@@ -1650,12 +1938,14 @@ class QueryReceiverDetailResponse extends $tea.Model {
|
|
|
1650
1938
|
static names() {
|
|
1651
1939
|
return {
|
|
1652
1940
|
headers: 'headers',
|
|
1941
|
+
statusCode: 'statusCode',
|
|
1653
1942
|
body: 'body',
|
|
1654
1943
|
};
|
|
1655
1944
|
}
|
|
1656
1945
|
static types() {
|
|
1657
1946
|
return {
|
|
1658
1947
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1948
|
+
statusCode: 'number',
|
|
1659
1949
|
body: QueryReceiverDetailResponseBody,
|
|
1660
1950
|
};
|
|
1661
1951
|
}
|
|
@@ -1718,12 +2008,14 @@ class QueryTagByParamResponse extends $tea.Model {
|
|
|
1718
2008
|
static names() {
|
|
1719
2009
|
return {
|
|
1720
2010
|
headers: 'headers',
|
|
2011
|
+
statusCode: 'statusCode',
|
|
1721
2012
|
body: 'body',
|
|
1722
2013
|
};
|
|
1723
2014
|
}
|
|
1724
2015
|
static types() {
|
|
1725
2016
|
return {
|
|
1726
2017
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2018
|
+
statusCode: 'number',
|
|
1727
2019
|
body: QueryTagByParamResponseBody,
|
|
1728
2020
|
};
|
|
1729
2021
|
}
|
|
@@ -1788,12 +2080,14 @@ class QueryTaskByParamResponse extends $tea.Model {
|
|
|
1788
2080
|
static names() {
|
|
1789
2081
|
return {
|
|
1790
2082
|
headers: 'headers',
|
|
2083
|
+
statusCode: 'statusCode',
|
|
1791
2084
|
body: 'body',
|
|
1792
2085
|
};
|
|
1793
2086
|
}
|
|
1794
2087
|
static types() {
|
|
1795
2088
|
return {
|
|
1796
2089
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2090
|
+
statusCode: 'number',
|
|
1797
2091
|
body: QueryTaskByParamResponseBody,
|
|
1798
2092
|
};
|
|
1799
2093
|
}
|
|
@@ -1852,12 +2146,14 @@ class SaveReceiverDetailResponse extends $tea.Model {
|
|
|
1852
2146
|
static names() {
|
|
1853
2147
|
return {
|
|
1854
2148
|
headers: 'headers',
|
|
2149
|
+
statusCode: 'statusCode',
|
|
1855
2150
|
body: 'body',
|
|
1856
2151
|
};
|
|
1857
2152
|
}
|
|
1858
2153
|
static types() {
|
|
1859
2154
|
return {
|
|
1860
2155
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2156
|
+
statusCode: 'number',
|
|
1861
2157
|
body: SaveReceiverDetailResponseBody,
|
|
1862
2158
|
};
|
|
1863
2159
|
}
|
|
@@ -1922,12 +2218,14 @@ class SendTestByTemplateResponse extends $tea.Model {
|
|
|
1922
2218
|
static names() {
|
|
1923
2219
|
return {
|
|
1924
2220
|
headers: 'headers',
|
|
2221
|
+
statusCode: 'statusCode',
|
|
1925
2222
|
body: 'body',
|
|
1926
2223
|
};
|
|
1927
2224
|
}
|
|
1928
2225
|
static types() {
|
|
1929
2226
|
return {
|
|
1930
2227
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2228
|
+
statusCode: 'number',
|
|
1931
2229
|
body: SendTestByTemplateResponseBody,
|
|
1932
2230
|
};
|
|
1933
2231
|
}
|
|
@@ -1988,12 +2286,14 @@ class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
|
|
|
1988
2286
|
static names() {
|
|
1989
2287
|
return {
|
|
1990
2288
|
headers: 'headers',
|
|
2289
|
+
statusCode: 'statusCode',
|
|
1991
2290
|
body: 'body',
|
|
1992
2291
|
};
|
|
1993
2292
|
}
|
|
1994
2293
|
static types() {
|
|
1995
2294
|
return {
|
|
1996
2295
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2296
|
+
statusCode: 'number',
|
|
1997
2297
|
body: SenderStatisticsByTagNameAndBatchIDResponseBody,
|
|
1998
2298
|
};
|
|
1999
2299
|
}
|
|
@@ -2062,12 +2362,14 @@ class SenderStatisticsDetailByParamResponse extends $tea.Model {
|
|
|
2062
2362
|
static names() {
|
|
2063
2363
|
return {
|
|
2064
2364
|
headers: 'headers',
|
|
2365
|
+
statusCode: 'statusCode',
|
|
2065
2366
|
body: 'body',
|
|
2066
2367
|
};
|
|
2067
2368
|
}
|
|
2068
2369
|
static types() {
|
|
2069
2370
|
return {
|
|
2070
2371
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2372
|
+
statusCode: 'number',
|
|
2071
2373
|
body: SenderStatisticsDetailByParamResponseBody,
|
|
2072
2374
|
};
|
|
2073
2375
|
}
|
|
@@ -2142,17 +2444,77 @@ class SingleSendMailResponse extends $tea.Model {
|
|
|
2142
2444
|
static names() {
|
|
2143
2445
|
return {
|
|
2144
2446
|
headers: 'headers',
|
|
2447
|
+
statusCode: 'statusCode',
|
|
2145
2448
|
body: 'body',
|
|
2146
2449
|
};
|
|
2147
2450
|
}
|
|
2148
2451
|
static types() {
|
|
2149
2452
|
return {
|
|
2150
2453
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2454
|
+
statusCode: 'number',
|
|
2151
2455
|
body: SingleSendMailResponseBody,
|
|
2152
2456
|
};
|
|
2153
2457
|
}
|
|
2154
2458
|
}
|
|
2155
2459
|
exports.SingleSendMailResponse = SingleSendMailResponse;
|
|
2460
|
+
class UpdateIpProtectionRequest extends $tea.Model {
|
|
2461
|
+
constructor(map) {
|
|
2462
|
+
super(map);
|
|
2463
|
+
}
|
|
2464
|
+
static names() {
|
|
2465
|
+
return {
|
|
2466
|
+
ipProtection: 'IpProtection',
|
|
2467
|
+
ownerId: 'OwnerId',
|
|
2468
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2469
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2470
|
+
};
|
|
2471
|
+
}
|
|
2472
|
+
static types() {
|
|
2473
|
+
return {
|
|
2474
|
+
ipProtection: 'string',
|
|
2475
|
+
ownerId: 'number',
|
|
2476
|
+
resourceOwnerAccount: 'string',
|
|
2477
|
+
resourceOwnerId: 'number',
|
|
2478
|
+
};
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
exports.UpdateIpProtectionRequest = UpdateIpProtectionRequest;
|
|
2482
|
+
class UpdateIpProtectionResponseBody extends $tea.Model {
|
|
2483
|
+
constructor(map) {
|
|
2484
|
+
super(map);
|
|
2485
|
+
}
|
|
2486
|
+
static names() {
|
|
2487
|
+
return {
|
|
2488
|
+
requestId: 'RequestId',
|
|
2489
|
+
};
|
|
2490
|
+
}
|
|
2491
|
+
static types() {
|
|
2492
|
+
return {
|
|
2493
|
+
requestId: 'string',
|
|
2494
|
+
};
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
exports.UpdateIpProtectionResponseBody = UpdateIpProtectionResponseBody;
|
|
2498
|
+
class UpdateIpProtectionResponse extends $tea.Model {
|
|
2499
|
+
constructor(map) {
|
|
2500
|
+
super(map);
|
|
2501
|
+
}
|
|
2502
|
+
static names() {
|
|
2503
|
+
return {
|
|
2504
|
+
headers: 'headers',
|
|
2505
|
+
statusCode: 'statusCode',
|
|
2506
|
+
body: 'body',
|
|
2507
|
+
};
|
|
2508
|
+
}
|
|
2509
|
+
static types() {
|
|
2510
|
+
return {
|
|
2511
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2512
|
+
statusCode: 'number',
|
|
2513
|
+
body: UpdateIpProtectionResponseBody,
|
|
2514
|
+
};
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
exports.UpdateIpProtectionResponse = UpdateIpProtectionResponse;
|
|
2156
2518
|
class UpdateMailAddressMsgCallBackUrlRequest extends $tea.Model {
|
|
2157
2519
|
constructor(map) {
|
|
2158
2520
|
super(map);
|
|
@@ -2200,17 +2562,55 @@ class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
|
2200
2562
|
static names() {
|
|
2201
2563
|
return {
|
|
2202
2564
|
headers: 'headers',
|
|
2565
|
+
statusCode: 'statusCode',
|
|
2203
2566
|
body: 'body',
|
|
2204
2567
|
};
|
|
2205
2568
|
}
|
|
2206
2569
|
static types() {
|
|
2207
2570
|
return {
|
|
2208
2571
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2572
|
+
statusCode: 'number',
|
|
2209
2573
|
body: UpdateMailAddressMsgCallBackUrlResponseBody,
|
|
2210
2574
|
};
|
|
2211
2575
|
}
|
|
2212
2576
|
}
|
|
2213
2577
|
exports.UpdateMailAddressMsgCallBackUrlResponse = UpdateMailAddressMsgCallBackUrlResponse;
|
|
2578
|
+
class GetIpfilterListResponseBodyDataIpfilters extends $tea.Model {
|
|
2579
|
+
constructor(map) {
|
|
2580
|
+
super(map);
|
|
2581
|
+
}
|
|
2582
|
+
static names() {
|
|
2583
|
+
return {
|
|
2584
|
+
createTime: 'CreateTime',
|
|
2585
|
+
id: 'Id',
|
|
2586
|
+
ipAddress: 'IpAddress',
|
|
2587
|
+
};
|
|
2588
|
+
}
|
|
2589
|
+
static types() {
|
|
2590
|
+
return {
|
|
2591
|
+
createTime: 'string',
|
|
2592
|
+
id: 'string',
|
|
2593
|
+
ipAddress: 'string',
|
|
2594
|
+
};
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
exports.GetIpfilterListResponseBodyDataIpfilters = GetIpfilterListResponseBodyDataIpfilters;
|
|
2598
|
+
class GetIpfilterListResponseBodyData extends $tea.Model {
|
|
2599
|
+
constructor(map) {
|
|
2600
|
+
super(map);
|
|
2601
|
+
}
|
|
2602
|
+
static names() {
|
|
2603
|
+
return {
|
|
2604
|
+
ipfilters: 'ipfilters',
|
|
2605
|
+
};
|
|
2606
|
+
}
|
|
2607
|
+
static types() {
|
|
2608
|
+
return {
|
|
2609
|
+
ipfilters: { 'type': 'array', 'itemType': GetIpfilterListResponseBodyDataIpfilters },
|
|
2610
|
+
};
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
exports.GetIpfilterListResponseBodyData = GetIpfilterListResponseBodyData;
|
|
2214
2614
|
class GetTrackListResponseBodyDataStat extends $tea.Model {
|
|
2215
2615
|
constructor(map) {
|
|
2216
2616
|
super(map);
|
|
@@ -2753,6 +3153,41 @@ class Client extends openapi_client_1.default {
|
|
|
2753
3153
|
}
|
|
2754
3154
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2755
3155
|
}
|
|
3156
|
+
async addIpfilterWithOptions(request, runtime) {
|
|
3157
|
+
tea_util_1.default.validateModel(request);
|
|
3158
|
+
let query = {};
|
|
3159
|
+
if (!tea_util_1.default.isUnset(request.ipAddress)) {
|
|
3160
|
+
query["IpAddress"] = request.ipAddress;
|
|
3161
|
+
}
|
|
3162
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3163
|
+
query["OwnerId"] = request.ownerId;
|
|
3164
|
+
}
|
|
3165
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3166
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3167
|
+
}
|
|
3168
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3169
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3170
|
+
}
|
|
3171
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3172
|
+
query: openapi_util_1.default.query(query),
|
|
3173
|
+
});
|
|
3174
|
+
let params = new $OpenApi.Params({
|
|
3175
|
+
action: "AddIpfilter",
|
|
3176
|
+
version: "2015-11-23",
|
|
3177
|
+
protocol: "HTTPS",
|
|
3178
|
+
pathname: "/",
|
|
3179
|
+
method: "POST",
|
|
3180
|
+
authType: "AK",
|
|
3181
|
+
style: "RPC",
|
|
3182
|
+
reqBodyType: "formData",
|
|
3183
|
+
bodyType: "json",
|
|
3184
|
+
});
|
|
3185
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddIpfilterResponse({}));
|
|
3186
|
+
}
|
|
3187
|
+
async addIpfilter(request) {
|
|
3188
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3189
|
+
return await this.addIpfilterWithOptions(request, runtime);
|
|
3190
|
+
}
|
|
2756
3191
|
async approveReplyMailAddressWithOptions(request, runtime) {
|
|
2757
3192
|
tea_util_1.default.validateModel(request);
|
|
2758
3193
|
let query = {};
|
|
@@ -3107,6 +3542,44 @@ class Client extends openapi_client_1.default {
|
|
|
3107
3542
|
let runtime = new $Util.RuntimeOptions({});
|
|
3108
3543
|
return await this.deleteDomainWithOptions(request, runtime);
|
|
3109
3544
|
}
|
|
3545
|
+
async deleteIpfilterByEdmIdWithOptions(request, runtime) {
|
|
3546
|
+
tea_util_1.default.validateModel(request);
|
|
3547
|
+
let query = {};
|
|
3548
|
+
if (!tea_util_1.default.isUnset(request.fromType)) {
|
|
3549
|
+
query["FromType"] = request.fromType;
|
|
3550
|
+
}
|
|
3551
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
3552
|
+
query["Id"] = request.id;
|
|
3553
|
+
}
|
|
3554
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3555
|
+
query["OwnerId"] = request.ownerId;
|
|
3556
|
+
}
|
|
3557
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3558
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3559
|
+
}
|
|
3560
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3561
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3562
|
+
}
|
|
3563
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3564
|
+
query: openapi_util_1.default.query(query),
|
|
3565
|
+
});
|
|
3566
|
+
let params = new $OpenApi.Params({
|
|
3567
|
+
action: "DeleteIpfilterByEdmId",
|
|
3568
|
+
version: "2015-11-23",
|
|
3569
|
+
protocol: "HTTPS",
|
|
3570
|
+
pathname: "/",
|
|
3571
|
+
method: "POST",
|
|
3572
|
+
authType: "AK",
|
|
3573
|
+
style: "RPC",
|
|
3574
|
+
reqBodyType: "formData",
|
|
3575
|
+
bodyType: "json",
|
|
3576
|
+
});
|
|
3577
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpfilterByEdmIdResponse({}));
|
|
3578
|
+
}
|
|
3579
|
+
async deleteIpfilterByEdmId(request) {
|
|
3580
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3581
|
+
return await this.deleteIpfilterByEdmIdWithOptions(request, runtime);
|
|
3582
|
+
}
|
|
3110
3583
|
async deleteMailAddressWithOptions(request, runtime) {
|
|
3111
3584
|
tea_util_1.default.validateModel(request);
|
|
3112
3585
|
let query = {};
|
|
@@ -3317,6 +3790,70 @@ class Client extends openapi_client_1.default {
|
|
|
3317
3790
|
let runtime = new $Util.RuntimeOptions({});
|
|
3318
3791
|
return await this.descDomainWithOptions(request, runtime);
|
|
3319
3792
|
}
|
|
3793
|
+
async getIpProtectionWithOptions(request, runtime) {
|
|
3794
|
+
tea_util_1.default.validateModel(request);
|
|
3795
|
+
let query = {};
|
|
3796
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3797
|
+
query["OwnerId"] = request.ownerId;
|
|
3798
|
+
}
|
|
3799
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3800
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3801
|
+
}
|
|
3802
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3803
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3804
|
+
}
|
|
3805
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3806
|
+
query: openapi_util_1.default.query(query),
|
|
3807
|
+
});
|
|
3808
|
+
let params = new $OpenApi.Params({
|
|
3809
|
+
action: "GetIpProtection",
|
|
3810
|
+
version: "2015-11-23",
|
|
3811
|
+
protocol: "HTTPS",
|
|
3812
|
+
pathname: "/",
|
|
3813
|
+
method: "POST",
|
|
3814
|
+
authType: "AK",
|
|
3815
|
+
style: "RPC",
|
|
3816
|
+
reqBodyType: "formData",
|
|
3817
|
+
bodyType: "json",
|
|
3818
|
+
});
|
|
3819
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetIpProtectionResponse({}));
|
|
3820
|
+
}
|
|
3821
|
+
async getIpProtection(request) {
|
|
3822
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3823
|
+
return await this.getIpProtectionWithOptions(request, runtime);
|
|
3824
|
+
}
|
|
3825
|
+
async getIpfilterListWithOptions(request, runtime) {
|
|
3826
|
+
tea_util_1.default.validateModel(request);
|
|
3827
|
+
let query = {};
|
|
3828
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3829
|
+
query["OwnerId"] = request.ownerId;
|
|
3830
|
+
}
|
|
3831
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3832
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3833
|
+
}
|
|
3834
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3835
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3836
|
+
}
|
|
3837
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3838
|
+
query: openapi_util_1.default.query(query),
|
|
3839
|
+
});
|
|
3840
|
+
let params = new $OpenApi.Params({
|
|
3841
|
+
action: "GetIpfilterList",
|
|
3842
|
+
version: "2015-11-23",
|
|
3843
|
+
protocol: "HTTPS",
|
|
3844
|
+
pathname: "/",
|
|
3845
|
+
method: "POST",
|
|
3846
|
+
authType: "AK",
|
|
3847
|
+
style: "RPC",
|
|
3848
|
+
reqBodyType: "formData",
|
|
3849
|
+
bodyType: "json",
|
|
3850
|
+
});
|
|
3851
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetIpfilterListResponse({}));
|
|
3852
|
+
}
|
|
3853
|
+
async getIpfilterList(request) {
|
|
3854
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3855
|
+
return await this.getIpfilterListWithOptions(request, runtime);
|
|
3856
|
+
}
|
|
3320
3857
|
async getTrackListWithOptions(request, runtime) {
|
|
3321
3858
|
tea_util_1.default.validateModel(request);
|
|
3322
3859
|
let query = {};
|
|
@@ -4116,6 +4653,41 @@ class Client extends openapi_client_1.default {
|
|
|
4116
4653
|
let runtime = new $Util.RuntimeOptions({});
|
|
4117
4654
|
return await this.singleSendMailWithOptions(request, runtime);
|
|
4118
4655
|
}
|
|
4656
|
+
async updateIpProtectionWithOptions(request, runtime) {
|
|
4657
|
+
tea_util_1.default.validateModel(request);
|
|
4658
|
+
let query = {};
|
|
4659
|
+
if (!tea_util_1.default.isUnset(request.ipProtection)) {
|
|
4660
|
+
query["IpProtection"] = request.ipProtection;
|
|
4661
|
+
}
|
|
4662
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
4663
|
+
query["OwnerId"] = request.ownerId;
|
|
4664
|
+
}
|
|
4665
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
4666
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4667
|
+
}
|
|
4668
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
4669
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4670
|
+
}
|
|
4671
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4672
|
+
query: openapi_util_1.default.query(query),
|
|
4673
|
+
});
|
|
4674
|
+
let params = new $OpenApi.Params({
|
|
4675
|
+
action: "UpdateIpProtection",
|
|
4676
|
+
version: "2015-11-23",
|
|
4677
|
+
protocol: "HTTPS",
|
|
4678
|
+
pathname: "/",
|
|
4679
|
+
method: "POST",
|
|
4680
|
+
authType: "AK",
|
|
4681
|
+
style: "RPC",
|
|
4682
|
+
reqBodyType: "formData",
|
|
4683
|
+
bodyType: "json",
|
|
4684
|
+
});
|
|
4685
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateIpProtectionResponse({}));
|
|
4686
|
+
}
|
|
4687
|
+
async updateIpProtection(request) {
|
|
4688
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4689
|
+
return await this.updateIpProtectionWithOptions(request, runtime);
|
|
4690
|
+
}
|
|
4119
4691
|
async updateMailAddressMsgCallBackUrlWithOptions(request, runtime) {
|
|
4120
4692
|
tea_util_1.default.validateModel(request);
|
|
4121
4693
|
let query = {};
|