@randock/nameshift-api-client 0.0.365 → 0.0.367

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 (66) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +11 -0
  4. package/dist/apis/AdminApi.js +51 -0
  5. package/dist/apis/LeadsApi.d.ts +13 -1
  6. package/dist/apis/LeadsApi.js +56 -0
  7. package/dist/models/AccountSettingsDto.d.ts +7 -0
  8. package/dist/models/AccountSettingsDto.js +5 -0
  9. package/dist/models/AccountSettingsInput.d.ts +6 -0
  10. package/dist/models/AccountSettingsInput.js +2 -0
  11. package/dist/models/AdminAccountSettingsInput.d.ts +6 -0
  12. package/dist/models/AdminAccountSettingsInput.js +2 -0
  13. package/dist/models/BuyerDomainTransferListItemDto.d.ts +6 -0
  14. package/dist/models/BuyerDomainTransferListItemDto.js +4 -0
  15. package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
  16. package/dist/models/BuyerLeadListItemDto.js +4 -0
  17. package/dist/models/CreateManualLeadInput.d.ts +14 -0
  18. package/dist/models/CreateManualLeadInput.js +6 -0
  19. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +7 -0
  20. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +5 -0
  21. package/dist/models/LeadDto.d.ts +7 -0
  22. package/dist/models/LeadDto.js +5 -0
  23. package/dist/models/LeadOfferExpirationConfigurationDto.d.ts +39 -0
  24. package/dist/models/LeadOfferExpirationConfigurationDto.js +56 -0
  25. package/dist/models/LeadOfferExpirationConfigurationInput.d.ts +39 -0
  26. package/dist/models/LeadOfferExpirationConfigurationInput.js +52 -0
  27. package/dist/models/LeadOfferExpirationDurationInput.d.ts +47 -0
  28. package/dist/models/LeadOfferExpirationDurationInput.js +60 -0
  29. package/dist/models/LedgerMutationAttachmentDto.d.ts +38 -0
  30. package/dist/models/LedgerMutationAttachmentDto.js +55 -0
  31. package/dist/models/LedgerMutationDto.d.ts +7 -0
  32. package/dist/models/LedgerMutationDto.js +5 -0
  33. package/dist/models/ListLeadsResultItem.d.ts +7 -0
  34. package/dist/models/ListLeadsResultItem.js +5 -0
  35. package/dist/models/PutLeadOfferInput.d.ts +7 -0
  36. package/dist/models/PutLeadOfferInput.js +3 -0
  37. package/dist/models/SellerLeadDetails.d.ts +7 -0
  38. package/dist/models/SellerLeadDetails.js +5 -0
  39. package/dist/models/TaskListLeadDto.d.ts +7 -0
  40. package/dist/models/TaskListLeadDto.js +5 -0
  41. package/dist/models/WithSettingsInner.d.ts +7 -0
  42. package/dist/models/WithSettingsInner.js +5 -0
  43. package/dist/models/index.d.ts +4 -0
  44. package/dist/models/index.js +4 -0
  45. package/package.json +1 -1
  46. package/src/apis/AdminApi.ts +44 -0
  47. package/src/apis/LeadsApi.ts +58 -0
  48. package/src/models/AccountSettingsDto.ts +16 -0
  49. package/src/models/AccountSettingsInput.ts +8 -0
  50. package/src/models/AdminAccountSettingsInput.ts +8 -0
  51. package/src/models/BuyerDomainTransferListItemDto.ts +9 -0
  52. package/src/models/BuyerLeadListItemDto.ts +9 -0
  53. package/src/models/CreateManualLeadInput.ts +30 -0
  54. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +16 -0
  55. package/src/models/LeadDto.ts +16 -0
  56. package/src/models/LeadOfferExpirationConfigurationDto.ts +83 -0
  57. package/src/models/LeadOfferExpirationConfigurationInput.ts +81 -0
  58. package/src/models/LeadOfferExpirationDurationInput.ts +85 -0
  59. package/src/models/LedgerMutationAttachmentDto.ts +75 -0
  60. package/src/models/LedgerMutationDto.ts +17 -0
  61. package/src/models/ListLeadsResultItem.ts +16 -0
  62. package/src/models/PutLeadOfferInput.ts +15 -0
  63. package/src/models/SellerLeadDetails.ts +16 -0
  64. package/src/models/TaskListLeadDto.ts +16 -0
  65. package/src/models/WithSettingsInner.ts +16 -0
  66. package/src/models/index.ts +4 -0
