@randock/nameshift-api-client 0.0.469 → 0.0.471

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.
Files changed (51) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +3 -3
  3. package/dist/apis/CustomerSuccessApi.d.ts +60 -0
  4. package/dist/apis/CustomerSuccessApi.js +227 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  8. package/dist/models/BuyerNotificationDto.js +1 -0
  9. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  10. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  11. package/dist/models/CustomerSuccessDomainAuctionDto.d.ts +86 -0
  12. package/dist/models/CustomerSuccessDomainAuctionDto.js +91 -0
  13. package/dist/models/CustomerSuccessDomainListItemDto.d.ts +255 -0
  14. package/dist/models/CustomerSuccessDomainListItemDto.js +209 -0
  15. package/dist/models/CustomerSuccessListAccountDto.d.ts +163 -0
  16. package/dist/models/CustomerSuccessListAccountDto.js +146 -0
  17. package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +80 -0
  18. package/dist/models/CustomerSuccessListAccountMetricsDto.js +83 -0
  19. package/dist/models/CustomerSuccessListAccountPortfolioSizeDto.d.ts +38 -0
  20. package/dist/models/CustomerSuccessListAccountPortfolioSizeDto.js +55 -0
  21. package/dist/models/CustomerSuccessListAccountUserDto.d.ts +44 -0
  22. package/dist/models/CustomerSuccessListAccountUserDto.js +59 -0
  23. package/dist/models/LeadEnrichmentCompanyDto.d.ts +36 -0
  24. package/dist/models/LeadEnrichmentCompanyDto.js +24 -0
  25. package/dist/models/ListCustomerSuccessAccountDomains200Response.d.ts +47 -0
  26. package/dist/models/ListCustomerSuccessAccountDomains200Response.js +62 -0
  27. package/dist/models/ListCustomerSuccessAccounts200Response.d.ts +47 -0
  28. package/dist/models/ListCustomerSuccessAccounts200Response.js +62 -0
  29. package/dist/models/UserNotificationDto.d.ts +1 -0
  30. package/dist/models/UserNotificationDto.js +1 -0
  31. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  32. package/dist/models/UserNotificationListItemDto.js +1 -0
  33. package/dist/models/index.d.ts +8 -0
  34. package/dist/models/index.js +8 -0
  35. package/package.json +1 -1
  36. package/src/apis/CustomerSuccessApi.ts +187 -0
  37. package/src/apis/index.ts +1 -0
  38. package/src/models/BuyerNotificationDto.ts +1 -0
  39. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  40. package/src/models/CustomerSuccessDomainAuctionDto.ts +151 -0
  41. package/src/models/CustomerSuccessDomainListItemDto.ts +426 -0
  42. package/src/models/CustomerSuccessListAccountDto.ts +278 -0
  43. package/src/models/CustomerSuccessListAccountMetricsDto.ts +138 -0
  44. package/src/models/CustomerSuccessListAccountPortfolioSizeDto.ts +75 -0
  45. package/src/models/CustomerSuccessListAccountUserDto.ts +84 -0
  46. package/src/models/LeadEnrichmentCompanyDto.ts +54 -0
  47. package/src/models/ListCustomerSuccessAccountDomains200Response.ts +106 -0
  48. package/src/models/ListCustomerSuccessAccounts200Response.ts +106 -0
  49. package/src/models/UserNotificationDto.ts +1 -0
  50. package/src/models/UserNotificationListItemDto.ts +1 -0
  51. package/src/models/index.ts +8 -0
