@randock/nameshift-api-client 0.0.54 → 0.0.56
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/.openapi-generator/FILES +2 -0
- package/README.md +3 -3
- package/dist/models/DomainDto.d.ts +7 -1
- package/dist/models/DomainDto.js +4 -0
- package/dist/models/DomainSalesInformationDto.d.ts +13 -6
- package/dist/models/DomainSalesInformationDto.js +10 -5
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +37 -0
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +51 -0
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +37 -0
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +51 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithDomainUrlDto.d.ts +7 -1
- package/dist/models/IntersectionDomainDtoWithDomainUrlDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -1
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/RelatedSellerDomain.d.ts +6 -0
- package/dist/models/RelatedSellerDomain.js +4 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/models/DomainDto.ts +10 -1
- package/src/models/DomainSalesInformationDto.ts +29 -14
- package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +70 -0
- package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +70 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +10 -1
- package/src/models/IntersectionDomainDtoWithDomainUrlDto.ts +10 -1
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +10 -1
- package/src/models/RelatedSellerDomain.ts +9 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -31,6 +31,8 @@ src/models/DashboardStatsDto.ts
|
|
|
31
31
|
src/models/DeleteDomainsInput.ts
|
|
32
32
|
src/models/DomainDto.ts
|
|
33
33
|
src/models/DomainSalesInformationDto.ts
|
|
34
|
+
src/models/DomainSalesInformationDtoBuyNowPrice.ts
|
|
35
|
+
src/models/DomainSalesInformationDtoMinOfferPrice.ts
|
|
34
36
|
src/models/DomainSellerDto.ts
|
|
35
37
|
src/models/DomainTransferAgentDto.ts
|
|
36
38
|
src/models/DomainTransferDomainDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.56
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.56 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
0f24a8bb1fb90d1e3257a1a4775fdced5ed3e37e5b524088d8bd4d8c057a5c24ff9613d5588f340572c59d0015da4b48
|
|
@@ -53,11 +53,17 @@ export interface DomainDto {
|
|
|
53
53
|
*/
|
|
54
54
|
nameservers: boolean;
|
|
55
55
|
/**
|
|
56
|
-
* The domain name (example.com)
|
|
56
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof DomainDto
|
|
59
59
|
*/
|
|
60
60
|
name: string;
|
|
61
|
+
/**
|
|
62
|
+
* The unicode domain name (example.com, mañana.com)
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof DomainDto
|
|
65
|
+
*/
|
|
66
|
+
displayName: string;
|
|
61
67
|
/**
|
|
62
68
|
* /**
|
|
63
69
|
* The domain's currency code (ISO 4217)
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -33,6 +33,8 @@ function instanceOfDomainDto(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
if (!('name' in value) || value['name'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
37
|
+
return false;
|
|
36
38
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
37
39
|
return false;
|
|
38
40
|
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
@@ -58,6 +60,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'verified': json['verified'],
|
|
59
61
|
'nameservers': json['nameservers'],
|
|
60
62
|
'name': json['name'],
|
|
63
|
+
'displayName': json['displayName'],
|
|
61
64
|
'currencyCode': json['currencyCode'],
|
|
62
65
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
63
66
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
@@ -76,6 +79,7 @@ function DomainDtoToJSON(value) {
|
|
|
76
79
|
'verified': value['verified'],
|
|
77
80
|
'nameservers': value['nameservers'],
|
|
78
81
|
'name': value['name'],
|
|
82
|
+
'displayName': value['displayName'],
|
|
79
83
|
'currencyCode': value['currencyCode'],
|
|
80
84
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
81
85
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DomainSalesInformationDtoMinOfferPrice } from './DomainSalesInformationDtoMinOfferPrice';
|
|
12
13
|
import type { DomainSellerDto } from './DomainSellerDto';
|
|
13
|
-
import type {
|
|
14
|
+
import type { DomainSalesInformationDtoBuyNowPrice } from './DomainSalesInformationDtoBuyNowPrice';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -18,23 +19,29 @@ import type { MoneyDto } from './MoneyDto';
|
|
|
18
19
|
*/
|
|
19
20
|
export interface DomainSalesInformationDto {
|
|
20
21
|
/**
|
|
21
|
-
* The domain name (example.com)
|
|
22
|
+
* The domain name (example.com, xn--maana-pta.com)
|
|
22
23
|
* @type {string}
|
|
23
24
|
* @memberof DomainSalesInformationDto
|
|
24
25
|
*/
|
|
25
26
|
domain: string;
|
|
27
|
+
/**
|
|
28
|
+
* The domain display name (example.com, mañana.com)
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof DomainSalesInformationDto
|
|
31
|
+
*/
|
|
32
|
+
domainDisplayName: string;
|
|
26
33
|
/**
|
|
27
34
|
*
|
|
28
|
-
* @type {
|
|
35
|
+
* @type {DomainSalesInformationDtoBuyNowPrice}
|
|
29
36
|
* @memberof DomainSalesInformationDto
|
|
30
37
|
*/
|
|
31
|
-
buyNowPrice:
|
|
38
|
+
buyNowPrice: DomainSalesInformationDtoBuyNowPrice | null;
|
|
32
39
|
/**
|
|
33
40
|
*
|
|
34
|
-
* @type {
|
|
41
|
+
* @type {DomainSalesInformationDtoMinOfferPrice}
|
|
35
42
|
* @memberof DomainSalesInformationDto
|
|
36
43
|
*/
|
|
37
|
-
minOfferPrice:
|
|
44
|
+
minOfferPrice: DomainSalesInformationDtoMinOfferPrice | null;
|
|
38
45
|
/**
|
|
39
46
|
* The domain seller information
|
|
40
47
|
* @type {DomainSellerDto}
|
|
@@ -14,14 +14,17 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DomainSalesInformationDtoToJSON = exports.DomainSalesInformationDtoFromJSONTyped = exports.DomainSalesInformationDtoFromJSON = exports.instanceOfDomainSalesInformationDto = void 0;
|
|
17
|
+
var DomainSalesInformationDtoMinOfferPrice_1 = require("./DomainSalesInformationDtoMinOfferPrice");
|
|
17
18
|
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
18
|
-
var
|
|
19
|
+
var DomainSalesInformationDtoBuyNowPrice_1 = require("./DomainSalesInformationDtoBuyNowPrice");
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
21
22
|
*/
|
|
22
23
|
function instanceOfDomainSalesInformationDto(value) {
|
|
23
24
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
24
25
|
return false;
|
|
26
|
+
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
|
|
27
|
+
return false;
|
|
25
28
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined)
|
|
26
29
|
return false;
|
|
27
30
|
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
|
|
@@ -41,8 +44,9 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
44
|
}
|
|
42
45
|
return {
|
|
43
46
|
'domain': json['domain'],
|
|
44
|
-
'
|
|
45
|
-
'
|
|
47
|
+
'domainDisplayName': json['domainDisplayName'],
|
|
48
|
+
'buyNowPrice': (0, DomainSalesInformationDtoBuyNowPrice_1.DomainSalesInformationDtoBuyNowPriceFromJSON)(json['buyNowPrice']),
|
|
49
|
+
'minOfferPrice': (0, DomainSalesInformationDtoMinOfferPrice_1.DomainSalesInformationDtoMinOfferPriceFromJSON)(json['minOfferPrice']),
|
|
46
50
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
47
51
|
};
|
|
48
52
|
}
|
|
@@ -53,8 +57,9 @@ function DomainSalesInformationDtoToJSON(value) {
|
|
|
53
57
|
}
|
|
54
58
|
return {
|
|
55
59
|
'domain': value['domain'],
|
|
56
|
-
'
|
|
57
|
-
'
|
|
60
|
+
'domainDisplayName': value['domainDisplayName'],
|
|
61
|
+
'buyNowPrice': (0, DomainSalesInformationDtoBuyNowPrice_1.DomainSalesInformationDtoBuyNowPriceToJSON)(value['buyNowPrice']),
|
|
62
|
+
'minOfferPrice': (0, DomainSalesInformationDtoMinOfferPrice_1.DomainSalesInformationDtoMinOfferPriceToJSON)(value['minOfferPrice']),
|
|
58
63
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
59
64
|
};
|
|
60
65
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Buy now price or null if buy now is not enabled
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainSalesInformationDtoBuyNowPrice
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainSalesInformationDtoBuyNowPrice {
|
|
18
|
+
/**
|
|
19
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DomainSalesInformationDtoBuyNowPrice
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Three letter ISO currency code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainSalesInformationDtoBuyNowPrice
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainSalesInformationDtoBuyNowPrice interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainSalesInformationDtoBuyNowPrice(value: object): value is DomainSalesInformationDtoBuyNowPrice;
|
|
35
|
+
export declare function DomainSalesInformationDtoBuyNowPriceFromJSON(json: any): DomainSalesInformationDtoBuyNowPrice;
|
|
36
|
+
export declare function DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoBuyNowPrice;
|
|
37
|
+
export declare function DomainSalesInformationDtoBuyNowPriceToJSON(value?: DomainSalesInformationDtoBuyNowPrice | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DomainSalesInformationDtoBuyNowPriceToJSON = exports.DomainSalesInformationDtoBuyNowPriceFromJSONTyped = exports.DomainSalesInformationDtoBuyNowPriceFromJSON = exports.instanceOfDomainSalesInformationDtoBuyNowPrice = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainSalesInformationDtoBuyNowPrice interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainSalesInformationDtoBuyNowPrice(value) {
|
|
21
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainSalesInformationDtoBuyNowPrice = instanceOfDomainSalesInformationDtoBuyNowPrice;
|
|
28
|
+
function DomainSalesInformationDtoBuyNowPriceFromJSON(json) {
|
|
29
|
+
return DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainSalesInformationDtoBuyNowPriceFromJSON = DomainSalesInformationDtoBuyNowPriceFromJSON;
|
|
32
|
+
function DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'amount': json['amount'],
|
|
38
|
+
'currencyCode': json['currencyCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainSalesInformationDtoBuyNowPriceFromJSONTyped = DomainSalesInformationDtoBuyNowPriceFromJSONTyped;
|
|
42
|
+
function DomainSalesInformationDtoBuyNowPriceToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'amount': value['amount'],
|
|
48
|
+
'currencyCode': value['currencyCode'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainSalesInformationDtoBuyNowPriceToJSON = DomainSalesInformationDtoBuyNowPriceToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* min offer price or null if offers are not enabled
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainSalesInformationDtoMinOfferPrice
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainSalesInformationDtoMinOfferPrice {
|
|
18
|
+
/**
|
|
19
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DomainSalesInformationDtoMinOfferPrice
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Three letter ISO currency code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainSalesInformationDtoMinOfferPrice
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainSalesInformationDtoMinOfferPrice interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainSalesInformationDtoMinOfferPrice(value: object): value is DomainSalesInformationDtoMinOfferPrice;
|
|
35
|
+
export declare function DomainSalesInformationDtoMinOfferPriceFromJSON(json: any): DomainSalesInformationDtoMinOfferPrice;
|
|
36
|
+
export declare function DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoMinOfferPrice;
|
|
37
|
+
export declare function DomainSalesInformationDtoMinOfferPriceToJSON(value?: DomainSalesInformationDtoMinOfferPrice | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DomainSalesInformationDtoMinOfferPriceToJSON = exports.DomainSalesInformationDtoMinOfferPriceFromJSONTyped = exports.DomainSalesInformationDtoMinOfferPriceFromJSON = exports.instanceOfDomainSalesInformationDtoMinOfferPrice = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainSalesInformationDtoMinOfferPrice interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainSalesInformationDtoMinOfferPrice(value) {
|
|
21
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainSalesInformationDtoMinOfferPrice = instanceOfDomainSalesInformationDtoMinOfferPrice;
|
|
28
|
+
function DomainSalesInformationDtoMinOfferPriceFromJSON(json) {
|
|
29
|
+
return DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainSalesInformationDtoMinOfferPriceFromJSON = DomainSalesInformationDtoMinOfferPriceFromJSON;
|
|
32
|
+
function DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'amount': json['amount'],
|
|
38
|
+
'currencyCode': json['currencyCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainSalesInformationDtoMinOfferPriceFromJSONTyped = DomainSalesInformationDtoMinOfferPriceFromJSONTyped;
|
|
42
|
+
function DomainSalesInformationDtoMinOfferPriceToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'amount': value['amount'],
|
|
48
|
+
'currencyCode': value['currencyCode'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainSalesInformationDtoMinOfferPriceToJSON = DomainSalesInformationDtoMinOfferPriceToJSON;
|
|
@@ -54,11 +54,17 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
54
54
|
*/
|
|
55
55
|
nameservers: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* The domain name (example.com)
|
|
57
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
58
58
|
* @type {string}
|
|
59
59
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
60
60
|
*/
|
|
61
61
|
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* The unicode domain name (example.com, mañana.com)
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
66
|
+
*/
|
|
67
|
+
displayName: string;
|
|
62
68
|
/**
|
|
63
69
|
* /**
|
|
64
70
|
* The domain's currency code (ISO 4217)
|
|
@@ -34,6 +34,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('name' in value) || value['name'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
@@ -61,6 +63,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
61
63
|
'verified': json['verified'],
|
|
62
64
|
'nameservers': json['nameservers'],
|
|
63
65
|
'name': json['name'],
|
|
66
|
+
'displayName': json['displayName'],
|
|
64
67
|
'currencyCode': json['currencyCode'],
|
|
65
68
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
66
69
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
@@ -80,6 +83,7 @@ function IntersectionDomainDtoWithAccountDtoToJSON(value) {
|
|
|
80
83
|
'verified': value['verified'],
|
|
81
84
|
'nameservers': value['nameservers'],
|
|
82
85
|
'name': value['name'],
|
|
86
|
+
'displayName': value['displayName'],
|
|
83
87
|
'currencyCode': value['currencyCode'],
|
|
84
88
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
85
89
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
@@ -59,11 +59,17 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
|
|
|
59
59
|
*/
|
|
60
60
|
nameservers: boolean;
|
|
61
61
|
/**
|
|
62
|
-
* The domain name (example.com)
|
|
62
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
65
65
|
*/
|
|
66
66
|
name: string;
|
|
67
|
+
/**
|
|
68
|
+
* The unicode domain name (example.com, mañana.com)
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
71
|
+
*/
|
|
72
|
+
displayName: string;
|
|
67
73
|
/**
|
|
68
74
|
* /**
|
|
69
75
|
* The domain's currency code (ISO 4217)
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('name' in value) || value['name'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
@@ -61,6 +63,7 @@ function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscrimi
|
|
|
61
63
|
'verified': json['verified'],
|
|
62
64
|
'nameservers': json['nameservers'],
|
|
63
65
|
'name': json['name'],
|
|
66
|
+
'displayName': json['displayName'],
|
|
64
67
|
'currencyCode': json['currencyCode'],
|
|
65
68
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
66
69
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
@@ -80,6 +83,7 @@ function IntersectionDomainDtoWithDomainUrlDtoToJSON(value) {
|
|
|
80
83
|
'verified': value['verified'],
|
|
81
84
|
'nameservers': value['nameservers'],
|
|
82
85
|
'name': value['name'],
|
|
86
|
+
'displayName': value['displayName'],
|
|
83
87
|
'currencyCode': value['currencyCode'],
|
|
84
88
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
85
89
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
@@ -54,11 +54,17 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
54
54
|
*/
|
|
55
55
|
nameservers: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* The domain name (example.com)
|
|
57
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
58
58
|
* @type {string}
|
|
59
59
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
60
60
|
*/
|
|
61
61
|
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* The unicode domain name (example.com, mañana.com)
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
66
|
+
*/
|
|
67
|
+
displayName: string;
|
|
62
68
|
/**
|
|
63
69
|
* /**
|
|
64
70
|
* The domain's currency code (ISO 4217)
|
|
@@ -34,6 +34,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('name' in value) || value['name'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
@@ -63,6 +65,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
63
65
|
'verified': json['verified'],
|
|
64
66
|
'nameservers': json['nameservers'],
|
|
65
67
|
'name': json['name'],
|
|
68
|
+
'displayName': json['displayName'],
|
|
66
69
|
'currencyCode': json['currencyCode'],
|
|
67
70
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
68
71
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
@@ -83,6 +86,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
|
|
|
83
86
|
'verified': value['verified'],
|
|
84
87
|
'nameservers': value['nameservers'],
|
|
85
88
|
'name': value['name'],
|
|
89
|
+
'displayName': value['displayName'],
|
|
86
90
|
'currencyCode': value['currencyCode'],
|
|
87
91
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
88
92
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
@@ -21,6 +21,8 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
21
21
|
function instanceOfRelatedSellerDomain(value) {
|
|
22
22
|
if (!('name' in value) || value['name'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
25
|
+
return false;
|
|
24
26
|
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
25
27
|
return false;
|
|
26
28
|
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
@@ -40,6 +42,7 @@ function RelatedSellerDomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
}
|
|
41
43
|
return {
|
|
42
44
|
'name': json['name'],
|
|
45
|
+
'displayName': json['displayName'],
|
|
43
46
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
44
47
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
45
48
|
'url': json['url'],
|
|
@@ -52,6 +55,7 @@ function RelatedSellerDomainToJSON(value) {
|
|
|
52
55
|
}
|
|
53
56
|
return {
|
|
54
57
|
'name': value['name'],
|
|
58
|
+
'displayName': value['displayName'],
|
|
55
59
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
56
60
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
57
61
|
'url': value['url'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export * from './DashboardStatsDto';
|
|
|
14
14
|
export * from './DeleteDomainsInput';
|
|
15
15
|
export * from './DomainDto';
|
|
16
16
|
export * from './DomainSalesInformationDto';
|
|
17
|
+
export * from './DomainSalesInformationDtoBuyNowPrice';
|
|
18
|
+
export * from './DomainSalesInformationDtoMinOfferPrice';
|
|
17
19
|
export * from './DomainSellerDto';
|
|
18
20
|
export * from './DomainTransferAgentDto';
|
|
19
21
|
export * from './DomainTransferDomainDto';
|
package/dist/models/index.js
CHANGED
|
@@ -32,6 +32,8 @@ __exportStar(require("./DashboardStatsDto"), exports);
|
|
|
32
32
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
33
33
|
__exportStar(require("./DomainDto"), exports);
|
|
34
34
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
35
|
+
__exportStar(require("./DomainSalesInformationDtoBuyNowPrice"), exports);
|
|
36
|
+
__exportStar(require("./DomainSalesInformationDtoMinOfferPrice"), exports);
|
|
35
37
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
36
38
|
__exportStar(require("./DomainTransferAgentDto"), exports);
|
|
37
39
|
__exportStar(require("./DomainTransferDomainDto"), exports);
|
package/package.json
CHANGED
package/src/models/DomainDto.ts
CHANGED
|
@@ -63,11 +63,17 @@ export interface DomainDto {
|
|
|
63
63
|
*/
|
|
64
64
|
nameservers: boolean;
|
|
65
65
|
/**
|
|
66
|
-
* The domain name (example.com)
|
|
66
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof DomainDto
|
|
69
69
|
*/
|
|
70
70
|
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* The unicode domain name (example.com, mañana.com)
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof DomainDto
|
|
75
|
+
*/
|
|
76
|
+
displayName: string;
|
|
71
77
|
/**
|
|
72
78
|
* /**
|
|
73
79
|
* The domain's currency code (ISO 4217)
|
|
@@ -100,6 +106,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
100
106
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
101
107
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
102
108
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
109
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
103
110
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
104
111
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
105
112
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
@@ -123,6 +130,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
123
130
|
'verified': json['verified'],
|
|
124
131
|
'nameservers': json['nameservers'],
|
|
125
132
|
'name': json['name'],
|
|
133
|
+
'displayName': json['displayName'],
|
|
126
134
|
'currencyCode': json['currencyCode'],
|
|
127
135
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
128
136
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
@@ -142,6 +150,7 @@ export function DomainDtoToJSON(value?: DomainDto | null): any {
|
|
|
142
150
|
'verified': value['verified'],
|
|
143
151
|
'nameservers': value['nameservers'],
|
|
144
152
|
'name': value['name'],
|
|
153
|
+
'displayName': value['displayName'],
|
|
145
154
|
'currencyCode': value['currencyCode'],
|
|
146
155
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
147
156
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
@@ -13,18 +13,24 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { DomainSalesInformationDtoMinOfferPrice } from './DomainSalesInformationDtoMinOfferPrice';
|
|
17
|
+
import {
|
|
18
|
+
DomainSalesInformationDtoMinOfferPriceFromJSON,
|
|
19
|
+
DomainSalesInformationDtoMinOfferPriceFromJSONTyped,
|
|
20
|
+
DomainSalesInformationDtoMinOfferPriceToJSON,
|
|
21
|
+
} from './DomainSalesInformationDtoMinOfferPrice';
|
|
16
22
|
import type { DomainSellerDto } from './DomainSellerDto';
|
|
17
23
|
import {
|
|
18
24
|
DomainSellerDtoFromJSON,
|
|
19
25
|
DomainSellerDtoFromJSONTyped,
|
|
20
26
|
DomainSellerDtoToJSON,
|
|
21
27
|
} from './DomainSellerDto';
|
|
22
|
-
import type {
|
|
28
|
+
import type { DomainSalesInformationDtoBuyNowPrice } from './DomainSalesInformationDtoBuyNowPrice';
|
|
23
29
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from './
|
|
30
|
+
DomainSalesInformationDtoBuyNowPriceFromJSON,
|
|
31
|
+
DomainSalesInformationDtoBuyNowPriceFromJSONTyped,
|
|
32
|
+
DomainSalesInformationDtoBuyNowPriceToJSON,
|
|
33
|
+
} from './DomainSalesInformationDtoBuyNowPrice';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
@@ -33,23 +39,29 @@ import {
|
|
|
33
39
|
*/
|
|
34
40
|
export interface DomainSalesInformationDto {
|
|
35
41
|
/**
|
|
36
|
-
* The domain name (example.com)
|
|
42
|
+
* The domain name (example.com, xn--maana-pta.com)
|
|
37
43
|
* @type {string}
|
|
38
44
|
* @memberof DomainSalesInformationDto
|
|
39
45
|
*/
|
|
40
46
|
domain: string;
|
|
47
|
+
/**
|
|
48
|
+
* The domain display name (example.com, mañana.com)
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DomainSalesInformationDto
|
|
51
|
+
*/
|
|
52
|
+
domainDisplayName: string;
|
|
41
53
|
/**
|
|
42
54
|
*
|
|
43
|
-
* @type {
|
|
55
|
+
* @type {DomainSalesInformationDtoBuyNowPrice}
|
|
44
56
|
* @memberof DomainSalesInformationDto
|
|
45
57
|
*/
|
|
46
|
-
buyNowPrice:
|
|
58
|
+
buyNowPrice: DomainSalesInformationDtoBuyNowPrice | null;
|
|
47
59
|
/**
|
|
48
60
|
*
|
|
49
|
-
* @type {
|
|
61
|
+
* @type {DomainSalesInformationDtoMinOfferPrice}
|
|
50
62
|
* @memberof DomainSalesInformationDto
|
|
51
63
|
*/
|
|
52
|
-
minOfferPrice:
|
|
64
|
+
minOfferPrice: DomainSalesInformationDtoMinOfferPrice | null;
|
|
53
65
|
/**
|
|
54
66
|
* The domain seller information
|
|
55
67
|
* @type {DomainSellerDto}
|
|
@@ -63,6 +75,7 @@ export interface DomainSalesInformationDto {
|
|
|
63
75
|
*/
|
|
64
76
|
export function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto {
|
|
65
77
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
78
|
+
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
66
79
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
67
80
|
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined) return false;
|
|
68
81
|
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
@@ -80,8 +93,9 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
80
93
|
return {
|
|
81
94
|
|
|
82
95
|
'domain': json['domain'],
|
|
83
|
-
'
|
|
84
|
-
'
|
|
96
|
+
'domainDisplayName': json['domainDisplayName'],
|
|
97
|
+
'buyNowPrice': DomainSalesInformationDtoBuyNowPriceFromJSON(json['buyNowPrice']),
|
|
98
|
+
'minOfferPrice': DomainSalesInformationDtoMinOfferPriceFromJSON(json['minOfferPrice']),
|
|
85
99
|
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
86
100
|
};
|
|
87
101
|
}
|
|
@@ -93,8 +107,9 @@ export function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDt
|
|
|
93
107
|
return {
|
|
94
108
|
|
|
95
109
|
'domain': value['domain'],
|
|
96
|
-
'
|
|
97
|
-
'
|
|
110
|
+
'domainDisplayName': value['domainDisplayName'],
|
|
111
|
+
'buyNowPrice': DomainSalesInformationDtoBuyNowPriceToJSON(value['buyNowPrice']),
|
|
112
|
+
'minOfferPrice': DomainSalesInformationDtoMinOfferPriceToJSON(value['minOfferPrice']),
|
|
98
113
|
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
99
114
|
};
|
|
100
115
|
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Buy now price or null if buy now is not enabled
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DomainSalesInformationDtoBuyNowPrice
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainSalesInformationDtoBuyNowPrice {
|
|
22
|
+
/**
|
|
23
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof DomainSalesInformationDtoBuyNowPrice
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Three letter ISO currency code
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DomainSalesInformationDtoBuyNowPrice
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DomainSalesInformationDtoBuyNowPrice interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDomainSalesInformationDtoBuyNowPrice(value: object): value is DomainSalesInformationDtoBuyNowPrice {
|
|
40
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DomainSalesInformationDtoBuyNowPriceFromJSON(json: any): DomainSalesInformationDtoBuyNowPrice {
|
|
46
|
+
return DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoBuyNowPrice {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'amount': json['amount'],
|
|
56
|
+
'currencyCode': json['currencyCode'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DomainSalesInformationDtoBuyNowPriceToJSON(value?: DomainSalesInformationDtoBuyNowPrice | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'amount': value['amount'],
|
|
67
|
+
'currencyCode': value['currencyCode'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* min offer price or null if offers are not enabled
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DomainSalesInformationDtoMinOfferPrice
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainSalesInformationDtoMinOfferPrice {
|
|
22
|
+
/**
|
|
23
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof DomainSalesInformationDtoMinOfferPrice
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Three letter ISO currency code
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DomainSalesInformationDtoMinOfferPrice
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DomainSalesInformationDtoMinOfferPrice interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDomainSalesInformationDtoMinOfferPrice(value: object): value is DomainSalesInformationDtoMinOfferPrice {
|
|
40
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DomainSalesInformationDtoMinOfferPriceFromJSON(json: any): DomainSalesInformationDtoMinOfferPrice {
|
|
46
|
+
return DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoMinOfferPrice {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'amount': json['amount'],
|
|
56
|
+
'currencyCode': json['currencyCode'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DomainSalesInformationDtoMinOfferPriceToJSON(value?: DomainSalesInformationDtoMinOfferPrice | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'amount': value['amount'],
|
|
67
|
+
'currencyCode': value['currencyCode'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -69,11 +69,17 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
69
69
|
*/
|
|
70
70
|
nameservers: boolean;
|
|
71
71
|
/**
|
|
72
|
-
* The domain name (example.com)
|
|
72
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
75
75
|
*/
|
|
76
76
|
name: string;
|
|
77
|
+
/**
|
|
78
|
+
* The unicode domain name (example.com, mañana.com)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
81
|
+
*/
|
|
82
|
+
displayName: string;
|
|
77
83
|
/**
|
|
78
84
|
* /**
|
|
79
85
|
* The domain's currency code (ISO 4217)
|
|
@@ -112,6 +118,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
112
118
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
113
119
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
114
120
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
121
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
115
122
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
116
123
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
117
124
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
@@ -136,6 +143,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
136
143
|
'verified': json['verified'],
|
|
137
144
|
'nameservers': json['nameservers'],
|
|
138
145
|
'name': json['name'],
|
|
146
|
+
'displayName': json['displayName'],
|
|
139
147
|
'currencyCode': json['currencyCode'],
|
|
140
148
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
141
149
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
@@ -156,6 +164,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSON(value?: IntersectionDo
|
|
|
156
164
|
'verified': value['verified'],
|
|
157
165
|
'nameservers': value['nameservers'],
|
|
158
166
|
'name': value['name'],
|
|
167
|
+
'displayName': value['displayName'],
|
|
159
168
|
'currencyCode': value['currencyCode'],
|
|
160
169
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
161
170
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
@@ -69,11 +69,17 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
|
|
|
69
69
|
*/
|
|
70
70
|
nameservers: boolean;
|
|
71
71
|
/**
|
|
72
|
-
* The domain name (example.com)
|
|
72
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
75
75
|
*/
|
|
76
76
|
name: string;
|
|
77
|
+
/**
|
|
78
|
+
* The unicode domain name (example.com, mañana.com)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
81
|
+
*/
|
|
82
|
+
displayName: string;
|
|
77
83
|
/**
|
|
78
84
|
* /**
|
|
79
85
|
* The domain's currency code (ISO 4217)
|
|
@@ -107,6 +113,7 @@ export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object):
|
|
|
107
113
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
108
114
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
109
115
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
116
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
110
117
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
111
118
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
112
119
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
@@ -131,6 +138,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
|
|
|
131
138
|
'verified': json['verified'],
|
|
132
139
|
'nameservers': json['nameservers'],
|
|
133
140
|
'name': json['name'],
|
|
141
|
+
'displayName': json['displayName'],
|
|
134
142
|
'currencyCode': json['currencyCode'],
|
|
135
143
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
136
144
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
@@ -151,6 +159,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoToJSON(value?: Intersection
|
|
|
151
159
|
'verified': value['verified'],
|
|
152
160
|
'nameservers': value['nameservers'],
|
|
153
161
|
'name': value['name'],
|
|
162
|
+
'displayName': value['displayName'],
|
|
154
163
|
'currencyCode': value['currencyCode'],
|
|
155
164
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
156
165
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
@@ -69,11 +69,17 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
69
69
|
*/
|
|
70
70
|
nameservers: boolean;
|
|
71
71
|
/**
|
|
72
|
-
* The domain name (example.com)
|
|
72
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
75
75
|
*/
|
|
76
76
|
name: string;
|
|
77
|
+
/**
|
|
78
|
+
* The unicode domain name (example.com, mañana.com)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
81
|
+
*/
|
|
82
|
+
displayName: string;
|
|
77
83
|
/**
|
|
78
84
|
* /**
|
|
79
85
|
* The domain's currency code (ISO 4217)
|
|
@@ -118,6 +124,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
118
124
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
119
125
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
120
126
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
127
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
121
128
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
122
129
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
123
130
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
@@ -143,6 +150,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
143
150
|
'verified': json['verified'],
|
|
144
151
|
'nameservers': json['nameservers'],
|
|
145
152
|
'name': json['name'],
|
|
153
|
+
'displayName': json['displayName'],
|
|
146
154
|
'currencyCode': json['currencyCode'],
|
|
147
155
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
148
156
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
@@ -164,6 +172,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value?:
|
|
|
164
172
|
'verified': value['verified'],
|
|
165
173
|
'nameservers': value['nameservers'],
|
|
166
174
|
'name': value['name'],
|
|
175
|
+
'displayName': value['displayName'],
|
|
167
176
|
'currencyCode': value['currencyCode'],
|
|
168
177
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
169
178
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
@@ -32,6 +32,12 @@ export interface RelatedSellerDomain {
|
|
|
32
32
|
* @memberof RelatedSellerDomain
|
|
33
33
|
*/
|
|
34
34
|
name: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RelatedSellerDomain
|
|
39
|
+
*/
|
|
40
|
+
displayName: string;
|
|
35
41
|
/**
|
|
36
42
|
*
|
|
37
43
|
* @type {MoneyDto}
|
|
@@ -57,6 +63,7 @@ export interface RelatedSellerDomain {
|
|
|
57
63
|
*/
|
|
58
64
|
export function instanceOfRelatedSellerDomain(value: object): value is RelatedSellerDomain {
|
|
59
65
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
66
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
60
67
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
61
68
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
62
69
|
if (!('url' in value) || value['url'] === undefined) return false;
|
|
@@ -74,6 +81,7 @@ export function RelatedSellerDomainFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
74
81
|
return {
|
|
75
82
|
|
|
76
83
|
'name': json['name'],
|
|
84
|
+
'displayName': json['displayName'],
|
|
77
85
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
78
86
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
79
87
|
'url': json['url'],
|
|
@@ -87,6 +95,7 @@ export function RelatedSellerDomainToJSON(value?: RelatedSellerDomain | null): a
|
|
|
87
95
|
return {
|
|
88
96
|
|
|
89
97
|
'name': value['name'],
|
|
98
|
+
'displayName': value['displayName'],
|
|
90
99
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
91
100
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
92
101
|
'url': value['url'],
|
package/src/models/index.ts
CHANGED
|
@@ -16,6 +16,8 @@ export * from './DashboardStatsDto';
|
|
|
16
16
|
export * from './DeleteDomainsInput';
|
|
17
17
|
export * from './DomainDto';
|
|
18
18
|
export * from './DomainSalesInformationDto';
|
|
19
|
+
export * from './DomainSalesInformationDtoBuyNowPrice';
|
|
20
|
+
export * from './DomainSalesInformationDtoMinOfferPrice';
|
|
19
21
|
export * from './DomainSellerDto';
|
|
20
22
|
export * from './DomainTransferAgentDto';
|
|
21
23
|
export * from './DomainTransferDomainDto';
|