@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/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,6 +1394,159 @@ export class DescDomainResponse extends $tea.Model {
|
|
|
1202
1394
|
}
|
|
1203
1395
|
}
|
|
1204
1396
|
|
|
1397
|
+
export class GetIpProtectionRequest extends $tea.Model {
|
|
1398
|
+
ownerId?: number;
|
|
1399
|
+
resourceOwnerAccount?: string;
|
|
1400
|
+
resourceOwnerId?: number;
|
|
1401
|
+
static names(): { [key: string]: string } {
|
|
1402
|
+
return {
|
|
1403
|
+
ownerId: 'OwnerId',
|
|
1404
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1405
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
static types(): { [key: string]: any } {
|
|
1410
|
+
return {
|
|
1411
|
+
ownerId: 'number',
|
|
1412
|
+
resourceOwnerAccount: 'string',
|
|
1413
|
+
resourceOwnerId: 'number',
|
|
1414
|
+
};
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
constructor(map?: { [key: string]: any }) {
|
|
1418
|
+
super(map);
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
|
|
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;
|
|
1496
|
+
pageSize?: number;
|
|
1497
|
+
requestId?: string;
|
|
1498
|
+
totalCount?: number;
|
|
1499
|
+
data?: GetIpfilterListResponseBodyData;
|
|
1500
|
+
static names(): { [key: string]: string } {
|
|
1501
|
+
return {
|
|
1502
|
+
pageNumber: 'PageNumber',
|
|
1503
|
+
pageSize: 'PageSize',
|
|
1504
|
+
requestId: 'RequestId',
|
|
1505
|
+
totalCount: 'TotalCount',
|
|
1506
|
+
data: 'data',
|
|
1507
|
+
};
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
static types(): { [key: string]: any } {
|
|
1511
|
+
return {
|
|
1512
|
+
pageNumber: 'number',
|
|
1513
|
+
pageSize: 'number',
|
|
1514
|
+
requestId: 'string',
|
|
1515
|
+
totalCount: 'number',
|
|
1516
|
+
data: GetIpfilterListResponseBodyData,
|
|
1517
|
+
};
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
constructor(map?: { [key: string]: any }) {
|
|
1521
|
+
super(map);
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
export class GetIpfilterListResponse extends $tea.Model {
|
|
1526
|
+
headers: { [key: string]: string };
|
|
1527
|
+
statusCode: number;
|
|
1528
|
+
body: GetIpfilterListResponseBody;
|
|
1529
|
+
static names(): { [key: string]: string } {
|
|
1530
|
+
return {
|
|
1531
|
+
headers: 'headers',
|
|
1532
|
+
statusCode: 'statusCode',
|
|
1533
|
+
body: 'body',
|
|
1534
|
+
};
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
static types(): { [key: string]: any } {
|
|
1538
|
+
return {
|
|
1539
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1540
|
+
statusCode: 'number',
|
|
1541
|
+
body: GetIpfilterListResponseBody,
|
|
1542
|
+
};
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
constructor(map?: { [key: string]: any }) {
|
|
1546
|
+
super(map);
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1205
1550
|
export class GetTrackListRequest extends $tea.Model {
|
|
1206
1551
|
endTime?: string;
|
|
1207
1552
|
offset?: string;
|
|
@@ -1290,10 +1635,12 @@ export class GetTrackListResponseBody extends $tea.Model {
|
|
|
1290
1635
|
|
|
1291
1636
|
export class GetTrackListResponse extends $tea.Model {
|
|
1292
1637
|
headers: { [key: string]: string };
|
|
1638
|
+
statusCode: number;
|
|
1293
1639
|
body: GetTrackListResponseBody;
|
|
1294
1640
|
static names(): { [key: string]: string } {
|
|
1295
1641
|
return {
|
|
1296
1642
|
headers: 'headers',
|
|
1643
|
+
statusCode: 'statusCode',
|
|
1297
1644
|
body: 'body',
|
|
1298
1645
|
};
|
|
1299
1646
|
}
|
|
@@ -1301,6 +1648,7 @@ export class GetTrackListResponse extends $tea.Model {
|
|
|
1301
1648
|
static types(): { [key: string]: any } {
|
|
1302
1649
|
return {
|
|
1303
1650
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1651
|
+
statusCode: 'number',
|
|
1304
1652
|
body: GetTrackListResponseBody,
|
|
1305
1653
|
};
|
|
1306
1654
|
}
|
|
@@ -1404,10 +1752,12 @@ export class GetTrackListByMailFromAndTagNameResponseBody extends $tea.Model {
|
|
|
1404
1752
|
|
|
1405
1753
|
export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
|
|
1406
1754
|
headers: { [key: string]: string };
|
|
1755
|
+
statusCode: number;
|
|
1407
1756
|
body: GetTrackListByMailFromAndTagNameResponseBody;
|
|
1408
1757
|
static names(): { [key: string]: string } {
|
|
1409
1758
|
return {
|
|
1410
1759
|
headers: 'headers',
|
|
1760
|
+
statusCode: 'statusCode',
|
|
1411
1761
|
body: 'body',
|
|
1412
1762
|
};
|
|
1413
1763
|
}
|
|
@@ -1415,6 +1765,7 @@ export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
|
|
|
1415
1765
|
static types(): { [key: string]: any } {
|
|
1416
1766
|
return {
|
|
1417
1767
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1768
|
+
statusCode: 'number',
|
|
1418
1769
|
body: GetTrackListByMailFromAndTagNameResponseBody,
|
|
1419
1770
|
};
|
|
1420
1771
|
}
|
|
@@ -1479,10 +1830,12 @@ export class ModifyMailAddressResponseBody extends $tea.Model {
|
|
|
1479
1830
|
|
|
1480
1831
|
export class ModifyMailAddressResponse extends $tea.Model {
|
|
1481
1832
|
headers: { [key: string]: string };
|
|
1833
|
+
statusCode: number;
|
|
1482
1834
|
body: ModifyMailAddressResponseBody;
|
|
1483
1835
|
static names(): { [key: string]: string } {
|
|
1484
1836
|
return {
|
|
1485
1837
|
headers: 'headers',
|
|
1838
|
+
statusCode: 'statusCode',
|
|
1486
1839
|
body: 'body',
|
|
1487
1840
|
};
|
|
1488
1841
|
}
|
|
@@ -1490,6 +1843,7 @@ export class ModifyMailAddressResponse extends $tea.Model {
|
|
|
1490
1843
|
static types(): { [key: string]: any } {
|
|
1491
1844
|
return {
|
|
1492
1845
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1846
|
+
statusCode: 'number',
|
|
1493
1847
|
body: ModifyMailAddressResponseBody,
|
|
1494
1848
|
};
|
|
1495
1849
|
}
|
|
@@ -1554,10 +1908,12 @@ export class ModifyPWByDomainResponseBody extends $tea.Model {
|
|
|
1554
1908
|
|
|
1555
1909
|
export class ModifyPWByDomainResponse extends $tea.Model {
|
|
1556
1910
|
headers: { [key: string]: string };
|
|
1911
|
+
statusCode: number;
|
|
1557
1912
|
body: ModifyPWByDomainResponseBody;
|
|
1558
1913
|
static names(): { [key: string]: string } {
|
|
1559
1914
|
return {
|
|
1560
1915
|
headers: 'headers',
|
|
1916
|
+
statusCode: 'statusCode',
|
|
1561
1917
|
body: 'body',
|
|
1562
1918
|
};
|
|
1563
1919
|
}
|
|
@@ -1565,6 +1921,7 @@ export class ModifyPWByDomainResponse extends $tea.Model {
|
|
|
1565
1921
|
static types(): { [key: string]: any } {
|
|
1566
1922
|
return {
|
|
1567
1923
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1924
|
+
statusCode: 'number',
|
|
1568
1925
|
body: ModifyPWByDomainResponseBody,
|
|
1569
1926
|
};
|
|
1570
1927
|
}
|
|
@@ -1626,10 +1983,12 @@ export class ModifyTagResponseBody extends $tea.Model {
|
|
|
1626
1983
|
|
|
1627
1984
|
export class ModifyTagResponse extends $tea.Model {
|
|
1628
1985
|
headers: { [key: string]: string };
|
|
1986
|
+
statusCode: number;
|
|
1629
1987
|
body: ModifyTagResponseBody;
|
|
1630
1988
|
static names(): { [key: string]: string } {
|
|
1631
1989
|
return {
|
|
1632
1990
|
headers: 'headers',
|
|
1991
|
+
statusCode: 'statusCode',
|
|
1633
1992
|
body: 'body',
|
|
1634
1993
|
};
|
|
1635
1994
|
}
|
|
@@ -1637,6 +1996,7 @@ export class ModifyTagResponse extends $tea.Model {
|
|
|
1637
1996
|
static types(): { [key: string]: any } {
|
|
1638
1997
|
return {
|
|
1639
1998
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1999
|
+
statusCode: 'number',
|
|
1640
2000
|
body: ModifyTagResponseBody,
|
|
1641
2001
|
};
|
|
1642
2002
|
}
|
|
@@ -1716,10 +2076,12 @@ export class QueryDomainByParamResponseBody extends $tea.Model {
|
|
|
1716
2076
|
|
|
1717
2077
|
export class QueryDomainByParamResponse extends $tea.Model {
|
|
1718
2078
|
headers: { [key: string]: string };
|
|
2079
|
+
statusCode: number;
|
|
1719
2080
|
body: QueryDomainByParamResponseBody;
|
|
1720
2081
|
static names(): { [key: string]: string } {
|
|
1721
2082
|
return {
|
|
1722
2083
|
headers: 'headers',
|
|
2084
|
+
statusCode: 'statusCode',
|
|
1723
2085
|
body: 'body',
|
|
1724
2086
|
};
|
|
1725
2087
|
}
|
|
@@ -1727,6 +2089,7 @@ export class QueryDomainByParamResponse extends $tea.Model {
|
|
|
1727
2089
|
static types(): { [key: string]: any } {
|
|
1728
2090
|
return {
|
|
1729
2091
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2092
|
+
statusCode: 'number',
|
|
1730
2093
|
body: QueryDomainByParamResponseBody,
|
|
1731
2094
|
};
|
|
1732
2095
|
}
|
|
@@ -1806,10 +2169,12 @@ export class QueryInvalidAddressResponseBody extends $tea.Model {
|
|
|
1806
2169
|
|
|
1807
2170
|
export class QueryInvalidAddressResponse extends $tea.Model {
|
|
1808
2171
|
headers: { [key: string]: string };
|
|
2172
|
+
statusCode: number;
|
|
1809
2173
|
body: QueryInvalidAddressResponseBody;
|
|
1810
2174
|
static names(): { [key: string]: string } {
|
|
1811
2175
|
return {
|
|
1812
2176
|
headers: 'headers',
|
|
2177
|
+
statusCode: 'statusCode',
|
|
1813
2178
|
body: 'body',
|
|
1814
2179
|
};
|
|
1815
2180
|
}
|
|
@@ -1817,6 +2182,7 @@ export class QueryInvalidAddressResponse extends $tea.Model {
|
|
|
1817
2182
|
static types(): { [key: string]: any } {
|
|
1818
2183
|
return {
|
|
1819
2184
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2185
|
+
statusCode: 'number',
|
|
1820
2186
|
body: QueryInvalidAddressResponseBody,
|
|
1821
2187
|
};
|
|
1822
2188
|
}
|
|
@@ -1896,10 +2262,12 @@ export class QueryMailAddressByParamResponseBody extends $tea.Model {
|
|
|
1896
2262
|
|
|
1897
2263
|
export class QueryMailAddressByParamResponse extends $tea.Model {
|
|
1898
2264
|
headers: { [key: string]: string };
|
|
2265
|
+
statusCode: number;
|
|
1899
2266
|
body: QueryMailAddressByParamResponseBody;
|
|
1900
2267
|
static names(): { [key: string]: string } {
|
|
1901
2268
|
return {
|
|
1902
2269
|
headers: 'headers',
|
|
2270
|
+
statusCode: 'statusCode',
|
|
1903
2271
|
body: 'body',
|
|
1904
2272
|
};
|
|
1905
2273
|
}
|
|
@@ -1907,6 +2275,7 @@ export class QueryMailAddressByParamResponse extends $tea.Model {
|
|
|
1907
2275
|
static types(): { [key: string]: any } {
|
|
1908
2276
|
return {
|
|
1909
2277
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2278
|
+
statusCode: 'number',
|
|
1910
2279
|
body: QueryMailAddressByParamResponseBody,
|
|
1911
2280
|
};
|
|
1912
2281
|
}
|
|
@@ -1986,10 +2355,12 @@ export class QueryReceiverByParamResponseBody extends $tea.Model {
|
|
|
1986
2355
|
|
|
1987
2356
|
export class QueryReceiverByParamResponse extends $tea.Model {
|
|
1988
2357
|
headers: { [key: string]: string };
|
|
2358
|
+
statusCode: number;
|
|
1989
2359
|
body: QueryReceiverByParamResponseBody;
|
|
1990
2360
|
static names(): { [key: string]: string } {
|
|
1991
2361
|
return {
|
|
1992
2362
|
headers: 'headers',
|
|
2363
|
+
statusCode: 'statusCode',
|
|
1993
2364
|
body: 'body',
|
|
1994
2365
|
};
|
|
1995
2366
|
}
|
|
@@ -1997,6 +2368,7 @@ export class QueryReceiverByParamResponse extends $tea.Model {
|
|
|
1997
2368
|
static types(): { [key: string]: any } {
|
|
1998
2369
|
return {
|
|
1999
2370
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2371
|
+
statusCode: 'number',
|
|
2000
2372
|
body: QueryReceiverByParamResponseBody,
|
|
2001
2373
|
};
|
|
2002
2374
|
}
|
|
@@ -2076,10 +2448,12 @@ export class QueryReceiverDetailResponseBody extends $tea.Model {
|
|
|
2076
2448
|
|
|
2077
2449
|
export class QueryReceiverDetailResponse extends $tea.Model {
|
|
2078
2450
|
headers: { [key: string]: string };
|
|
2451
|
+
statusCode: number;
|
|
2079
2452
|
body: QueryReceiverDetailResponseBody;
|
|
2080
2453
|
static names(): { [key: string]: string } {
|
|
2081
2454
|
return {
|
|
2082
2455
|
headers: 'headers',
|
|
2456
|
+
statusCode: 'statusCode',
|
|
2083
2457
|
body: 'body',
|
|
2084
2458
|
};
|
|
2085
2459
|
}
|
|
@@ -2087,6 +2461,7 @@ export class QueryReceiverDetailResponse extends $tea.Model {
|
|
|
2087
2461
|
static types(): { [key: string]: any } {
|
|
2088
2462
|
return {
|
|
2089
2463
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2464
|
+
statusCode: 'number',
|
|
2090
2465
|
body: QueryReceiverDetailResponseBody,
|
|
2091
2466
|
};
|
|
2092
2467
|
}
|
|
@@ -2163,10 +2538,12 @@ export class QueryTagByParamResponseBody extends $tea.Model {
|
|
|
2163
2538
|
|
|
2164
2539
|
export class QueryTagByParamResponse extends $tea.Model {
|
|
2165
2540
|
headers: { [key: string]: string };
|
|
2541
|
+
statusCode: number;
|
|
2166
2542
|
body: QueryTagByParamResponseBody;
|
|
2167
2543
|
static names(): { [key: string]: string } {
|
|
2168
2544
|
return {
|
|
2169
2545
|
headers: 'headers',
|
|
2546
|
+
statusCode: 'statusCode',
|
|
2170
2547
|
body: 'body',
|
|
2171
2548
|
};
|
|
2172
2549
|
}
|
|
@@ -2174,6 +2551,7 @@ export class QueryTagByParamResponse extends $tea.Model {
|
|
|
2174
2551
|
static types(): { [key: string]: any } {
|
|
2175
2552
|
return {
|
|
2176
2553
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2554
|
+
statusCode: 'number',
|
|
2177
2555
|
body: QueryTagByParamResponseBody,
|
|
2178
2556
|
};
|
|
2179
2557
|
}
|
|
@@ -2253,10 +2631,12 @@ export class QueryTaskByParamResponseBody extends $tea.Model {
|
|
|
2253
2631
|
|
|
2254
2632
|
export class QueryTaskByParamResponse extends $tea.Model {
|
|
2255
2633
|
headers: { [key: string]: string };
|
|
2634
|
+
statusCode: number;
|
|
2256
2635
|
body: QueryTaskByParamResponseBody;
|
|
2257
2636
|
static names(): { [key: string]: string } {
|
|
2258
2637
|
return {
|
|
2259
2638
|
headers: 'headers',
|
|
2639
|
+
statusCode: 'statusCode',
|
|
2260
2640
|
body: 'body',
|
|
2261
2641
|
};
|
|
2262
2642
|
}
|
|
@@ -2264,6 +2644,7 @@ export class QueryTaskByParamResponse extends $tea.Model {
|
|
|
2264
2644
|
static types(): { [key: string]: any } {
|
|
2265
2645
|
return {
|
|
2266
2646
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2647
|
+
statusCode: 'number',
|
|
2267
2648
|
body: QueryTaskByParamResponseBody,
|
|
2268
2649
|
};
|
|
2269
2650
|
}
|
|
@@ -2334,10 +2715,12 @@ export class SaveReceiverDetailResponseBody extends $tea.Model {
|
|
|
2334
2715
|
|
|
2335
2716
|
export class SaveReceiverDetailResponse extends $tea.Model {
|
|
2336
2717
|
headers: { [key: string]: string };
|
|
2718
|
+
statusCode: number;
|
|
2337
2719
|
body: SaveReceiverDetailResponseBody;
|
|
2338
2720
|
static names(): { [key: string]: string } {
|
|
2339
2721
|
return {
|
|
2340
2722
|
headers: 'headers',
|
|
2723
|
+
statusCode: 'statusCode',
|
|
2341
2724
|
body: 'body',
|
|
2342
2725
|
};
|
|
2343
2726
|
}
|
|
@@ -2345,6 +2728,7 @@ export class SaveReceiverDetailResponse extends $tea.Model {
|
|
|
2345
2728
|
static types(): { [key: string]: any } {
|
|
2346
2729
|
return {
|
|
2347
2730
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2731
|
+
statusCode: 'number',
|
|
2348
2732
|
body: SaveReceiverDetailResponseBody,
|
|
2349
2733
|
};
|
|
2350
2734
|
}
|
|
@@ -2424,10 +2808,12 @@ export class SendTestByTemplateResponseBody extends $tea.Model {
|
|
|
2424
2808
|
|
|
2425
2809
|
export class SendTestByTemplateResponse extends $tea.Model {
|
|
2426
2810
|
headers: { [key: string]: string };
|
|
2811
|
+
statusCode: number;
|
|
2427
2812
|
body: SendTestByTemplateResponseBody;
|
|
2428
2813
|
static names(): { [key: string]: string } {
|
|
2429
2814
|
return {
|
|
2430
2815
|
headers: 'headers',
|
|
2816
|
+
statusCode: 'statusCode',
|
|
2431
2817
|
body: 'body',
|
|
2432
2818
|
};
|
|
2433
2819
|
}
|
|
@@ -2435,6 +2821,7 @@ export class SendTestByTemplateResponse extends $tea.Model {
|
|
|
2435
2821
|
static types(): { [key: string]: any } {
|
|
2436
2822
|
return {
|
|
2437
2823
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2824
|
+
statusCode: 'number',
|
|
2438
2825
|
body: SendTestByTemplateResponseBody,
|
|
2439
2826
|
};
|
|
2440
2827
|
}
|
|
@@ -2508,10 +2895,12 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBody extends $tea.Model
|
|
|
2508
2895
|
|
|
2509
2896
|
export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
|
|
2510
2897
|
headers: { [key: string]: string };
|
|
2898
|
+
statusCode: number;
|
|
2511
2899
|
body: SenderStatisticsByTagNameAndBatchIDResponseBody;
|
|
2512
2900
|
static names(): { [key: string]: string } {
|
|
2513
2901
|
return {
|
|
2514
2902
|
headers: 'headers',
|
|
2903
|
+
statusCode: 'statusCode',
|
|
2515
2904
|
body: 'body',
|
|
2516
2905
|
};
|
|
2517
2906
|
}
|
|
@@ -2519,6 +2908,7 @@ export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
|
|
|
2519
2908
|
static types(): { [key: string]: any } {
|
|
2520
2909
|
return {
|
|
2521
2910
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2911
|
+
statusCode: 'number',
|
|
2522
2912
|
body: SenderStatisticsByTagNameAndBatchIDResponseBody,
|
|
2523
2913
|
};
|
|
2524
2914
|
}
|
|
@@ -2604,10 +2994,12 @@ export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
|
|
|
2604
2994
|
|
|
2605
2995
|
export class SenderStatisticsDetailByParamResponse extends $tea.Model {
|
|
2606
2996
|
headers: { [key: string]: string };
|
|
2997
|
+
statusCode: number;
|
|
2607
2998
|
body: SenderStatisticsDetailByParamResponseBody;
|
|
2608
2999
|
static names(): { [key: string]: string } {
|
|
2609
3000
|
return {
|
|
2610
3001
|
headers: 'headers',
|
|
3002
|
+
statusCode: 'statusCode',
|
|
2611
3003
|
body: 'body',
|
|
2612
3004
|
};
|
|
2613
3005
|
}
|
|
@@ -2615,6 +3007,7 @@ export class SenderStatisticsDetailByParamResponse extends $tea.Model {
|
|
|
2615
3007
|
static types(): { [key: string]: any } {
|
|
2616
3008
|
return {
|
|
2617
3009
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3010
|
+
statusCode: 'number',
|
|
2618
3011
|
body: SenderStatisticsDetailByParamResponseBody,
|
|
2619
3012
|
};
|
|
2620
3013
|
}
|
|
@@ -2709,10 +3102,12 @@ export class SingleSendMailResponseBody extends $tea.Model {
|
|
|
2709
3102
|
|
|
2710
3103
|
export class SingleSendMailResponse extends $tea.Model {
|
|
2711
3104
|
headers: { [key: string]: string };
|
|
3105
|
+
statusCode: number;
|
|
2712
3106
|
body: SingleSendMailResponseBody;
|
|
2713
3107
|
static names(): { [key: string]: string } {
|
|
2714
3108
|
return {
|
|
2715
3109
|
headers: 'headers',
|
|
3110
|
+
statusCode: 'statusCode',
|
|
2716
3111
|
body: 'body',
|
|
2717
3112
|
};
|
|
2718
3113
|
}
|
|
@@ -2720,6 +3115,7 @@ export class SingleSendMailResponse extends $tea.Model {
|
|
|
2720
3115
|
static types(): { [key: string]: any } {
|
|
2721
3116
|
return {
|
|
2722
3117
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3118
|
+
statusCode: 'number',
|
|
2723
3119
|
body: SingleSendMailResponseBody,
|
|
2724
3120
|
};
|
|
2725
3121
|
}
|
|
@@ -2729,8 +3125,80 @@ export class SingleSendMailResponse extends $tea.Model {
|
|
|
2729
3125
|
}
|
|
2730
3126
|
}
|
|
2731
3127
|
|
|
2732
|
-
export class
|
|
2733
|
-
|
|
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
|
+
|
|
3200
|
+
export class UpdateMailAddressMsgCallBackUrlRequest extends $tea.Model {
|
|
3201
|
+
mailFrom?: string;
|
|
2734
3202
|
notifyUrl?: string;
|
|
2735
3203
|
ownerId?: number;
|
|
2736
3204
|
resourceOwnerAccount?: string;
|
|
@@ -2781,10 +3249,12 @@ export class UpdateMailAddressMsgCallBackUrlResponseBody extends $tea.Model {
|
|
|
2781
3249
|
|
|
2782
3250
|
export class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
2783
3251
|
headers: { [key: string]: string };
|
|
3252
|
+
statusCode: number;
|
|
2784
3253
|
body: UpdateMailAddressMsgCallBackUrlResponseBody;
|
|
2785
3254
|
static names(): { [key: string]: string } {
|
|
2786
3255
|
return {
|
|
2787
3256
|
headers: 'headers',
|
|
3257
|
+
statusCode: 'statusCode',
|
|
2788
3258
|
body: 'body',
|
|
2789
3259
|
};
|
|
2790
3260
|
}
|
|
@@ -2792,6 +3262,7 @@ export class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
|
2792
3262
|
static types(): { [key: string]: any } {
|
|
2793
3263
|
return {
|
|
2794
3264
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3265
|
+
statusCode: 'number',
|
|
2795
3266
|
body: UpdateMailAddressMsgCallBackUrlResponseBody,
|
|
2796
3267
|
};
|
|
2797
3268
|
}
|
|
@@ -2801,6 +3272,50 @@ export class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
|
|
|
2801
3272
|
}
|
|
2802
3273
|
}
|
|
2803
3274
|
|
|
3275
|
+
export class GetIpfilterListResponseBodyDataIpfilters extends $tea.Model {
|
|
3276
|
+
createTime?: string;
|
|
3277
|
+
id?: string;
|
|
3278
|
+
ipAddress?: string;
|
|
3279
|
+
static names(): { [key: string]: string } {
|
|
3280
|
+
return {
|
|
3281
|
+
createTime: 'CreateTime',
|
|
3282
|
+
id: 'Id',
|
|
3283
|
+
ipAddress: 'IpAddress',
|
|
3284
|
+
};
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
static types(): { [key: string]: any } {
|
|
3288
|
+
return {
|
|
3289
|
+
createTime: 'string',
|
|
3290
|
+
id: 'string',
|
|
3291
|
+
ipAddress: 'string',
|
|
3292
|
+
};
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
constructor(map?: { [key: string]: any }) {
|
|
3296
|
+
super(map);
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
export class GetIpfilterListResponseBodyData extends $tea.Model {
|
|
3301
|
+
ipfilters?: GetIpfilterListResponseBodyDataIpfilters[];
|
|
3302
|
+
static names(): { [key: string]: string } {
|
|
3303
|
+
return {
|
|
3304
|
+
ipfilters: 'ipfilters',
|
|
3305
|
+
};
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
static types(): { [key: string]: any } {
|
|
3309
|
+
return {
|
|
3310
|
+
ipfilters: { 'type': 'array', 'itemType': GetIpfilterListResponseBodyDataIpfilters },
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
constructor(map?: { [key: string]: any }) {
|
|
3315
|
+
super(map);
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
|
|
2804
3319
|
export class GetTrackListResponseBodyDataStat extends $tea.Model {
|
|
2805
3320
|
createTime?: string;
|
|
2806
3321
|
rcptClickCount?: string;
|
|
@@ -3493,6 +4008,47 @@ export default class Client extends OpenApi {
|
|
|
3493
4008
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3494
4009
|
}
|
|
3495
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
|
+
|
|
3496
4052
|
async approveReplyMailAddressWithOptions(request: ApproveReplyMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<ApproveReplyMailAddressResponse> {
|
|
3497
4053
|
Util.validateModel(request);
|
|
3498
4054
|
let query = { };
|
|
@@ -3914,6 +4470,51 @@ export default class Client extends OpenApi {
|
|
|
3914
4470
|
return await this.deleteDomainWithOptions(request, runtime);
|
|
3915
4471
|
}
|
|
3916
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
|
+
|
|
3917
4518
|
async deleteMailAddressWithOptions(request: DeleteMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMailAddressResponse> {
|
|
3918
4519
|
Util.validateModel(request);
|
|
3919
4520
|
let query = { };
|
|
@@ -4160,6 +4761,80 @@ export default class Client extends OpenApi {
|
|
|
4160
4761
|
return await this.descDomainWithOptions(request, runtime);
|
|
4161
4762
|
}
|
|
4162
4763
|
|
|
4764
|
+
async getIpProtectionWithOptions(request: GetIpProtectionRequest, runtime: $Util.RuntimeOptions): Promise<GetIpProtectionResponse> {
|
|
4765
|
+
Util.validateModel(request);
|
|
4766
|
+
let query = { };
|
|
4767
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
4768
|
+
query["OwnerId"] = request.ownerId;
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4772
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4776
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4777
|
+
}
|
|
4778
|
+
|
|
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
|
+
}
|
|
4795
|
+
|
|
4796
|
+
async getIpProtection(request: GetIpProtectionRequest): Promise<GetIpProtectionResponse> {
|
|
4797
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4798
|
+
return await this.getIpProtectionWithOptions(request, runtime);
|
|
4799
|
+
}
|
|
4800
|
+
|
|
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;
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4809
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4810
|
+
}
|
|
4811
|
+
|
|
4812
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4813
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4816
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4817
|
+
query: OpenApiUtil.query(query),
|
|
4818
|
+
});
|
|
4819
|
+
let params = new $OpenApi.Params({
|
|
4820
|
+
action: "GetIpfilterList",
|
|
4821
|
+
version: "2015-11-23",
|
|
4822
|
+
protocol: "HTTPS",
|
|
4823
|
+
pathname: "/",
|
|
4824
|
+
method: "POST",
|
|
4825
|
+
authType: "AK",
|
|
4826
|
+
style: "RPC",
|
|
4827
|
+
reqBodyType: "formData",
|
|
4828
|
+
bodyType: "json",
|
|
4829
|
+
});
|
|
4830
|
+
return $tea.cast<GetIpfilterListResponse>(await this.callApi(params, req, runtime), new GetIpfilterListResponse({}));
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
async getIpfilterList(request: GetIpfilterListRequest): Promise<GetIpfilterListResponse> {
|
|
4834
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4835
|
+
return await this.getIpfilterListWithOptions(request, runtime);
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4163
4838
|
async getTrackListWithOptions(request: GetTrackListRequest, runtime: $Util.RuntimeOptions): Promise<GetTrackListResponse> {
|
|
4164
4839
|
Util.validateModel(request);
|
|
4165
4840
|
let query = { };
|
|
@@ -5129,6 +5804,47 @@ export default class Client extends OpenApi {
|
|
|
5129
5804
|
return await this.singleSendMailWithOptions(request, runtime);
|
|
5130
5805
|
}
|
|
5131
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
|
+
|
|
5132
5848
|
async updateMailAddressMsgCallBackUrlWithOptions(request: UpdateMailAddressMsgCallBackUrlRequest, runtime: $Util.RuntimeOptions): Promise<UpdateMailAddressMsgCallBackUrlResponse> {
|
|
5133
5849
|
Util.validateModel(request);
|
|
5134
5850
|
let query = { };
|