@@ -0,0 +1,426 @@
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
+ import type { CustomerSuccessDomainAuctionDto } from './CustomerSuccessDomainAuctionDto';
17
+ import {
18
+ CustomerSuccessDomainAuctionDtoFromJSON,
19
+ CustomerSuccessDomainAuctionDtoFromJSONTyped,
20
+ CustomerSuccessDomainAuctionDtoToJSON,
21
+ CustomerSuccessDomainAuctionDtoToJSONTyped,
22
+ } from './CustomerSuccessDomainAuctionDto';
23
+ import type { MoneyDto } from './MoneyDto';
24
+ import {
25
+ MoneyDtoFromJSON,
26
+ MoneyDtoFromJSONTyped,
27
+ MoneyDtoToJSON,
28
+ MoneyDtoToJSONTyped,
29
+ } from './MoneyDto';
30
+ import type { RentConfigurationDto } from './RentConfigurationDto';
31
+ import {
32
+ RentConfigurationDtoFromJSON,
33
+ RentConfigurationDtoFromJSONTyped,
34
+ RentConfigurationDtoToJSON,
35
+ RentConfigurationDtoToJSONTyped,
36
+ } from './RentConfigurationDto';
37
+ import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
38
+ import {
39
+ LeaseToOwnConfigurationDtoFromJSON,
40
+ LeaseToOwnConfigurationDtoFromJSONTyped,
41
+ LeaseToOwnConfigurationDtoToJSON,
42
+ LeaseToOwnConfigurationDtoToJSONTyped,
43
+ } from './LeaseToOwnConfigurationDto';
44
+ import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
45
+ import {
46
+ LandingPageSettingsDtoFromJSON,
47
+ LandingPageSettingsDtoFromJSONTyped,
48
+ LandingPageSettingsDtoToJSON,
49
+ LandingPageSettingsDtoToJSONTyped,
50
+ } from './LandingPageSettingsDto';
51
+ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
52
+ import {
53
+ DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON,
54
+ DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped,
55
+ DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON,
56
+ DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped,
57
+ } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
58
+
59
+ /**
60
+ *
61
+ * @export
62
+ * @interface CustomerSuccessDomainListItemDto
63
+ */
64
+ export interface CustomerSuccessDomainListItemDto {
65
+ /**
66
+ * Unique identifier of the domain.
67
+ * @type {string}
68
+ * @memberof CustomerSuccessDomainListItemDto
69
+ */
70
+ id: string;
71
+ /**
72
+ * Account ID of the domain owner.
73
+ * @type {string}
74
+ * @memberof CustomerSuccessDomainListItemDto
75
+ */
76
+ accountId: string;
77
+ /**
78
+ * Account ID of the hijacker managing the domain on behalf of the owner, if any.
79
+ * @type {string}
80
+ * @memberof CustomerSuccessDomainListItemDto
81
+ */
82
+ hijackerId: string | null;
83
+ /**
84
+ * Top-level domain suffix (e.g. com, nl).
85
+ * @type {string}
86
+ * @memberof CustomerSuccessDomainListItemDto
87
+ */
88
+ tld: string;
89
+ /**
90
+ * Whether the domain ownership is verified by the owner (via NS3 or TXT record).
91
+ * @type {boolean}
92
+ * @memberof CustomerSuccessDomainListItemDto
93
+ */
94
+ verified: boolean;
95
+ /**
96
+ * Whether the required nameservers (NS1, NS2) are configured.
97
+ * @type {boolean}
98
+ * @memberof CustomerSuccessDomainListItemDto
99
+ */
100
+ nameservers: boolean;
101
+ /**
102
+ * Timestamp of the last nameserver verification check.
103
+ * @type {Date}
104
+ * @memberof CustomerSuccessDomainListItemDto
105
+ */
106
+ nameserversUpdatedAt: Date | null;
107
+ /**
108
+ * Whether the domain currently points to the platform server.
109
+ * @type {boolean}
110
+ * @memberof CustomerSuccessDomainListItemDto
111
+ */
112
+ pointsToOurServer: boolean | null;
113
+ /**
114
+ * Timestamp of the last check whether the domain points to the platform server.
115
+ * @type {Date}
116
+ * @memberof CustomerSuccessDomainListItemDto
117
+ */
118
+ pointsToOurServerUpdatedAt: Date | null;
119
+ /**
120
+ * Reason explaining the domain pointing status, when the check has been performed.
121
+ * @type {string}
122
+ * @memberof CustomerSuccessDomainListItemDto
123
+ */
124
+ pointsToOurServerReason: CustomerSuccessDomainListItemDtoPointsToOurServerReasonEnum | null;
125
+ /**
126
+ * ASCII punycode domain name (e.g. example.com, xn--maana-pta.com).
127
+ * @type {string}
128
+ * @memberof CustomerSuccessDomainListItemDto
129
+ */
130
+ name: string;
131
+ /**
132
+ * Unicode display domain name (e.g. example.com, mañana.com).
133
+ * @type {string}
134
+ * @memberof CustomerSuccessDomainListItemDto
135
+ */
136
+ displayName: string;
137
+ /**
138
+ * ISO 4217 currency code used for domain pricing.
139
+ * @type {string}
140
+ * @memberof CustomerSuccessDomainListItemDto
141
+ */
142
+ currencyCode: string;
143
+ /**
144
+ * Buy-it-now (BIN) price for immediate purchase.
145
+ * @type {MoneyDto}
146
+ * @memberof CustomerSuccessDomainListItemDto
147
+ */
148
+ buyNow: MoneyDto;
149
+ /**
150
+ * Lease-to-own payment plan configuration.
151
+ * @type {LeaseToOwnConfigurationDto}
152
+ * @memberof CustomerSuccessDomainListItemDto
153
+ */
154
+ leaseToOwn: LeaseToOwnConfigurationDto;
155
+ /**
156
+ * Monthly rent subscription configuration.
157
+ * @type {RentConfigurationDto}
158
+ * @memberof CustomerSuccessDomainListItemDto
159
+ */
160
+ rent: RentConfigurationDto;
161
+ /**
162
+ * Public landing page display and lead capture settings.
163
+ * @type {LandingPageSettingsDto}
164
+ * @memberof CustomerSuccessDomainListItemDto
165
+ */
166
+ landingPageSettings: LandingPageSettingsDto;
167
+ /**
168
+ * Minimum offer amount buyers may submit.
169
+ * @type {MoneyDto}
170
+ * @memberof CustomerSuccessDomainListItemDto
171
+ */
172
+ minOffer: MoneyDto;
173
+ /**
174
+ * Timestamp when the domain was created in the platform.
175
+ * @type {Date}
176
+ * @memberof CustomerSuccessDomainListItemDto
177
+ */
178
+ createdAt: Date;
179
+ /**
180
+ * Timestamp when the domain was deleted, if applicable.
181
+ * @type {Date}
182
+ * @memberof CustomerSuccessDomainListItemDto
183
+ */
184
+ deletedAt: Date | null;
185
+ /**
186
+ * Whether the domain has been sold.
187
+ * @type {boolean}
188
+ * @memberof CustomerSuccessDomainListItemDto
189
+ */
190
+ sold: boolean;
191
+ /**
192
+ * Total pageviews tracked for this domain, or zero if none are tracked.
193
+ * @type {number}
194
+ * @memberof CustomerSuccessDomainListItemDto
195
+ */
196
+ pageviews: number;
197
+ /**
198
+ * Whether third-party sales data sharing is enabled for this domain.
199
+ * @type {boolean}
200
+ * @memberof CustomerSuccessDomainListItemDto
201
+ */
202
+ allowThirdPartySalesDataSharing: boolean | null;
203
+ /**
204
+ * Per-domain AI price negotiator agent configuration.
205
+ * @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
206
+ * @memberof CustomerSuccessDomainListItemDto
207
+ */
208
+ leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
209
+ /**
210
+ * Active or most recent auction details, when present.
211
+ * @type {CustomerSuccessDomainAuctionDto}
212
+ * @memberof CustomerSuccessDomainListItemDto
213
+ */
214
+ auction: CustomerSuccessDomainAuctionDto | null;
215
+ /**
216
+ * Fee charged to the seller for running a paid auction.
217
+ * @type {MoneyDto}
218
+ * @memberof CustomerSuccessDomainListItemDto
219
+ */
220
+ paidAuctionPrice: MoneyDto;
221
+ /**
222
+ * Whether the domain currently has an accepted lead.
223
+ * @type {boolean}
224
+ * @memberof CustomerSuccessDomainListItemDto
225
+ */
226
+ hasAcceptedLead: boolean;
227
+ /**
228
+ * Whether a new auction can be created for this domain.
229
+ * @type {boolean}
230
+ * @memberof CustomerSuccessDomainListItemDto
231
+ */
232
+ canCreateAuction: boolean;
233
+ /**
234
+ * Whether the domain can be deleted by the seller.
235
+ * @type {boolean}
236
+ * @memberof CustomerSuccessDomainListItemDto
237
+ */
238
+ isDeleteable: boolean;
239
+ /**
240
+ * Whether the domain is currently locked from other sales.
241
+ * @type {boolean}
242
+ * @memberof CustomerSuccessDomainListItemDto
243
+ */
244
+ isLocked: boolean;
245
+ /**
246
+ * End date of the current continuous lock period, or null if not locked.
247
+ * @type {Date}
248
+ * @memberof CustomerSuccessDomainListItemDto
249
+ */
250
+ lockedUntil: Date | null;
251
+ /**
252
+ * Whether an admin picked this domain for the public showcase on the website.
253
+ * @type {boolean}
254
+ * @memberof CustomerSuccessDomainListItemDto
255
+ */
256
+ showcased: boolean;
257
+ /**
258
+ * 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.
259
+ * @type {string}
260
+ * @memberof CustomerSuccessDomainListItemDto
261
+ */
262
+ marketplace: CustomerSuccessDomainListItemDtoMarketplaceEnum | null;
263
+ }
264
+
265
+
266
+ /**
267
+ * @export
268
+ */
269
+ export const CustomerSuccessDomainListItemDtoPointsToOurServerReasonEnum = {
270
+ VALID_CNAME: 'valid_cname',
271
+ VALID_A_RECORDS: 'valid_a_records',
272
+ NO_A_RECORDS: 'no_a_records',
273
+ INVALID_A_RECORDS: 'invalid_a_records',
274
+ ROUTED_TO_MARKETPLACE: 'routed_to_marketplace',
275
+ NX_DOMAIN: 'nx_domain',
276
+ DNS_LOOKUP_ERROR: 'dns_lookup_error'
277
+ } as const;
278
+ export type CustomerSuccessDomainListItemDtoPointsToOurServerReasonEnum = typeof CustomerSuccessDomainListItemDtoPointsToOurServerReasonEnum[keyof typeof CustomerSuccessDomainListItemDtoPointsToOurServerReasonEnum];
279
+
280
+ /**
281
+ * @export
282
+ */
283
+ export const CustomerSuccessDomainListItemDtoMarketplaceEnum = {
284
+ NAMESHIFT: 'nameshift',
285
+ SEDO: 'sedo',
286
+ AFTERNIC: 'afternic',
287
+ ATOM: 'atom',
288
+ SPACESHIP: 'spaceship',
289
+ NAMECLUB: 'nameclub'
290
+ } as const;
291
+ export type CustomerSuccessDomainListItemDtoMarketplaceEnum = typeof CustomerSuccessDomainListItemDtoMarketplaceEnum[keyof typeof CustomerSuccessDomainListItemDtoMarketplaceEnum];
292
+
293
+
294
+ /**
295
+ * Check if a given object implements the CustomerSuccessDomainListItemDto interface.
296
+ */
297
+ export function instanceOfCustomerSuccessDomainListItemDto(value: object): value is CustomerSuccessDomainListItemDto {
298
+ if (!('id' in value) || value['id'] === undefined) return false;
299
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
300
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
301
+ if (!('tld' in value) || value['tld'] === undefined) return false;
302
+ if (!('verified' in value) || value['verified'] === undefined) return false;
303
+ if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
304
+ if (!('nameserversUpdatedAt' in value) || value['nameserversUpdatedAt'] === undefined) return false;
305
+ if (!('pointsToOurServer' in value) || value['pointsToOurServer'] === undefined) return false;
306
+ if (!('pointsToOurServerUpdatedAt' in value) || value['pointsToOurServerUpdatedAt'] === undefined) return false;
307
+ if (!('pointsToOurServerReason' in value) || value['pointsToOurServerReason'] === undefined) return false;
308
+ if (!('name' in value) || value['name'] === undefined) return false;
309
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
310
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
311
+ if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
312
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
313
+ if (!('rent' in value) || value['rent'] === undefined) return false;
314
+ if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
315
+ if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
316
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
317
+ if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
318
+ if (!('sold' in value) || value['sold'] === undefined) return false;
319
+ if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
320
+ if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
321
+ if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
322
+ if (!('auction' in value) || value['auction'] === undefined) return false;
323
+ if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined) return false;
324
+ if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined) return false;
325
+ if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined) return false;
326
+ if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
327
+ if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
328
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
329
+ if (!('showcased' in value) || value['showcased'] === undefined) return false;
330
+ if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
331
+ return true;
332
+ }
333
+
334
+ export function CustomerSuccessDomainListItemDtoFromJSON(json: any): CustomerSuccessDomainListItemDto {
335
+ return CustomerSuccessDomainListItemDtoFromJSONTyped(json, false);
336
+ }
337
+
338
+ export function CustomerSuccessDomainListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessDomainListItemDto {
339
+ if (json == null) {
340
+ return json;
341
+ }
342
+ return {
343
+
344
+ 'id': json['id'],
345
+ 'accountId': json['accountId'],
346
+ 'hijackerId': json['hijackerId'],
347
+ 'tld': json['tld'],
348
+ 'verified': json['verified'],
349
+ 'nameservers': json['nameservers'],
350
+ 'nameserversUpdatedAt': (json['nameserversUpdatedAt'] == null ? null : new Date(json['nameserversUpdatedAt'])),
351
+ 'pointsToOurServer': json['pointsToOurServer'],
352
+ 'pointsToOurServerUpdatedAt': (json['pointsToOurServerUpdatedAt'] == null ? null : new Date(json['pointsToOurServerUpdatedAt'])),
353
+ 'pointsToOurServerReason': json['pointsToOurServerReason'],
354
+ 'name': json['name'],
355
+ 'displayName': json['displayName'],
356
+ 'currencyCode': json['currencyCode'],
357
+ 'buyNow': MoneyDtoFromJSON(json['buyNow']),
358
+ 'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
359
+ 'rent': RentConfigurationDtoFromJSON(json['rent']),
360
+ 'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
361
+ 'minOffer': MoneyDtoFromJSON(json['minOffer']),
362
+ 'createdAt': (new Date(json['createdAt'])),
363
+ 'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
364
+ 'sold': json['sold'],
365
+ 'pageviews': json['pageviews'],
366
+ 'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
367
+ 'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
368
+ 'auction': CustomerSuccessDomainAuctionDtoFromJSON(json['auction']),
369
+ 'paidAuctionPrice': MoneyDtoFromJSON(json['paidAuctionPrice']),
370
+ 'hasAcceptedLead': json['hasAcceptedLead'],
371
+ 'canCreateAuction': json['canCreateAuction'],
372
+ 'isDeleteable': json['isDeleteable'],
373
+ 'isLocked': json['isLocked'],
374
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
375
+ 'showcased': json['showcased'],
376
+ 'marketplace': json['marketplace'],
377
+ };
378
+ }
379
+
380
+ export function CustomerSuccessDomainListItemDtoToJSON(json: any): CustomerSuccessDomainListItemDto {
381
+ return CustomerSuccessDomainListItemDtoToJSONTyped(json, false);
382
+ }
383
+
384
+ export function CustomerSuccessDomainListItemDtoToJSONTyped(value?: CustomerSuccessDomainListItemDto | null, ignoreDiscriminator: boolean = false): any {
385
+ if (value == null) {
386
+ return value;
387
+ }
388
+
389
+ return {
390
+
391
+ 'id': value['id'],
392
+ 'accountId': value['accountId'],
393
+ 'hijackerId': value['hijackerId'],
394
+ 'tld': value['tld'],
395
+ 'verified': value['verified'],
396
+ 'nameservers': value['nameservers'],
397
+ 'nameserversUpdatedAt': (value['nameserversUpdatedAt'] == null ? null : (value['nameserversUpdatedAt'] as any).toISOString()),
398
+ 'pointsToOurServer': value['pointsToOurServer'],
399
+ 'pointsToOurServerUpdatedAt': (value['pointsToOurServerUpdatedAt'] == null ? null : (value['pointsToOurServerUpdatedAt'] as any).toISOString()),
400
+ 'pointsToOurServerReason': value['pointsToOurServerReason'],
401
+ 'name': value['name'],
402
+ 'displayName': value['displayName'],
403
+ 'currencyCode': value['currencyCode'],
404
+ 'buyNow': MoneyDtoToJSON(value['buyNow']),
405
+ 'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
406
+ 'rent': RentConfigurationDtoToJSON(value['rent']),
407
+ 'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
408
+ 'minOffer': MoneyDtoToJSON(value['minOffer']),
409
+ 'createdAt': ((value['createdAt']).toISOString()),
410
+ 'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
411
+ 'sold': value['sold'],
412
+ 'pageviews': value['pageviews'],
413
+ 'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
414
+ 'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
415
+ 'auction': CustomerSuccessDomainAuctionDtoToJSON(value['auction']),
416
+ 'paidAuctionPrice': MoneyDtoToJSON(value['paidAuctionPrice']),
417
+ 'hasAcceptedLead': value['hasAcceptedLead'],
418
+ 'canCreateAuction': value['canCreateAuction'],
419
+ 'isDeleteable': value['isDeleteable'],
420
+ 'isLocked': value['isLocked'],
421
+ 'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
422
+ 'showcased': value['showcased'],
423
+ 'marketplace': value['marketplace'],
424
+ };
425
+ }
426
+