@randock/nameshift-api-client 0.0.71 → 0.0.72
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 +5 -3
- package/README.md +3 -3
- package/dist/apis/DomainsPublicApi.d.ts +4 -3
- package/dist/apis/DomainsPublicApi.js +4 -1
- package/dist/models/ChartDataPoint.d.ts +37 -0
- package/dist/models/ChartDataPoint.js +51 -0
- package/dist/models/DomainStats.d.ts +58 -0
- package/dist/models/DomainStats.js +67 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +65 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +71 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +37 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +51 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +37 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +51 -0
- package/dist/models/index.d.ts +5 -3
- package/dist/models/index.js +5 -3
- package/package.json +1 -1
- package/src/apis/DomainsPublicApi.ts +11 -6
- package/src/models/ChartDataPoint.ts +70 -0
- package/src/models/DomainStats.ts +106 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +131 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +70 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +70 -0
- package/src/models/index.ts +5 -3
- package/dist/models/DomainSalesInformationDto.d.ts +0 -58
- package/dist/models/DomainSalesInformationDto.js +0 -66
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +0 -37
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +0 -51
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +0 -37
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +0 -51
- package/src/models/DomainSalesInformationDto.ts +0 -116
- package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +0 -70
- package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +0 -70
|
@@ -1,66 +0,0 @@
|
|
|
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.DomainSalesInformationDtoToJSON = exports.DomainSalesInformationDtoFromJSONTyped = exports.DomainSalesInformationDtoFromJSON = exports.instanceOfDomainSalesInformationDto = void 0;
|
|
17
|
-
var DomainSalesInformationDtoMinOfferPrice_1 = require("./DomainSalesInformationDtoMinOfferPrice");
|
|
18
|
-
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
19
|
-
var DomainSalesInformationDtoBuyNowPrice_1 = require("./DomainSalesInformationDtoBuyNowPrice");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfDomainSalesInformationDto(value) {
|
|
24
|
-
if (!('domain' in value) || value['domain'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('seller' in value) || value['seller'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfDomainSalesInformationDto = instanceOfDomainSalesInformationDto;
|
|
37
|
-
function DomainSalesInformationDtoFromJSON(json) {
|
|
38
|
-
return DomainSalesInformationDtoFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.DomainSalesInformationDtoFromJSON = DomainSalesInformationDtoFromJSON;
|
|
41
|
-
function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'domain': json['domain'],
|
|
47
|
-
'domainDisplayName': json['domainDisplayName'],
|
|
48
|
-
'buyNowPrice': (0, DomainSalesInformationDtoBuyNowPrice_1.DomainSalesInformationDtoBuyNowPriceFromJSON)(json['buyNowPrice']),
|
|
49
|
-
'minOfferPrice': (0, DomainSalesInformationDtoMinOfferPrice_1.DomainSalesInformationDtoMinOfferPriceFromJSON)(json['minOfferPrice']),
|
|
50
|
-
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.DomainSalesInformationDtoFromJSONTyped = DomainSalesInformationDtoFromJSONTyped;
|
|
54
|
-
function DomainSalesInformationDtoToJSON(value) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'domain': value['domain'],
|
|
60
|
-
'domainDisplayName': value['domainDisplayName'],
|
|
61
|
-
'buyNowPrice': (0, DomainSalesInformationDtoBuyNowPrice_1.DomainSalesInformationDtoBuyNowPriceToJSON)(value['buyNowPrice']),
|
|
62
|
-
'minOfferPrice': (0, DomainSalesInformationDtoMinOfferPrice_1.DomainSalesInformationDtoMinOfferPriceToJSON)(value['minOfferPrice']),
|
|
63
|
-
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
exports.DomainSalesInformationDtoToJSON = DomainSalesInformationDtoToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
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;
|
|
@@ -1,51 +0,0 @@
|
|
|
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;
|
|
@@ -1,37 +0,0 @@
|
|
|
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;
|
|
@@ -1,51 +0,0 @@
|
|
|
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;
|
|
@@ -1,116 +0,0 @@
|
|
|
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
|
-
import type { DomainSalesInformationDtoMinOfferPrice } from './DomainSalesInformationDtoMinOfferPrice';
|
|
17
|
-
import {
|
|
18
|
-
DomainSalesInformationDtoMinOfferPriceFromJSON,
|
|
19
|
-
DomainSalesInformationDtoMinOfferPriceFromJSONTyped,
|
|
20
|
-
DomainSalesInformationDtoMinOfferPriceToJSON,
|
|
21
|
-
} from './DomainSalesInformationDtoMinOfferPrice';
|
|
22
|
-
import type { DomainSellerDto } from './DomainSellerDto';
|
|
23
|
-
import {
|
|
24
|
-
DomainSellerDtoFromJSON,
|
|
25
|
-
DomainSellerDtoFromJSONTyped,
|
|
26
|
-
DomainSellerDtoToJSON,
|
|
27
|
-
} from './DomainSellerDto';
|
|
28
|
-
import type { DomainSalesInformationDtoBuyNowPrice } from './DomainSalesInformationDtoBuyNowPrice';
|
|
29
|
-
import {
|
|
30
|
-
DomainSalesInformationDtoBuyNowPriceFromJSON,
|
|
31
|
-
DomainSalesInformationDtoBuyNowPriceFromJSONTyped,
|
|
32
|
-
DomainSalesInformationDtoBuyNowPriceToJSON,
|
|
33
|
-
} from './DomainSalesInformationDtoBuyNowPrice';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface DomainSalesInformationDto
|
|
39
|
-
*/
|
|
40
|
-
export interface DomainSalesInformationDto {
|
|
41
|
-
/**
|
|
42
|
-
* The domain name (example.com, xn--maana-pta.com)
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof DomainSalesInformationDto
|
|
45
|
-
*/
|
|
46
|
-
domain: string;
|
|
47
|
-
/**
|
|
48
|
-
* The domain display name (example.com, mañana.com)
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof DomainSalesInformationDto
|
|
51
|
-
*/
|
|
52
|
-
domainDisplayName: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {DomainSalesInformationDtoBuyNowPrice}
|
|
56
|
-
* @memberof DomainSalesInformationDto
|
|
57
|
-
*/
|
|
58
|
-
buyNowPrice: DomainSalesInformationDtoBuyNowPrice | null;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {DomainSalesInformationDtoMinOfferPrice}
|
|
62
|
-
* @memberof DomainSalesInformationDto
|
|
63
|
-
*/
|
|
64
|
-
minOfferPrice: DomainSalesInformationDtoMinOfferPrice | null;
|
|
65
|
-
/**
|
|
66
|
-
* The domain seller information
|
|
67
|
-
* @type {DomainSellerDto}
|
|
68
|
-
* @memberof DomainSalesInformationDto
|
|
69
|
-
*/
|
|
70
|
-
seller: DomainSellerDto;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
75
|
-
*/
|
|
76
|
-
export function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto {
|
|
77
|
-
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
78
|
-
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
79
|
-
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
80
|
-
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined) return false;
|
|
81
|
-
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
82
|
-
return true;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto {
|
|
86
|
-
return DomainSalesInformationDtoFromJSONTyped(json, false);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto {
|
|
90
|
-
if (json == null) {
|
|
91
|
-
return json;
|
|
92
|
-
}
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'domain': json['domain'],
|
|
96
|
-
'domainDisplayName': json['domainDisplayName'],
|
|
97
|
-
'buyNowPrice': DomainSalesInformationDtoBuyNowPriceFromJSON(json['buyNowPrice']),
|
|
98
|
-
'minOfferPrice': DomainSalesInformationDtoMinOfferPriceFromJSON(json['minOfferPrice']),
|
|
99
|
-
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDto | null): any {
|
|
104
|
-
if (value == null) {
|
|
105
|
-
return value;
|
|
106
|
-
}
|
|
107
|
-
return {
|
|
108
|
-
|
|
109
|
-
'domain': value['domain'],
|
|
110
|
-
'domainDisplayName': value['domainDisplayName'],
|
|
111
|
-
'buyNowPrice': DomainSalesInformationDtoBuyNowPriceToJSON(value['buyNowPrice']),
|
|
112
|
-
'minOfferPrice': DomainSalesInformationDtoMinOfferPriceToJSON(value['minOfferPrice']),
|
|
113
|
-
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
|