hostinger-api-sdk 0.0.1 → 0.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/.github/workflows/{publish-release.yaml → build-release.yaml} +24 -3
- package/api.ts +979 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +606 -1
- package/dist/api.js +705 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +606 -1
- package/dist/esm/api.js +695 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/.idea/api-typescript-sdk.iml +0 -8
- package/.idea/modules.xml +0 -8
- package/.idea/php.xml +0 -19
- package/.idea/vcs.xml +0 -6
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.0.
|
|
4
|
+
* API Version: 0.0.16
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 0.0.
|
|
7
|
+
* API Version: 0.0.16
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.0.
|
|
4
|
+
* API Version: 0.0.16
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 0.0.
|
|
7
|
+
* API Version: 0.0.16
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.0.
|
|
4
|
+
* API Version: 0.0.16
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 0.0.
|
|
7
|
+
* API Version: 0.0.16
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.0.
|
|
4
|
+
* API Version: 0.0.16
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -591,6 +591,271 @@ export interface CommonSuccessEmptyResource {
|
|
|
591
591
|
*/
|
|
592
592
|
'message'?: string;
|
|
593
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @export
|
|
597
|
+
* @interface DNSV1SnapshotSnapshotResource
|
|
598
|
+
*/
|
|
599
|
+
export interface DNSV1SnapshotSnapshotResource {
|
|
600
|
+
/**
|
|
601
|
+
* Snapshot ID
|
|
602
|
+
* @type {number}
|
|
603
|
+
* @memberof DNSV1SnapshotSnapshotResource
|
|
604
|
+
*/
|
|
605
|
+
'id'?: number;
|
|
606
|
+
/**
|
|
607
|
+
* Reason of the update
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof DNSV1SnapshotSnapshotResource
|
|
610
|
+
*/
|
|
611
|
+
'reason'?: string;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof DNSV1SnapshotSnapshotResource
|
|
616
|
+
*/
|
|
617
|
+
'created_at'?: string;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @export
|
|
622
|
+
* @interface DNSV1SnapshotSnapshotWithContentResource
|
|
623
|
+
*/
|
|
624
|
+
export interface DNSV1SnapshotSnapshotWithContentResource {
|
|
625
|
+
/**
|
|
626
|
+
* Snapshot ID
|
|
627
|
+
* @type {number}
|
|
628
|
+
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
629
|
+
*/
|
|
630
|
+
'id'?: number;
|
|
631
|
+
/**
|
|
632
|
+
* Reason of the update
|
|
633
|
+
* @type {string}
|
|
634
|
+
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
635
|
+
*/
|
|
636
|
+
'reason'?: string;
|
|
637
|
+
/**
|
|
638
|
+
* Contents of the DNS zone
|
|
639
|
+
* @type {string}
|
|
640
|
+
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
641
|
+
*/
|
|
642
|
+
'snapshot'?: string;
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @type {string}
|
|
646
|
+
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
647
|
+
*/
|
|
648
|
+
'created_at'?: string;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @export
|
|
653
|
+
* @interface DNSV1ZoneDestroyRequest
|
|
654
|
+
*/
|
|
655
|
+
export interface DNSV1ZoneDestroyRequest {
|
|
656
|
+
/**
|
|
657
|
+
* Filter records for deletion
|
|
658
|
+
* @type {Array<DNSV1ZoneDestroyRequestFiltersInner>}
|
|
659
|
+
* @memberof DNSV1ZoneDestroyRequest
|
|
660
|
+
*/
|
|
661
|
+
'filters': Array<DNSV1ZoneDestroyRequestFiltersInner>;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @export
|
|
666
|
+
* @interface DNSV1ZoneDestroyRequestFiltersInner
|
|
667
|
+
*/
|
|
668
|
+
export interface DNSV1ZoneDestroyRequestFiltersInner {
|
|
669
|
+
/**
|
|
670
|
+
* Name of the record
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof DNSV1ZoneDestroyRequestFiltersInner
|
|
673
|
+
*/
|
|
674
|
+
'name'?: string;
|
|
675
|
+
/**
|
|
676
|
+
* Type of the record
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof DNSV1ZoneDestroyRequestFiltersInner
|
|
679
|
+
*/
|
|
680
|
+
'type'?: DNSV1ZoneDestroyRequestFiltersInnerTypeEnum;
|
|
681
|
+
}
|
|
682
|
+
export declare const DNSV1ZoneDestroyRequestFiltersInnerTypeEnum: {
|
|
683
|
+
readonly A: "A";
|
|
684
|
+
readonly Aaaa: "AAAA";
|
|
685
|
+
readonly Cname: "CNAME";
|
|
686
|
+
readonly Alias: "ALIAS";
|
|
687
|
+
readonly Mx: "MX";
|
|
688
|
+
readonly Txt: "TXT";
|
|
689
|
+
readonly Ns: "NS";
|
|
690
|
+
readonly Soa: "SOA";
|
|
691
|
+
readonly Srv: "SRV";
|
|
692
|
+
readonly Caa: "CAA";
|
|
693
|
+
};
|
|
694
|
+
export type DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = typeof DNSV1ZoneDestroyRequestFiltersInnerTypeEnum[keyof typeof DNSV1ZoneDestroyRequestFiltersInnerTypeEnum];
|
|
695
|
+
/**
|
|
696
|
+
*
|
|
697
|
+
* @export
|
|
698
|
+
* @interface DNSV1ZoneNameRecordResource
|
|
699
|
+
*/
|
|
700
|
+
export interface DNSV1ZoneNameRecordResource {
|
|
701
|
+
/**
|
|
702
|
+
* Content of the name record
|
|
703
|
+
* @type {string}
|
|
704
|
+
* @memberof DNSV1ZoneNameRecordResource
|
|
705
|
+
*/
|
|
706
|
+
'content'?: string;
|
|
707
|
+
/**
|
|
708
|
+
* Flag to mark name record as disabled
|
|
709
|
+
* @type {boolean}
|
|
710
|
+
* @memberof DNSV1ZoneNameRecordResource
|
|
711
|
+
*/
|
|
712
|
+
'disabled'?: boolean;
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @export
|
|
717
|
+
* @interface DNSV1ZoneRecordResource
|
|
718
|
+
*/
|
|
719
|
+
export interface DNSV1ZoneRecordResource {
|
|
720
|
+
/**
|
|
721
|
+
* Name of the record (use `@` for wildcard name)
|
|
722
|
+
* @type {string}
|
|
723
|
+
* @memberof DNSV1ZoneRecordResource
|
|
724
|
+
*/
|
|
725
|
+
'name'?: string;
|
|
726
|
+
/**
|
|
727
|
+
* Array of [`DNS.V1.Zone.NameRecordResource`](#model/dnsv1zonenamerecordresource)
|
|
728
|
+
* @type {Array<DNSV1ZoneNameRecordResource>}
|
|
729
|
+
* @memberof DNSV1ZoneRecordResource
|
|
730
|
+
*/
|
|
731
|
+
'records'?: Array<DNSV1ZoneNameRecordResource>;
|
|
732
|
+
/**
|
|
733
|
+
* TTL (Time-To-Live) of the record
|
|
734
|
+
* @type {number}
|
|
735
|
+
* @memberof DNSV1ZoneRecordResource
|
|
736
|
+
*/
|
|
737
|
+
'ttl'?: number;
|
|
738
|
+
/**
|
|
739
|
+
* Type of the record
|
|
740
|
+
* @type {string}
|
|
741
|
+
* @memberof DNSV1ZoneRecordResource
|
|
742
|
+
*/
|
|
743
|
+
'type'?: DNSV1ZoneRecordResourceTypeEnum;
|
|
744
|
+
}
|
|
745
|
+
export declare const DNSV1ZoneRecordResourceTypeEnum: {
|
|
746
|
+
readonly A: "A";
|
|
747
|
+
readonly Aaaa: "AAAA";
|
|
748
|
+
readonly Cname: "CNAME";
|
|
749
|
+
readonly Alias: "ALIAS";
|
|
750
|
+
readonly Mx: "MX";
|
|
751
|
+
readonly Txt: "TXT";
|
|
752
|
+
readonly Ns: "NS";
|
|
753
|
+
readonly Soa: "SOA";
|
|
754
|
+
readonly Srv: "SRV";
|
|
755
|
+
readonly Caa: "CAA";
|
|
756
|
+
};
|
|
757
|
+
export type DNSV1ZoneRecordResourceTypeEnum = typeof DNSV1ZoneRecordResourceTypeEnum[keyof typeof DNSV1ZoneRecordResourceTypeEnum];
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @export
|
|
761
|
+
* @interface DNSV1ZoneResetRequest
|
|
762
|
+
*/
|
|
763
|
+
export interface DNSV1ZoneResetRequest {
|
|
764
|
+
/**
|
|
765
|
+
* Determines if operation should be run synchronously
|
|
766
|
+
* @type {boolean}
|
|
767
|
+
* @memberof DNSV1ZoneResetRequest
|
|
768
|
+
*/
|
|
769
|
+
'sync'?: boolean;
|
|
770
|
+
/**
|
|
771
|
+
* Determines if email records should be reset
|
|
772
|
+
* @type {boolean}
|
|
773
|
+
* @memberof DNSV1ZoneResetRequest
|
|
774
|
+
*/
|
|
775
|
+
'reset_email_records'?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Specifies which record types to not reset
|
|
778
|
+
* @type {Array<string>}
|
|
779
|
+
* @memberof DNSV1ZoneResetRequest
|
|
780
|
+
*/
|
|
781
|
+
'whitelisted_record_types'?: Array<string>;
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @export
|
|
786
|
+
* @interface DNSV1ZoneUpdateRequest
|
|
787
|
+
*/
|
|
788
|
+
export interface DNSV1ZoneUpdateRequest {
|
|
789
|
+
/**
|
|
790
|
+
* If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records\' ttl\'s are updated and new records are appended. If no matching RRs are found, they are created.
|
|
791
|
+
* @type {boolean}
|
|
792
|
+
* @memberof DNSV1ZoneUpdateRequest
|
|
793
|
+
*/
|
|
794
|
+
'overwrite'?: boolean;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {Array<DNSV1ZoneUpdateRequestZoneInner>}
|
|
798
|
+
* @memberof DNSV1ZoneUpdateRequest
|
|
799
|
+
*/
|
|
800
|
+
'zone': Array<DNSV1ZoneUpdateRequestZoneInner>;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
*
|
|
804
|
+
* @export
|
|
805
|
+
* @interface DNSV1ZoneUpdateRequestZoneInner
|
|
806
|
+
*/
|
|
807
|
+
export interface DNSV1ZoneUpdateRequestZoneInner {
|
|
808
|
+
/**
|
|
809
|
+
* Name of the record (use `@` for wildcard name)
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof DNSV1ZoneUpdateRequestZoneInner
|
|
812
|
+
*/
|
|
813
|
+
'name': string;
|
|
814
|
+
/**
|
|
815
|
+
* Records assigned to the name
|
|
816
|
+
* @type {Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>}
|
|
817
|
+
* @memberof DNSV1ZoneUpdateRequestZoneInner
|
|
818
|
+
*/
|
|
819
|
+
'records'?: Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>;
|
|
820
|
+
/**
|
|
821
|
+
* TTL (Time-To-Live) of the record
|
|
822
|
+
* @type {number}
|
|
823
|
+
* @memberof DNSV1ZoneUpdateRequestZoneInner
|
|
824
|
+
*/
|
|
825
|
+
'ttl'?: number;
|
|
826
|
+
/**
|
|
827
|
+
* Type of the record
|
|
828
|
+
* @type {string}
|
|
829
|
+
* @memberof DNSV1ZoneUpdateRequestZoneInner
|
|
830
|
+
*/
|
|
831
|
+
'type': DNSV1ZoneUpdateRequestZoneInnerTypeEnum;
|
|
832
|
+
}
|
|
833
|
+
export declare const DNSV1ZoneUpdateRequestZoneInnerTypeEnum: {
|
|
834
|
+
readonly A: "A";
|
|
835
|
+
readonly Aaaa: "AAAA";
|
|
836
|
+
readonly Cname: "CNAME";
|
|
837
|
+
readonly Alias: "ALIAS";
|
|
838
|
+
readonly Mx: "MX";
|
|
839
|
+
readonly Txt: "TXT";
|
|
840
|
+
readonly Ns: "NS";
|
|
841
|
+
readonly Soa: "SOA";
|
|
842
|
+
readonly Srv: "SRV";
|
|
843
|
+
readonly Caa: "CAA";
|
|
844
|
+
};
|
|
845
|
+
export type DNSV1ZoneUpdateRequestZoneInnerTypeEnum = typeof DNSV1ZoneUpdateRequestZoneInnerTypeEnum[keyof typeof DNSV1ZoneUpdateRequestZoneInnerTypeEnum];
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @export
|
|
849
|
+
* @interface DNSV1ZoneUpdateRequestZoneInnerRecordsInner
|
|
850
|
+
*/
|
|
851
|
+
export interface DNSV1ZoneUpdateRequestZoneInnerRecordsInner {
|
|
852
|
+
/**
|
|
853
|
+
* Content of the name record
|
|
854
|
+
* @type {string}
|
|
855
|
+
* @memberof DNSV1ZoneUpdateRequestZoneInnerRecordsInner
|
|
856
|
+
*/
|
|
857
|
+
'content': string;
|
|
858
|
+
}
|
|
594
859
|
/**
|
|
595
860
|
*
|
|
596
861
|
* @export
|
|
@@ -2002,6 +2267,346 @@ export declare class BillingSubscriptionsApi extends BaseAPI {
|
|
|
2002
2267
|
*/
|
|
2003
2268
|
getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1SubscriptionSubscriptionResource[], any>>;
|
|
2004
2269
|
}
|
|
2270
|
+
/**
|
|
2271
|
+
* DNSSnapshotApi - axios parameter creator
|
|
2272
|
+
* @export
|
|
2273
|
+
*/
|
|
2274
|
+
export declare const DNSSnapshotApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2275
|
+
/**
|
|
2276
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2277
|
+
* @summary Get snapshot list
|
|
2278
|
+
* @param {string} domain Domain name
|
|
2279
|
+
* @param {*} [options] Override http request option.
|
|
2280
|
+
* @throws {RequiredError}
|
|
2281
|
+
*/
|
|
2282
|
+
getSnapshotListV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2283
|
+
/**
|
|
2284
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2285
|
+
* @summary Get snapshot
|
|
2286
|
+
* @param {string} domain Domain name
|
|
2287
|
+
* @param {number} snapshotId Snapshot ID
|
|
2288
|
+
* @param {*} [options] Override http request option.
|
|
2289
|
+
* @throws {RequiredError}
|
|
2290
|
+
*/
|
|
2291
|
+
getSnapshotV1: (domain: string, snapshotId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2292
|
+
/**
|
|
2293
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2294
|
+
* @summary Restore snapshot
|
|
2295
|
+
* @param {string} domain Domain name
|
|
2296
|
+
* @param {number} snapshotId Snapshot ID
|
|
2297
|
+
* @param {*} [options] Override http request option.
|
|
2298
|
+
* @throws {RequiredError}
|
|
2299
|
+
*/
|
|
2300
|
+
restoreSnapshotV1: (domain: string, snapshotId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2301
|
+
};
|
|
2302
|
+
/**
|
|
2303
|
+
* DNSSnapshotApi - functional programming interface
|
|
2304
|
+
* @export
|
|
2305
|
+
*/
|
|
2306
|
+
export declare const DNSSnapshotApiFp: (configuration?: Configuration) => {
|
|
2307
|
+
/**
|
|
2308
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2309
|
+
* @summary Get snapshot list
|
|
2310
|
+
* @param {string} domain Domain name
|
|
2311
|
+
* @param {*} [options] Override http request option.
|
|
2312
|
+
* @throws {RequiredError}
|
|
2313
|
+
*/
|
|
2314
|
+
getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DNSV1SnapshotSnapshotResource>>>;
|
|
2315
|
+
/**
|
|
2316
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2317
|
+
* @summary Get snapshot
|
|
2318
|
+
* @param {string} domain Domain name
|
|
2319
|
+
* @param {number} snapshotId Snapshot ID
|
|
2320
|
+
* @param {*} [options] Override http request option.
|
|
2321
|
+
* @throws {RequiredError}
|
|
2322
|
+
*/
|
|
2323
|
+
getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DNSV1SnapshotSnapshotWithContentResource>>;
|
|
2324
|
+
/**
|
|
2325
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2326
|
+
* @summary Restore snapshot
|
|
2327
|
+
* @param {string} domain Domain name
|
|
2328
|
+
* @param {number} snapshotId Snapshot ID
|
|
2329
|
+
* @param {*} [options] Override http request option.
|
|
2330
|
+
* @throws {RequiredError}
|
|
2331
|
+
*/
|
|
2332
|
+
restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2333
|
+
};
|
|
2334
|
+
/**
|
|
2335
|
+
* DNSSnapshotApi - factory interface
|
|
2336
|
+
* @export
|
|
2337
|
+
*/
|
|
2338
|
+
export declare const DNSSnapshotApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2339
|
+
/**
|
|
2340
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2341
|
+
* @summary Get snapshot list
|
|
2342
|
+
* @param {string} domain Domain name
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
2345
|
+
*/
|
|
2346
|
+
getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DNSV1SnapshotSnapshotResource>>;
|
|
2347
|
+
/**
|
|
2348
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2349
|
+
* @summary Get snapshot
|
|
2350
|
+
* @param {string} domain Domain name
|
|
2351
|
+
* @param {number} snapshotId Snapshot ID
|
|
2352
|
+
* @param {*} [options] Override http request option.
|
|
2353
|
+
* @throws {RequiredError}
|
|
2354
|
+
*/
|
|
2355
|
+
getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): AxiosPromise<DNSV1SnapshotSnapshotWithContentResource>;
|
|
2356
|
+
/**
|
|
2357
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2358
|
+
* @summary Restore snapshot
|
|
2359
|
+
* @param {string} domain Domain name
|
|
2360
|
+
* @param {number} snapshotId Snapshot ID
|
|
2361
|
+
* @param {*} [options] Override http request option.
|
|
2362
|
+
* @throws {RequiredError}
|
|
2363
|
+
*/
|
|
2364
|
+
restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2365
|
+
};
|
|
2366
|
+
/**
|
|
2367
|
+
* DNSSnapshotApi - object-oriented interface
|
|
2368
|
+
* @export
|
|
2369
|
+
* @class DNSSnapshotApi
|
|
2370
|
+
* @extends {BaseAPI}
|
|
2371
|
+
*/
|
|
2372
|
+
export declare class DNSSnapshotApi extends BaseAPI {
|
|
2373
|
+
/**
|
|
2374
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2375
|
+
* @summary Get snapshot list
|
|
2376
|
+
* @param {string} domain Domain name
|
|
2377
|
+
* @param {*} [options] Override http request option.
|
|
2378
|
+
* @throws {RequiredError}
|
|
2379
|
+
* @memberof DNSSnapshotApi
|
|
2380
|
+
*/
|
|
2381
|
+
getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotResource[], any>>;
|
|
2382
|
+
/**
|
|
2383
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2384
|
+
* @summary Get snapshot
|
|
2385
|
+
* @param {string} domain Domain name
|
|
2386
|
+
* @param {number} snapshotId Snapshot ID
|
|
2387
|
+
* @param {*} [options] Override http request option.
|
|
2388
|
+
* @throws {RequiredError}
|
|
2389
|
+
* @memberof DNSSnapshotApi
|
|
2390
|
+
*/
|
|
2391
|
+
getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotWithContentResource, any>>;
|
|
2392
|
+
/**
|
|
2393
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2394
|
+
* @summary Restore snapshot
|
|
2395
|
+
* @param {string} domain Domain name
|
|
2396
|
+
* @param {number} snapshotId Snapshot ID
|
|
2397
|
+
* @param {*} [options] Override http request option.
|
|
2398
|
+
* @throws {RequiredError}
|
|
2399
|
+
* @memberof DNSSnapshotApi
|
|
2400
|
+
*/
|
|
2401
|
+
restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2402
|
+
}
|
|
2403
|
+
/**
|
|
2404
|
+
* DNSZoneApi - axios parameter creator
|
|
2405
|
+
* @export
|
|
2406
|
+
*/
|
|
2407
|
+
export declare const DNSZoneApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2408
|
+
/**
|
|
2409
|
+
* This endpoint deletes selected DNS records for the selected domain.
|
|
2410
|
+
* @summary Delete zone records
|
|
2411
|
+
* @param {string} domain Domain name
|
|
2412
|
+
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
2413
|
+
* @param {*} [options] Override http request option.
|
|
2414
|
+
* @throws {RequiredError}
|
|
2415
|
+
*/
|
|
2416
|
+
deleteZoneRecordsV1: (domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2417
|
+
/**
|
|
2418
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2419
|
+
* @summary Get records
|
|
2420
|
+
* @param {string} domain Domain name
|
|
2421
|
+
* @param {*} [options] Override http request option.
|
|
2422
|
+
* @throws {RequiredError}
|
|
2423
|
+
*/
|
|
2424
|
+
getRecordsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2425
|
+
/**
|
|
2426
|
+
* This endpoint resets DNS zone to the default records.
|
|
2427
|
+
* @summary Reset zone records
|
|
2428
|
+
* @param {string} domain Domain name
|
|
2429
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2430
|
+
* @param {*} [options] Override http request option.
|
|
2431
|
+
* @throws {RequiredError}
|
|
2432
|
+
*/
|
|
2433
|
+
resetZoneRecordsV1: (domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2434
|
+
/**
|
|
2435
|
+
* This endpoint updates DNS records for the selected domain. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
|
|
2436
|
+
* @summary Update zone records
|
|
2437
|
+
* @param {string} domain Domain name
|
|
2438
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2439
|
+
* @param {*} [options] Override http request option.
|
|
2440
|
+
* @throws {RequiredError}
|
|
2441
|
+
*/
|
|
2442
|
+
updateZoneRecordsV1: (domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2443
|
+
/**
|
|
2444
|
+
* This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
|
|
2445
|
+
* @summary Validate zone records
|
|
2446
|
+
* @param {string} domain Domain name
|
|
2447
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2448
|
+
* @param {*} [options] Override http request option.
|
|
2449
|
+
* @throws {RequiredError}
|
|
2450
|
+
*/
|
|
2451
|
+
validateZoneRecordsV1: (domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2452
|
+
};
|
|
2453
|
+
/**
|
|
2454
|
+
* DNSZoneApi - functional programming interface
|
|
2455
|
+
* @export
|
|
2456
|
+
*/
|
|
2457
|
+
export declare const DNSZoneApiFp: (configuration?: Configuration) => {
|
|
2458
|
+
/**
|
|
2459
|
+
* This endpoint deletes selected DNS records for the selected domain.
|
|
2460
|
+
* @summary Delete zone records
|
|
2461
|
+
* @param {string} domain Domain name
|
|
2462
|
+
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
2463
|
+
* @param {*} [options] Override http request option.
|
|
2464
|
+
* @throws {RequiredError}
|
|
2465
|
+
*/
|
|
2466
|
+
deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2467
|
+
/**
|
|
2468
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2469
|
+
* @summary Get records
|
|
2470
|
+
* @param {string} domain Domain name
|
|
2471
|
+
* @param {*} [options] Override http request option.
|
|
2472
|
+
* @throws {RequiredError}
|
|
2473
|
+
*/
|
|
2474
|
+
getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DNSV1ZoneRecordResource>>>;
|
|
2475
|
+
/**
|
|
2476
|
+
* This endpoint resets DNS zone to the default records.
|
|
2477
|
+
* @summary Reset zone records
|
|
2478
|
+
* @param {string} domain Domain name
|
|
2479
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2480
|
+
* @param {*} [options] Override http request option.
|
|
2481
|
+
* @throws {RequiredError}
|
|
2482
|
+
*/
|
|
2483
|
+
resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2484
|
+
/**
|
|
2485
|
+
* This endpoint updates DNS records for the selected domain. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
|
|
2486
|
+
* @summary Update zone records
|
|
2487
|
+
* @param {string} domain Domain name
|
|
2488
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2489
|
+
* @param {*} [options] Override http request option.
|
|
2490
|
+
* @throws {RequiredError}
|
|
2491
|
+
*/
|
|
2492
|
+
updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2493
|
+
/**
|
|
2494
|
+
* This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
|
|
2495
|
+
* @summary Validate zone records
|
|
2496
|
+
* @param {string} domain Domain name
|
|
2497
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2498
|
+
* @param {*} [options] Override http request option.
|
|
2499
|
+
* @throws {RequiredError}
|
|
2500
|
+
*/
|
|
2501
|
+
validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2502
|
+
};
|
|
2503
|
+
/**
|
|
2504
|
+
* DNSZoneApi - factory interface
|
|
2505
|
+
* @export
|
|
2506
|
+
*/
|
|
2507
|
+
export declare const DNSZoneApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2508
|
+
/**
|
|
2509
|
+
* This endpoint deletes selected DNS records for the selected domain.
|
|
2510
|
+
* @summary Delete zone records
|
|
2511
|
+
* @param {string} domain Domain name
|
|
2512
|
+
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
2513
|
+
* @param {*} [options] Override http request option.
|
|
2514
|
+
* @throws {RequiredError}
|
|
2515
|
+
*/
|
|
2516
|
+
deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2517
|
+
/**
|
|
2518
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2519
|
+
* @summary Get records
|
|
2520
|
+
* @param {string} domain Domain name
|
|
2521
|
+
* @param {*} [options] Override http request option.
|
|
2522
|
+
* @throws {RequiredError}
|
|
2523
|
+
*/
|
|
2524
|
+
getRecordsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DNSV1ZoneRecordResource>>;
|
|
2525
|
+
/**
|
|
2526
|
+
* This endpoint resets DNS zone to the default records.
|
|
2527
|
+
* @summary Reset zone records
|
|
2528
|
+
* @param {string} domain Domain name
|
|
2529
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2530
|
+
* @param {*} [options] Override http request option.
|
|
2531
|
+
* @throws {RequiredError}
|
|
2532
|
+
*/
|
|
2533
|
+
resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2534
|
+
/**
|
|
2535
|
+
* This endpoint updates DNS records for the selected domain. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
|
|
2536
|
+
* @summary Update zone records
|
|
2537
|
+
* @param {string} domain Domain name
|
|
2538
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2539
|
+
* @param {*} [options] Override http request option.
|
|
2540
|
+
* @throws {RequiredError}
|
|
2541
|
+
*/
|
|
2542
|
+
updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2543
|
+
/**
|
|
2544
|
+
* This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
|
|
2545
|
+
* @summary Validate zone records
|
|
2546
|
+
* @param {string} domain Domain name
|
|
2547
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2548
|
+
* @param {*} [options] Override http request option.
|
|
2549
|
+
* @throws {RequiredError}
|
|
2550
|
+
*/
|
|
2551
|
+
validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2552
|
+
};
|
|
2553
|
+
/**
|
|
2554
|
+
* DNSZoneApi - object-oriented interface
|
|
2555
|
+
* @export
|
|
2556
|
+
* @class DNSZoneApi
|
|
2557
|
+
* @extends {BaseAPI}
|
|
2558
|
+
*/
|
|
2559
|
+
export declare class DNSZoneApi extends BaseAPI {
|
|
2560
|
+
/**
|
|
2561
|
+
* This endpoint deletes selected DNS records for the selected domain.
|
|
2562
|
+
* @summary Delete zone records
|
|
2563
|
+
* @param {string} domain Domain name
|
|
2564
|
+
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
2565
|
+
* @param {*} [options] Override http request option.
|
|
2566
|
+
* @throws {RequiredError}
|
|
2567
|
+
* @memberof DNSZoneApi
|
|
2568
|
+
*/
|
|
2569
|
+
deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2570
|
+
/**
|
|
2571
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2572
|
+
* @summary Get records
|
|
2573
|
+
* @param {string} domain Domain name
|
|
2574
|
+
* @param {*} [options] Override http request option.
|
|
2575
|
+
* @throws {RequiredError}
|
|
2576
|
+
* @memberof DNSZoneApi
|
|
2577
|
+
*/
|
|
2578
|
+
getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1ZoneRecordResource[], any>>;
|
|
2579
|
+
/**
|
|
2580
|
+
* This endpoint resets DNS zone to the default records.
|
|
2581
|
+
* @summary Reset zone records
|
|
2582
|
+
* @param {string} domain Domain name
|
|
2583
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2584
|
+
* @param {*} [options] Override http request option.
|
|
2585
|
+
* @throws {RequiredError}
|
|
2586
|
+
* @memberof DNSZoneApi
|
|
2587
|
+
*/
|
|
2588
|
+
resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2589
|
+
/**
|
|
2590
|
+
* This endpoint updates DNS records for the selected domain. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
|
|
2591
|
+
* @summary Update zone records
|
|
2592
|
+
* @param {string} domain Domain name
|
|
2593
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2594
|
+
* @param {*} [options] Override http request option.
|
|
2595
|
+
* @throws {RequiredError}
|
|
2596
|
+
* @memberof DNSZoneApi
|
|
2597
|
+
*/
|
|
2598
|
+
updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2599
|
+
/**
|
|
2600
|
+
* This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
|
|
2601
|
+
* @summary Validate zone records
|
|
2602
|
+
* @param {string} domain Domain name
|
|
2603
|
+
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
2604
|
+
* @param {*} [options] Override http request option.
|
|
2605
|
+
* @throws {RequiredError}
|
|
2606
|
+
* @memberof DNSZoneApi
|
|
2607
|
+
*/
|
|
2608
|
+
validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2609
|
+
}
|
|
2005
2610
|
/**
|
|
2006
2611
|
* DomainsPortfolioApi - axios parameter creator
|
|
2007
2612
|
* @export
|