@@ -0,0 +1,81 @@
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 { LeadOfferExpirationDurationInput } from './LeadOfferExpirationDurationInput';
17
+ import {
18
+ LeadOfferExpirationDurationInputFromJSON,
19
+ LeadOfferExpirationDurationInputFromJSONTyped,
20
+ LeadOfferExpirationDurationInputToJSON,
21
+ LeadOfferExpirationDurationInputToJSONTyped,
22
+ } from './LeadOfferExpirationDurationInput';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface LeadOfferExpirationConfigurationInput
28
+ */
29
+ export interface LeadOfferExpirationConfigurationInput {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof LeadOfferExpirationConfigurationInput
34
+ */
35
+ enabled?: boolean;
36
+ /**
37
+ *
38
+ * @type {LeadOfferExpirationDurationInput}
39
+ * @memberof LeadOfferExpirationConfigurationInput
40
+ */
41
+ duration?: LeadOfferExpirationDurationInput;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the LeadOfferExpirationConfigurationInput interface.
46
+ */
47
+ export function instanceOfLeadOfferExpirationConfigurationInput(value: object): value is LeadOfferExpirationConfigurationInput {
48
+ return true;
49
+ }
50
+
51
+ export function LeadOfferExpirationConfigurationInputFromJSON(json: any): LeadOfferExpirationConfigurationInput {
52
+ return LeadOfferExpirationConfigurationInputFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function LeadOfferExpirationConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationConfigurationInput {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
62
+ 'duration': json['duration'] == null ? undefined : LeadOfferExpirationDurationInputFromJSON(json['duration']),
63
+ };
64
+ }
65
+
66
+ export function LeadOfferExpirationConfigurationInputToJSON(json: any): LeadOfferExpirationConfigurationInput {
67
+ return LeadOfferExpirationConfigurationInputToJSONTyped(json, false);
68
+ }
69
+
70
+ export function LeadOfferExpirationConfigurationInputToJSONTyped(value?: LeadOfferExpirationConfigurationInput | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'enabled': value['enabled'],
78
+ 'duration': LeadOfferExpirationDurationInputToJSON(value['duration']),
79
+ };
80
+ }
81
+
@@ -0,0 +1,85 @@
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 LeadOfferExpirationDurationInput
20
+ */
21
+ export interface LeadOfferExpirationDurationInput {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof LeadOfferExpirationDurationInput
26
+ */
27
+ amount?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof LeadOfferExpirationDurationInput
32
+ */
33
+ unit?: LeadOfferExpirationDurationInputUnitEnum;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const LeadOfferExpirationDurationInputUnitEnum = {
41
+ MINUTE: 'minute',
42
+ HOUR: 'hour',
43
+ DAY: 'day'
44
+ } as const;
45
+ export type LeadOfferExpirationDurationInputUnitEnum = typeof LeadOfferExpirationDurationInputUnitEnum[keyof typeof LeadOfferExpirationDurationInputUnitEnum];
46
+
47
+
48
+ /**
49
+ * Check if a given object implements the LeadOfferExpirationDurationInput interface.
50
+ */
51
+ export function instanceOfLeadOfferExpirationDurationInput(value: object): value is LeadOfferExpirationDurationInput {
52
+ return true;
53
+ }
54
+
55
+ export function LeadOfferExpirationDurationInputFromJSON(json: any): LeadOfferExpirationDurationInput {
56
+ return LeadOfferExpirationDurationInputFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function LeadOfferExpirationDurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationDurationInput {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'amount': json['amount'] == null ? undefined : json['amount'],
66
+ 'unit': json['unit'] == null ? undefined : json['unit'],
67
+ };
68
+ }
69
+
70
+ export function LeadOfferExpirationDurationInputToJSON(json: any): LeadOfferExpirationDurationInput {
71
+ return LeadOfferExpirationDurationInputToJSONTyped(json, false);
72
+ }
73
+
74
+ export function LeadOfferExpirationDurationInputToJSONTyped(value?: LeadOfferExpirationDurationInput | null, ignoreDiscriminator: boolean = false): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+
79
+ return {
80
+
81
+ 'amount': value['amount'],
82
+ 'unit': value['unit'],
83
+ };
84
+ }
85
+
@@ -0,0 +1,75 @@
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 LedgerMutationAttachmentDto
20
+ */
21
+ export interface LedgerMutationAttachmentDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof LedgerMutationAttachmentDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof LedgerMutationAttachmentDto
32
+ */
33
+ filename: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the LedgerMutationAttachmentDto interface.
38
+ */
39
+ export function instanceOfLedgerMutationAttachmentDto(value: object): value is LedgerMutationAttachmentDto {
40
+ if (!('id' in value) || value['id'] === undefined) return false;
41
+ if (!('filename' in value) || value['filename'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function LedgerMutationAttachmentDtoFromJSON(json: any): LedgerMutationAttachmentDto {
46
+ return LedgerMutationAttachmentDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function LedgerMutationAttachmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LedgerMutationAttachmentDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'id': json['id'],
56
+ 'filename': json['filename'],
57
+ };
58
+ }
59
+
60
+ export function LedgerMutationAttachmentDtoToJSON(json: any): LedgerMutationAttachmentDto {
61
+ return LedgerMutationAttachmentDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function LedgerMutationAttachmentDtoToJSONTyped(value?: LedgerMutationAttachmentDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'id': value['id'],
72
+ 'filename': value['filename'],
73
+ };
74
+ }
75
+
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LedgerMutationAttachmentDto } from './LedgerMutationAttachmentDto';
17
+ import {
18
+ LedgerMutationAttachmentDtoFromJSON,
19
+ LedgerMutationAttachmentDtoFromJSONTyped,
20
+ LedgerMutationAttachmentDtoToJSON,
21
+ LedgerMutationAttachmentDtoToJSONTyped,
22
+ } from './LedgerMutationAttachmentDto';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -55,6 +63,12 @@ export interface LedgerMutationDto {
55
63
  * @memberof LedgerMutationDto
56
64
  */
57
65
  date: Date;
66
+ /**
67
+ *
68
+ * @type {Array<LedgerMutationAttachmentDto>}
69
+ * @memberof LedgerMutationDto
70
+ */
71
+ attachments: Array<LedgerMutationAttachmentDto>;
58
72
  }
59
73
 
60
74
  /**
@@ -67,6 +81,7 @@ export function instanceOfLedgerMutationDto(value: object): value is LedgerMutat
67
81
  if (!('credit' in value) || value['credit'] === undefined) return false;
68
82
  if (!('description' in value) || value['description'] === undefined) return false;
69
83
  if (!('date' in value) || value['date'] === undefined) return false;
84
+ if (!('attachments' in value) || value['attachments'] === undefined) return false;
70
85
  return true;
71
86
  }
72
87
 
@@ -86,6 +101,7 @@ export function LedgerMutationDtoFromJSONTyped(json: any, ignoreDiscriminator: b
86
101
  'credit': json['credit'],
87
102
  'description': json['description'],
88
103
  'date': (new Date(json['date'])),
104
+ 'attachments': ((json['attachments'] as Array<any>).map(LedgerMutationAttachmentDtoFromJSON)),
89
105
  };
90
106
  }
91
107
 
@@ -106,6 +122,7 @@ export function LedgerMutationDtoToJSONTyped(value?: LedgerMutationDto | null, i
106
122
  'credit': value['credit'],
107
123
  'description': value['description'],
108
124
  'date': ((value['date']).toISOString()),
125
+ 'attachments': ((value['attachments'] as Array<any>).map(LedgerMutationAttachmentDtoToJSON)),
109
126
  };
110
127
  }
111
128
 
@@ -48,6 +48,13 @@ import {
48
48
  LeadRentConfigurationDtoToJSON,
49
49
  LeadRentConfigurationDtoToJSONTyped,
50
50
  } from './LeadRentConfigurationDto';
51
+ import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
52
+ import {
53
+ LeadOfferExpirationConfigurationDtoFromJSON,
54
+ LeadOfferExpirationConfigurationDtoFromJSONTyped,
55
+ LeadOfferExpirationConfigurationDtoToJSON,
56
+ LeadOfferExpirationConfigurationDtoToJSONTyped,
57
+ } from './LeadOfferExpirationConfigurationDto';
51
58
  import type { LeadOfferDto } from './LeadOfferDto';
52
59
  import {
53
60
  LeadOfferDtoFromJSON,
@@ -212,6 +219,12 @@ export interface ListLeadsResultItem {
212
219
  * @memberof ListLeadsResultItem
213
220
  */
214
221
  lastSellerOffer: LeadOfferDto | null;
222
+ /**
223
+ *
224
+ * @type {LeadOfferExpirationConfigurationDto}
225
+ * @memberof ListLeadsResultItem
226
+ */
227
+ leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
215
228
  /**
216
229
  * The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
217
230
  * @type {string}
@@ -325,6 +338,7 @@ export function instanceOfListLeadsResultItem(value: object): value is ListLeads
325
338
  if (!('rent' in value) || value['rent'] === undefined) return false;
326
339
  if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
327
340
  if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
341
+ if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
328
342
  if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
329
343
  if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
330
344
  return true;
@@ -365,6 +379,7 @@ export function ListLeadsResultItemFromJSONTyped(json: any, ignoreDiscriminator:
365
379
  'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
366
380
  'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
367
381
  'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
382
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
368
383
  'lastMessageMessage': json['lastMessageMessage'],
369
384
  'lastMessageDate': (new Date(json['lastMessageDate'])),
370
385
  };
@@ -406,6 +421,7 @@ export function ListLeadsResultItemToJSONTyped(value?: ListLeadsResultItem | nul
406
421
  'rent': LeadRentConfigurationDtoToJSON(value['rent']),
407
422
  'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
408
423
  'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
424
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
409
425
  'lastMessageMessage': value['lastMessageMessage'],
410
426
  'lastMessageDate': ((value['lastMessageDate']).toISOString()),
411
427
  };
@@ -20,6 +20,13 @@ import {
20
20
  MoneyDtoToJSON,
21
21
  MoneyDtoToJSONTyped,
22
22
  } from './MoneyDto';
23
+ import type { LeadOfferExpirationConfigurationInput } from './LeadOfferExpirationConfigurationInput';
24
+ import {
25
+ LeadOfferExpirationConfigurationInputFromJSON,
26
+ LeadOfferExpirationConfigurationInputFromJSONTyped,
27
+ LeadOfferExpirationConfigurationInputToJSON,
28
+ LeadOfferExpirationConfigurationInputToJSONTyped,
29
+ } from './LeadOfferExpirationConfigurationInput';
23
30
 
24
31
  /**
25
32
  *
@@ -45,6 +52,12 @@ export interface PutLeadOfferInput {
45
52
  * @memberof PutLeadOfferInput
46
53
  */
47
54
  leaseToOwnMonths?: number | null;
55
+ /**
56
+ *
57
+ * @type {LeadOfferExpirationConfigurationInput}
58
+ * @memberof PutLeadOfferInput
59
+ */
60
+ leadOfferExpirationConfiguration?: LeadOfferExpirationConfigurationInput;
48
61
  }
