@alicloud/dm20151123 1.0.1 → 1.0.4
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 +231 -21
- package/dist/client.js +469 -55
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +585 -67
package/src/client.ts
CHANGED
|
@@ -8,6 +8,78 @@ import OpenApiUtil from '@alicloud/openapi-util';
|
|
|
8
8
|
import EndpointUtil from '@alicloud/endpoint-util';
|
|
9
9
|
import * as $tea from '@alicloud/tea-typescript';
|
|
10
10
|
|
|
11
|
+
export class AddIpfilterRequest extends $tea.Model {
|
|
12
|
+
ipAddress?: string;
|
|
13
|
+
ownerId?: number;
|
|
14
|
+
resourceOwnerAccount?: string;
|
|
15
|
+
resourceOwnerId?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
ipAddress: 'IpAddress',
|
|
19
|
+
ownerId: 'OwnerId',
|
|
20
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
21
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
ipAddress: 'string',
|
|
28
|
+
ownerId: 'number',
|
|
29
|
+
resourceOwnerAccount: 'string',
|
|
30
|
+
resourceOwnerId: 'number',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class AddIpfilterResponseBody extends $tea.Model {
|
|
40
|
+
requestId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
requestId: 'RequestId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
requestId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class AddIpfilterResponse extends $tea.Model {
|
|
59
|
+
headers: { [key: string]: string };
|
|
60
|
+
statusCode: number;
|
|
61
|
+
body: AddIpfilterResponseBody;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
headers: 'headers',
|
|
65
|
+
statusCode: 'statusCode',
|
|
66
|
+
body: 'body',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
73
|
+
statusCode: 'number',
|
|
74
|
+
body: AddIpfilterResponseBody,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
constructor(map?: { [key: string]: any }) {
|
|
79
|
+
super(map);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
11
83
|
export class ApproveReplyMailAddressRequest extends $tea.Model {
|
|
12
84
|
ownerId?: number;
|
|
13
85
|
resourceOwnerAccount?: string;
|
|
@@ -57,10 +129,12 @@ export class ApproveReplyMailAddressResponseBody extends $tea.Model {
|
|
|
57
129
|
|
|
58
130
|
export class ApproveReplyMailAddressResponse extends $tea.Model {
|
|
59
131
|
headers: { [key: string]: string };
|
|
132
|
+
statusCode: number;
|
|
60
133
|
body: ApproveReplyMailAddressResponseBody;
|
|
61
134
|
static names(): { [key: string]: string } {
|
|
62
135
|
return {
|
|
63
136
|
headers: 'headers',
|
|
137
|
+
statusCode: 'statusCode',
|
|
64
138
|
body: 'body',
|
|
65
139
|
};
|
|
66
140
|
}
|
|
@@ -68,6 +142,7 @@ export class ApproveReplyMailAddressResponse extends $tea.Model {
|
|
|
68
142
|
static types(): { [key: string]: any } {
|
|
69
143
|
return {
|
|
70
144
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
145
|
+
statusCode: 'number',
|
|
71
146
|
body: ApproveReplyMailAddressResponseBody,
|
|
72
147
|
};
|
|
73
148
|
}
|
|
@@ -150,10 +225,12 @@ export class BatchSendMailResponseBody extends $tea.Model {
|
|
|
150
225
|
|
|
151
226
|
export class BatchSendMailResponse extends $tea.Model {
|
|
152
227
|
headers: { [key: string]: string };
|
|
228
|
+
statusCode: number;
|
|
153
229
|
body: BatchSendMailResponseBody;
|
|
154
230
|
static names(): { [key: string]: string } {
|
|
155
231
|
return {
|
|
156
232
|
headers: 'headers',
|
|
233
|
+
statusCode: 'statusCode',
|
|
157
234
|
body: 'body',
|
|
158
235
|
};
|
|
159
236
|
}
|
|
@@ -161,6 +238,7 @@ export class BatchSendMailResponse extends $tea.Model {
|
|
|
161
238
|
static types(): { [key: string]: any } {
|
|
162
239
|
return {
|
|
163
240
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
241
|
+
statusCode: 'number',
|
|
164
242
|
body: BatchSendMailResponseBody,
|
|
165
243
|
};
|
|
166
244
|
}
|
|
@@ -222,10 +300,12 @@ export class CheckDomainResponseBody extends $tea.Model {
|
|
|
222
300
|
|
|
223
301
|
export class CheckDomainResponse extends $tea.Model {
|
|
224
302
|
headers: { [key: string]: string };
|
|
303
|
+
statusCode: number;
|
|
225
304
|
body: CheckDomainResponseBody;
|
|
226
305
|
static names(): { [key: string]: string } {
|
|
227
306
|
return {
|
|
228
307
|
headers: 'headers',
|
|
308
|
+
statusCode: 'statusCode',
|
|
229
309
|
body: 'body',
|
|
230
310
|
};
|
|
231
311
|
}
|
|
@@ -233,6 +313,7 @@ export class CheckDomainResponse extends $tea.Model {
|
|
|
233
313
|
static types(): { [key: string]: any } {
|
|
234
314
|
return {
|
|
235
315
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
316
|
+
statusCode: 'number',
|
|
236
317
|
body: CheckDomainResponseBody,
|
|
237
318
|
};
|
|
238
319
|
}
|
|
@@ -297,10 +378,12 @@ export class CheckReplyToMailAddressResponseBody extends $tea.Model {
|
|
|
297
378
|
|
|
298
379
|
export class CheckReplyToMailAddressResponse extends $tea.Model {
|
|
299
380
|
headers: { [key: string]: string };
|
|
381
|
+
statusCode: number;
|
|
300
382
|
body: CheckReplyToMailAddressResponseBody;
|
|
301
383
|
static names(): { [key: string]: string } {
|
|
302
384
|
return {
|
|
303
385
|
headers: 'headers',
|
|
386
|
+
statusCode: 'statusCode',
|
|
304
387
|
body: 'body',
|
|
305
388
|
};
|
|
306
389
|
}
|
|
@@ -308,6 +391,7 @@ export class CheckReplyToMailAddressResponse extends $tea.Model {
|
|
|
308
391
|
static types(): { [key: string]: any } {
|
|
309
392
|
return {
|
|
310
393
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
394
|
+
statusCode: 'number',
|
|
311
395
|
body: CheckReplyToMailAddressResponseBody,
|
|
312
396
|
};
|
|
313
397
|
}
|
|
@@ -369,10 +453,12 @@ export class CreateDomainResponseBody extends $tea.Model {
|
|
|
369
453
|
|
|
370
454
|
export class CreateDomainResponse extends $tea.Model {
|
|
371
455
|
headers: { [key: string]: string };
|
|
456
|
+
statusCode: number;
|
|
372
457
|
body: CreateDomainResponseBody;
|
|
373
458
|
static names(): { [key: string]: string } {
|
|
374
459
|
return {
|
|
375
460
|
headers: 'headers',
|
|
461
|
+
statusCode: 'statusCode',
|
|
376
462
|
body: 'body',
|
|
377
463
|
};
|
|
378
464
|
}
|
|
@@ -380,6 +466,7 @@ export class CreateDomainResponse extends $tea.Model {
|
|
|
380
466
|
static types(): { [key: string]: any } {
|
|
381
467
|
return {
|
|
382
468
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
469
|
+
statusCode: 'number',
|
|
383
470
|
body: CreateDomainResponseBody,
|
|
384
471
|
};
|
|
385
472
|
}
|
|
@@ -447,10 +534,12 @@ export class CreateMailAddressResponseBody extends $tea.Model {
|
|
|
447
534
|
|
|
448
535
|
export class CreateMailAddressResponse extends $tea.Model {
|
|
449
536
|
headers: { [key: string]: string };
|
|
537
|
+
statusCode: number;
|
|
450
538
|
body: CreateMailAddressResponseBody;
|
|
451
539
|
static names(): { [key: string]: string } {
|
|
452
540
|
return {
|
|
453
541
|
headers: 'headers',
|
|
542
|
+
statusCode: 'statusCode',
|
|
454
543
|
body: 'body',
|
|
455
544
|
};
|
|
456
545
|
}
|
|
@@ -458,6 +547,7 @@ export class CreateMailAddressResponse extends $tea.Model {
|
|
|
458
547
|
static types(): { [key: string]: any } {
|
|
459
548
|
return {
|
|
460
549
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
550
|
+
statusCode: 'number',
|
|
461
551
|
body: CreateMailAddressResponseBody,
|
|
462
552
|
};
|
|
463
553
|
}
|
|
@@ -525,10 +615,12 @@ export class CreateReceiverResponseBody extends $tea.Model {
|
|
|
525
615
|
|
|
526
616
|
export class CreateReceiverResponse extends $tea.Model {
|
|
527
617
|
headers: { [key: string]: string };
|
|
618
|
+
statusCode: number;
|
|
528
619
|
body: CreateReceiverResponseBody;
|
|
529
620
|
static names(): { [key: string]: string } {
|
|
530
621
|
return {
|
|
531
622
|
headers: 'headers',
|
|
623
|
+
statusCode: 'statusCode',
|
|
532
624
|
body: 'body',
|
|
533
625
|
};
|
|
534
626
|
}
|
|
@@ -536,6 +628,7 @@ export class CreateReceiverResponse extends $tea.Model {
|
|
|
536
628
|
static types(): { [key: string]: any } {
|
|
537
629
|
return {
|
|
538
630
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
631
|
+
statusCode: 'number',
|
|
539
632
|
body: CreateReceiverResponseBody,
|
|
540
633
|
};
|
|
541
634
|
}
|
|
@@ -597,10 +690,12 @@ export class CreateTagResponseBody extends $tea.Model {
|
|
|
597
690
|
|
|
598
691
|
export class CreateTagResponse extends $tea.Model {
|
|
599
692
|
headers: { [key: string]: string };
|
|
693
|
+
statusCode: number;
|
|
600
694
|
body: CreateTagResponseBody;
|
|
601
695
|
static names(): { [key: string]: string } {
|
|
602
696
|
return {
|
|
603
697
|
headers: 'headers',
|
|
698
|
+
statusCode: 'statusCode',
|
|
604
699
|
body: 'body',
|
|
605
700
|
};
|
|
606
701
|
}
|
|
@@ -608,6 +703,7 @@ export class CreateTagResponse extends $tea.Model {
|
|
|
608
703
|
static types(): { [key: string]: any } {
|
|
609
704
|
return {
|
|
610
705
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
706
|
+
statusCode: 'number',
|
|
611
707
|
body: CreateTagResponseBody,
|
|
612
708
|
};
|
|
613
709
|
}
|
|
@@ -666,10 +762,12 @@ export class DeleteDomainResponseBody extends $tea.Model {
|
|
|
666
762
|
|
|
667
763
|
export class DeleteDomainResponse extends $tea.Model {
|
|
668
764
|
headers: { [key: string]: string };
|
|
765
|
+
statusCode: number;
|
|
669
766
|
body: DeleteDomainResponseBody;
|
|
670
767
|
static names(): { [key: string]: string } {
|
|
671
768
|
return {
|
|
672
769
|
headers: 'headers',
|
|
770
|
+
statusCode: 'statusCode',
|
|
673
771
|
body: 'body',
|
|
674
772
|
};
|
|
675
773
|
}
|
|
@@ -677,6 +775,7 @@ export class DeleteDomainResponse extends $tea.Model {
|
|
|
677
775
|
static types(): { [key: string]: any } {
|
|
678
776
|
return {
|
|
679
777
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
778
|
+
statusCode: 'number',
|
|
680
779
|
body: DeleteDomainResponseBody,
|
|
681
780
|
};
|
|
682
781
|
}
|
|
@@ -686,6 +785,81 @@ export class DeleteDomainResponse extends $tea.Model {
|
|
|
686
785
|
}
|
|
687
786
|
}
|
|
688
787
|
|
|
788
|
+
export class DeleteIpfilterByEdmIdRequest extends $tea.Model {
|
|
789
|
+
fromType?: number;
|
|
790
|
+
id?: string;
|
|
791
|
+
ownerId?: number;
|
|
792
|
+
resourceOwnerAccount?: string;
|
|
793
|
+
resourceOwnerId?: number;
|
|
794
|
+
static names(): { [key: string]: string } {
|
|
795
|
+
return {
|
|
796
|
+
fromType: 'FromType',
|
|
797
|
+
id: 'Id',
|
|
798
|
+
ownerId: 'OwnerId',
|
|
799
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
800
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
static types(): { [key: string]: any } {
|
|
805
|
+
return {
|
|
806
|
+
fromType: 'number',
|
|
807
|
+
id: 'string',
|
|
808
|
+
ownerId: 'number',
|
|
809
|
+
resourceOwnerAccount: 'string',
|
|
810
|
+
resourceOwnerId: 'number',
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
constructor(map?: { [key: string]: any }) {
|
|
815
|
+
super(map);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export class DeleteIpfilterByEdmIdResponseBody extends $tea.Model {
|
|
820
|
+
requestId?: string;
|
|
821
|
+
static names(): { [key: string]: string } {
|
|
822
|
+
return {
|
|
823
|
+
requestId: 'RequestId',
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
static types(): { [key: string]: any } {
|
|
828
|
+
return {
|
|
829
|
+
requestId: 'string',
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
constructor(map?: { [key: string]: any }) {
|
|
834
|
+
super(map);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export class DeleteIpfilterByEdmIdResponse extends $tea.Model {
|
|
839
|
+
headers: { [key: string]: string };
|
|
840
|
+
statusCode: number;
|
|
841
|
+
body: DeleteIpfilterByEdmIdResponseBody;
|
|
842
|
+
static names(): { [key: string]: string } {
|
|
843
|
+
return {
|
|
844
|
+
headers: 'headers',
|
|
845
|
+
statusCode: 'statusCode',
|
|
846
|
+
body: 'body',
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
static types(): { [key: string]: any } {
|
|
851
|
+
return {
|
|
852
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
853
|
+
statusCode: 'number',
|
|
854
|
+
body: DeleteIpfilterByEdmIdResponseBody,
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
constructor(map?: { [key: string]: any }) {
|
|
859
|
+
super(map);
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
|
|
689
863
|
export class DeleteMailAddressRequest extends $tea.Model {
|
|
690
864
|
mailAddressId?: number;
|
|
691
865
|
ownerId?: number;
|
|
@@ -735,10 +909,12 @@ export class DeleteMailAddressResponseBody extends $tea.Model {
|
|
|
735
909
|
|
|
736
910
|
export class DeleteMailAddressResponse extends $tea.Model {
|
|
737
911
|
headers: { [key: string]: string };
|
|
912
|
+
statusCode: number;
|
|
738
913
|
body: DeleteMailAddressResponseBody;
|
|
739
914
|
static names(): { [key: string]: string } {
|
|
740
915
|
return {
|
|
741
916
|
headers: 'headers',
|
|
917
|
+
statusCode: 'statusCode',
|
|
742
918
|
body: 'body',
|
|
743
919
|
};
|
|
744
920
|
}
|
|
@@ -746,6 +922,7 @@ export class DeleteMailAddressResponse extends $tea.Model {
|
|
|
746
922
|
static types(): { [key: string]: any } {
|
|
747
923
|
return {
|
|
748
924
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
925
|
+
statusCode: 'number',
|
|
749
926
|
body: DeleteMailAddressResponseBody,
|
|
750
927
|
};
|
|
751
928
|
}
|
|
@@ -804,10 +981,12 @@ export class DeleteReceiverResponseBody extends $tea.Model {
|
|
|
804
981
|
|
|
805
982
|
export class DeleteReceiverResponse extends $tea.Model {
|
|
806
983
|
headers: { [key: string]: string };
|
|
984
|
+
statusCode: number;
|
|
807
985
|
body: DeleteReceiverResponseBody;
|
|
808
986
|
static names(): { [key: string]: string } {
|
|
809
987
|
return {
|
|
810
988
|
headers: 'headers',
|
|
989
|
+
statusCode: 'statusCode',
|
|
811
990
|
body: 'body',
|
|
812
991
|
};
|
|
813
992
|
}
|
|
@@ -815,6 +994,7 @@ export class DeleteReceiverResponse extends $tea.Model {
|
|
|
815
994
|
static types(): { [key: string]: any } {
|
|
816
995
|
return {
|
|
817
996
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
997
|
+
statusCode: 'number',
|
|
818
998
|
body: DeleteReceiverResponseBody,
|
|
819
999
|
};
|
|
820
1000
|
}
|
|
@@ -876,10 +1056,12 @@ export class DeleteReceiverDetailResponseBody extends $tea.Model {
|
|
|
876
1056
|
|
|
877
1057
|
export class DeleteReceiverDetailResponse extends $tea.Model {
|
|
878
1058
|
headers: { [key: string]: string };
|
|
1059
|
+
statusCode: number;
|
|
879
1060
|
body: DeleteReceiverDetailResponseBody;
|
|
880
1061
|
static names(): { [key: string]: string } {
|
|
881
1062
|
return {
|
|
882
1063
|
headers: 'headers',
|
|
1064
|
+
statusCode: 'statusCode',
|
|
883
1065
|
body: 'body',
|
|
884
1066
|
};
|
|
885
1067
|
}
|
|
@@ -887,6 +1069,7 @@ export class DeleteReceiverDetailResponse extends $tea.Model {
|
|
|
887
1069
|
static types(): { [key: string]: any } {
|
|
888
1070
|
return {
|
|
889
1071
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1072
|
+
statusCode: 'number',
|
|
890
1073
|
body: DeleteReceiverDetailResponseBody,
|
|
891
1074
|
};
|
|
892
1075
|
}
|
|
@@ -945,10 +1128,12 @@ export class DeleteTagResponseBody extends $tea.Model {
|
|
|
945
1128
|
|
|
946
1129
|
export class DeleteTagResponse extends $tea.Model {
|
|
947
1130
|
headers: { [key: string]: string };
|
|
1131
|
+
statusCode: number;
|
|
948
1132
|
body: DeleteTagResponseBody;
|
|
949
1133
|
static names(): { [key: string]: string } {
|
|
950
1134
|
return {
|
|
951
1135
|
headers: 'headers',
|
|
1136
|
+
statusCode: 'statusCode',
|
|
952
1137
|
body: 'body',
|
|
953
1138
|
};
|
|
954
1139
|
}
|
|
@@ -956,6 +1141,7 @@ export class DeleteTagResponse extends $tea.Model {
|
|
|
956
1141
|
static types(): { [key: string]: any } {
|
|
957
1142
|
return {
|
|
958
1143
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1144
|
+
statusCode: 'number',
|
|
959
1145
|
body: DeleteTagResponseBody,
|
|
960
1146
|
};
|
|
961
1147
|
}
|
|
@@ -1056,10 +1242,12 @@ export class DescAccountSummaryResponseBody extends $tea.Model {
|
|
|
1056
1242
|
|
|
1057
1243
|
export class DescAccountSummaryResponse extends $tea.Model {
|
|
1058
1244
|
headers: { [key: string]: string };
|
|
1245
|
+
statusCode: number;
|
|
1059
1246
|
body: DescAccountSummaryResponseBody;
|
|
1060
1247
|
static names(): { [key: string]: string } {
|
|
1061
1248
|
return {
|
|
1062
1249
|
headers: 'headers',
|
|
1250
|
+
statusCode: 'statusCode',
|
|
1063
1251
|
body: 'body',
|
|
1064
1252
|
};
|
|
1065
1253
|
}
|
|
@@ -1067,6 +1255,7 @@ export class DescAccountSummaryResponse extends $tea.Model {
|
|
|
1067
1255
|
static types(): { [key: string]: any } {
|
|
1068
1256
|
return {
|
|
1069
1257
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1258
|
+
statusCode: 'number',
|
|
1070
1259
|
body: DescAccountSummaryResponseBody,
|
|
1071
1260
|
};
|
|
1072
1261
|
}
|
|
@@ -1182,10 +1371,12 @@ export class DescDomainResponseBody extends $tea.Model {
|
|
|
1182
1371
|
|
|
1183
1372
|
export class DescDomainResponse extends $tea.Model {
|
|
1184
1373
|
headers: { [key: string]: string };
|
|
1374
|
+
statusCode: number;
|
|
1185
1375
|
body: DescDomainResponseBody;
|
|
1186
1376
|
static names(): { [key: string]: string } {
|
|
1187
1377
|
return {
|
|
1188
1378
|
headers: 'headers',
|
|
1379
|
+
statusCode: 'statusCode',
|
|
1189
1380
|
body: 'body',
|
|
1190
1381
|
};
|
|
1191
1382
|
}
|
|
@@ -1193,6 +1384,7 @@ export class DescDomainResponse extends $tea.Model {
|
|
|
1193
1384
|
static types(): { [key: string]: any } {
|
|
1194
1385
|
return {
|
|
1195
1386
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1387
|
+
statusCode: 'number',
|
|
1196
1388
|
body: DescDomainResponseBody,
|
|
1197
1389
|
};
|
|
1198
1390
|
}
|
|
@@ -1202,41 +1394,23 @@ export class DescDomainResponse extends $tea.Model {
|
|
|
1202
1394
|
}
|
|
1203
1395
|
}
|
|
1204
1396
|
|
|
1205
|
-
export class
|
|
1206
|
-
offset?: string;
|
|
1207
|
-
offsetCreateTime?: string;
|
|
1208
|
-
offsetCreateTimeDesc?: string;
|
|
1397
|
+
export class GetIpProtectionRequest extends $tea.Model {
|
|
1209
1398
|
ownerId?: number;
|
|
1210
|
-
pageNumber?: string;
|
|
1211
|
-
pageSize?: string;
|
|
1212
1399
|
resourceOwnerAccount?: string;
|
|
1213
1400
|
resourceOwnerId?: number;
|
|
1214
|
-
total?: string;
|
|
1215
1401
|
static names(): { [key: string]: string } {
|
|
1216
1402
|
return {
|
|
1217
|
-
offset: 'Offset',
|
|
1218
|
-
offsetCreateTime: 'OffsetCreateTime',
|
|
1219
|
-
offsetCreateTimeDesc: 'OffsetCreateTimeDesc',
|
|
1220
1403
|
ownerId: 'OwnerId',
|
|
1221
|
-
pageNumber: 'PageNumber',
|
|
1222
|
-
pageSize: 'PageSize',
|
|
1223
1404
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1224
1405
|
resourceOwnerId: 'ResourceOwnerId',
|
|
1225
|
-
total: 'Total',
|
|
1226
1406
|
};
|
|
1227
1407
|
}
|
|
1228
1408
|
|
|
1229
1409
|
static types(): { [key: string]: any } {
|
|
1230
1410
|
return {
|
|
1231
|
-
offset: 'string',
|
|
1232
|
-
offsetCreateTime: 'string',
|
|
1233
|
-
offsetCreateTimeDesc: 'string',
|
|
1234
1411
|
ownerId: 'number',
|
|
1235
|
-
pageNumber: 'string',
|
|
1236
|
-
pageSize: 'string',
|
|
1237
1412
|
resourceOwnerAccount: 'string',
|
|
1238
1413
|
resourceOwnerId: 'number',
|
|
1239
|
-
total: 'string',
|
|
1240
1414
|
};
|
|
1241
1415
|
}
|
|
1242
1416
|
|
|
@@ -1245,29 +1419,101 @@ export class GetRegionListRequest extends $tea.Model {
|
|
|
1245
1419
|
}
|
|
1246
1420
|
}
|
|
1247
1421
|
|
|
1248
|
-
export class
|
|
1249
|
-
|
|
1422
|
+
export class GetIpProtectionResponseBody extends $tea.Model {
|
|
1423
|
+
ipProtection?: string;
|
|
1424
|
+
requestId?: string;
|
|
1425
|
+
static names(): { [key: string]: string } {
|
|
1426
|
+
return {
|
|
1427
|
+
ipProtection: 'IpProtection',
|
|
1428
|
+
requestId: 'RequestId',
|
|
1429
|
+
};
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
static types(): { [key: string]: any } {
|
|
1433
|
+
return {
|
|
1434
|
+
ipProtection: 'string',
|
|
1435
|
+
requestId: 'string',
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
constructor(map?: { [key: string]: any }) {
|
|
1440
|
+
super(map);
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
export class GetIpProtectionResponse extends $tea.Model {
|
|
1445
|
+
headers: { [key: string]: string };
|
|
1446
|
+
statusCode: number;
|
|
1447
|
+
body: GetIpProtectionResponseBody;
|
|
1448
|
+
static names(): { [key: string]: string } {
|
|
1449
|
+
return {
|
|
1450
|
+
headers: 'headers',
|
|
1451
|
+
statusCode: 'statusCode',
|
|
1452
|
+
body: 'body',
|
|
1453
|
+
};
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
static types(): { [key: string]: any } {
|
|
1457
|
+
return {
|
|
1458
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1459
|
+
statusCode: 'number',
|
|
1460
|
+
body: GetIpProtectionResponseBody,
|
|
1461
|
+
};
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
constructor(map?: { [key: string]: any }) {
|
|
1465
|
+
super(map);
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
export class GetIpfilterListRequest extends $tea.Model {
|
|
1470
|
+
ownerId?: number;
|
|
1471
|
+
resourceOwnerAccount?: string;
|
|
1472
|
+
resourceOwnerId?: number;
|
|
1473
|
+
static names(): { [key: string]: string } {
|
|
1474
|
+
return {
|
|
1475
|
+
ownerId: 'OwnerId',
|
|
1476
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1477
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
static types(): { [key: string]: any } {
|
|
1482
|
+
return {
|
|
1483
|
+
ownerId: 'number',
|
|
1484
|
+
resourceOwnerAccount: 'string',
|
|
1485
|
+
resourceOwnerId: 'number',
|
|
1486
|
+
};
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
constructor(map?: { [key: string]: any }) {
|
|
1490
|
+
super(map);
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
export class GetIpfilterListResponseBody extends $tea.Model {
|
|
1495
|
+
pageNumber?: number;
|
|
1250
1496
|
pageSize?: number;
|
|
1251
1497
|
requestId?: string;
|
|
1252
|
-
|
|
1253
|
-
data?:
|
|
1498
|
+
totalCount?: number;
|
|
1499
|
+
data?: GetIpfilterListResponseBodyData;
|
|
1254
1500
|
static names(): { [key: string]: string } {
|
|
1255
1501
|
return {
|
|
1256
|
-
|
|
1502
|
+
pageNumber: 'PageNumber',
|
|
1257
1503
|
pageSize: 'PageSize',
|
|
1258
1504
|
requestId: 'RequestId',
|
|
1259
|
-
|
|
1505
|
+
totalCount: 'TotalCount',
|
|
1260
1506
|
data: 'data',
|
|
1261
1507
|
};
|
|
1262
1508
|
}
|
|
1263
1509
|
|
|
1264
1510
|
static types(): { [key: string]: any } {
|
|
1265
1511
|
return {
|
|
1266
|
-
|
|
1512
|
+
pageNumber: 'number',
|
|
1267
1513
|
pageSize: 'number',
|
|
1268
1514
|
requestId: 'string',
|
|
1269
|
-
|
|
1270
|
-
data:
|
|
1515
|
+
totalCount: 'number',
|
|
1516
|
+
data: GetIpfilterListResponseBodyData,
|
|
1271
1517
|
};
|
|
1272
1518
|
}
|
|
1273
1519
|
|
|
@@ -1276,12 +1522,14 @@ export class GetRegionListResponseBody extends $tea.Model {
|
|
|
1276
1522
|
}
|
|
1277
1523
|
}
|
|
1278
1524
|
|
|
1279
|
-
export class
|
|
1525
|
+
export class GetIpfilterListResponse extends $tea.Model {
|
|
1280
1526
|
headers: { [key: string]: string };
|
|
1281
|
-
|
|
1527
|
+
statusCode: number;
|
|
1528
|
+
body: GetIpfilterListResponseBody;
|
|
1282
1529
|
static names(): { [key: string]: string } {
|
|
1283
1530
|
return {
|
|
1284
1531
|
headers: 'headers',
|
|
1532
|
+
statusCode: 'statusCode',
|
|
1285
1533
|
body: 'body',
|
|
1286
1534
|
};
|
|
1287
1535
|
}
|
|
@@ -1289,7 +1537,8 @@ export class GetRegionListResponse extends $tea.Model {
|
|
|
1289
1537
|
static types(): { [key: string]: any } {
|
|
1290
1538
|
return {
|
|
1291
1539
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1292
|
-
|
|
1540
|
+
statusCode: 'number',
|
|
1541
|
+
body: GetIpfilterListResponseBody,
|
|
1293
1542
|
};
|
|
1294
1543
|
}
|
|
1295
1544
|
|
|
@@ -1386,10 +1635,12 @@ export class GetTrackListResponseBody extends $tea.Model {
|
|
|
1386
1635
|
|
|
1387
1636
|
export class GetTrackListResponse extends $tea.Model {
|
|
1388
1637
|
headers: { [key: string]: string };
|
|
1638
|
+
statusCode: number;
|
|
1389
1639
|
body: GetTrackListResponseBody;
|
|
1390
1640
|
static names(): { [key: string]: string } {
|
|
1391
1641
|
return {
|
|
1392
1642
|
headers: 'headers',
|
|
1643
|
+
statusCode: 'statusCode',
|
|
1393
1644
|
body: 'body',
|
|
1394
1645
|
};
|
|
1395
1646
|
}
|
|
@@ -1397,6 +1648,7 @@ export class GetTrackListResponse extends $tea.Model {
|
|
|
1397
1648
|
static types(): { [key: string]: any } {
|
|
1398
1649
|
return {
|
|
1399
1650
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1651
|
+
statusCode: 'number',
|
|
1400
1652
|
body: GetTrackListResponseBody,
|
|
1401
1653
|
};
|
|
1402
1654
|
}
|
|
@@ -1500,10 +1752,12 @@ export class GetTrackListByMailFromAndTagNameResponseBody extends $tea.Model {
|
|
|
1500
1752
|
|
|
1501
1753
|
export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
|
|
1502
1754
|
headers: { [key: string]: string };
|
|
1755
|
+
statusCode: number;
|
|
1503
1756
|
body: GetTrackListByMailFromAndTagNameResponseBody;
|
|
1504
1757
|
static names(): { [key: string]: string } {
|
|
1505
1758
|
return {
|
|
1506
1759
|
headers: 'headers',
|
|
1760
|
+
statusCode: 'statusCode',
|
|
1507
1761
|
body: 'body',
|
|
1508
1762
|
};
|
|
1509
1763
|
}
|
|
@@ -1511,6 +1765,7 @@ export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
|
|
|
1511
1765
|
static types(): { [key: string]: any } {
|
|
1512
1766
|
return {
|
|
1513
1767
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1768
|
+
statusCode: 'number',
|
|
1514
1769
|
body: GetTrackListByMailFromAndTagNameResponseBody,
|
|
1515
1770
|
};
|
|
1516
1771
|
}
|
|
@@ -1575,10 +1830,12 @@ export class ModifyMailAddressResponseBody extends $tea.Model {
|
|
|
1575
1830
|
|
|
1576
1831
|
export class ModifyMailAddressResponse extends $tea.Model {
|
|
1577
1832
|
headers: { [key: string]: string };
|
|
1833
|
+
statusCode: number;
|
|
1578
1834
|
body: ModifyMailAddressResponseBody;
|
|
1579
1835
|
static names(): { [key: string]: string } {
|
|
1580
1836
|
return {
|
|
1581
1837
|
headers: 'headers',
|
|
1838
|
+
statusCode: 'statusCode',
|
|
1582
1839
|
body: 'body',
|
|
1583
1840
|
};
|
|
1584
1841
|
}
|
|
@@ -1586,6 +1843,7 @@ export class ModifyMailAddressResponse extends $tea.Model {
|
|
|
1586
1843
|
static types(): { [key: string]: any } {
|
|
1587
1844
|
return {
|
|
1588
1845
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1846
|
+
statusCode: 'number',
|
|
1589
1847
|
body: ModifyMailAddressResponseBody,
|
|
1590
1848
|
};
|
|
1591
1849
|
}
|
|
@@ -1650,10 +1908,12 @@ export class ModifyPWByDomainResponseBody extends $tea.Model {
|
|
|
1650
1908
|
|
|
1651
1909
|
export class ModifyPWByDomainResponse extends $tea.Model {
|
|
1652
1910
|
headers: { [key: string]: string };
|
|
1911
|
+
statusCode: number;
|
|
1653
1912
|
body: ModifyPWByDomainResponseBody;
|
|
1654
1913
|
static names(): { [key: string]: string } {
|
|
1655
1914
|
return {
|
|
1656
1915
|
headers: 'headers',
|
|
1916
|
+
statusCode: 'statusCode',
|
|
1657
1917
|
body: 'body',
|
|
1658
1918
|
};
|
|
1659
1919
|
}
|
|
@@ -1661,6 +1921,7 @@ export class ModifyPWByDomainResponse extends $tea.Model {
|
|
|
1661
1921
|
static types(): { [key: string]: any } {
|
|
1662
1922
|
return {
|
|
1663
1923
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1924
|
+
statusCode: 'number',
|
|
1664
1925
|
body: ModifyPWByDomainResponseBody,
|
|
1665
1926
|
};
|
|
1666
1927
|
}
|
|
@@ -1722,10 +1983,12 @@ export class ModifyTagResponseBody extends $tea.Model {
|
|
|
1722
1983
|
|
|
1723
1984
|
export class ModifyTagResponse extends $tea.Model {
|
|
1724
1985
|
headers: { [key: string]: string };
|
|
1986
|
+
statusCode: number;
|
|
1725
1987
|
body: ModifyTagResponseBody;
|
|
1726
1988
|
static names(): { [key: string]: string } {
|
|
1727
1989
|
return {
|
|
1728
1990
|
headers: 'headers',
|
|
1991
|
+
statusCode: 'statusCode',
|
|
1729
1992
|
body: 'body',
|
|
1730
1993
|
};
|
|
1731
1994
|
}
|
|
@@ -1733,6 +1996,7 @@ export class ModifyTagResponse extends $tea.Model {
|
|
|
1733
1996
|
static types(): { [key: string]: any } {
|
|
1734
1997
|
return {
|
|
1735
1998
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1999
|
+
statusCode: 'number',
|
|
1736
2000
|
body: ModifyTagResponseBody,
|
|
1737
2001
|
};
|
|
1738
2002
|
}
|
|
@@ -1812,10 +2076,12 @@ export class QueryDomainByParamResponseBody extends $tea.Model {
|
|
|
1812
2076
|
|
|
1813
2077
|
export class QueryDomainByParamResponse extends $tea.Model {
|
|
1814
2078
|
headers: { [key: string]: string };
|
|
2079
|
+
statusCode: number;
|
|
1815
2080
|
body: QueryDomainByParamResponseBody;
|
|
1816
2081
|
static names(): { [key: string]: string } {
|
|
1817
2082
|
return {
|
|
1818
2083
|
headers: 'headers',
|
|
2084
|
+
statusCode: 'statusCode',
|
|
1819
2085
|
body: 'body',
|
|
1820
2086
|
};
|
|
1821
2087
|
}
|
|
@@ -1823,6 +2089,7 @@ export class QueryDomainByParamResponse extends $tea.Model {
|
|
|
1823
2089
|
static types(): { [key: string]: any } {
|
|
1824
2090
|
return {
|
|
1825
2091
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2092
|
+
statusCode: 'number',
|
|
1826
2093
|
body: QueryDomainByParamResponseBody,
|
|
1827
2094
|
};
|
|
1828
2095
|
}
|
|
@@ -1902,10 +2169,12 @@ export class QueryInvalidAddressResponseBody extends $tea.Model {
|
|
|
1902
2169
|
|
|
1903
2170
|
export class QueryInvalidAddressResponse extends $tea.Model {
|
|
1904
2171
|
headers: { [key: string]: string };
|
|
2172
|
+
statusCode: number;
|
|
1905
2173
|
body: QueryInvalidAddressResponseBody;
|
|
1906
2174
|
static names(): { [key: string]: string } {
|
|
1907
2175
|
return {
|
|
1908
2176
|
headers: 'headers',
|
|
2177
|
+
statusCode: 'statusCode',
|
|
1909
2178
|
body: 'body',
|
|
1910
2179
|
};
|
|
1911
2180
|
}
|
|
@@ -1913,6 +2182,7 @@ export class QueryInvalidAddressResponse extends $tea.Model {
|
|
|
1913
2182
|
static types(): { [key: string]: any } {
|
|
1914
2183
|
return {
|
|
1915
2184
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2185
|
+
statusCode: 'number',
|
|
1916
2186
|
body: QueryInvalidAddressResponseBody,
|
|
1917
2187
|
};
|
|
1918
2188
|
}
|
|
@@ -1992,10 +2262,12 @@ export class QueryMailAddressByParamResponseBody extends $tea.Model {
|
|
|
1992
2262
|
|
|
1993
2263
|
export class QueryMailAddressByParamResponse extends $tea.Model {
|
|
1994
2264
|
headers: { [key: string]: string };
|
|
2265
|
+
statusCode: number;
|
|
1995
2266
|
body: QueryMailAddressByParamResponseBody;
|
|
1996
2267
|
static names(): { [key: string]: string } {
|
|
1997
2268
|
return {
|
|
1998
2269
|
headers: 'headers',
|
|
2270
|
+
statusCode: 'statusCode',
|
|
1999
2271
|
body: 'body',
|
|
2000
2272
|
};
|
|
2001
2273
|
}
|
|
@@ -2003,6 +2275,7 @@ export class QueryMailAddressByParamResponse extends $tea.Model {
|
|
|
2003
2275
|
static types(): { [key: string]: any } {
|
|
2004
2276
|
return {
|
|
2005
2277
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2278
|
+
statusCode: 'number',
|
|
2006
2279
|
body: QueryMailAddressByParamResponseBody,
|
|
2007
2280
|
};
|
|
2008
2281
|
}
|
|
@@ -2082,10 +2355,12 @@ export class QueryReceiverByParamResponseBody extends $tea.Model {
|
|
|
2082
2355
|
|
|
2083
2356
|
export class QueryReceiverByParamResponse extends $tea.Model {
|
|
2084
2357
|
headers: { [key: string]: string };
|
|
2358
|
+
statusCode: number;
|
|
2085
2359
|
body: QueryReceiverByParamResponseBody;
|
|
2086
2360
|
static names(): { [key: string]: string } {
|
|
2087
2361
|
return {
|
|
2088
2362
|
headers: 'headers',
|
|
2363
|
+
statusCode: 'statusCode',
|
|
2089
2364
|
body: 'body',
|
|
2090
2365
|
};
|
|
2091
2366
|
}
|
|
@@ -2093,6 +2368,7 @@ export class QueryReceiverByParamResponse extends $tea.Model {
|
|
|
2093
2368
|
static types(): { [key: string]: any } {
|
|
2094
2369
|
return {
|
|
2095
2370
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2371
|
+
statusCode: 'number',
|
|
2096
2372
|
body: QueryReceiverByParamResponseBody,
|
|
2097
2373
|
};
|
|
2098
2374
|
}
|
|
@@ -2172,10 +2448,12 @@ export class QueryReceiverDetailResponseBody extends $tea.Model {
|
|
|
2172
2448
|
|
|
2173
2449
|
export class QueryReceiverDetailResponse extends $tea.Model {
|
|
2174
2450
|
headers: { [key: string]: string };
|
|
2451
|
+
statusCode: number;
|
|
2175
2452
|
body: QueryReceiverDetailResponseBody;
|
|
2176
2453
|
static names(): { [key: string]: string } {
|
|
2177
2454
|
return {
|
|
2178
2455
|
headers: 'headers',
|
|
2456
|
+
statusCode: 'statusCode',
|
|
2179
2457
|
body: 'body',
|
|
2180
2458
|
};
|
|
2181
2459
|
}
|
|
@@ -2183,6 +2461,7 @@ export class QueryReceiverDetailResponse extends $tea.Model {
|
|
|
2183
2461
|
static types(): { [key: string]: any } {
|
|
2184
2462
|
return {
|
|
2185
2463
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2464
|
+
statusCode: 'number',
|
|
2186
2465
|
body: QueryReceiverDetailResponseBody,
|
|
2187
2466
|
};
|
|
2188
2467
|
}
|
|
@@ -2259,10 +2538,12 @@ export class QueryTagByParamResponseBody extends $tea.Model {
|
|
|
2259
2538
|
|
|
2260
2539
|
export class QueryTagByParamResponse extends $tea.Model {
|
|
2261
2540
|
headers: { [key: string]: string };
|
|
2541
|
+
statusCode: number;
|
|
2262
2542
|
body: QueryTagByParamResponseBody;
|
|
2263
2543
|
static names(): { [key: string]: string } {
|
|
2264
2544
|
return {
|
|
2265
2545
|
headers: 'headers',
|
|
2546
|
+
statusCode: 'statusCode',
|
|
2266
2547
|
body: 'body',
|
|
2267
2548
|
};
|
|
2268
2549
|
}
|
|
@@ -2270,6 +2551,7 @@ export class QueryTagByParamResponse extends $tea.Model {
|
|
|
2270
2551
|
static types(): { [key: string]: any } {
|
|
2271
2552
|
return {
|
|
2272
2553
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2554
|
+
statusCode: 'number',
|
|
2273
2555
|
body: QueryTagByParamResponseBody,
|
|
2274
2556
|
};
|
|
2275
2557
|
}
|
|
@@ -2349,10 +2631,12 @@ export class QueryTaskByParamResponseBody extends $tea.Model {
|
|
|
2349
2631
|
|
|
2350
2632
|
export class QueryTaskByParamResponse extends $tea.Model {
|
|
2351
2633
|
headers: { [key: string]: string };
|
|
2634
|
+
statusCode: number;
|
|
2352
2635
|
body: QueryTaskByParamResponseBody;
|
|
2353
2636
|
static names(): { [key: string]: string } {
|
|
2354
2637
|
return {
|
|
2355
2638
|
headers: 'headers',
|
|
2639
|
+
statusCode: 'statusCode',
|
|
2356
2640
|
body: 'body',
|
|
2357
2641
|
};
|
|
2358
2642
|
}
|
|
@@ -2360,6 +2644,7 @@ export class QueryTaskByParamResponse extends $tea.Model {
|
|
|
2360
2644
|
static types(): { [key: string]: any } {
|
|
2361
2645
|
return {
|
|
2362
2646
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2647
|
+
statusCode: 'number',
|
|
2363
2648
|
body: QueryTaskByParamResponseBody,
|
|
2364
2649
|
};
|
|
2365
2650
|
}
|
|
@@ -2430,10 +2715,12 @@ export class SaveReceiverDetailResponseBody extends $tea.Model {
|
|
|
2430
2715
|
|
|
2431
2716
|
export class SaveReceiverDetailResponse extends $tea.Model {
|
|
2432
2717
|
headers: { [key: string]: string };
|
|
2718
|
+
statusCode: number;
|
|
2433
2719
|
body: SaveReceiverDetailResponseBody;
|
|
2434
2720
|
static names(): { [key: string]: string } {
|
|
2435
2721
|
return {
|
|
2436
2722
|
headers: 'headers',
|
|
2723
|
+
statusCode: 'statusCode',
|
|
2437
2724
|
body: 'body',
|
|
2438
2725
|
};
|
|
2439
2726
|
}
|
|
@@ -2441,6 +2728,7 @@ export class SaveReceiverDetailResponse extends $tea.Model {
|
|
|
2441
2728
|
static types(): { [key: string]: any } {
|
|
2442
2729
|
return {
|
|
2443
2730
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2731
|
+
statusCode: 'number',
|
|
2444
2732
|
body: SaveReceiverDetailResponseBody,
|
|
2445
2733
|
};
|
|
2446
2734
|
}
|
|
@@ -2520,10 +2808,12 @@ export class SendTestByTemplateResponseBody extends $tea.Model {
|
|
|
2520
2808
|
|
|
2521
2809
|
export class SendTestByTemplateResponse extends $tea.Model {
|
|
2522
2810
|
headers: { [key: string]: string };
|
|
2811
|
+
statusCode: number;
|
|
2523
2812
|
body: SendTestByTemplateResponseBody;
|
|
2524
2813
|
static names(): { [key: string]: string } {
|
|
2525
2814
|
return {
|
|
2526
2815
|
headers: 'headers',
|
|
2816
|
+
statusCode: 'statusCode',
|
|
2527
2817
|
body: 'body',
|
|
2528
2818
|
};
|
|
2529
2819
|
}
|
|
@@ -2531,6 +2821,7 @@ export class SendTestByTemplateResponse extends $tea.Model {
|
|
|
2531
2821
|
static types(): { [key: string]: any } {
|
|
2532
2822
|
return {
|
|
2533
2823
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2824
|
+
statusCode: 'number',
|
|
2534
2825
|
body: SendTestByTemplateResponseBody,
|
|
2535
2826
|
};
|
|
2536
2827
|
}
|
|
@@ -2604,10 +2895,12 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBody extends $tea.Model
|
|
|
2604
2895
|
|
|
2605
2896
|
export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
|
|
2606
2897
|
headers: { [key: string]: string };
|
|
2898
|
+
statusCode: number;
|
|
2607
2899
|
body: SenderStatisticsByTagNameAndBatchIDResponseBody;
|
|
2608
2900
|
static names(): { [key: string]: string } {
|
|
2609
2901
|
return {
|
|
2610
2902
|
headers: 'headers',
|
|
2903
|
+
statusCode: 'statusCode',
|
|
2611
2904
|
body: 'body',
|
|
2612
2905
|
};
|
|
2613
2906
|
}
|
|
@@ -2615,6 +2908,7 @@ export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
|
|
|
2615
2908
|
static types(): { [key: string]: any } {
|
|
2616
2909
|
return {
|
|
2617
2910
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2911
|
+
statusCode: 'number',
|
|
2618
2912
|
body: SenderStatisticsByTagNameAndBatchIDResponseBody,
|
|
2619
2913
|
};
|
|
2620
2914
|
}
|
|
@@ -2674,7 +2968,7 @@ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
|
2674
2968
|
}
|
|
2675
2969
|
|
|
2676
2970
|
export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
|
|
2677
|
-
nextStart?:
|
|
2971
|
+
nextStart?: string;
|
|
2678
2972
|
requestId?: string;
|
|
2679
2973
|
data?: SenderStatisticsDetailByParamResponseBodyData;
|
|
2680
2974
|
static names(): { [key: string]: string } {
|
|
@@ -2687,7 +2981,7 @@ export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
|
|
|
2687
2981
|
|
|
2688
2982
|
static types(): { [key: string]: any } {
|
|
2689
2983
|
return {
|
|
2690
|
-
nextStart: '
|
|
2984
|
+
nextStart: 'string',
|
|
2691
2985
|
requestId: 'string',
|
|
2692
2986
|
data: SenderStatisticsDetailByParamResponseBodyData,
|
|
2693
2987
|
};
|
|
@@ -2700,10 +2994,12 @@ export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
|
|
|
2700
2994
|
|
|
2701
2995
|
export class SenderStatisticsDetailByParamResponse extends $tea.Model {
|
|
2702
2996
|
headers: { [key: string]: string };
|
|
2997
|
+
statusCode: number;
|
|
2703
2998
|
body: SenderStatisticsDetailByParamResponseBody;
|
|
2704
2999
|
static names(): { [key: string]: string } {
|
|
2705
3000
|
return {
|
|
2706
3001
|
headers: 'headers',
|
|
3002
|
+
statusCode: 'statusCode',
|
|
2707
3003
|
body: 'body',
|
|
2708
3004
|
};
|
|
2709
3005
|
}
|
|
@@ -2711,6 +3007,7 @@ export class SenderStatisticsDetailByParamResponse extends $tea.Model {
|
|
|
2711
3007
|
static types(): { [key: string]: any } {
|
|
2712
3008
|
return {
|
|
2713
3009
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3010
|
+
statusCode: 'number',
|
|
2714
3011
|
body: SenderStatisticsDetailByParamResponseBody,
|
|
2715
3012
|
};
|
|
2716
3013
|
}
|
|
@@ -2805,10 +3102,12 @@ export class SingleSendMailResponseBody extends $tea.Model {
|
|
|
2805
3102
|
|
|
2806
3103
|
export class SingleSendMailResponse extends $tea.Model {
|
|
2807
3104
|
headers: { [key: string]: string };
|
|
3105
|
+
statusCode: number;
|
|
2808
3106
|
body: SingleSendMailResponseBody;
|
|
2809
3107
|
static names(): { [key: string]: string } {
|
|
2810
3108
|
return {
|
|
2811
3109
|
headers: 'headers',
|
|
3110
|
+
statusCode: 'statusCode',
|
|
2812
3111
|
body: 'body',
|
|
2813
3112
|
};
|
|
2814
3113
|
}
|
|
@@ -2816,6 +3115,7 @@ export class SingleSendMailResponse extends $tea.Model {
|
|
|
2816
3115
|
static types(): { [key: string]: any } {
|
|
2817
3116
|
return {
|
|
2818
3117
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3118
|
+
statusCode: 'number',
|
|
2819
3119
|
body: SingleSendMailResponseBody,
|
|
2820
3120
|
};
|
|
2821
3121
|
}
|
|
@@ -2825,6 +3125,78 @@ export class SingleSendMailResponse extends $tea.Model {
|
|
|
2825
3125
|
}
|
|
2826
3126
|
}
|
|
2827
3127
|
|
|
3128
|
+
export class UpdateIpProtectionRequest extends $tea.Model {
|
|
3129
|
+
ipProtection?: string;
|
|
3130
|
+
ownerId?: number;
|
|
3131
|
+
resourceOwnerAccount?: string;
|
|
3132
|
+
resourceOwnerId?: number;
|
|
3133
|
+
static names(): { [key: string]: string } {
|
|
3134
|
+
return {
|
|
3135
|
+
ipProtection: 'IpProtection',
|
|
3136
|
+
ownerId: 'OwnerId',
|
|
3137
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3138
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3139
|
+
};
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
static types(): { [key: string]: any } {
|
|
3143
|
+
return {
|
|
3144
|
+
ipProtection: 'string',
|
|
3145
|
+
ownerId: 'number',
|
|
3146
|
+
resourceOwnerAccount: 'string',
|
|
3147
|
+
resourceOwnerId: 'number',
|
|
3148
|
+
};
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
constructor(map?: { [key: string]: any }) {
|
|
3152
|
+
super(map);
|
|
3153
|
+
}
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
export class UpdateIpProtectionResponseBody extends $tea.Model {
|
|
3157
|
+
requestId?: string;
|
|
3158
|
+
static names(): { [key: string]: string } {
|
|
3159
|
+
return {
|
|
3160
|
+
requestId: 'RequestId',
|
|
3161
|
+
};
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
static types(): { [key: string]: any } {
|
|
3165
|
+
return {
|
|
3166
|
+
requestId: 'string',
|
|
3167
|
+
};
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
constructor(map?: { [key: string]: any }) {
|
|
3171
|
+
super(map);
|
|
3172
|
+
}
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
export class UpdateIpProtectionResponse extends $tea.Model {
|
|
3176
|
+
headers: { [key: string]: string };
|
|
3177
|
+
statusCode: number;
|
|
3178
|
+
body: UpdateIpProtectionResponseBody;
|
|
3179
|
+
static names(): { [key: string]: string } {
|
|
3180
|
+
return {
|
|
3181
|
+
headers: 'headers',
|
|
3182
|
+
statusCode: 'statusCode',
|
|
3183
|
+
body: 'body',
|
|
3184
|
+
};
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
static types(): { [key: string]: any } {
|
|
3188
|
+
return {
|
|
3189
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3190
|
+
statusCode: 'number',
|
|
3191
|
+
body: UpdateIpProtectionResponseBody,
|
|
3192
|
+
};
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
constructor(map?: { [key: string]: any }) {
|
|
3196
|
+
super(map);
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
|
|
2828
3200
|
export class UpdateMailAddressMsgCallBackUrlRequest extends $tea.Model {
|
|
2829
3201
|
mailFrom?: string;
|
|
2830
3202
|
notifyUrl?: string;
|
|
@@ -2877,10 +3249,12 @@ export class UpdateMailAddressMsgCallBackUrlResponseBody extends $tea.Model {
|
|
|
2877
3249
|
|
|
2878
3250
|
export class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
2879
3251
|
headers: { [key: string]: string };
|
|
3252
|
+
statusCode: number;
|
|
2880
3253
|
body: UpdateMailAddressMsgCallBackUrlResponseBody;
|
|
2881
3254
|
static names(): { [key: string]: string } {
|
|
2882
3255
|
return {
|
|
2883
3256
|
headers: 'headers',
|
|
3257
|
+
statusCode: 'statusCode',
|
|
2884
3258
|
body: 'body',
|
|
2885
3259
|
};
|
|
2886
3260
|
}
|
|
@@ -2888,6 +3262,7 @@ export class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
|
2888
3262
|
static types(): { [key: string]: any } {
|
|
2889
3263
|
return {
|
|
2890
3264
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3265
|
+
statusCode: 'number',
|
|
2891
3266
|
body: UpdateMailAddressMsgCallBackUrlResponseBody,
|
|
2892
3267
|
};
|
|
2893
3268
|
}
|
|
@@ -2897,20 +3272,23 @@ export class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
|
2897
3272
|
}
|
|
2898
3273
|
}
|
|
2899
3274
|
|
|
2900
|
-
export class
|
|
2901
|
-
|
|
2902
|
-
|
|
3275
|
+
export class GetIpfilterListResponseBodyDataIpfilters extends $tea.Model {
|
|
3276
|
+
createTime?: string;
|
|
3277
|
+
id?: string;
|
|
3278
|
+
ipAddress?: string;
|
|
2903
3279
|
static names(): { [key: string]: string } {
|
|
2904
3280
|
return {
|
|
2905
|
-
|
|
2906
|
-
|
|
3281
|
+
createTime: 'CreateTime',
|
|
3282
|
+
id: 'Id',
|
|
3283
|
+
ipAddress: 'IpAddress',
|
|
2907
3284
|
};
|
|
2908
3285
|
}
|
|
2909
3286
|
|
|
2910
3287
|
static types(): { [key: string]: any } {
|
|
2911
3288
|
return {
|
|
2912
|
-
|
|
2913
|
-
|
|
3289
|
+
createTime: 'string',
|
|
3290
|
+
id: 'string',
|
|
3291
|
+
ipAddress: 'string',
|
|
2914
3292
|
};
|
|
2915
3293
|
}
|
|
2916
3294
|
|
|
@@ -2919,17 +3297,17 @@ export class GetRegionListResponseBodyDataRegionList extends $tea.Model {
|
|
|
2919
3297
|
}
|
|
2920
3298
|
}
|
|
2921
3299
|
|
|
2922
|
-
export class
|
|
2923
|
-
|
|
3300
|
+
export class GetIpfilterListResponseBodyData extends $tea.Model {
|
|
3301
|
+
ipfilters?: GetIpfilterListResponseBodyDataIpfilters[];
|
|
2924
3302
|
static names(): { [key: string]: string } {
|
|
2925
3303
|
return {
|
|
2926
|
-
|
|
3304
|
+
ipfilters: 'ipfilters',
|
|
2927
3305
|
};
|
|
2928
3306
|
}
|
|
2929
3307
|
|
|
2930
3308
|
static types(): { [key: string]: any } {
|
|
2931
3309
|
return {
|
|
2932
|
-
|
|
3310
|
+
ipfilters: { 'type': 'array', 'itemType': GetIpfilterListResponseBodyDataIpfilters },
|
|
2933
3311
|
};
|
|
2934
3312
|
}
|
|
2935
3313
|
|
|
@@ -3630,6 +4008,47 @@ export default class Client extends OpenApi {
|
|
|
3630
4008
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3631
4009
|
}
|
|
3632
4010
|
|
|
4011
|
+
async addIpfilterWithOptions(request: AddIpfilterRequest, runtime: $Util.RuntimeOptions): Promise<AddIpfilterResponse> {
|
|
4012
|
+
Util.validateModel(request);
|
|
4013
|
+
let query = { };
|
|
4014
|
+
if (!Util.isUnset(request.ipAddress)) {
|
|
4015
|
+
query["IpAddress"] = request.ipAddress;
|
|
4016
|
+
}
|
|
4017
|
+
|
|
4018
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
4019
|
+
query["OwnerId"] = request.ownerId;
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4023
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4026
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4027
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4031
|
+
query: OpenApiUtil.query(query),
|
|
4032
|
+
});
|
|
4033
|
+
let params = new $OpenApi.Params({
|
|
4034
|
+
action: "AddIpfilter",
|
|
4035
|
+
version: "2015-11-23",
|
|
4036
|
+
protocol: "HTTPS",
|
|
4037
|
+
pathname: "/",
|
|
4038
|
+
method: "POST",
|
|
4039
|
+
authType: "AK",
|
|
4040
|
+
style: "RPC",
|
|
4041
|
+
reqBodyType: "formData",
|
|
4042
|
+
bodyType: "json",
|
|
4043
|
+
});
|
|
4044
|
+
return $tea.cast<AddIpfilterResponse>(await this.callApi(params, req, runtime), new AddIpfilterResponse({}));
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
async addIpfilter(request: AddIpfilterRequest): Promise<AddIpfilterResponse> {
|
|
4048
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4049
|
+
return await this.addIpfilterWithOptions(request, runtime);
|
|
4050
|
+
}
|
|
4051
|
+
|
|
3633
4052
|
async approveReplyMailAddressWithOptions(request: ApproveReplyMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<ApproveReplyMailAddressResponse> {
|
|
3634
4053
|
Util.validateModel(request);
|
|
3635
4054
|
let query = { };
|
|
@@ -4051,6 +4470,51 @@ export default class Client extends OpenApi {
|
|
|
4051
4470
|
return await this.deleteDomainWithOptions(request, runtime);
|
|
4052
4471
|
}
|
|
4053
4472
|
|
|
4473
|
+
async deleteIpfilterByEdmIdWithOptions(request: DeleteIpfilterByEdmIdRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpfilterByEdmIdResponse> {
|
|
4474
|
+
Util.validateModel(request);
|
|
4475
|
+
let query = { };
|
|
4476
|
+
if (!Util.isUnset(request.fromType)) {
|
|
4477
|
+
query["FromType"] = request.fromType;
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
if (!Util.isUnset(request.id)) {
|
|
4481
|
+
query["Id"] = request.id;
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4484
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
4485
|
+
query["OwnerId"] = request.ownerId;
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4488
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4489
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4490
|
+
}
|
|
4491
|
+
|
|
4492
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4493
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4496
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4497
|
+
query: OpenApiUtil.query(query),
|
|
4498
|
+
});
|
|
4499
|
+
let params = new $OpenApi.Params({
|
|
4500
|
+
action: "DeleteIpfilterByEdmId",
|
|
4501
|
+
version: "2015-11-23",
|
|
4502
|
+
protocol: "HTTPS",
|
|
4503
|
+
pathname: "/",
|
|
4504
|
+
method: "POST",
|
|
4505
|
+
authType: "AK",
|
|
4506
|
+
style: "RPC",
|
|
4507
|
+
reqBodyType: "formData",
|
|
4508
|
+
bodyType: "json",
|
|
4509
|
+
});
|
|
4510
|
+
return $tea.cast<DeleteIpfilterByEdmIdResponse>(await this.callApi(params, req, runtime), new DeleteIpfilterByEdmIdResponse({}));
|
|
4511
|
+
}
|
|
4512
|
+
|
|
4513
|
+
async deleteIpfilterByEdmId(request: DeleteIpfilterByEdmIdRequest): Promise<DeleteIpfilterByEdmIdResponse> {
|
|
4514
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4515
|
+
return await this.deleteIpfilterByEdmIdWithOptions(request, runtime);
|
|
4516
|
+
}
|
|
4517
|
+
|
|
4054
4518
|
async deleteMailAddressWithOptions(request: DeleteMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMailAddressResponse> {
|
|
4055
4519
|
Util.validateModel(request);
|
|
4056
4520
|
let query = { };
|
|
@@ -4297,31 +4761,48 @@ export default class Client extends OpenApi {
|
|
|
4297
4761
|
return await this.descDomainWithOptions(request, runtime);
|
|
4298
4762
|
}
|
|
4299
4763
|
|
|
4300
|
-
async
|
|
4764
|
+
async getIpProtectionWithOptions(request: GetIpProtectionRequest, runtime: $Util.RuntimeOptions): Promise<GetIpProtectionResponse> {
|
|
4301
4765
|
Util.validateModel(request);
|
|
4302
4766
|
let query = { };
|
|
4303
|
-
if (!Util.isUnset(request.
|
|
4304
|
-
query["
|
|
4767
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
4768
|
+
query["OwnerId"] = request.ownerId;
|
|
4305
4769
|
}
|
|
4306
4770
|
|
|
4307
|
-
if (!Util.isUnset(request.
|
|
4308
|
-
query["
|
|
4771
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4772
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4309
4773
|
}
|
|
4310
4774
|
|
|
4311
|
-
if (!Util.isUnset(request.
|
|
4312
|
-
query["
|
|
4775
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4776
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4313
4777
|
}
|
|
4314
4778
|
|
|
4315
|
-
|
|
4316
|
-
query
|
|
4317
|
-
}
|
|
4779
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4780
|
+
query: OpenApiUtil.query(query),
|
|
4781
|
+
});
|
|
4782
|
+
let params = new $OpenApi.Params({
|
|
4783
|
+
action: "GetIpProtection",
|
|
4784
|
+
version: "2015-11-23",
|
|
4785
|
+
protocol: "HTTPS",
|
|
4786
|
+
pathname: "/",
|
|
4787
|
+
method: "POST",
|
|
4788
|
+
authType: "AK",
|
|
4789
|
+
style: "RPC",
|
|
4790
|
+
reqBodyType: "formData",
|
|
4791
|
+
bodyType: "json",
|
|
4792
|
+
});
|
|
4793
|
+
return $tea.cast<GetIpProtectionResponse>(await this.callApi(params, req, runtime), new GetIpProtectionResponse({}));
|
|
4794
|
+
}
|
|
4318
4795
|
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4796
|
+
async getIpProtection(request: GetIpProtectionRequest): Promise<GetIpProtectionResponse> {
|
|
4797
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4798
|
+
return await this.getIpProtectionWithOptions(request, runtime);
|
|
4799
|
+
}
|
|
4322
4800
|
|
|
4323
|
-
|
|
4324
|
-
|
|
4801
|
+
async getIpfilterListWithOptions(request: GetIpfilterListRequest, runtime: $Util.RuntimeOptions): Promise<GetIpfilterListResponse> {
|
|
4802
|
+
Util.validateModel(request);
|
|
4803
|
+
let query = { };
|
|
4804
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
4805
|
+
query["OwnerId"] = request.ownerId;
|
|
4325
4806
|
}
|
|
4326
4807
|
|
|
4327
4808
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
@@ -4332,15 +4813,11 @@ export default class Client extends OpenApi {
|
|
|
4332
4813
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4333
4814
|
}
|
|
4334
4815
|
|
|
4335
|
-
if (!Util.isUnset(request.total)) {
|
|
4336
|
-
query["Total"] = request.total;
|
|
4337
|
-
}
|
|
4338
|
-
|
|
4339
4816
|
let req = new $OpenApi.OpenApiRequest({
|
|
4340
4817
|
query: OpenApiUtil.query(query),
|
|
4341
4818
|
});
|
|
4342
4819
|
let params = new $OpenApi.Params({
|
|
4343
|
-
action: "
|
|
4820
|
+
action: "GetIpfilterList",
|
|
4344
4821
|
version: "2015-11-23",
|
|
4345
4822
|
protocol: "HTTPS",
|
|
4346
4823
|
pathname: "/",
|
|
@@ -4350,12 +4827,12 @@ export default class Client extends OpenApi {
|
|
|
4350
4827
|
reqBodyType: "formData",
|
|
4351
4828
|
bodyType: "json",
|
|
4352
4829
|
});
|
|
4353
|
-
return $tea.cast<
|
|
4830
|
+
return $tea.cast<GetIpfilterListResponse>(await this.callApi(params, req, runtime), new GetIpfilterListResponse({}));
|
|
4354
4831
|
}
|
|
4355
4832
|
|
|
4356
|
-
async
|
|
4833
|
+
async getIpfilterList(request: GetIpfilterListRequest): Promise<GetIpfilterListResponse> {
|
|
4357
4834
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4358
|
-
return await this.
|
|
4835
|
+
return await this.getIpfilterListWithOptions(request, runtime);
|
|
4359
4836
|
}
|
|
4360
4837
|
|
|
4361
4838
|
async getTrackListWithOptions(request: GetTrackListRequest, runtime: $Util.RuntimeOptions): Promise<GetTrackListResponse> {
|
|
@@ -5327,6 +5804,47 @@ export default class Client extends OpenApi {
|
|
|
5327
5804
|
return await this.singleSendMailWithOptions(request, runtime);
|
|
5328
5805
|
}
|
|
5329
5806
|
|
|
5807
|
+
async updateIpProtectionWithOptions(request: UpdateIpProtectionRequest, runtime: $Util.RuntimeOptions): Promise<UpdateIpProtectionResponse> {
|
|
5808
|
+
Util.validateModel(request);
|
|
5809
|
+
let query = { };
|
|
5810
|
+
if (!Util.isUnset(request.ipProtection)) {
|
|
5811
|
+
query["IpProtection"] = request.ipProtection;
|
|
5812
|
+
}
|
|
5813
|
+
|
|
5814
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
5815
|
+
query["OwnerId"] = request.ownerId;
|
|
5816
|
+
}
|
|
5817
|
+
|
|
5818
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
5819
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
5823
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5824
|
+
}
|
|
5825
|
+
|
|
5826
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5827
|
+
query: OpenApiUtil.query(query),
|
|
5828
|
+
});
|
|
5829
|
+
let params = new $OpenApi.Params({
|
|
5830
|
+
action: "UpdateIpProtection",
|
|
5831
|
+
version: "2015-11-23",
|
|
5832
|
+
protocol: "HTTPS",
|
|
5833
|
+
pathname: "/",
|
|
5834
|
+
method: "POST",
|
|
5835
|
+
authType: "AK",
|
|
5836
|
+
style: "RPC",
|
|
5837
|
+
reqBodyType: "formData",
|
|
5838
|
+
bodyType: "json",
|
|
5839
|
+
});
|
|
5840
|
+
return $tea.cast<UpdateIpProtectionResponse>(await this.callApi(params, req, runtime), new UpdateIpProtectionResponse({}));
|
|
5841
|
+
}
|
|
5842
|
+
|
|
5843
|
+
async updateIpProtection(request: UpdateIpProtectionRequest): Promise<UpdateIpProtectionResponse> {
|
|
5844
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5845
|
+
return await this.updateIpProtectionWithOptions(request, runtime);
|
|
5846
|
+
}
|
|
5847
|
+
|
|
5330
5848
|
async updateMailAddressMsgCallBackUrlWithOptions(request: UpdateMailAddressMsgCallBackUrlRequest, runtime: $Util.RuntimeOptions): Promise<UpdateMailAddressMsgCallBackUrlResponse> {
|
|
5331
5849
|
Util.validateModel(request);
|
|
5332
5850
|
let query = { };
|