ksyun-sdk-node 1.5.2 → 1.5.5
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.
|
@@ -36,7 +36,11 @@ module.exports = class Client extends BaseClient {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
paramsType: {
|
|
39
|
-
DomainId: "String"
|
|
39
|
+
DomainId: "String",
|
|
40
|
+
StartTime: "String",
|
|
41
|
+
EndTime: "String",
|
|
42
|
+
PageSize: "Int",
|
|
43
|
+
PageNumber: "Int"
|
|
40
44
|
}
|
|
41
45
|
},
|
|
42
46
|
GetClientRequestData: {
|
|
@@ -666,6 +670,166 @@ module.exports = class Client extends BaseClient {
|
|
|
666
670
|
DataType: "String",
|
|
667
671
|
ProtocolType: "String"
|
|
668
672
|
}
|
|
673
|
+
},
|
|
674
|
+
SetDomainLogService: {
|
|
675
|
+
url: "/",
|
|
676
|
+
method: "GET",
|
|
677
|
+
config: {
|
|
678
|
+
query: {
|
|
679
|
+
Version: "V3",
|
|
680
|
+
Action: "SetDomainLogService"
|
|
681
|
+
},
|
|
682
|
+
headers: {
|
|
683
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
paramsType: {
|
|
687
|
+
ActionType: "String",
|
|
688
|
+
DomainIds: "String",
|
|
689
|
+
Granularity: "String"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
SetCertificate: {
|
|
693
|
+
url: "/",
|
|
694
|
+
method: "GET",
|
|
695
|
+
config: {
|
|
696
|
+
query: {
|
|
697
|
+
Version: "V3",
|
|
698
|
+
Action: "SetCertificate"
|
|
699
|
+
},
|
|
700
|
+
headers: {
|
|
701
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
paramsType: {
|
|
705
|
+
CertificateId: "String",
|
|
706
|
+
CertificateName: "String",
|
|
707
|
+
ServerCertificate: "String",
|
|
708
|
+
PrivateKey: "String"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
RemoveCertificates: {
|
|
712
|
+
url: "/",
|
|
713
|
+
method: "GET",
|
|
714
|
+
config: {
|
|
715
|
+
query: {
|
|
716
|
+
Version: "V3",
|
|
717
|
+
Action: "RemoveCertificates"
|
|
718
|
+
},
|
|
719
|
+
headers: {
|
|
720
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
paramsType: {
|
|
724
|
+
CertificateIds: "String"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
AssociateCertificateConfig: {
|
|
728
|
+
url: "/",
|
|
729
|
+
method: "GET",
|
|
730
|
+
config: {
|
|
731
|
+
query: {
|
|
732
|
+
Version: "V3",
|
|
733
|
+
Action: "AssociateCertificateConfig"
|
|
734
|
+
},
|
|
735
|
+
headers: {
|
|
736
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
paramsType: {
|
|
740
|
+
Enable: "String",
|
|
741
|
+
DomainIds: "String",
|
|
742
|
+
CertificateId: "String",
|
|
743
|
+
CertificateName: "String",
|
|
744
|
+
ServerCertificate: "String",
|
|
745
|
+
PrivateKey: "String"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
ValidateIP: {
|
|
749
|
+
url: "/",
|
|
750
|
+
method: "GET",
|
|
751
|
+
config: {
|
|
752
|
+
query: {
|
|
753
|
+
Version: "V3",
|
|
754
|
+
Action: "ValidateIP"
|
|
755
|
+
},
|
|
756
|
+
headers: {
|
|
757
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
paramsType: {
|
|
761
|
+
Ip: "String"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
SetCdnBlockDomainUrl: {
|
|
765
|
+
url: "/",
|
|
766
|
+
method: "GET",
|
|
767
|
+
config: {
|
|
768
|
+
query: {
|
|
769
|
+
Version: "V3",
|
|
770
|
+
Action: "SetCdnBlockDomainUrl"
|
|
771
|
+
},
|
|
772
|
+
headers: {
|
|
773
|
+
"Content-Type": "application/json"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
paramsType: {
|
|
777
|
+
BlockType: "String",
|
|
778
|
+
Urls: "Array",
|
|
779
|
+
RefreshOnUnblock: "String"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
SyncRefreshCaches: {
|
|
783
|
+
url: "/",
|
|
784
|
+
method: "GET",
|
|
785
|
+
config: {
|
|
786
|
+
query: {
|
|
787
|
+
Version: "V3",
|
|
788
|
+
Action: "SyncRefreshCaches"
|
|
789
|
+
},
|
|
790
|
+
headers: {
|
|
791
|
+
"Content-Type": "application/json"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
paramsType: {
|
|
795
|
+
Files: "Array",
|
|
796
|
+
Dirs: "Array"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
InsertPreloadCaches: {
|
|
800
|
+
url: "/",
|
|
801
|
+
method: "GET",
|
|
802
|
+
config: {
|
|
803
|
+
query: {
|
|
804
|
+
Version: "V3",
|
|
805
|
+
Action: "InsertPreloadCaches"
|
|
806
|
+
},
|
|
807
|
+
headers: {
|
|
808
|
+
"Content-Type": "application/json"
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
paramsType: {
|
|
812
|
+
Urls: "Array"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
GetCntvRefreshOrPreloadTask: {
|
|
816
|
+
url: "/",
|
|
817
|
+
method: "POST",
|
|
818
|
+
config: {
|
|
819
|
+
query: {
|
|
820
|
+
Version: "V3",
|
|
821
|
+
Action: "GetCntvRefreshOrPreloadTask"
|
|
822
|
+
},
|
|
823
|
+
headers: {
|
|
824
|
+
"Content-Type": "application/json"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
paramsType: {
|
|
828
|
+
StartTime: "String",
|
|
829
|
+
EndTime: "String",
|
|
830
|
+
Type: "String",
|
|
831
|
+
TaskId: "String"
|
|
832
|
+
}
|
|
669
833
|
}
|
|
670
834
|
});
|
|
671
835
|
}
|
|
@@ -210,6 +210,28 @@ module.exports = class Client extends BaseClient {
|
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
paramsType: {}
|
|
213
|
+
},
|
|
214
|
+
DescribeAlertHistories: {
|
|
215
|
+
url: "/",
|
|
216
|
+
method: "GET",
|
|
217
|
+
config: {
|
|
218
|
+
query: {
|
|
219
|
+
Version: "2021-01-01",
|
|
220
|
+
Action: "DescribeAlertHistories"
|
|
221
|
+
},
|
|
222
|
+
headers: {
|
|
223
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
paramsType: {
|
|
227
|
+
StartTime: "Int",
|
|
228
|
+
EndTime: "Int",
|
|
229
|
+
ProductType: "Int",
|
|
230
|
+
PolicyId: "Int",
|
|
231
|
+
InstanceId: "String",
|
|
232
|
+
PageIndex: "Int",
|
|
233
|
+
PageSize: "Int"
|
|
234
|
+
}
|
|
213
235
|
}
|
|
214
236
|
});
|
|
215
237
|
}
|
package/package.json
CHANGED
|
@@ -30,6 +30,10 @@ module.exports = class Client extends BaseClient {
|
|
|
30
30
|
},
|
|
31
31
|
paramsType: {
|
|
32
32
|
DomainId: "String",
|
|
33
|
+
StartTime: "String",
|
|
34
|
+
EndTime: "String",
|
|
35
|
+
PageSize: "Int",
|
|
36
|
+
PageNumber: "Int",
|
|
33
37
|
},
|
|
34
38
|
},
|
|
35
39
|
GetClientRequestData: {
|
|
@@ -660,5 +664,165 @@ module.exports = class Client extends BaseClient {
|
|
|
660
664
|
ProtocolType: "String",
|
|
661
665
|
},
|
|
662
666
|
},
|
|
667
|
+
SetDomainLogService: {
|
|
668
|
+
url: "/",
|
|
669
|
+
method: "GET",
|
|
670
|
+
config: {
|
|
671
|
+
query: {
|
|
672
|
+
Version: "V3",
|
|
673
|
+
Action: "SetDomainLogService",
|
|
674
|
+
},
|
|
675
|
+
headers: {
|
|
676
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
paramsType: {
|
|
680
|
+
ActionType: "String",
|
|
681
|
+
DomainIds: "String",
|
|
682
|
+
Granularity: "String",
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
SetCertificate: {
|
|
686
|
+
url: "/",
|
|
687
|
+
method: "GET",
|
|
688
|
+
config: {
|
|
689
|
+
query: {
|
|
690
|
+
Version: "V3",
|
|
691
|
+
Action: "SetCertificate",
|
|
692
|
+
},
|
|
693
|
+
headers: {
|
|
694
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
paramsType: {
|
|
698
|
+
CertificateId: "String",
|
|
699
|
+
CertificateName: "String",
|
|
700
|
+
ServerCertificate: "String",
|
|
701
|
+
PrivateKey: "String",
|
|
702
|
+
},
|
|
703
|
+
},
|
|
704
|
+
RemoveCertificates: {
|
|
705
|
+
url: "/",
|
|
706
|
+
method: "GET",
|
|
707
|
+
config: {
|
|
708
|
+
query: {
|
|
709
|
+
Version: "V3",
|
|
710
|
+
Action: "RemoveCertificates",
|
|
711
|
+
},
|
|
712
|
+
headers: {
|
|
713
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
714
|
+
},
|
|
715
|
+
},
|
|
716
|
+
paramsType: {
|
|
717
|
+
CertificateIds: "String",
|
|
718
|
+
},
|
|
719
|
+
},
|
|
720
|
+
AssociateCertificateConfig: {
|
|
721
|
+
url: "/",
|
|
722
|
+
method: "GET",
|
|
723
|
+
config: {
|
|
724
|
+
query: {
|
|
725
|
+
Version: "V3",
|
|
726
|
+
Action: "AssociateCertificateConfig",
|
|
727
|
+
},
|
|
728
|
+
headers: {
|
|
729
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
paramsType: {
|
|
733
|
+
Enable: "String",
|
|
734
|
+
DomainIds: "String",
|
|
735
|
+
CertificateId: "String",
|
|
736
|
+
CertificateName: "String",
|
|
737
|
+
ServerCertificate: "String",
|
|
738
|
+
PrivateKey: "String",
|
|
739
|
+
},
|
|
740
|
+
},
|
|
741
|
+
ValidateIP: {
|
|
742
|
+
url: "/",
|
|
743
|
+
method: "GET",
|
|
744
|
+
config: {
|
|
745
|
+
query: {
|
|
746
|
+
Version: "V3",
|
|
747
|
+
Action: "ValidateIP",
|
|
748
|
+
},
|
|
749
|
+
headers: {
|
|
750
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
751
|
+
},
|
|
752
|
+
},
|
|
753
|
+
paramsType: {
|
|
754
|
+
Ip: "String",
|
|
755
|
+
},
|
|
756
|
+
},
|
|
757
|
+
SetCdnBlockDomainUrl: {
|
|
758
|
+
url: "/",
|
|
759
|
+
method: "GET",
|
|
760
|
+
config: {
|
|
761
|
+
query: {
|
|
762
|
+
Version: "V3",
|
|
763
|
+
Action: "SetCdnBlockDomainUrl",
|
|
764
|
+
},
|
|
765
|
+
headers: {
|
|
766
|
+
"Content-Type": "application/json",
|
|
767
|
+
},
|
|
768
|
+
},
|
|
769
|
+
paramsType: {
|
|
770
|
+
BlockType: "String",
|
|
771
|
+
Urls: "Array",
|
|
772
|
+
RefreshOnUnblock: "String",
|
|
773
|
+
},
|
|
774
|
+
},
|
|
775
|
+
SyncRefreshCaches: {
|
|
776
|
+
url: "/",
|
|
777
|
+
method: "GET",
|
|
778
|
+
config: {
|
|
779
|
+
query: {
|
|
780
|
+
Version: "V3",
|
|
781
|
+
Action: "SyncRefreshCaches",
|
|
782
|
+
},
|
|
783
|
+
headers: {
|
|
784
|
+
"Content-Type": "application/json",
|
|
785
|
+
},
|
|
786
|
+
},
|
|
787
|
+
paramsType: {
|
|
788
|
+
Files: "Array",
|
|
789
|
+
Dirs: "Array",
|
|
790
|
+
},
|
|
791
|
+
},
|
|
792
|
+
InsertPreloadCaches: {
|
|
793
|
+
url: "/",
|
|
794
|
+
method: "GET",
|
|
795
|
+
config: {
|
|
796
|
+
query: {
|
|
797
|
+
Version: "V3",
|
|
798
|
+
Action: "InsertPreloadCaches",
|
|
799
|
+
},
|
|
800
|
+
headers: {
|
|
801
|
+
"Content-Type": "application/json",
|
|
802
|
+
},
|
|
803
|
+
},
|
|
804
|
+
paramsType: {
|
|
805
|
+
Urls: "Array",
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
GetCntvRefreshOrPreloadTask: {
|
|
809
|
+
url: "/",
|
|
810
|
+
method: "POST",
|
|
811
|
+
config: {
|
|
812
|
+
query: {
|
|
813
|
+
Version: "V3",
|
|
814
|
+
Action: "GetCntvRefreshOrPreloadTask",
|
|
815
|
+
},
|
|
816
|
+
headers: {
|
|
817
|
+
"Content-Type": "application/json",
|
|
818
|
+
},
|
|
819
|
+
},
|
|
820
|
+
paramsType: {
|
|
821
|
+
StartTime: "String",
|
|
822
|
+
EndTime: "String",
|
|
823
|
+
Type: "String",
|
|
824
|
+
TaskId: "String",
|
|
825
|
+
},
|
|
826
|
+
},
|
|
663
827
|
};
|
|
664
828
|
};
|
|
@@ -204,5 +204,27 @@ module.exports = class Client extends BaseClient {
|
|
|
204
204
|
},
|
|
205
205
|
paramsType: {},
|
|
206
206
|
},
|
|
207
|
+
DescribeAlertHistories: {
|
|
208
|
+
url: "/",
|
|
209
|
+
method: "GET",
|
|
210
|
+
config: {
|
|
211
|
+
query: {
|
|
212
|
+
Version: "2021-01-01",
|
|
213
|
+
Action: "DescribeAlertHistories",
|
|
214
|
+
},
|
|
215
|
+
headers: {
|
|
216
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
paramsType: {
|
|
220
|
+
StartTime: "Int",
|
|
221
|
+
EndTime: "Int",
|
|
222
|
+
ProductType: "Int",
|
|
223
|
+
PolicyId: "Int",
|
|
224
|
+
InstanceId: "String",
|
|
225
|
+
PageIndex: "Int",
|
|
226
|
+
PageSize: "Int",
|
|
227
|
+
},
|
|
228
|
+
},
|
|
207
229
|
};
|
|
208
230
|
};
|