49
62
 
50
63
 
@@ -80,6 +93,7 @@ export function PutLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: b
80
93
  'offer': json['offer'] == null ? undefined : MoneyDtoFromJSON(json['offer']),
81
94
  'offerType': json['offerType'] == null ? undefined : json['offerType'],
82
95
  'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
96
+ 'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LeadOfferExpirationConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
83
97
  };
84
98
  }
85
99
 
@@ -97,6 +111,7 @@ export function PutLeadOfferInputToJSONTyped(value?: PutLeadOfferInput | null, i
97
111
  'offer': MoneyDtoToJSON(value['offer']),
98
112
  'offerType': value['offerType'],
99
113
  'leaseToOwnMonths': value['leaseToOwnMonths'],
114
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
100
115
  };
101
116
  }
102
117
 
@@ -48,6 +48,13 @@ import {
48
48
  LeadRentConfigurationDtoToJSON,
49
49
  LeadRentConfigurationDtoToJSONTyped,
50
50
  } from './LeadRentConfigurationDto';
51
+ import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
52
+ import {
53
+ LeadOfferExpirationConfigurationDtoFromJSON,
54
+ LeadOfferExpirationConfigurationDtoFromJSONTyped,
55
+ LeadOfferExpirationConfigurationDtoToJSON,
56
+ LeadOfferExpirationConfigurationDtoToJSONTyped,
57
+ } from './LeadOfferExpirationConfigurationDto';
51
58
  import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
