hostinger-api-sdk 2.12.4 → 2.13.1
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 +70 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +67 -11
- package/dist/api.js +27 -22
- 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 +67 -11
- package/dist/esm/api.js +14 -9
- 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/docs/DomainsPortfolioApi.md +1 -1
- package/docs/DomainsV1DomainDomainContactVerificationChannelResource.md +22 -0
- package/docs/DomainsV1DomainDomainContactVerificationResource.md +24 -0
- package/docs/DomainsV1DomainDomainExtendedResource.md +2 -0
- package/docs/DomainsV1WHOISStoreRequest.md +2 -2
- package/docs/DomainsWHOISApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.
|
|
1
|
+
## @hostinger/sdk@2.13.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@2.
|
|
8
|
+
npm install @hostinger/sdk@2.13.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3373,6 +3373,59 @@ export interface DomainsV1AvailabilityAvailabilityResource {
|
|
|
3373
3373
|
*/
|
|
3374
3374
|
'restriction': string | null;
|
|
3375
3375
|
}
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @export
|
|
3379
|
+
* @interface DomainsV1DomainDomainContactVerificationChannelResource
|
|
3380
|
+
*/
|
|
3381
|
+
export interface DomainsV1DomainDomainContactVerificationChannelResource {
|
|
3382
|
+
/**
|
|
3383
|
+
* - `pending`: not verified yet. Verify it in [hPanel](https://hpanel.hostinger.com/) before `ends_at`. - `verified`: verified, or never required for this TLD. Nothing to do. - `suspended`: not verified in time, so the domain is suspended until the owner contact is verified in [hPanel](https://hpanel.hostinger.com/).
|
|
3384
|
+
* @type {string}
|
|
3385
|
+
* @memberof DomainsV1DomainDomainContactVerificationChannelResource
|
|
3386
|
+
*/
|
|
3387
|
+
'status': DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum;
|
|
3388
|
+
/**
|
|
3389
|
+
* Deadline to verify by while `status` is `pending`, after which the domain is suspended. It can still hold the past deadline once the channel is `verified` or `suspended`.
|
|
3390
|
+
* @type {string}
|
|
3391
|
+
* @memberof DomainsV1DomainDomainContactVerificationChannelResource
|
|
3392
|
+
*/
|
|
3393
|
+
'ends_at': string | null;
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
export const DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum = {
|
|
3397
|
+
Pending: 'pending',
|
|
3398
|
+
Verified: 'verified',
|
|
3399
|
+
Suspended: 'suspended'
|
|
3400
|
+
} as const;
|
|
3401
|
+
|
|
3402
|
+
export type DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum = typeof DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum[keyof typeof DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum];
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
*
|
|
3406
|
+
* @export
|
|
3407
|
+
* @interface DomainsV1DomainDomainContactVerificationResource
|
|
3408
|
+
*/
|
|
3409
|
+
export interface DomainsV1DomainDomainContactVerificationResource {
|
|
3410
|
+
/**
|
|
3411
|
+
*
|
|
3412
|
+
* @type {DomainsV1DomainDomainContactVerificationChannelResource}
|
|
3413
|
+
* @memberof DomainsV1DomainDomainContactVerificationResource
|
|
3414
|
+
*/
|
|
3415
|
+
'email': DomainsV1DomainDomainContactVerificationChannelResource | null;
|
|
3416
|
+
/**
|
|
3417
|
+
*
|
|
3418
|
+
* @type {DomainsV1DomainDomainContactVerificationChannelResource}
|
|
3419
|
+
* @memberof DomainsV1DomainDomainContactVerificationResource
|
|
3420
|
+
*/
|
|
3421
|
+
'phone': DomainsV1DomainDomainContactVerificationChannelResource | null;
|
|
3422
|
+
/**
|
|
3423
|
+
*
|
|
3424
|
+
* @type {DomainsV1DomainDomainContactVerificationChannelResource}
|
|
3425
|
+
* @memberof DomainsV1DomainDomainContactVerificationResource
|
|
3426
|
+
*/
|
|
3427
|
+
'contact_name': DomainsV1DomainDomainContactVerificationChannelResource | null;
|
|
3428
|
+
}
|
|
3376
3429
|
/**
|
|
3377
3430
|
*
|
|
3378
3431
|
* @export
|
|
@@ -3469,6 +3522,12 @@ export interface DomainsV1DomainDomainExtendedResource {
|
|
|
3469
3522
|
* @memberof DomainsV1DomainDomainExtendedResource
|
|
3470
3523
|
*/
|
|
3471
3524
|
'expires_at': string | null;
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
* @type {DomainsV1DomainDomainContactVerificationResource}
|
|
3528
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
3529
|
+
*/
|
|
3530
|
+
'contact_verification': DomainsV1DomainDomainContactVerificationResource | null;
|
|
3472
3531
|
}
|
|
3473
3532
|
|
|
3474
3533
|
export const DomainsV1DomainDomainExtendedResourceStatusEnum = {
|
|
@@ -4365,13 +4424,13 @@ export interface DomainsV1WHOISStoreRequest {
|
|
|
4365
4424
|
*/
|
|
4366
4425
|
'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
|
|
4367
4426
|
/**
|
|
4368
|
-
* TLD details
|
|
4427
|
+
* TLD-specific details. The required keys depend on the TLD, country and entity type.
|
|
4369
4428
|
* @type {object}
|
|
4370
4429
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4371
4430
|
*/
|
|
4372
4431
|
'tld_details': object;
|
|
4373
4432
|
/**
|
|
4374
|
-
* WHOIS details
|
|
4433
|
+
* WHOIS contact details. The required keys depend on the TLD, country and entity type, and can be country-specific (e.g. `state_lt` and `zip_lt` instead of `state` and `zip` for Lithuania).
|
|
4375
4434
|
* @type {object}
|
|
4376
4435
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4377
4436
|
*/
|
|
@@ -26556,7 +26615,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26556
26615
|
};
|
|
26557
26616
|
},
|
|
26558
26617
|
/**
|
|
26559
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
26618
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
26560
26619
|
* @summary Get domain details
|
|
26561
26620
|
* @param {string} domain Domain name
|
|
26562
26621
|
* @param {*} [options] Override http request option.
|
|
@@ -26845,7 +26904,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26845
26904
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26846
26905
|
},
|
|
26847
26906
|
/**
|
|
26848
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
26907
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
26849
26908
|
* @summary Get domain details
|
|
26850
26909
|
* @param {string} domain Domain name
|
|
26851
26910
|
* @param {*} [options] Override http request option.
|
|
@@ -26986,7 +27045,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26986
27045
|
return localVarFp.getDomainAuthorizationCodeV1(domain, options).then((request) => request(axios, basePath));
|
|
26987
27046
|
},
|
|
26988
27047
|
/**
|
|
26989
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
27048
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
26990
27049
|
* @summary Get domain details
|
|
26991
27050
|
* @param {string} domain Domain name
|
|
26992
27051
|
* @param {*} [options] Override http request option.
|
|
@@ -27131,7 +27190,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27131
27190
|
}
|
|
27132
27191
|
|
|
27133
27192
|
/**
|
|
27134
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
27193
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
27135
27194
|
* @summary Get domain details
|
|
27136
27195
|
* @param {string} domain Domain name
|
|
27137
27196
|
* @param {*} [options] Override http request option.
|
|
@@ -27602,7 +27661,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration?: Config
|
|
|
27602
27661
|
};
|
|
27603
27662
|
},
|
|
27604
27663
|
/**
|
|
27605
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
27664
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
27606
27665
|
* @summary Create WHOIS profile
|
|
27607
27666
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
27608
27667
|
* @param {*} [options] Override http request option.
|
|
@@ -27943,7 +28002,7 @@ export const DomainsWHOISApiFp = function(configuration?: Configuration) {
|
|
|
27943
28002
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27944
28003
|
},
|
|
27945
28004
|
/**
|
|
27946
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
28005
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
27947
28006
|
* @summary Create WHOIS profile
|
|
27948
28007
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
27949
28008
|
* @param {*} [options] Override http request option.
|
|
@@ -28069,7 +28128,7 @@ export const DomainsWHOISApiFactory = function (configuration?: Configuration, b
|
|
|
28069
28128
|
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
|
|
28070
28129
|
},
|
|
28071
28130
|
/**
|
|
28072
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
28131
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
28073
28132
|
* @summary Create WHOIS profile
|
|
28074
28133
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
28075
28134
|
* @param {*} [options] Override http request option.
|
|
@@ -28183,7 +28242,7 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
28183
28242
|
}
|
|
28184
28243
|
|
|
28185
28244
|
/**
|
|
28186
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
28245
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
28187
28246
|
* @summary Create WHOIS profile
|
|
28188
28247
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
28189
28248
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/2.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.13.1",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.13.1
|
|
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
|
|
@@ -3300,6 +3300,56 @@ export interface DomainsV1AvailabilityAvailabilityResource {
|
|
|
3300
3300
|
*/
|
|
3301
3301
|
'restriction': string | null;
|
|
3302
3302
|
}
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @export
|
|
3306
|
+
* @interface DomainsV1DomainDomainContactVerificationChannelResource
|
|
3307
|
+
*/
|
|
3308
|
+
export interface DomainsV1DomainDomainContactVerificationChannelResource {
|
|
3309
|
+
/**
|
|
3310
|
+
* - `pending`: not verified yet. Verify it in [hPanel](https://hpanel.hostinger.com/) before `ends_at`. - `verified`: verified, or never required for this TLD. Nothing to do. - `suspended`: not verified in time, so the domain is suspended until the owner contact is verified in [hPanel](https://hpanel.hostinger.com/).
|
|
3311
|
+
* @type {string}
|
|
3312
|
+
* @memberof DomainsV1DomainDomainContactVerificationChannelResource
|
|
3313
|
+
*/
|
|
3314
|
+
'status': DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum;
|
|
3315
|
+
/**
|
|
3316
|
+
* Deadline to verify by while `status` is `pending`, after which the domain is suspended. It can still hold the past deadline once the channel is `verified` or `suspended`.
|
|
3317
|
+
* @type {string}
|
|
3318
|
+
* @memberof DomainsV1DomainDomainContactVerificationChannelResource
|
|
3319
|
+
*/
|
|
3320
|
+
'ends_at': string | null;
|
|
3321
|
+
}
|
|
3322
|
+
export declare const DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum: {
|
|
3323
|
+
readonly Pending: "pending";
|
|
3324
|
+
readonly Verified: "verified";
|
|
3325
|
+
readonly Suspended: "suspended";
|
|
3326
|
+
};
|
|
3327
|
+
export type DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum = typeof DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum[keyof typeof DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum];
|
|
3328
|
+
/**
|
|
3329
|
+
*
|
|
3330
|
+
* @export
|
|
3331
|
+
* @interface DomainsV1DomainDomainContactVerificationResource
|
|
3332
|
+
*/
|
|
3333
|
+
export interface DomainsV1DomainDomainContactVerificationResource {
|
|
3334
|
+
/**
|
|
3335
|
+
*
|
|
3336
|
+
* @type {DomainsV1DomainDomainContactVerificationChannelResource}
|
|
3337
|
+
* @memberof DomainsV1DomainDomainContactVerificationResource
|
|
3338
|
+
*/
|
|
3339
|
+
'email': DomainsV1DomainDomainContactVerificationChannelResource | null;
|
|
3340
|
+
/**
|
|
3341
|
+
*
|
|
3342
|
+
* @type {DomainsV1DomainDomainContactVerificationChannelResource}
|
|
3343
|
+
* @memberof DomainsV1DomainDomainContactVerificationResource
|
|
3344
|
+
*/
|
|
3345
|
+
'phone': DomainsV1DomainDomainContactVerificationChannelResource | null;
|
|
3346
|
+
/**
|
|
3347
|
+
*
|
|
3348
|
+
* @type {DomainsV1DomainDomainContactVerificationChannelResource}
|
|
3349
|
+
* @memberof DomainsV1DomainDomainContactVerificationResource
|
|
3350
|
+
*/
|
|
3351
|
+
'contact_name': DomainsV1DomainDomainContactVerificationChannelResource | null;
|
|
3352
|
+
}
|
|
3303
3353
|
/**
|
|
3304
3354
|
*
|
|
3305
3355
|
* @export
|
|
@@ -3396,6 +3446,12 @@ export interface DomainsV1DomainDomainExtendedResource {
|
|
|
3396
3446
|
* @memberof DomainsV1DomainDomainExtendedResource
|
|
3397
3447
|
*/
|
|
3398
3448
|
'expires_at': string | null;
|
|
3449
|
+
/**
|
|
3450
|
+
*
|
|
3451
|
+
* @type {DomainsV1DomainDomainContactVerificationResource}
|
|
3452
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
3453
|
+
*/
|
|
3454
|
+
'contact_verification': DomainsV1DomainDomainContactVerificationResource | null;
|
|
3399
3455
|
}
|
|
3400
3456
|
export declare const DomainsV1DomainDomainExtendedResourceStatusEnum: {
|
|
3401
3457
|
readonly Active: "active";
|
|
@@ -4258,13 +4314,13 @@ export interface DomainsV1WHOISStoreRequest {
|
|
|
4258
4314
|
*/
|
|
4259
4315
|
'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
|
|
4260
4316
|
/**
|
|
4261
|
-
* TLD details
|
|
4317
|
+
* TLD-specific details. The required keys depend on the TLD, country and entity type.
|
|
4262
4318
|
* @type {object}
|
|
4263
4319
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4264
4320
|
*/
|
|
4265
4321
|
'tld_details': object;
|
|
4266
4322
|
/**
|
|
4267
|
-
* WHOIS details
|
|
4323
|
+
* WHOIS contact details. The required keys depend on the TLD, country and entity type, and can be country-specific (e.g. `state_lt` and `zip_lt` instead of `state` and `zip` for Lithuania).
|
|
4268
4324
|
* @type {object}
|
|
4269
4325
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4270
4326
|
*/
|
|
@@ -22414,7 +22470,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22414
22470
|
*/
|
|
22415
22471
|
getDomainAuthorizationCodeV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22416
22472
|
/**
|
|
22417
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22473
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
22418
22474
|
* @summary Get domain details
|
|
22419
22475
|
* @param {string} domain Domain name
|
|
22420
22476
|
* @param {*} [options] Override http request option.
|
|
@@ -22517,7 +22573,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22517
22573
|
*/
|
|
22518
22574
|
getDomainAuthorizationCodeV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1PortfolioAuthCodeAuthCodeResource>>;
|
|
22519
22575
|
/**
|
|
22520
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22576
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
22521
22577
|
* @summary Get domain details
|
|
22522
22578
|
* @param {string} domain Domain name
|
|
22523
22579
|
* @param {*} [options] Override http request option.
|
|
@@ -22620,7 +22676,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22620
22676
|
*/
|
|
22621
22677
|
getDomainAuthorizationCodeV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1PortfolioAuthCodeAuthCodeResource>;
|
|
22622
22678
|
/**
|
|
22623
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22679
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
22624
22680
|
* @summary Get domain details
|
|
22625
22681
|
* @param {string} domain Domain name
|
|
22626
22682
|
* @param {*} [options] Override http request option.
|
|
@@ -22732,7 +22788,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22732
22788
|
*/
|
|
22733
22789
|
getDomainAuthorizationCodeV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1PortfolioAuthCodeAuthCodeResource, any, {}, any>>;
|
|
22734
22790
|
/**
|
|
22735
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22791
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
22736
22792
|
* @summary Get domain details
|
|
22737
22793
|
* @param {string} domain Domain name
|
|
22738
22794
|
* @param {*} [options] Override http request option.
|
|
@@ -22953,7 +23009,7 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
22953
23009
|
*/
|
|
22954
23010
|
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22955
23011
|
/**
|
|
22956
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23012
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
22957
23013
|
* @summary Create WHOIS profile
|
|
22958
23014
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
22959
23015
|
* @param {*} [options] Override http request option.
|
|
@@ -23039,7 +23095,7 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
23039
23095
|
*/
|
|
23040
23096
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23041
23097
|
/**
|
|
23042
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23098
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
23043
23099
|
* @summary Create WHOIS profile
|
|
23044
23100
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23045
23101
|
* @param {*} [options] Override http request option.
|
|
@@ -23125,7 +23181,7 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
23125
23181
|
*/
|
|
23126
23182
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23127
23183
|
/**
|
|
23128
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23184
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
23129
23185
|
* @summary Create WHOIS profile
|
|
23130
23186
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23131
23187
|
* @param {*} [options] Override http request option.
|
|
@@ -23215,7 +23271,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
23215
23271
|
*/
|
|
23216
23272
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23217
23273
|
/**
|
|
23218
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23274
|
+
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry.
|
|
23219
23275
|
* @summary Create WHOIS profile
|
|
23220
23276
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23221
23277
|
* @param {*} [options] Override http request option.
|