@randock/nameshift-api-client 0.0.203 → 0.0.204
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 +4 -4
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +3 -5
- package/dist/apis/DomainsPublicApi.d.ts +3 -3
- package/dist/apis/DomainsPublicApi.js +1 -1
- package/dist/models/AccountSettingsDto.d.ts +15 -3
- package/dist/models/AccountSettingsDto.js +11 -3
- package/dist/models/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/DomainDto.d.ts +7 -0
- package/dist/models/DomainDto.js +5 -0
- package/dist/models/DomainSalesInformationDto.d.ts +91 -0
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.js → DomainSalesInformationDto.js} +23 -23
- package/dist/models/DomainStatsDto.d.ts +59 -0
- package/dist/models/{DomainStats.js → DomainStatsDto.js} +15 -15
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/LandingPageInput.d.ts +3 -9
- package/dist/models/LandingPageInput.js +0 -2
- package/dist/models/LandingPageSettingsDto.d.ts +44 -0
- package/dist/models/LandingPageSettingsDto.js +59 -0
- package/dist/models/SeoMetricsDto.d.ts +40 -0
- package/dist/models/{Seo.js → SeoMetricsDto.js} +13 -13
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +4 -8
- package/src/apis/DomainsPublicApi.ts +6 -6
- package/src/models/AccountSettingsDto.ts +28 -10
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/DomainDto.ts +16 -0
- package/src/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts → DomainSalesInformationDto.ts} +49 -49
- package/src/models/{DomainStats.ts → DomainStatsDto.ts} +17 -17
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/LandingPageInput.ts +3 -11
- package/src/models/LandingPageSettingsDto.ts +84 -0
- package/src/models/{Seo.ts → SeoMetricsDto.ts} +12 -12
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/index.ts +4 -4
- package/dist/models/AccountSettingsLandingDto.d.ts +0 -56
- package/dist/models/AccountSettingsLandingDto.js +0 -67
- package/dist/models/DomainStats.d.ts +0 -59
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.d.ts +0 -91
- package/dist/models/Seo.d.ts +0 -40
- package/src/models/AccountSettingsLandingDto.ts +0 -102
|
@@ -71,6 +71,12 @@ export interface AccountSettingsInput {
|
|
|
71
71
|
* @memberof AccountSettingsInput
|
|
72
72
|
*/
|
|
73
73
|
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AccountSettingsInput
|
|
78
|
+
*/
|
|
79
|
+
description?: string | null;
|
|
74
80
|
}
|
|
75
81
|
|
|
76
82
|
/**
|
|
@@ -95,6 +101,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
95
101
|
'sidnIdcode': json['sidnIdcode'] == null ? undefined : json['sidnIdcode'],
|
|
96
102
|
'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
|
|
97
103
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
|
|
104
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
98
105
|
};
|
|
99
106
|
}
|
|
100
107
|
|
|
@@ -114,6 +121,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
114
121
|
'sidnIdcode': value['sidnIdcode'],
|
|
115
122
|
'landingPage': LandingPageInputToJSON(value['landingPage']),
|
|
116
123
|
'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
|
|
124
|
+
'description': value['description'],
|
|
117
125
|
};
|
|
118
126
|
}
|
|
119
127
|
|
package/src/models/DomainDto.ts
CHANGED
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeaseToOwnConfigurationDtoToJSON,
|
|
28
28
|
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './LeaseToOwnConfigurationDto';
|
|
30
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
31
|
+
import {
|
|
32
|
+
LandingPageSettingsDtoFromJSON,
|
|
33
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
34
|
+
LandingPageSettingsDtoToJSON,
|
|
35
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
36
|
+
} from './LandingPageSettingsDto';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -101,6 +108,12 @@ export interface DomainDto {
|
|
|
101
108
|
* @memberof DomainDto
|
|
102
109
|
*/
|
|
103
110
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
111
|
+
/**
|
|
112
|
+
* The lease to own configuration
|
|
113
|
+
* @type {LandingPageSettingsDto}
|
|
114
|
+
* @memberof DomainDto
|
|
115
|
+
*/
|
|
116
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
104
117
|
/**
|
|
105
118
|
* The minimum offer
|
|
106
119
|
* @type {MoneyDto}
|
|
@@ -142,6 +155,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
142
155
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
143
156
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
144
157
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
158
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
|
|
145
159
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
146
160
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
147
161
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
@@ -170,6 +184,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
170
184
|
'currencyCode': json['currencyCode'],
|
|
171
185
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
172
186
|
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
187
|
+
'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
|
|
173
188
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
174
189
|
'createdAt': (new Date(json['createdAt'])),
|
|
175
190
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -199,6 +214,7 @@ export function DomainDtoToJSONTyped(value?: DomainDto | null, ignoreDiscriminat
|
|
|
199
214
|
'currencyCode': value['currencyCode'],
|
|
200
215
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
201
216
|
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
217
|
+
'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
|
|
202
218
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
203
219
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
204
220
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
DomainSellerDtoToJSON,
|
|
21
21
|
DomainSellerDtoToJSONTyped,
|
|
22
22
|
} from './DomainSellerDto';
|
|
23
|
-
import type { DomainStats } from './DomainStats';
|
|
24
|
-
import {
|
|
25
|
-
DomainStatsFromJSON,
|
|
26
|
-
DomainStatsFromJSONTyped,
|
|
27
|
-
DomainStatsToJSON,
|
|
28
|
-
DomainStatsToJSONTyped,
|
|
29
|
-
} from './DomainStats';
|
|
30
23
|
import type { MoneyDto } from './MoneyDto';
|
|
31
24
|
import {
|
|
32
25
|
MoneyDtoFromJSON,
|
|
@@ -34,6 +27,13 @@ import {
|
|
|
34
27
|
MoneyDtoToJSON,
|
|
35
28
|
MoneyDtoToJSONTyped,
|
|
36
29
|
} from './MoneyDto';
|
|
30
|
+
import type { DomainStatsDto } from './DomainStatsDto';
|
|
31
|
+
import {
|
|
32
|
+
DomainStatsDtoFromJSON,
|
|
33
|
+
DomainStatsDtoFromJSONTyped,
|
|
34
|
+
DomainStatsDtoToJSON,
|
|
35
|
+
DomainStatsDtoToJSONTyped,
|
|
36
|
+
} from './DomainStatsDto';
|
|
37
37
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
38
38
|
import {
|
|
39
39
|
DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -41,88 +41,86 @@ import {
|
|
|
41
41
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSON,
|
|
42
42
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
44
|
-
import type {
|
|
44
|
+
import type { SeoMetricsDto } from './SeoMetricsDto';
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from './
|
|
46
|
+
SeoMetricsDtoFromJSON,
|
|
47
|
+
SeoMetricsDtoFromJSONTyped,
|
|
48
|
+
SeoMetricsDtoToJSON,
|
|
49
|
+
SeoMetricsDtoToJSONTyped,
|
|
50
|
+
} from './SeoMetricsDto';
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @export
|
|
55
|
-
* @interface
|
|
55
|
+
* @interface DomainSalesInformationDto
|
|
56
56
|
*/
|
|
57
|
-
export interface
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {DomainStats}
|
|
61
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
62
|
-
*/
|
|
63
|
-
stats: DomainStats | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Seo}
|
|
67
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
68
|
-
*/
|
|
69
|
-
seo: Seo | null;
|
|
57
|
+
export interface DomainSalesInformationDto {
|
|
70
58
|
/**
|
|
71
59
|
* The domain name (example.com, xn--maana-pta.com)
|
|
72
60
|
* @type {string}
|
|
73
|
-
* @memberof
|
|
61
|
+
* @memberof DomainSalesInformationDto
|
|
74
62
|
*/
|
|
75
63
|
domain: string;
|
|
76
64
|
/**
|
|
77
65
|
* The domain display name (example.com, mañana.com)
|
|
78
66
|
* @type {string}
|
|
79
|
-
* @memberof
|
|
67
|
+
* @memberof DomainSalesInformationDto
|
|
80
68
|
*/
|
|
81
69
|
domainDisplayName: string;
|
|
82
70
|
/**
|
|
83
71
|
* Buy now price or null if buy now is not enabled
|
|
84
72
|
* @type {MoneyDto}
|
|
85
|
-
* @memberof
|
|
73
|
+
* @memberof DomainSalesInformationDto
|
|
86
74
|
*/
|
|
87
75
|
buyNowPrice: MoneyDto | null;
|
|
88
76
|
/**
|
|
89
77
|
* Lease to own configuration or null if it is not enabled
|
|
90
78
|
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
91
|
-
* @memberof
|
|
79
|
+
* @memberof DomainSalesInformationDto
|
|
92
80
|
*/
|
|
93
81
|
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
94
82
|
/**
|
|
95
83
|
* min offer price or null if offers are not enabled
|
|
96
84
|
* @type {MoneyDto}
|
|
97
|
-
* @memberof
|
|
85
|
+
* @memberof DomainSalesInformationDto
|
|
98
86
|
*/
|
|
99
87
|
minOfferPrice: MoneyDto | null;
|
|
100
88
|
/**
|
|
101
89
|
* The domain seller information
|
|
102
90
|
* @type {DomainSellerDto}
|
|
103
|
-
* @memberof
|
|
91
|
+
* @memberof DomainSalesInformationDto
|
|
104
92
|
*/
|
|
105
93
|
seller: DomainSellerDto | null;
|
|
106
94
|
/**
|
|
107
95
|
* The domain "sold" status
|
|
108
96
|
* @type {boolean}
|
|
109
|
-
* @memberof
|
|
97
|
+
* @memberof DomainSalesInformationDto
|
|
110
98
|
*/
|
|
111
99
|
sold: boolean;
|
|
112
100
|
/**
|
|
113
101
|
* The domain "isPurchaseable" status
|
|
114
102
|
* @type {boolean}
|
|
115
|
-
* @memberof
|
|
103
|
+
* @memberof DomainSalesInformationDto
|
|
116
104
|
*/
|
|
117
105
|
isPurchaseable: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* SEO metrics
|
|
108
|
+
* @type {SeoMetricsDto}
|
|
109
|
+
* @memberof DomainSalesInformationDto
|
|
110
|
+
*/
|
|
111
|
+
seo: SeoMetricsDto | null;
|
|
112
|
+
/**
|
|
113
|
+
* SEO metrics
|
|
114
|
+
* @type {DomainStatsDto}
|
|
115
|
+
* @memberof DomainSalesInformationDto
|
|
116
|
+
*/
|
|
117
|
+
stats: DomainStatsDto | null;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* Check if a given object implements the
|
|
121
|
+
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
122
122
|
*/
|
|
123
|
-
export function
|
|
124
|
-
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
125
|
-
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
123
|
+
export function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto {
|
|
126
124
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
127
125
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
128
126
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
@@ -131,21 +129,21 @@ export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDt
|
|
|
131
129
|
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
132
130
|
if (!('sold' in value) || value['sold'] === undefined) return false;
|
|
133
131
|
if (!('isPurchaseable' in value) || value['isPurchaseable'] === undefined) return false;
|
|
132
|
+
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
133
|
+
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
134
134
|
return true;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export function
|
|
138
|
-
return
|
|
137
|
+
export function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto {
|
|
138
|
+
return DomainSalesInformationDtoFromJSONTyped(json, false);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export function
|
|
141
|
+
export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto {
|
|
142
142
|
if (json == null) {
|
|
143
143
|
return json;
|
|
144
144
|
}
|
|
145
145
|
return {
|
|
146
146
|
|
|
147
|
-
'stats': DomainStatsFromJSON(json['stats']),
|
|
148
|
-
'seo': SeoFromJSON(json['seo']),
|
|
149
147
|
'domain': json['domain'],
|
|
150
148
|
'domainDisplayName': json['domainDisplayName'],
|
|
151
149
|
'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
|
|
@@ -154,22 +152,22 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMe
|
|
|
154
152
|
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
155
153
|
'sold': json['sold'],
|
|
156
154
|
'isPurchaseable': json['isPurchaseable'],
|
|
155
|
+
'seo': SeoMetricsDtoFromJSON(json['seo']),
|
|
156
|
+
'stats': DomainStatsDtoFromJSON(json['stats']),
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export function
|
|
161
|
-
return
|
|
160
|
+
export function DomainSalesInformationDtoToJSON(json: any): DomainSalesInformationDto {
|
|
161
|
+
return DomainSalesInformationDtoToJSONTyped(json, false);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export function
|
|
164
|
+
export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
165
165
|
if (value == null) {
|
|
166
166
|
return value;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
return {
|
|
170
170
|
|
|
171
|
-
'stats': DomainStatsToJSON(value['stats']),
|
|
172
|
-
'seo': SeoToJSON(value['seo']),
|
|
173
171
|
'domain': value['domain'],
|
|
174
172
|
'domainDisplayName': value['domainDisplayName'],
|
|
175
173
|
'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
|
|
@@ -178,6 +176,8 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMe
|
|
|
178
176
|
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
179
177
|
'sold': value['sold'],
|
|
180
178
|
'isPurchaseable': value['isPurchaseable'],
|
|
179
|
+
'seo': SeoMetricsDtoToJSON(value['seo']),
|
|
180
|
+
'stats': DomainStatsDtoToJSON(value['stats']),
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -24,31 +24,31 @@ import {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface DomainStatsDto
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface DomainStatsDto {
|
|
30
30
|
/**
|
|
31
31
|
* The id for this website.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof DomainStatsDto
|
|
34
34
|
*/
|
|
35
35
|
websiteId: string;
|
|
36
36
|
/**
|
|
37
37
|
* The url for public stats for this website.
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof DomainStatsDto
|
|
40
40
|
*/
|
|
41
41
|
shareUrl: string;
|
|
42
42
|
/**
|
|
43
43
|
* The time unit
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof DomainStatsDto
|
|
46
46
|
*/
|
|
47
|
-
chartUnit:
|
|
47
|
+
chartUnit: DomainStatsDtoChartUnitEnum | null;
|
|
48
48
|
/**
|
|
49
49
|
* The data for the chart
|
|
50
50
|
* @type {Array<ChartDataPoint>}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof DomainStatsDto
|
|
52
52
|
*/
|
|
53
53
|
chartData: Array<ChartDataPoint> | null;
|
|
54
54
|
}
|
|
@@ -57,17 +57,17 @@ export interface DomainStats {
|
|
|
57
57
|
/**
|
|
58
58
|
* @export
|
|
59
59
|
*/
|
|
60
|
-
export const
|
|
60
|
+
export const DomainStatsDtoChartUnitEnum = {
|
|
61
61
|
DAY: 'day',
|
|
62
62
|
MONTH: 'month'
|
|
63
63
|
} as const;
|
|
64
|
-
export type
|
|
64
|
+
export type DomainStatsDtoChartUnitEnum = typeof DomainStatsDtoChartUnitEnum[keyof typeof DomainStatsDtoChartUnitEnum];
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Check if a given object implements the
|
|
68
|
+
* Check if a given object implements the DomainStatsDto interface.
|
|
69
69
|
*/
|
|
70
|
-
export function
|
|
70
|
+
export function instanceOfDomainStatsDto(value: object): value is DomainStatsDto {
|
|
71
71
|
if (!('websiteId' in value) || value['websiteId'] === undefined) return false;
|
|
72
72
|
if (!('shareUrl' in value) || value['shareUrl'] === undefined) return false;
|
|
73
73
|
if (!('chartUnit' in value) || value['chartUnit'] === undefined) return false;
|
|
@@ -75,11 +75,11 @@ export function instanceOfDomainStats(value: object): value is DomainStats {
|
|
|
75
75
|
return true;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export function
|
|
79
|
-
return
|
|
78
|
+
export function DomainStatsDtoFromJSON(json: any): DomainStatsDto {
|
|
79
|
+
return DomainStatsDtoFromJSONTyped(json, false);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export function
|
|
82
|
+
export function DomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainStatsDto {
|
|
83
83
|
if (json == null) {
|
|
84
84
|
return json;
|
|
85
85
|
}
|
|
@@ -92,11 +92,11 @@ export function DomainStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
export function
|
|
96
|
-
return
|
|
95
|
+
export function DomainStatsDtoToJSON(json: any): DomainStatsDto {
|
|
96
|
+
return DomainStatsDtoToJSONTyped(json, false);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export function
|
|
99
|
+
export function DomainStatsDtoToJSONTyped(value?: DomainStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
100
100
|
if (value == null) {
|
|
101
101
|
return value;
|
|
102
102
|
}
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeaseToOwnConfigurationDtoToJSON,
|
|
28
28
|
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './LeaseToOwnConfigurationDto';
|
|
30
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
31
|
+
import {
|
|
32
|
+
LandingPageSettingsDtoFromJSON,
|
|
33
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
34
|
+
LandingPageSettingsDtoToJSON,
|
|
35
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
36
|
+
} from './LandingPageSettingsDto';
|
|
30
37
|
import type { AccountDto } from './AccountDto';
|
|
31
38
|
import {
|
|
32
39
|
AccountDtoFromJSON,
|
|
@@ -108,6 +115,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
108
115
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
109
116
|
*/
|
|
110
117
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
118
|
+
/**
|
|
119
|
+
* The lease to own configuration
|
|
120
|
+
* @type {LandingPageSettingsDto}
|
|
121
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
122
|
+
*/
|
|
123
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
111
124
|
/**
|
|
112
125
|
* The minimum offer
|
|
113
126
|
* @type {MoneyDto}
|
|
@@ -155,6 +168,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
155
168
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
156
169
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
157
170
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
171
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
|
|
158
172
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
159
173
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
160
174
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
@@ -184,6 +198,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
184
198
|
'currencyCode': json['currencyCode'],
|
|
185
199
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
186
200
|
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
201
|
+
'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
|
|
187
202
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
188
203
|
'createdAt': (new Date(json['createdAt'])),
|
|
189
204
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -214,6 +229,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
214
229
|
'currencyCode': value['currencyCode'],
|
|
215
230
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
216
231
|
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
232
|
+
'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
|
|
217
233
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
218
234
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
219
235
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeaseToOwnConfigurationDtoToJSON,
|
|
28
28
|
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './LeaseToOwnConfigurationDto';
|
|
30
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
31
|
+
import {
|
|
32
|
+
LandingPageSettingsDtoFromJSON,
|
|
33
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
34
|
+
LandingPageSettingsDtoToJSON,
|
|
35
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
36
|
+
} from './LandingPageSettingsDto';
|
|
30
37
|
import type { AccountDto } from './AccountDto';
|
|
31
38
|
import {
|
|
32
39
|
AccountDtoFromJSON,
|
|
@@ -108,6 +115,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
108
115
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
109
116
|
*/
|
|
110
117
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
118
|
+
/**
|
|
119
|
+
* The lease to own configuration
|
|
120
|
+
* @type {LandingPageSettingsDto}
|
|
121
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
122
|
+
*/
|
|
123
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
111
124
|
/**
|
|
112
125
|
* The minimum offer
|
|
113
126
|
* @type {MoneyDto}
|
|
@@ -161,6 +174,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
161
174
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
162
175
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
163
176
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
177
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
|
|
164
178
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
165
179
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
166
180
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
@@ -191,6 +205,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
191
205
|
'currencyCode': json['currencyCode'],
|
|
192
206
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
193
207
|
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
208
|
+
'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
|
|
194
209
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
195
210
|
'createdAt': (new Date(json['createdAt'])),
|
|
196
211
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -222,6 +237,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
222
237
|
'currencyCode': value['currencyCode'],
|
|
223
238
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
224
239
|
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
240
|
+
'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
|
|
225
241
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
226
242
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
227
243
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
@@ -24,25 +24,19 @@ export interface LandingPageInput {
|
|
|
24
24
|
* @type {boolean}
|
|
25
25
|
* @memberof LandingPageInput
|
|
26
26
|
*/
|
|
27
|
-
anonymous?: boolean;
|
|
27
|
+
anonymous?: boolean | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {boolean}
|
|
31
31
|
* @memberof LandingPageInput
|
|
32
32
|
*/
|
|
33
|
-
showRelatedDomains?: boolean;
|
|
33
|
+
showRelatedDomains?: boolean | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {boolean}
|
|
37
37
|
* @memberof LandingPageInput
|
|
38
38
|
*/
|
|
39
|
-
seoMetrics?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof LandingPageInput
|
|
44
|
-
*/
|
|
45
|
-
description?: string | null;
|
|
39
|
+
seoMetrics?: boolean | null;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
/**
|
|
@@ -65,7 +59,6 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
65
59
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
66
60
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
67
61
|
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
68
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
69
62
|
};
|
|
70
63
|
}
|
|
71
64
|
|
|
@@ -83,7 +76,6 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
83
76
|
'anonymous': value['anonymous'],
|
|
84
77
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
85
78
|
'seoMetrics': value['seoMetrics'],
|
|
86
|
-
'description': value['description'],
|
|
87
79
|
};
|
|
88
80
|
}
|
|
89
81
|
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LandingPageSettingsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LandingPageSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
anonymous: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LandingPageSettingsDto
|
|
32
|
+
*/
|
|
33
|
+
showRelatedDomains: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageSettingsDto
|
|
38
|
+
*/
|
|
39
|
+
seoMetrics: boolean | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLandingPageSettingsDto(value: object): value is LandingPageSettingsDto {
|
|
46
|
+
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
47
|
+
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
48
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LandingPageSettingsDtoFromJSON(json: any): LandingPageSettingsDto {
|
|
53
|
+
return LandingPageSettingsDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageSettingsDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'anonymous': json['anonymous'],
|
|
63
|
+
'showRelatedDomains': json['showRelatedDomains'],
|
|
64
|
+
'seoMetrics': json['seoMetrics'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LandingPageSettingsDtoToJSON(json: any): LandingPageSettingsDto {
|
|
69
|
+
return LandingPageSettingsDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'anonymous': value['anonymous'],
|
|
80
|
+
'showRelatedDomains': value['showRelatedDomains'],
|
|
81
|
+
'seoMetrics': value['seoMetrics'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -31,37 +31,37 @@ import {
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
|
-
* @interface
|
|
34
|
+
* @interface SeoMetricsDto
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface SeoMetricsDto {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {MozMetrics}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof SeoMetricsDto
|
|
41
41
|
*/
|
|
42
42
|
moz: MozMetrics | null;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {MajesticMetrics}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof SeoMetricsDto
|
|
47
47
|
*/
|
|
48
48
|
majestic: MajesticMetrics | null;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Check if a given object implements the
|
|
52
|
+
* Check if a given object implements the SeoMetricsDto interface.
|
|
53
53
|
*/
|
|
54
|
-
export function
|
|
54
|
+
export function instanceOfSeoMetricsDto(value: object): value is SeoMetricsDto {
|
|
55
55
|
if (!('moz' in value) || value['moz'] === undefined) return false;
|
|
56
56
|
if (!('majestic' in value) || value['majestic'] === undefined) return false;
|
|
57
57
|
return true;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export function
|
|
61
|
-
return
|
|
60
|
+
export function SeoMetricsDtoFromJSON(json: any): SeoMetricsDto {
|
|
61
|
+
return SeoMetricsDtoFromJSONTyped(json, false);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export function
|
|
64
|
+
export function SeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeoMetricsDto {
|
|
65
65
|
if (json == null) {
|
|
66
66
|
return json;
|
|
67
67
|
}
|
|
@@ -72,11 +72,11 @@ export function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo {
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export function
|
|
76
|
-
return
|
|
75
|
+
export function SeoMetricsDtoToJSON(json: any): SeoMetricsDto {
|
|
76
|
+
return SeoMetricsDtoToJSONTyped(json, false);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
79
|
+
export function SeoMetricsDtoToJSONTyped(value?: SeoMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
80
80
|
if (value == null) {
|
|
81
81
|
return value;
|
|
82
82
|
}
|