52
59
  import {
53
60
  DomainLockConfigurationDtoFromJSON,
@@ -201,6 +208,12 @@ export interface SellerLeadDetails {
201
208
  * @memberof SellerLeadDetails
202
209
  */
203
210
  lastSellerOffer: LeadOfferDto | null;
211
+ /**
212
+ *
213
+ * @type {LeadOfferExpirationConfigurationDto}
214
+ * @memberof SellerLeadDetails
215
+ */
216
+ leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
204
217
  }
205
218
 
206
219
 
@@ -276,6 +289,7 @@ export function instanceOfSellerLeadDetails(value: object): value is SellerLeadD
276
289
  if (!('rent' in value) || value['rent'] === undefined) return false;
277
290
  if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
278
291
  if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
292
+ if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
279
293
  return true;
280
294
  }
281
295
 
@@ -311,6 +325,7 @@ export function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: b
311
325
  'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
312
326
  'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
313
327
  'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
328
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
314
329
  };
315
330
  }
316
331
 
@@ -347,6 +362,7 @@ export function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, i
347
362
  'rent': LeadRentConfigurationDtoToJSON(value['rent']),
348
363
  'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
349
364
  'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
365
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
350
366
  };
351
367
  }
352
368
 
@@ -41,6 +41,13 @@ import {
41
41
  TaskListLeadRentConfigurationDtoToJSON,
42
42
  TaskListLeadRentConfigurationDtoToJSONTyped,
43
43
  } from './TaskListLeadRentConfigurationDto';
