@randock/nameshift-api-client 0.0.71 → 0.0.73
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 +14 -3
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +12 -1
- package/dist/apis/AdminApi.js +53 -0
- 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/DomainTransferDetailWorkflowActionDto.d.ts +64 -0
- package/dist/models/DomainTransferDetailWorkflowActionDto.js +71 -0
- package/dist/models/DomainTransferDetailWorkflowDefinitionDto.d.ts +43 -0
- package/dist/models/DomainTransferDetailWorkflowDefinitionDto.js +55 -0
- package/dist/models/DomainTransferDetailsAuthCodeDto.d.ts +37 -0
- package/dist/models/DomainTransferDetailsAuthCodeDto.js +51 -0
- package/dist/models/DomainTransferDetailsDomainDto.d.ts +43 -0
- package/dist/models/DomainTransferDetailsDomainDto.js +55 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +95 -0
- package/dist/models/DomainTransferDetailsDto.js +94 -0
- package/dist/models/DomainTransferDetailsDtoAuthCode.d.ts +37 -0
- package/dist/models/DomainTransferDetailsDtoAuthCode.js +51 -0
- package/dist/models/DomainTransferDetailsOrderBuyerDto.d.ts +49 -0
- package/dist/models/DomainTransferDetailsOrderBuyerDto.js +59 -0
- package/dist/models/DomainTransferDetailsOrderDto.d.ts +59 -0
- package/dist/models/DomainTransferDetailsOrderDto.js +68 -0
- package/dist/models/DomainTransferDetailsOrderSellerDto.d.ts +37 -0
- package/dist/models/DomainTransferDetailsOrderSellerDto.js +51 -0
- package/dist/models/DomainTransferOrderDto.d.ts +6 -0
- package/dist/models/DomainTransferOrderDto.js +4 -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 +14 -3
- package/dist/models/index.js +14 -3
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +48 -0
- package/src/apis/DomainsPublicApi.ts +11 -6
- package/src/models/ChartDataPoint.ts +70 -0
- package/src/models/DomainStats.ts +106 -0
- package/src/models/DomainTransferDetailWorkflowActionDto.ts +109 -0
- package/src/models/DomainTransferDetailWorkflowDefinitionDto.ts +79 -0
- package/src/models/DomainTransferDetailsAuthCodeDto.ts +70 -0
- package/src/models/DomainTransferDetailsDomainDto.ts +79 -0
- package/src/models/DomainTransferDetailsDto.ts +178 -0
- package/src/models/DomainTransferDetailsDtoAuthCode.ts +70 -0
- package/src/models/DomainTransferDetailsOrderBuyerDto.ts +88 -0
- package/src/models/DomainTransferDetailsOrderDto.ts +112 -0
- package/src/models/DomainTransferDetailsOrderSellerDto.ts +70 -0
- package/src/models/DomainTransferOrderDto.ts +9 -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 +14 -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
|
@@ -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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
|
|
20
|
+
*/
|
|
21
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
22
|
+
/**
|
|
23
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Three letter ISO currency code
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
46
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | 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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
|
|
20
|
+
*/
|
|
21
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
22
|
+
/**
|
|
23
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Three letter ISO currency code
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
46
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'amount': value['amount'],
|
|
67
|
+
'currencyCode': value['currencyCode'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './BuyerDomainTransferListItemDomainDto';
|
|
|
12
12
|
export * from './BuyerDomainTransferListItemDto';
|
|
13
13
|
export * from './BuyerUserDto';
|
|
14
14
|
export * from './ChangeOrderStatusInput';
|
|
15
|
+
export * from './ChartDataPoint';
|
|
15
16
|
export * from './ConflictException';
|
|
16
17
|
export * from './CreateLeadInput';
|
|
17
18
|
export * from './CreateLeadMessageInput';
|
|
@@ -19,11 +20,18 @@ export * from './CreateOrderInput';
|
|
|
19
20
|
export * from './DashboardStatsDto';
|
|
20
21
|
export * from './DeleteDomainsInput';
|
|
21
22
|
export * from './DomainDto';
|
|
22
|
-
export * from './DomainSalesInformationDto';
|
|
23
|
-
export * from './DomainSalesInformationDtoBuyNowPrice';
|
|
24
|
-
export * from './DomainSalesInformationDtoMinOfferPrice';
|
|
25
23
|
export * from './DomainSellerDto';
|
|
24
|
+
export * from './DomainStats';
|
|
26
25
|
export * from './DomainTransferAgentDto';
|
|
26
|
+
export * from './DomainTransferDetailWorkflowActionDto';
|
|
27
|
+
export * from './DomainTransferDetailWorkflowDefinitionDto';
|
|
28
|
+
export * from './DomainTransferDetailsAuthCodeDto';
|
|
29
|
+
export * from './DomainTransferDetailsDomainDto';
|
|
30
|
+
export * from './DomainTransferDetailsDto';
|
|
31
|
+
export * from './DomainTransferDetailsDtoAuthCode';
|
|
32
|
+
export * from './DomainTransferDetailsOrderBuyerDto';
|
|
33
|
+
export * from './DomainTransferDetailsOrderDto';
|
|
34
|
+
export * from './DomainTransferDetailsOrderSellerDto';
|
|
27
35
|
export * from './DomainTransferDomainDto';
|
|
28
36
|
export * from './DomainTransferDto';
|
|
29
37
|
export * from './DomainTransferDtoAgent';
|
|
@@ -37,6 +45,9 @@ export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
37
45
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
38
46
|
export * from './IntersectionDomainDtoWithDomainUrlDto';
|
|
39
47
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
48
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|
|
49
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
|
|
50
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
40
51
|
export * from './IntersectionLeadDtoWithLeadDetailsDto';
|
|
41
52
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
42
53
|
export * from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';
|
|
@@ -1,58 +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
|
-
import type { DomainSalesInformationDtoMinOfferPrice } from './DomainSalesInformationDtoMinOfferPrice';
|
|
13
|
-
import type { DomainSellerDto } from './DomainSellerDto';
|
|
14
|
-
import type { DomainSalesInformationDtoBuyNowPrice } from './DomainSalesInformationDtoBuyNowPrice';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface DomainSalesInformationDto
|
|
19
|
-
*/
|
|
20
|
-
export interface DomainSalesInformationDto {
|
|
21
|
-
/**
|
|
22
|
-
* The domain name (example.com, xn--maana-pta.com)
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof DomainSalesInformationDto
|
|
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;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {DomainSalesInformationDtoBuyNowPrice}
|
|
36
|
-
* @memberof DomainSalesInformationDto
|
|
37
|
-
*/
|
|
38
|
-
buyNowPrice: DomainSalesInformationDtoBuyNowPrice | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {DomainSalesInformationDtoMinOfferPrice}
|
|
42
|
-
* @memberof DomainSalesInformationDto
|
|
43
|
-
*/
|
|
44
|
-
minOfferPrice: DomainSalesInformationDtoMinOfferPrice | null;
|
|
45
|
-
/**
|
|
46
|
-
* The domain seller information
|
|
47
|
-
* @type {DomainSellerDto}
|
|
48
|
-
* @memberof DomainSalesInformationDto
|
|
49
|
-
*/
|
|
50
|
-
seller: DomainSellerDto;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
54
|
-
*/
|
|
55
|
-
export declare function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto;
|
|
56
|
-
export declare function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto;
|
|
57
|
-
export declare function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto;
|
|
58
|
-
export declare function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDto | null): any;
|
|
@@ -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
|
-
|