@randock/nameshift-api-client 0.0.453 → 0.0.455
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 +3 -1
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +15 -1
- package/dist/apis/DomainsApi.js +68 -0
- package/dist/models/DomainSearchTranslationDto.d.ts +52 -0
- package/dist/models/DomainSearchTranslationDto.js +63 -0
- package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.d.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts} +61 -43
- package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.js → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js} +30 -15
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/TranslateDomainSearchInput.d.ts +32 -0
- package/dist/models/TranslateDomainSearchInput.js +51 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +65 -0
- package/src/models/DomainSearchTranslationDto.ts +93 -0
- package/src/models/{IntersectionDomainDtoWithSeoMetricsDto.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts} +67 -45
- package/src/models/List200Response2.ts +10 -10
- package/src/models/TranslateDomainSearchInput.ts +66 -0
- package/src/models/index.ts +3 -1
|
@@ -66,208 +66,227 @@ import {
|
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @export
|
|
69
|
-
* @interface
|
|
69
|
+
* @interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
70
70
|
*/
|
|
71
|
-
export interface
|
|
71
|
+
export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
72
72
|
/**
|
|
73
73
|
* Unique identifier of the domain.
|
|
74
74
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
75
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
76
76
|
*/
|
|
77
77
|
id: string;
|
|
78
78
|
/**
|
|
79
79
|
* Account ID of the domain owner.
|
|
80
80
|
* @type {string}
|
|
81
|
-
* @memberof
|
|
81
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
82
82
|
*/
|
|
83
83
|
accountId: string;
|
|
84
84
|
/**
|
|
85
85
|
* Account ID of the hijacker managing the domain on behalf of the owner, if any.
|
|
86
86
|
* @type {string}
|
|
87
|
-
* @memberof
|
|
87
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
90
|
/**
|
|
91
91
|
* Top-level domain suffix (e.g. com, nl).
|
|
92
92
|
* @type {string}
|
|
93
|
-
* @memberof
|
|
93
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
94
94
|
*/
|
|
95
95
|
tld: string;
|
|
96
96
|
/**
|
|
97
97
|
* Whether the domain ownership is verified by the owner (via NS3 or TXT record).
|
|
98
98
|
* @type {boolean}
|
|
99
|
-
* @memberof
|
|
99
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
100
100
|
*/
|
|
101
101
|
verified: boolean;
|
|
102
102
|
/**
|
|
103
103
|
* Whether the required nameservers (NS1, NS2) are configured.
|
|
104
104
|
* @type {boolean}
|
|
105
|
-
* @memberof
|
|
105
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
106
106
|
*/
|
|
107
107
|
nameservers: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Timestamp of the last nameserver verification check.
|
|
110
110
|
* @type {Date}
|
|
111
|
-
* @memberof
|
|
111
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
112
112
|
*/
|
|
113
113
|
nameserversUpdatedAt: Date | null;
|
|
114
114
|
/**
|
|
115
115
|
* Whether the domain currently points to the platform server.
|
|
116
116
|
* @type {boolean}
|
|
117
|
-
* @memberof
|
|
117
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
118
118
|
*/
|
|
119
119
|
pointsToOurServer: boolean | null;
|
|
120
120
|
/**
|
|
121
121
|
* Timestamp of the last check whether the domain points to the platform server.
|
|
122
122
|
* @type {Date}
|
|
123
|
-
* @memberof
|
|
123
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
124
124
|
*/
|
|
125
125
|
pointsToOurServerUpdatedAt: Date | null;
|
|
126
126
|
/**
|
|
127
127
|
* ASCII punycode domain name (e.g. example.com, xn--maana-pta.com).
|
|
128
128
|
* @type {string}
|
|
129
|
-
* @memberof
|
|
129
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
130
130
|
*/
|
|
131
131
|
name: string;
|
|
132
132
|
/**
|
|
133
133
|
* Unicode display domain name (e.g. example.com, mañana.com).
|
|
134
134
|
* @type {string}
|
|
135
|
-
* @memberof
|
|
135
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
136
136
|
*/
|
|
137
137
|
displayName: string;
|
|
138
138
|
/**
|
|
139
139
|
* ISO 4217 currency code used for domain pricing.
|
|
140
140
|
* @type {string}
|
|
141
|
-
* @memberof
|
|
141
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
142
142
|
*/
|
|
143
143
|
currencyCode: string;
|
|
144
144
|
/**
|
|
145
145
|
* Buy-it-now (BIN) price for immediate purchase.
|
|
146
146
|
* @type {MoneyDto}
|
|
147
|
-
* @memberof
|
|
147
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
148
148
|
*/
|
|
149
149
|
buyNow: MoneyDto;
|
|
150
150
|
/**
|
|
151
151
|
* Lease-to-own payment plan configuration.
|
|
152
152
|
* @type {LeaseToOwnConfigurationDto}
|
|
153
|
-
* @memberof
|
|
153
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
154
154
|
*/
|
|
155
155
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
156
156
|
/**
|
|
157
157
|
* Monthly rent subscription configuration.
|
|
158
158
|
* @type {RentConfigurationDto}
|
|
159
|
-
* @memberof
|
|
159
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
160
160
|
*/
|
|
161
161
|
rent: RentConfigurationDto;
|
|
162
162
|
/**
|
|
163
163
|
* Public landing page display and lead capture settings.
|
|
164
164
|
* @type {LandingPageSettingsDto}
|
|
165
|
-
* @memberof
|
|
165
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
166
166
|
*/
|
|
167
167
|
landingPageSettings: LandingPageSettingsDto;
|
|
168
168
|
/**
|
|
169
169
|
* Minimum offer amount buyers may submit.
|
|
170
170
|
* @type {MoneyDto}
|
|
171
|
-
* @memberof
|
|
171
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
172
172
|
*/
|
|
173
173
|
minOffer: MoneyDto;
|
|
174
174
|
/**
|
|
175
175
|
* Timestamp when the domain was created in the platform.
|
|
176
176
|
* @type {Date}
|
|
177
|
-
* @memberof
|
|
177
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
178
178
|
*/
|
|
179
179
|
createdAt: Date;
|
|
180
180
|
/**
|
|
181
181
|
* Timestamp when the domain was deleted, if applicable.
|
|
182
182
|
* @type {Date}
|
|
183
|
-
* @memberof
|
|
183
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
184
184
|
*/
|
|
185
185
|
deletedAt: Date | null;
|
|
186
186
|
/**
|
|
187
187
|
* Total pageviews tracked for this domain, or zero if none are tracked.
|
|
188
188
|
* @type {number}
|
|
189
|
-
* @memberof
|
|
189
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
190
190
|
*/
|
|
191
191
|
pageviews: number;
|
|
192
192
|
/**
|
|
193
193
|
* Whether third-party sales data sharing is enabled for this domain.
|
|
194
194
|
* @type {boolean}
|
|
195
|
-
* @memberof
|
|
195
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
196
196
|
*/
|
|
197
197
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
198
198
|
/**
|
|
199
199
|
* Per-domain AI price negotiator agent configuration.
|
|
200
200
|
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
201
|
-
* @memberof
|
|
201
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
202
202
|
*/
|
|
203
203
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
204
204
|
/**
|
|
205
205
|
* Active or most recent auction details, when present.
|
|
206
206
|
* @type {DomainAuctionDto}
|
|
207
|
-
* @memberof
|
|
207
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
208
208
|
*/
|
|
209
209
|
auction: DomainAuctionDto | null;
|
|
210
210
|
/**
|
|
211
211
|
* Fee charged to the seller for running a paid auction.
|
|
212
212
|
* @type {MoneyDto}
|
|
213
|
-
* @memberof
|
|
213
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
214
214
|
*/
|
|
215
215
|
paidAuctionPrice: MoneyDto;
|
|
216
216
|
/**
|
|
217
217
|
* Whether the domain currently has an accepted lead.
|
|
218
218
|
* @type {boolean}
|
|
219
|
-
* @memberof
|
|
219
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
220
220
|
*/
|
|
221
221
|
hasAcceptedLead: boolean;
|
|
222
222
|
/**
|
|
223
223
|
* Whether a new auction can be created for this domain.
|
|
224
224
|
* @type {boolean}
|
|
225
|
-
* @memberof
|
|
225
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
226
226
|
*/
|
|
227
227
|
canCreateAuction: boolean;
|
|
228
228
|
/**
|
|
229
229
|
* Whether the domain can be deleted by the seller.
|
|
230
230
|
* @type {boolean}
|
|
231
|
-
* @memberof
|
|
231
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
232
232
|
*/
|
|
233
233
|
isDeleteable: boolean;
|
|
234
234
|
/**
|
|
235
235
|
* Whether the domain is currently locked from other sales.
|
|
236
236
|
* @type {boolean}
|
|
237
|
-
* @memberof
|
|
237
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
238
238
|
*/
|
|
239
239
|
isLocked: boolean;
|
|
240
240
|
/**
|
|
241
241
|
* End date of the current continuous lock period, or null if not locked.
|
|
242
242
|
* @type {Date}
|
|
243
|
-
* @memberof
|
|
243
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
244
244
|
*/
|
|
245
245
|
lockedUntil: Date | null;
|
|
246
246
|
/**
|
|
247
247
|
* Whether an admin picked this domain for the public showcase on the website.
|
|
248
248
|
* @type {boolean}
|
|
249
|
-
* @memberof
|
|
249
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
250
250
|
*/
|
|
251
251
|
showcased: boolean;
|
|
252
252
|
/**
|
|
253
253
|
* Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
|
|
254
254
|
* @type {string}
|
|
255
|
-
* @memberof
|
|
255
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
256
256
|
*/
|
|
257
|
-
marketplace:
|
|
257
|
+
marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
|
|
258
258
|
/**
|
|
259
259
|
* SEO metrics for the domain from Moz, Majestic, and historical sources.
|
|
260
260
|
* @type {SeoMetricsDto}
|
|
261
|
-
* @memberof
|
|
261
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
262
262
|
*/
|
|
263
263
|
seoMetrics: SeoMetricsDto | null;
|
|
264
|
+
/**
|
|
265
|
+
* Marketplace this domain resolves to with the account default already applied, so a consumer never has to combine the two. Null means we serve the domain ourselves, whether it inherited that or opted out of a default with "nameshift".
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
268
|
+
*/
|
|
269
|
+
routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
|
|
264
270
|
}
|
|
265
271
|
|
|
266
272
|
|
|
267
273
|
/**
|
|
268
274
|
* @export
|
|
269
275
|
*/
|
|
270
|
-
export const
|
|
276
|
+
export const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = {
|
|
277
|
+
NAMESHIFT: 'nameshift',
|
|
278
|
+
SEDO: 'sedo',
|
|
279
|
+
AFTERNIC: 'afternic',
|
|
280
|
+
ATOM: 'atom',
|
|
281
|
+
SPACESHIP: 'spaceship',
|
|
282
|
+
NAMECLUB: 'nameclub'
|
|
283
|
+
} as const;
|
|
284
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum];
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @export
|
|
288
|
+
*/
|
|
289
|
+
export const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = {
|
|
271
290
|
NAMESHIFT: 'nameshift',
|
|
272
291
|
SEDO: 'sedo',
|
|
273
292
|
AFTERNIC: 'afternic',
|
|
@@ -275,13 +294,13 @@ export const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = {
|
|
|
275
294
|
SPACESHIP: 'spaceship',
|
|
276
295
|
NAMECLUB: 'nameclub'
|
|
277
296
|
} as const;
|
|
278
|
-
export type
|
|
297
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum];
|
|
279
298
|
|
|
280
299
|
|
|
281
300
|
/**
|
|
282
|
-
* Check if a given object implements the
|
|
301
|
+
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto interface.
|
|
283
302
|
*/
|
|
284
|
-
export function
|
|
303
|
+
export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value: object): value is IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
285
304
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
286
305
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
287
306
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
@@ -314,14 +333,15 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
|
|
|
314
333
|
if (!('showcased' in value) || value['showcased'] === undefined) return false;
|
|
315
334
|
if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
|
|
316
335
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
336
|
+
if (!('routedTo' in value) || value['routedTo'] === undefined) return false;
|
|
317
337
|
return true;
|
|
318
338
|
}
|
|
319
339
|
|
|
320
|
-
export function
|
|
321
|
-
return
|
|
340
|
+
export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
341
|
+
return IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json, false);
|
|
322
342
|
}
|
|
323
343
|
|
|
324
|
-
export function
|
|
344
|
+
export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
325
345
|
if (json == null) {
|
|
326
346
|
return json;
|
|
327
347
|
}
|
|
@@ -359,14 +379,15 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
|
|
|
359
379
|
'showcased': json['showcased'],
|
|
360
380
|
'marketplace': json['marketplace'],
|
|
361
381
|
'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
|
|
382
|
+
'routedTo': json['routedTo'],
|
|
362
383
|
};
|
|
363
384
|
}
|
|
364
385
|
|
|
365
|
-
export function
|
|
366
|
-
return
|
|
386
|
+
export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
387
|
+
return IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(json, false);
|
|
367
388
|
}
|
|
368
389
|
|
|
369
|
-
export function
|
|
390
|
+
export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value?: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto | null, ignoreDiscriminator: boolean = false): any {
|
|
370
391
|
if (value == null) {
|
|
371
392
|
return value;
|
|
372
393
|
}
|
|
@@ -405,6 +426,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
|
|
|
405
426
|
'showcased': value['showcased'],
|
|
406
427
|
'marketplace': value['marketplace'],
|
|
407
428
|
'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
|
|
429
|
+
'routedTo': value['routedTo'],
|
|
408
430
|
};
|
|
409
431
|
}
|
|
410
432
|
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto } from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON,
|
|
26
|
+
IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped,
|
|
27
|
+
IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON,
|
|
28
|
+
IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped,
|
|
29
|
+
} from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface List200Response2 {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto>}
|
|
47
47
|
* @memberof List200Response2
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function List200Response2FromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function List200Response2ToJSONTyped(value?: List200Response2 | null, ign
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 TranslateDomainSearchInput
|
|
20
|
+
*/
|
|
21
|
+
export interface TranslateDomainSearchInput {
|
|
22
|
+
/**
|
|
23
|
+
* What the seller is looking for, in their own words. A single word is handled client-side as a name search and should not reach this endpoint.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TranslateDomainSearchInput
|
|
26
|
+
*/
|
|
27
|
+
query: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TranslateDomainSearchInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfTranslateDomainSearchInput(value: object): value is TranslateDomainSearchInput {
|
|
34
|
+
if (!('query' in value) || value['query'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function TranslateDomainSearchInputFromJSON(json: any): TranslateDomainSearchInput {
|
|
39
|
+
return TranslateDomainSearchInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function TranslateDomainSearchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranslateDomainSearchInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'query': json['query'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function TranslateDomainSearchInputToJSON(json: any): TranslateDomainSearchInput {
|
|
53
|
+
return TranslateDomainSearchInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function TranslateDomainSearchInputToJSONTyped(value?: TranslateDomainSearchInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'query': value['query'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -197,6 +197,7 @@ export * from './DomainSalesInformationDto';
|
|
|
197
197
|
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
198
198
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
199
199
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
200
|
+
export * from './DomainSearchTranslationDto';
|
|
200
201
|
export * from './DomainSellerDto';
|
|
201
202
|
export * from './DomainStatsDto';
|
|
202
203
|
export * from './DomainTldsDto';
|
|
@@ -258,7 +259,7 @@ export * from './HttpException';
|
|
|
258
259
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
259
260
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
260
261
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
261
|
-
export * from './
|
|
262
|
+
export * from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
262
263
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
263
264
|
export * from './IntersectionTaskListTaskDto';
|
|
264
265
|
export * from './IntersectionTaskListTaskDtoData';
|
|
@@ -476,6 +477,7 @@ export * from './TimeTableConfigurationDto';
|
|
|
476
477
|
export * from './TimeTableConfigurationInput';
|
|
477
478
|
export * from './TopAffiliateSellerDto';
|
|
478
479
|
export * from './TopSellerAccountDto';
|
|
480
|
+
export * from './TranslateDomainSearchInput';
|
|
479
481
|
export * from './UkBankAccountDetails';
|
|
480
482
|
export * from './UpdateAccountBillingInformationInput';
|
|
481
483
|
export * from './UpdateAccountChallengeRewardBalanceInput';
|