44
+ import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
45
+ import {
46
+ LeadOfferExpirationConfigurationDtoFromJSON,
47
+ LeadOfferExpirationConfigurationDtoFromJSONTyped,
48
+ LeadOfferExpirationConfigurationDtoToJSON,
49
+ LeadOfferExpirationConfigurationDtoToJSONTyped,
50
+ } from './LeadOfferExpirationConfigurationDto';
44
51
 
45
52
  /**
46
53
  *
@@ -102,6 +109,12 @@ export interface TaskListLeadDto {
102
109
  * @memberof TaskListLeadDto
103
110
  */
104
111
  rent: TaskListLeadRentConfigurationDto;
112
+ /**
113
+ * Lead offer expiration configuration
114
+ * @type {LeadOfferExpirationConfigurationDto}
115
+ * @memberof TaskListLeadDto
116
+ */
117
+ leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
105
118
  }
106
119
 
107
120
 
@@ -141,6 +154,7 @@ export function instanceOfTaskListLeadDto(value: object): value is TaskListLeadD
141
154
  if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
142
155
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
143
156
  if (!('rent' in value) || value['rent'] === undefined) return false;
157
+ if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
144
158
  return true;
145
159
  }
146
160
 
@@ -163,6 +177,7 @@ export function TaskListLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
163
177
  'lastSellerOffer': TaskListLeadOfferDtoFromJSON(json['lastSellerOffer']),
