hostinger-api-sdk 0.0.1 → 0.0.2
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/README.md +2 -2
- package/api.ts +609 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +374 -1
- package/dist/api.js +453 -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 +2 -2
- package/dist/esm/api.d.ts +374 -1
- package/dist/esm/api.js +443 -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 +2 -2
- 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/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.14
|
|
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,150 @@ 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 DNSV1ZoneNameRecordResource
|
|
654
|
+
*/
|
|
655
|
+
export interface DNSV1ZoneNameRecordResource {
|
|
656
|
+
/**
|
|
657
|
+
* Content of the name record
|
|
658
|
+
* @type {string}
|
|
659
|
+
* @memberof DNSV1ZoneNameRecordResource
|
|
660
|
+
*/
|
|
661
|
+
'content'?: string;
|
|
662
|
+
/**
|
|
663
|
+
* Flag to mark name record as disabled
|
|
664
|
+
* @type {boolean}
|
|
665
|
+
* @memberof DNSV1ZoneNameRecordResource
|
|
666
|
+
*/
|
|
667
|
+
'disabled'?: boolean;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @export
|
|
672
|
+
* @interface DNSV1ZoneNameResource
|
|
673
|
+
*/
|
|
674
|
+
export interface DNSV1ZoneNameResource {
|
|
675
|
+
/**
|
|
676
|
+
* Name of the record (use `@` for wildcard name)
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof DNSV1ZoneNameResource
|
|
679
|
+
*/
|
|
680
|
+
'name'?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Array of [`DNS.V1.Zone.NameRecordResource`](#model/dnsv1zonenamerecordresource)
|
|
683
|
+
* @type {Array<DNSV1ZoneNameRecordResource>}
|
|
684
|
+
* @memberof DNSV1ZoneNameResource
|
|
685
|
+
*/
|
|
686
|
+
'records'?: Array<DNSV1ZoneNameRecordResource>;
|
|
687
|
+
/**
|
|
688
|
+
* TTL (Time-To-Live) of the record
|
|
689
|
+
* @type {number}
|
|
690
|
+
* @memberof DNSV1ZoneNameResource
|
|
691
|
+
*/
|
|
692
|
+
'ttl'?: number;
|
|
693
|
+
/**
|
|
694
|
+
* Type of the record
|
|
695
|
+
* @type {string}
|
|
696
|
+
* @memberof DNSV1ZoneNameResource
|
|
697
|
+
*/
|
|
698
|
+
'type'?: DNSV1ZoneNameResourceTypeEnum;
|
|
699
|
+
}
|
|
700
|
+
export declare const DNSV1ZoneNameResourceTypeEnum: {
|
|
701
|
+
readonly A: "A";
|
|
702
|
+
readonly Aaaa: "AAAA";
|
|
703
|
+
readonly Cname: "CNAME";
|
|
704
|
+
readonly Alias: "ALIAS";
|
|
705
|
+
readonly Mx: "MX";
|
|
706
|
+
readonly Txt: "TXT";
|
|
707
|
+
readonly Ns: "NS";
|
|
708
|
+
readonly Soa: "SOA";
|
|
709
|
+
readonly Srv: "SRV";
|
|
710
|
+
readonly Caa: "CAA";
|
|
711
|
+
};
|
|
712
|
+
export type DNSV1ZoneNameResourceTypeEnum = typeof DNSV1ZoneNameResourceTypeEnum[keyof typeof DNSV1ZoneNameResourceTypeEnum];
|
|
713
|
+
/**
|
|
714
|
+
*
|
|
715
|
+
* @export
|
|
716
|
+
* @interface DNSV1ZoneResetRequest
|
|
717
|
+
*/
|
|
718
|
+
export interface DNSV1ZoneResetRequest {
|
|
719
|
+
/**
|
|
720
|
+
* Determines if operation should be run synchronously
|
|
721
|
+
* @type {boolean}
|
|
722
|
+
* @memberof DNSV1ZoneResetRequest
|
|
723
|
+
*/
|
|
724
|
+
'sync'?: boolean;
|
|
725
|
+
/**
|
|
726
|
+
* Determines if email records should be reset
|
|
727
|
+
* @type {boolean}
|
|
728
|
+
* @memberof DNSV1ZoneResetRequest
|
|
729
|
+
*/
|
|
730
|
+
'reset_email_records'?: boolean;
|
|
731
|
+
/**
|
|
732
|
+
* Specifies which record types to not reset
|
|
733
|
+
* @type {Array<string>}
|
|
734
|
+
* @memberof DNSV1ZoneResetRequest
|
|
735
|
+
*/
|
|
736
|
+
'whitelisted_record_types'?: Array<string>;
|
|
737
|
+
}
|
|
594
738
|
/**
|
|
595
739
|
*
|
|
596
740
|
* @export
|
|
@@ -2002,6 +2146,235 @@ export declare class BillingSubscriptionsApi extends BaseAPI {
|
|
|
2002
2146
|
*/
|
|
2003
2147
|
getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1SubscriptionSubscriptionResource[], any>>;
|
|
2004
2148
|
}
|
|
2149
|
+
/**
|
|
2150
|
+
* DNSSnapshotApi - axios parameter creator
|
|
2151
|
+
* @export
|
|
2152
|
+
*/
|
|
2153
|
+
export declare const DNSSnapshotApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2154
|
+
/**
|
|
2155
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2156
|
+
* @summary Get snapshot list
|
|
2157
|
+
* @param {string} domain Domain name
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
2160
|
+
*/
|
|
2161
|
+
getSnapshotListV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2162
|
+
/**
|
|
2163
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2164
|
+
* @summary Get snapshot
|
|
2165
|
+
* @param {string} domain Domain name
|
|
2166
|
+
* @param {number} snapshotId Snapshot ID
|
|
2167
|
+
* @param {*} [options] Override http request option.
|
|
2168
|
+
* @throws {RequiredError}
|
|
2169
|
+
*/
|
|
2170
|
+
getSnapshotV1: (domain: string, snapshotId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2171
|
+
/**
|
|
2172
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2173
|
+
* @summary Restore snapshot
|
|
2174
|
+
* @param {string} domain Domain name
|
|
2175
|
+
* @param {number} snapshotId Snapshot ID
|
|
2176
|
+
* @param {*} [options] Override http request option.
|
|
2177
|
+
* @throws {RequiredError}
|
|
2178
|
+
*/
|
|
2179
|
+
restoreSnapshotV1: (domain: string, snapshotId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2180
|
+
};
|
|
2181
|
+
/**
|
|
2182
|
+
* DNSSnapshotApi - functional programming interface
|
|
2183
|
+
* @export
|
|
2184
|
+
*/
|
|
2185
|
+
export declare const DNSSnapshotApiFp: (configuration?: Configuration) => {
|
|
2186
|
+
/**
|
|
2187
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2188
|
+
* @summary Get snapshot list
|
|
2189
|
+
* @param {string} domain Domain name
|
|
2190
|
+
* @param {*} [options] Override http request option.
|
|
2191
|
+
* @throws {RequiredError}
|
|
2192
|
+
*/
|
|
2193
|
+
getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DNSV1SnapshotSnapshotResource>>>;
|
|
2194
|
+
/**
|
|
2195
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2196
|
+
* @summary Get snapshot
|
|
2197
|
+
* @param {string} domain Domain name
|
|
2198
|
+
* @param {number} snapshotId Snapshot ID
|
|
2199
|
+
* @param {*} [options] Override http request option.
|
|
2200
|
+
* @throws {RequiredError}
|
|
2201
|
+
*/
|
|
2202
|
+
getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DNSV1SnapshotSnapshotWithContentResource>>;
|
|
2203
|
+
/**
|
|
2204
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2205
|
+
* @summary Restore snapshot
|
|
2206
|
+
* @param {string} domain Domain name
|
|
2207
|
+
* @param {number} snapshotId Snapshot ID
|
|
2208
|
+
* @param {*} [options] Override http request option.
|
|
2209
|
+
* @throws {RequiredError}
|
|
2210
|
+
*/
|
|
2211
|
+
restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2212
|
+
};
|
|
2213
|
+
/**
|
|
2214
|
+
* DNSSnapshotApi - factory interface
|
|
2215
|
+
* @export
|
|
2216
|
+
*/
|
|
2217
|
+
export declare const DNSSnapshotApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2218
|
+
/**
|
|
2219
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2220
|
+
* @summary Get snapshot list
|
|
2221
|
+
* @param {string} domain Domain name
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
2224
|
+
*/
|
|
2225
|
+
getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DNSV1SnapshotSnapshotResource>>;
|
|
2226
|
+
/**
|
|
2227
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2228
|
+
* @summary Get snapshot
|
|
2229
|
+
* @param {string} domain Domain name
|
|
2230
|
+
* @param {number} snapshotId Snapshot ID
|
|
2231
|
+
* @param {*} [options] Override http request option.
|
|
2232
|
+
* @throws {RequiredError}
|
|
2233
|
+
*/
|
|
2234
|
+
getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): AxiosPromise<DNSV1SnapshotSnapshotWithContentResource>;
|
|
2235
|
+
/**
|
|
2236
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2237
|
+
* @summary Restore snapshot
|
|
2238
|
+
* @param {string} domain Domain name
|
|
2239
|
+
* @param {number} snapshotId Snapshot ID
|
|
2240
|
+
* @param {*} [options] Override http request option.
|
|
2241
|
+
* @throws {RequiredError}
|
|
2242
|
+
*/
|
|
2243
|
+
restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2244
|
+
};
|
|
2245
|
+
/**
|
|
2246
|
+
* DNSSnapshotApi - object-oriented interface
|
|
2247
|
+
* @export
|
|
2248
|
+
* @class DNSSnapshotApi
|
|
2249
|
+
* @extends {BaseAPI}
|
|
2250
|
+
*/
|
|
2251
|
+
export declare class DNSSnapshotApi extends BaseAPI {
|
|
2252
|
+
/**
|
|
2253
|
+
* This endpoint retrieves list of DNS snapshots.
|
|
2254
|
+
* @summary Get snapshot list
|
|
2255
|
+
* @param {string} domain Domain name
|
|
2256
|
+
* @param {*} [options] Override http request option.
|
|
2257
|
+
* @throws {RequiredError}
|
|
2258
|
+
* @memberof DNSSnapshotApi
|
|
2259
|
+
*/
|
|
2260
|
+
getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotResource[], any>>;
|
|
2261
|
+
/**
|
|
2262
|
+
* This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
|
|
2263
|
+
* @summary Get snapshot
|
|
2264
|
+
* @param {string} domain Domain name
|
|
2265
|
+
* @param {number} snapshotId Snapshot ID
|
|
2266
|
+
* @param {*} [options] Override http request option.
|
|
2267
|
+
* @throws {RequiredError}
|
|
2268
|
+
* @memberof DNSSnapshotApi
|
|
2269
|
+
*/
|
|
2270
|
+
getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotWithContentResource, any>>;
|
|
2271
|
+
/**
|
|
2272
|
+
* This endpoint restores DNS zone to the selected snapshot.
|
|
2273
|
+
* @summary Restore snapshot
|
|
2274
|
+
* @param {string} domain Domain name
|
|
2275
|
+
* @param {number} snapshotId Snapshot ID
|
|
2276
|
+
* @param {*} [options] Override http request option.
|
|
2277
|
+
* @throws {RequiredError}
|
|
2278
|
+
* @memberof DNSSnapshotApi
|
|
2279
|
+
*/
|
|
2280
|
+
restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2281
|
+
}
|
|
2282
|
+
/**
|
|
2283
|
+
* DNSZoneApi - axios parameter creator
|
|
2284
|
+
* @export
|
|
2285
|
+
*/
|
|
2286
|
+
export declare const DNSZoneApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2287
|
+
/**
|
|
2288
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2289
|
+
* @summary Get records
|
|
2290
|
+
* @param {string} domain Domain name
|
|
2291
|
+
* @param {*} [options] Override http request option.
|
|
2292
|
+
* @throws {RequiredError}
|
|
2293
|
+
*/
|
|
2294
|
+
getRecordsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2295
|
+
/**
|
|
2296
|
+
* This endpoint resets DNS zone to the default records.
|
|
2297
|
+
* @summary Reset zone records
|
|
2298
|
+
* @param {string} domain Domain name
|
|
2299
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2300
|
+
* @param {*} [options] Override http request option.
|
|
2301
|
+
* @throws {RequiredError}
|
|
2302
|
+
*/
|
|
2303
|
+
resetZoneRecordsV1: (domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2304
|
+
};
|
|
2305
|
+
/**
|
|
2306
|
+
* DNSZoneApi - functional programming interface
|
|
2307
|
+
* @export
|
|
2308
|
+
*/
|
|
2309
|
+
export declare const DNSZoneApiFp: (configuration?: Configuration) => {
|
|
2310
|
+
/**
|
|
2311
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2312
|
+
* @summary Get records
|
|
2313
|
+
* @param {string} domain Domain name
|
|
2314
|
+
* @param {*} [options] Override http request option.
|
|
2315
|
+
* @throws {RequiredError}
|
|
2316
|
+
*/
|
|
2317
|
+
getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DNSV1ZoneNameResource>>>;
|
|
2318
|
+
/**
|
|
2319
|
+
* This endpoint resets DNS zone to the default records.
|
|
2320
|
+
* @summary Reset zone records
|
|
2321
|
+
* @param {string} domain Domain name
|
|
2322
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
*/
|
|
2326
|
+
resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
2327
|
+
};
|
|
2328
|
+
/**
|
|
2329
|
+
* DNSZoneApi - factory interface
|
|
2330
|
+
* @export
|
|
2331
|
+
*/
|
|
2332
|
+
export declare const DNSZoneApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2333
|
+
/**
|
|
2334
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2335
|
+
* @summary Get records
|
|
2336
|
+
* @param {string} domain Domain name
|
|
2337
|
+
* @param {*} [options] Override http request option.
|
|
2338
|
+
* @throws {RequiredError}
|
|
2339
|
+
*/
|
|
2340
|
+
getRecordsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DNSV1ZoneNameResource>>;
|
|
2341
|
+
/**
|
|
2342
|
+
* This endpoint resets DNS zone to the default records.
|
|
2343
|
+
* @summary Reset zone records
|
|
2344
|
+
* @param {string} domain Domain name
|
|
2345
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2346
|
+
* @param {*} [options] Override http request option.
|
|
2347
|
+
* @throws {RequiredError}
|
|
2348
|
+
*/
|
|
2349
|
+
resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
2350
|
+
};
|
|
2351
|
+
/**
|
|
2352
|
+
* DNSZoneApi - object-oriented interface
|
|
2353
|
+
* @export
|
|
2354
|
+
* @class DNSZoneApi
|
|
2355
|
+
* @extends {BaseAPI}
|
|
2356
|
+
*/
|
|
2357
|
+
export declare class DNSZoneApi extends BaseAPI {
|
|
2358
|
+
/**
|
|
2359
|
+
* This endpoint retrieves DNS zone records for a specific domain.
|
|
2360
|
+
* @summary Get records
|
|
2361
|
+
* @param {string} domain Domain name
|
|
2362
|
+
* @param {*} [options] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
2364
|
+
* @memberof DNSZoneApi
|
|
2365
|
+
*/
|
|
2366
|
+
getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1ZoneNameResource[], any>>;
|
|
2367
|
+
/**
|
|
2368
|
+
* This endpoint resets DNS zone to the default records.
|
|
2369
|
+
* @summary Reset zone records
|
|
2370
|
+
* @param {string} domain Domain name
|
|
2371
|
+
* @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
|
|
2372
|
+
* @param {*} [options] Override http request option.
|
|
2373
|
+
* @throws {RequiredError}
|
|
2374
|
+
* @memberof DNSZoneApi
|
|
2375
|
+
*/
|
|
2376
|
+
resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
2377
|
+
}
|
|
2005
2378
|
/**
|
|
2006
2379
|
* DomainsPortfolioApi - axios parameter creator
|
|
2007
2380
|
* @export
|