164
178
  'leaseToOwn': TaskListLeadLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
165
179
  'rent': TaskListLeadRentConfigurationDtoFromJSON(json['rent']),
180
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
166
181
  };
167
182
  }
168
183
 
@@ -186,6 +201,7 @@ export function TaskListLeadDtoToJSONTyped(value?: TaskListLeadDto | null, ignor
186
201
  'lastSellerOffer': TaskListLeadOfferDtoToJSON(value['lastSellerOffer']),
187
202
  'leaseToOwn': TaskListLeadLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
188
203
  'rent': TaskListLeadRentConfigurationDtoToJSON(value['rent']),
204
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
189
205
  };
190
206
  }
191
207
 
@@ -48,6 +48,13 @@ import {
48
48
  AccountSettingsLeaseToOwnConfigurationDtoToJSON,
49
49
  AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
50
50
  } from './AccountSettingsLeaseToOwnConfigurationDto';
51
+ import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
52
+ import {
53
+ LeadOfferExpirationConfigurationDtoFromJSON,
54
+ LeadOfferExpirationConfigurationDtoFromJSONTyped,
55
+ LeadOfferExpirationConfigurationDtoToJSON,
56
+ LeadOfferExpirationConfigurationDtoToJSONTyped,
57
+ } from './LeadOfferExpirationConfigurationDto';
51
58
  import type { AuctionConfigurationDto } from './AuctionConfigurationDto';
52
59
  import {
53
60
  AuctionConfigurationDtoFromJSON,
@@ -228,6 +235,12 @@ export interface WithSettingsInner {
228
235
  * @memberof WithSettingsInner
229
236
  */
230
237
  domainLockConfiguration: DomainLockConfigurationDto;
238
+ /**
239
+ *
240
+ * @type {LeadOfferExpirationConfigurationDto}
241
+ * @memberof WithSettingsInner
242
+ */
243
+ leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
231
244
  }
232
245
 
233
246
  /**
@@ -257,6 +270,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
257
270
  if (!('commissionsByDateRange' in value) || value['commissionsByDateRange'] === undefined) return false;
258
271
  if (!('auctionConfiguration' in value) || value['auctionConfiguration'] === undefined) return false;
259
272
  if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
273
+ if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
260
274
  return true;
261
275
  }
262
276
 
@@ -293,6 +307,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
293
307
  'commissionsByDateRange': ((json['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoFromJSON)),
294
308
  'auctionConfiguration': AuctionConfigurationDtoFromJSON(json['auctionConfiguration']),
295
309
  'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
310
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
296
311
  };
297
312
  }
298
313
 
@@ -330,6 +345,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
330
345
  'commissionsByDateRange': ((value['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoToJSON)),
331
346
  'auctionConfiguration': AuctionConfigurationDtoToJSON(value['auctionConfiguration']),
332
347
  'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
348
+ 'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
333
349
  };
334
350
  }
335
351
 
@@ -199,6 +199,9 @@ export * from './LeadMessageData';
199
199
  export * from './LeadMessageDataLeaseToOwn';
200
200
  export * from './LeadMessageDto';
201
201
  export * from './LeadOfferDto';
202
+ export * from './LeadOfferExpirationConfigurationDto';
203
+ export * from './LeadOfferExpirationConfigurationInput';
204
+ export * from './LeadOfferExpirationDurationInput';
202
205
  export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
203
206
  export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
204
207
  export * from './LeadRentConfigurationDto';
@@ -207,6 +210,7 @@ export * from './LeaseToOwnConfigurationDto';
207
210
  export * from './LeaseToOwnConfigurationInput';
208
211
  export * from './LeaseToOwnConfigurationPresetsDto';
209
212
  export * from './LeaseToOwnDto';
213
+ export * from './LedgerMutationAttachmentDto';
210
214
  export * from './LedgerMutationDto';
211
215
  export * from './LedgerMutationsDto';
212
216
  export * from './List200Response';