@randock/nameshift-api-client 0.0.331 → 0.0.333

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 (135) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsPublicApi.d.ts +1 -0
  4. package/dist/apis/AccountsPublicApi.js +3 -0
  5. package/dist/apis/AuctionsPublicApi.d.ts +29 -0
  6. package/dist/apis/AuctionsPublicApi.js +124 -0
  7. package/dist/apis/BuyersApi.d.ts +54 -1
  8. package/dist/apis/BuyersApi.js +267 -0
  9. package/dist/apis/BuyersPublicApi.d.ts +23 -1
  10. package/dist/apis/BuyersPublicApi.js +90 -0
  11. package/dist/apis/DomainsApi.d.ts +13 -1
  12. package/dist/apis/DomainsApi.js +56 -0
  13. package/dist/apis/LeadsApi.d.ts +2 -5
  14. package/dist/apis/LeadsApi.js +4 -8
  15. package/dist/apis/index.d.ts +1 -0
  16. package/dist/apis/index.js +1 -0
  17. package/dist/models/AuctionBidDto.d.ts +51 -0
  18. package/dist/models/AuctionBidDto.js +64 -0
  19. package/dist/models/AuctionBidInput.d.ts +32 -0
  20. package/dist/models/AuctionBidInput.js +51 -0
  21. package/dist/models/AuctionBuyerDto.d.ts +74 -0
  22. package/dist/models/AuctionBuyerDto.js +79 -0
  23. package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
  24. package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
  25. package/dist/models/AuctionDto.d.ts +82 -0
  26. package/dist/models/AuctionDto.js +85 -0
  27. package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
  28. package/dist/models/BuyerLeadListItemDto.js +19 -1
  29. package/dist/models/DomainAuctionDto.d.ts +63 -0
  30. package/dist/models/DomainAuctionDto.js +72 -0
  31. package/dist/models/DomainSalesInformationDto.d.ts +12 -0
  32. package/dist/models/DomainSalesInformationDto.js +8 -0
  33. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  34. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  35. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  36. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  37. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  38. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  39. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
  40. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
  41. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
  42. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
  43. package/dist/models/LeadDto.d.ts +43 -0
  44. package/dist/models/LeadDto.js +33 -1
  45. package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
  46. package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
  47. package/dist/models/LeadMessageData.d.ts +7 -0
  48. package/dist/models/LeadMessageData.js +5 -0
  49. package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
  50. package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
  51. package/dist/models/LeadMessageDto.d.ts +16 -0
  52. package/dist/models/LeadMessageDto.js +14 -1
  53. package/dist/models/LeadOfferDto.d.ts +72 -0
  54. package/dist/models/LeadOfferDto.js +84 -0
  55. package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
  56. package/dist/models/LeadRentConfigurationDto.js +55 -0
  57. package/dist/models/ListLeadsResultItem.d.ts +43 -0
  58. package/dist/models/ListLeadsResultItem.js +33 -1
  59. package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
  60. package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
  61. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  62. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  63. package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
  64. package/dist/models/PutBuyerLeadOfferInput.js +14 -0
  65. package/dist/models/PutLeadOfferInput.d.ts +23 -1
  66. package/dist/models/PutLeadOfferInput.js +15 -3
  67. package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
  68. package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
  69. package/dist/models/RegisterInput.d.ts +38 -0
  70. package/dist/models/RegisterInput.js +55 -0
  71. package/dist/models/RequestEmailOtpInput.d.ts +38 -0
  72. package/dist/models/RequestEmailOtpInput.js +55 -0
  73. package/dist/models/SellerLeadDetails.d.ts +43 -0
  74. package/dist/models/SellerLeadDetails.js +33 -1
  75. package/dist/models/StartAuctionInput.d.ts +51 -0
  76. package/dist/models/StartAuctionInput.js +62 -0
  77. package/dist/models/TaskListLeadDto.d.ts +43 -0
  78. package/dist/models/TaskListLeadDto.js +33 -1
  79. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
  80. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
  81. package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
  82. package/dist/models/TaskListLeadOfferDto.js +84 -0
  83. package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
  84. package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
  85. package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
  86. package/dist/models/VerifyEmailOtpInput.js +55 -0
  87. package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
  88. package/dist/models/VerifyPhoneOtpInput.js +51 -0
  89. package/dist/models/index.d.ts +19 -0
  90. package/dist/models/index.js +19 -0
  91. package/package.json +1 -1
  92. package/src/apis/AccountsPublicApi.ts +5 -0
  93. package/src/apis/AuctionsPublicApi.ts +67 -0
  94. package/src/apis/BuyersApi.ts +249 -0
  95. package/src/apis/BuyersPublicApi.ts +88 -0
  96. package/src/apis/DomainsApi.ts +58 -0
  97. package/src/apis/LeadsApi.ts +3 -11
  98. package/src/apis/index.ts +1 -0
  99. package/src/models/AuctionBidDto.ts +101 -0
  100. package/src/models/AuctionBidInput.ts +66 -0
  101. package/src/models/AuctionBuyerDto.ts +129 -0
  102. package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
  103. package/src/models/AuctionDto.ts +153 -0
  104. package/src/models/BuyerLeadListItemDto.ts +36 -0
  105. package/src/models/DomainAuctionDto.ts +119 -0
  106. package/src/models/DomainSalesInformationDto.ts +18 -0
  107. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  108. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  109. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  110. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
  111. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
  112. package/src/models/LeadDto.ts +77 -0
  113. package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
  114. package/src/models/LeadMessageData.ts +16 -0
  115. package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
  116. package/src/models/LeadMessageDto.ts +20 -0
  117. package/src/models/LeadOfferDto.ts +132 -0
  118. package/src/models/LeadRentConfigurationDto.ts +75 -0
  119. package/src/models/ListLeadsResultItem.ts +77 -0
  120. package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/PutBuyerLeadOfferInput.ts +29 -0
  123. package/src/models/PutLeadOfferInput.ts +31 -3
  124. package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
  125. package/src/models/RegisterInput.ts +75 -0
  126. package/src/models/RequestEmailOtpInput.ts +75 -0
  127. package/src/models/SellerLeadDetails.ts +77 -0
  128. package/src/models/StartAuctionInput.ts +100 -0
  129. package/src/models/TaskListLeadDto.ts +77 -0
  130. package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
  131. package/src/models/TaskListLeadOfferDto.ts +132 -0
  132. package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
  133. package/src/models/VerifyEmailOtpInput.ts +75 -0
  134. package/src/models/VerifyPhoneOtpInput.ts +66 -0
  135. package/src/models/index.ts +19 -0
@@ -27,6 +27,13 @@ import {
27
27
  RentConfigurationDtoToJSON,
28
28
  RentConfigurationDtoToJSONTyped,
29
29
  } from './RentConfigurationDto';
30
+ import type { DomainAuctionDto } from './DomainAuctionDto';
31
+ import {
32
+ DomainAuctionDtoFromJSON,
33
+ DomainAuctionDtoFromJSONTyped,
34
+ DomainAuctionDtoToJSON,
35
+ DomainAuctionDtoToJSONTyped,
36
+ } from './DomainAuctionDto';
30
37
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
31
38
  import {
32
39
  LeaseToOwnConfigurationDtoFromJSON,
@@ -177,6 +184,12 @@ export interface IntersectionDomainDtoWithAccountDto {
177
184
  * @memberof IntersectionDomainDtoWithAccountDto
178
185
  */
179
186
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
187
+ /**
188
+ * Whether the domain has auction
189
+ * @type {DomainAuctionDto}
190
+ * @memberof IntersectionDomainDtoWithAccountDto
191
+ */
192
+ auction: DomainAuctionDto | null;
180
193
  /**
181
194
  *
182
195
  * @type {AccountDto}
@@ -208,6 +221,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
208
221
  if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
209
222
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
210
223
  if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
224
+ if (!('auction' in value) || value['auction'] === undefined) return false;
211
225
  if (!('account' in value) || value['account'] === undefined) return false;
212
226
  return true;
213
227
  }
@@ -241,6 +255,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
241
255
  'pageviews': json['pageviews'],
242
256
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
243
257
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
258
+ 'auction': DomainAuctionDtoFromJSON(json['auction']),
244
259
  'account': AccountDtoFromJSON(json['account']),
245
260
  };
246
261
  }
@@ -275,6 +290,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
275
290
  'pageviews': value['pageviews'],
276
291
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
277
292
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
293
+ 'auction': DomainAuctionDtoToJSON(value['auction']),
278
294
  'account': AccountDtoToJSON(value['account']),
279
295
  };
280
296
  }
@@ -27,6 +27,13 @@ import {
27
27
  RentConfigurationDtoToJSON,
28
28
  RentConfigurationDtoToJSONTyped,
29
29
  } from './RentConfigurationDto';
30
+ import type { DomainAuctionDto } from './DomainAuctionDto';
31
+ import {
32
+ DomainAuctionDtoFromJSON,
33
+ DomainAuctionDtoFromJSONTyped,
34
+ DomainAuctionDtoToJSON,
35
+ DomainAuctionDtoToJSONTyped,
36
+ } from './DomainAuctionDto';
30
37
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
31
38
  import {
32
39
  LeaseToOwnConfigurationDtoFromJSON,
@@ -177,6 +184,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
177
184
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
178
185
  */
179
186
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
187
+ /**
188
+ * Whether the domain has auction
189
+ * @type {DomainAuctionDto}
190
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
191
+ */
192
+ auction: DomainAuctionDto | null;
180
193
  /**
181
194
  *
182
195
  * @type {AccountDto}
@@ -214,6 +227,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
214
227
  if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
215
228
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
216
229
  if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
230
+ if (!('auction' in value) || value['auction'] === undefined) return false;
217
231
  if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
218
232
  if (!('account' in value) || value['account'] === undefined) return false;
219
233
  return true;
@@ -248,6 +262,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
248
262
  'pageviews': json['pageviews'],
249
263
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
250
264
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
265
+ 'auction': DomainAuctionDtoFromJSON(json['auction']),
251
266
  'hijacker': AccountDtoFromJSON(json['hijacker']),
252
267
  'account': AccountDtoFromJSON(json['account']),
253
268
  };
@@ -283,6 +298,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
283
298
  'pageviews': value['pageviews'],
284
299
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
285
300
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
301
+ 'auction': DomainAuctionDtoToJSON(value['auction']),
286
302
  'hijacker': AccountDtoToJSON(value['hijacker']),
287
303
  'account': AccountDtoToJSON(value['account']),
288
304
  };
@@ -27,6 +27,13 @@ import {
27
27
  RentConfigurationDtoToJSON,
28
28
  RentConfigurationDtoToJSONTyped,
29
29
  } from './RentConfigurationDto';
30
+ import type { DomainAuctionDto } from './DomainAuctionDto';
31
+ import {
32
+ DomainAuctionDtoFromJSON,
33
+ DomainAuctionDtoFromJSONTyped,
34
+ DomainAuctionDtoToJSON,
35
+ DomainAuctionDtoToJSONTyped,
36
+ } from './DomainAuctionDto';
30
37
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
31
38
  import {
32
39
  LeaseToOwnConfigurationDtoFromJSON,
@@ -183,6 +190,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
183
190
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
184
191
  */
185
192
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
193
+ /**
194
+ * Whether the domain has auction
195
+ * @type {DomainAuctionDto}
196
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
197
+ */
198
+ auction: DomainAuctionDto | null;
186
199
  }
187
200
 
188
201
  /**
@@ -209,6 +222,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
209
222
  if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
210
223
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
211
224
  if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
225
+ if (!('auction' in value) || value['auction'] === undefined) return false;
212
226
  return true;
213
227
  }
214
228
 
@@ -242,6 +256,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
242
256
  'pageviews': json['pageviews'],
243
257
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
244
258
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
259
+ 'auction': DomainAuctionDtoFromJSON(json['auction']),
245
260
  };
246
261
  }
247
262
 
@@ -276,6 +291,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
276
291
  'pageviews': value['pageviews'],
277
292
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
278
293
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
294
+ 'auction': DomainAuctionDtoToJSON(value['auction']),
279
295
  };
280
296
  }
281
297
 
@@ -41,6 +41,20 @@ import {
41
41
  MoneyDtoToJSON,
42
42
  MoneyDtoToJSONTyped,
43
43
  } from './MoneyDto';
44
+ import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
45
+ import {
46
+ LeadRentConfigurationDtoFromJSON,
47
+ LeadRentConfigurationDtoFromJSONTyped,
48
+ LeadRentConfigurationDtoToJSON,
49
+ LeadRentConfigurationDtoToJSONTyped,
50
+ } from './LeadRentConfigurationDto';
51
+ import type { LeadOfferDto } from './LeadOfferDto';
52
+ import {
53
+ LeadOfferDtoFromJSON,
54
+ LeadOfferDtoFromJSONTyped,
55
+ LeadOfferDtoToJSON,
56
+ LeadOfferDtoToJSONTyped,
57
+ } from './LeadOfferDto';
44
58
 
45
59
  /**
46
60
  *
@@ -72,6 +86,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
72
86
  * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
73
87
  */
74
88
  lastOfferBy: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum | null;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
93
+ */
94
+ lastOfferType: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum | null;
75
95
  /**
76
96
  *
77
97
  * @type {IntersectionDomainDtoWithAccountDto}
@@ -144,6 +164,24 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
144
164
  * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
145
165
  */
146
166
  isMutedForBuyer: boolean;
167
+ /**
168
+ *
169
+ * @type {LeadRentConfigurationDto}
170
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
171
+ */
172
+ rent: LeadRentConfigurationDto;
173
+ /**
174
+ *
175
+ * @type {LeadOfferDto}
176
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
177
+ */
178
+ lastBuyerOffer: LeadOfferDto | null;
179
+ /**
180
+ *
181
+ * @type {LeadOfferDto}
182
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
183
+ */
184
+ lastSellerOffer: LeadOfferDto | null;
147
185
  }
148
186
 
149
187
 
@@ -170,6 +208,17 @@ export const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoL
170
208
  } as const;
171
209
  export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum];
172
210
 
211
+ /**
212
+ * @export
213
+ */
214
+ export const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum = {
215
+ LEAD: 'lead',
216
+ LEASE_TO_OWN: 'lease_to_own',
217
+ RENT: 'rent',
218
+ AUCTION: 'auction'
219
+ } as const;
220
+ export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum];
221
+
173
222
  /**
174
223
  * @export
175
224
  */
@@ -190,6 +239,7 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuy
190
239
  if (!('status' in value) || value['status'] === undefined) return false;
191
240
  if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
192
241
  if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined) return false;
242
+ if (!('lastOfferType' in value) || value['lastOfferType'] === undefined) return false;
193
243
  if (!('domain' in value) || value['domain'] === undefined) return false;
194
244
  if (!('manualType' in value) || value['manualType'] === undefined) return false;
195
245
  if (!('buyer' in value) || value['buyer'] === undefined) return false;
@@ -202,6 +252,9 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuy
202
252
  if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
203
253
  if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
204
254
  if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined) return false;
255
+ if (!('rent' in value) || value['rent'] === undefined) return false;
256
+ if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
257
+ if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
205
258
  return true;
206
259
  }
207
260
 
@@ -219,6 +272,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsD
219
272
  'status': json['status'],
220
273
  'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
221
274
  'lastOfferBy': json['lastOfferBy'],
275
+ 'lastOfferType': json['lastOfferType'],
222
276
  'domain': IntersectionDomainDtoWithAccountDtoFromJSON(json['domain']),
223
277
  'manualType': json['manualType'],
224
278
  'buyer': ManualLeadBuyerDtoFromJSON(json['buyer']),
@@ -231,6 +285,9 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsD
231
285
  'orderPaymentUrl': json['orderPaymentUrl'],
232
286
  'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
233
287
  'isMutedForBuyer': json['isMutedForBuyer'],
288
+ 'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
289
+ 'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
290
+ 'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
234
291
  };
235
292
  }
236
293
 
@@ -249,6 +306,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsD
249
306
  'status': value['status'],
250
307
  'lastOffer': MoneyDtoToJSON(value['lastOffer']),
251
308
  'lastOfferBy': value['lastOfferBy'],
309
+ 'lastOfferType': value['lastOfferType'],
252
310
  'domain': IntersectionDomainDtoWithAccountDtoToJSON(value['domain']),
253
311
  'manualType': value['manualType'],
254
312
  'buyer': ManualLeadBuyerDtoToJSON(value['buyer']),
@@ -261,6 +319,9 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsD
261
319
  'orderPaymentUrl': value['orderPaymentUrl'],
262
320
  'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
263
321
  'isMutedForBuyer': value['isMutedForBuyer'],
322
+ 'rent': LeadRentConfigurationDtoToJSON(value['rent']),
323
+ 'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
324
+ 'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
264
325
  };
265
326
  }
266
327
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadLeaseToOwnConfigurationDto } from './LeadLeaseToOwnConfigurationDto';
17
+ import {
18
+ LeadLeaseToOwnConfigurationDtoFromJSON,
19
+ LeadLeaseToOwnConfigurationDtoFromJSONTyped,
20
+ LeadLeaseToOwnConfigurationDtoToJSON,
21
+ LeadLeaseToOwnConfigurationDtoToJSONTyped,
22
+ } from './LeadLeaseToOwnConfigurationDto';
16
23
  import type { LeadDomainDto } from './LeadDomainDto';
17
24
  import {
18
25
  LeadDomainDtoFromJSON,
@@ -27,6 +34,20 @@ import {
27
34
  MoneyDtoToJSON,
28
35
  MoneyDtoToJSONTyped,
29
36
  } from './MoneyDto';
37
+ import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
38
+ import {
39
+ LeadRentConfigurationDtoFromJSON,
40
+ LeadRentConfigurationDtoFromJSONTyped,
41
+ LeadRentConfigurationDtoToJSON,
42
+ LeadRentConfigurationDtoToJSONTyped,
43
+ } from './LeadRentConfigurationDto';
44
+ import type { LeadOfferDto } from './LeadOfferDto';
45
+ import {
46
+ LeadOfferDtoFromJSON,
47
+ LeadOfferDtoFromJSONTyped,
48
+ LeadOfferDtoToJSON,
49
+ LeadOfferDtoToJSONTyped,
50
+ } from './LeadOfferDto';
30
51
 
31
52
  /**
32
53
  *
@@ -58,6 +79,12 @@ export interface LeadDto {
58
79
  * @memberof LeadDto
59
80
  */
60
81
  lastOfferBy: LeadDtoLastOfferByEnum | null;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof LeadDto
86
+ */
87
+ lastOfferType: LeadDtoLastOfferTypeEnum | null;
61
88
  /**
62
89
  * Archived status
63
90
  * @type {boolean}
@@ -118,6 +145,30 @@ export interface LeadDto {
118
145
  * @memberof LeadDto
119
146
  */
120
147
  isMutedForBuyer: boolean;
148
+ /**
149
+ *
150
+ * @type {LeadLeaseToOwnConfigurationDto}
151
+ * @memberof LeadDto
152
+ */
153
+ leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
154
+ /**
155
+ *
156
+ * @type {LeadRentConfigurationDto}
157
+ * @memberof LeadDto
158
+ */
159
+ rent: LeadRentConfigurationDto;
160
+ /**
161
+ *
162
+ * @type {LeadOfferDto}
163
+ * @memberof LeadDto
164
+ */
165
+ lastBuyerOffer: LeadOfferDto | null;
166
+ /**
167
+ *
168
+ * @type {LeadOfferDto}
169
+ * @memberof LeadDto
170
+ */
171
+ lastSellerOffer: LeadOfferDto | null;
121
172
  }
122
173
 
123
174
 
@@ -144,6 +195,17 @@ export const LeadDtoLastOfferByEnum = {
144
195
  } as const;
145
196
  export type LeadDtoLastOfferByEnum = typeof LeadDtoLastOfferByEnum[keyof typeof LeadDtoLastOfferByEnum];
146
197
 
198
+ /**
199
+ * @export
200
+ */
201
+ export const LeadDtoLastOfferTypeEnum = {
202
+ LEAD: 'lead',
203
+ LEASE_TO_OWN: 'lease_to_own',
204
+ RENT: 'rent',
205
+ AUCTION: 'auction'
206
+ } as const;
207
+ export type LeadDtoLastOfferTypeEnum = typeof LeadDtoLastOfferTypeEnum[keyof typeof LeadDtoLastOfferTypeEnum];
208
+
147
209
  /**
148
210
  * @export
149
211
  */
@@ -164,6 +226,7 @@ export function instanceOfLeadDto(value: object): value is LeadDto {
164
226
  if (!('status' in value) || value['status'] === undefined) return false;
165
227
  if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
166
228
  if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined) return false;
229
+ if (!('lastOfferType' in value) || value['lastOfferType'] === undefined) return false;
167
230
  if (!('archived' in value) || value['archived'] === undefined) return false;
168
231
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
169
232
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
@@ -174,6 +237,10 @@ export function instanceOfLeadDto(value: object): value is LeadDto {
174
237
  if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
175
238
  if (!('manualType' in value) || value['manualType'] === undefined) return false;
176
239
  if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined) return false;
240
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
241
+ if (!('rent' in value) || value['rent'] === undefined) return false;
242
+ if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
243
+ if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
177
244
  return true;
178
245
  }
179
246
 
@@ -191,6 +258,7 @@ export function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
191
258
  'status': json['status'],
192
259
  'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
193
260
  'lastOfferBy': json['lastOfferBy'],
261
+ 'lastOfferType': json['lastOfferType'],
194
262
  'archived': json['archived'],
195
263
  'createdAt': (new Date(json['createdAt'])),
196
264
  'updatedAt': (new Date(json['updatedAt'])),
@@ -201,6 +269,10 @@ export function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
201
269
  'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
202
270
  'manualType': json['manualType'],
203
271
  'isMutedForBuyer': json['isMutedForBuyer'],
272
+ 'leaseToOwn': LeadLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
273
+ 'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
274
+ 'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
275
+ 'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
204
276
  };
205
277
  }
206
278
 
@@ -219,6 +291,7 @@ export function LeadDtoToJSONTyped(value?: LeadDto | null, ignoreDiscriminator:
219
291
  'status': value['status'],
220
292
  'lastOffer': MoneyDtoToJSON(value['lastOffer']),
221
293
  'lastOfferBy': value['lastOfferBy'],
294
+ 'lastOfferType': value['lastOfferType'],
222
295
  'archived': value['archived'],
223
296
  'createdAt': ((value['createdAt']).toISOString()),
224
297
  'updatedAt': ((value['updatedAt']).toISOString()),
@@ -229,6 +302,10 @@ export function LeadDtoToJSONTyped(value?: LeadDto | null, ignoreDiscriminator:
229
302
  'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
230
303
  'manualType': value['manualType'],
231
304
  'isMutedForBuyer': value['isMutedForBuyer'],
305
+ 'leaseToOwn': LeadLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
306
+ 'rent': LeadRentConfigurationDtoToJSON(value['rent']),
307
+ 'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
308
+ 'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
232
309
  };
233
310
  }
234
311
 
@@ -0,0 +1,93 @@
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 LeadLeaseToOwnConfigurationDto
20
+ */
21
+ export interface LeadLeaseToOwnConfigurationDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof LeadLeaseToOwnConfigurationDto
26
+ */
27
+ minMonths: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof LeadLeaseToOwnConfigurationDto
32
+ */
33
+ maxMonths: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof LeadLeaseToOwnConfigurationDto
38
+ */
39
+ kickBackPercentage: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof LeadLeaseToOwnConfigurationDto
44
+ */
45
+ markupComissionPercentage: number | null;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the LeadLeaseToOwnConfigurationDto interface.
50
+ */
51
+ export function instanceOfLeadLeaseToOwnConfigurationDto(value: object): value is LeadLeaseToOwnConfigurationDto {
52
+ if (!('minMonths' in value) || value['minMonths'] === undefined) return false;
53
+ if (!('maxMonths' in value) || value['maxMonths'] === undefined) return false;
54
+ if (!('kickBackPercentage' in value) || value['kickBackPercentage'] === undefined) return false;
55
+ if (!('markupComissionPercentage' in value) || value['markupComissionPercentage'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function LeadLeaseToOwnConfigurationDtoFromJSON(json: any): LeadLeaseToOwnConfigurationDto {
60
+ return LeadLeaseToOwnConfigurationDtoFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function LeadLeaseToOwnConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadLeaseToOwnConfigurationDto {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'minMonths': json['minMonths'],
70
+ 'maxMonths': json['maxMonths'],
71
+ 'kickBackPercentage': json['kickBackPercentage'],
72
+ 'markupComissionPercentage': json['markupComissionPercentage'],
73
+ };
74
+ }
75
+
76
+ export function LeadLeaseToOwnConfigurationDtoToJSON(json: any): LeadLeaseToOwnConfigurationDto {
77
+ return LeadLeaseToOwnConfigurationDtoToJSONTyped(json, false);
78
+ }
79
+
80
+ export function LeadLeaseToOwnConfigurationDtoToJSONTyped(value?: LeadLeaseToOwnConfigurationDto | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'minMonths': value['minMonths'],
88
+ 'maxMonths': value['maxMonths'],
89
+ 'kickBackPercentage': value['kickBackPercentage'],
90
+ 'markupComissionPercentage': value['markupComissionPercentage'],
91
+ };
92
+ }
93
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadMessageDataLeaseToOwn } from './LeadMessageDataLeaseToOwn';
17
+ import {
18
+ LeadMessageDataLeaseToOwnFromJSON,
19
+ LeadMessageDataLeaseToOwnFromJSONTyped,
20
+ LeadMessageDataLeaseToOwnToJSON,
21
+ LeadMessageDataLeaseToOwnToJSONTyped,
22
+ } from './LeadMessageDataLeaseToOwn';
16
23
  import type { MoneyDto } from './MoneyDto';
17
24
  import {
18
25
  MoneyDtoFromJSON,
@@ -33,6 +40,12 @@ export interface LeadMessageData {
33
40
  * @memberof LeadMessageData
34
41
  */
35
42
  price: MoneyDto;
43
+ /**
44
+ *
45
+ * @type {LeadMessageDataLeaseToOwn}
46
+ * @memberof LeadMessageData
47
+ */
48
+ leaseToOwn: LeadMessageDataLeaseToOwn | null;
36
49
  }
37
50
 
38
51
  /**
@@ -40,6 +53,7 @@ export interface LeadMessageData {
40
53
  */
41
54
  export function instanceOfLeadMessageData(value: object): value is LeadMessageData {
42
55
  if (!('price' in value) || value['price'] === undefined) return false;
56
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
43
57
  return true;
44
58
  }
45
59
 
@@ -54,6 +68,7 @@ export function LeadMessageDataFromJSONTyped(json: any, ignoreDiscriminator: boo
54
68
  return {
55
69
 
56
70
  'price': MoneyDtoFromJSON(json['price']),
71
+ 'leaseToOwn': LeadMessageDataLeaseToOwnFromJSON(json['leaseToOwn']),
57
72
  };
58
73
  }
59
74
 
@@ -69,6 +84,7 @@ export function LeadMessageDataToJSONTyped(value?: LeadMessageData | null, ignor
69
84
  return {
70
85
 
71
86
  'price': MoneyDtoToJSON(value['price']),
87
+ 'leaseToOwn': LeadMessageDataLeaseToOwnToJSON(value['leaseToOwn']),
72
88
  };
73
89
  }
74
90
 
@@ -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 LeadMessageDataLeaseToOwn
20
+ */
21
+ export interface LeadMessageDataLeaseToOwn {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof LeadMessageDataLeaseToOwn
26
+ */
27
+ minMonths: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof LeadMessageDataLeaseToOwn
32
+ */
33
+ maxMonths: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the LeadMessageDataLeaseToOwn interface.
38
+ */
39
+ export function instanceOfLeadMessageDataLeaseToOwn(value: object): value is LeadMessageDataLeaseToOwn {
40
+ if (!('minMonths' in value) || value['minMonths'] === undefined) return false;
41
+ if (!('maxMonths' in value) || value['maxMonths'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function LeadMessageDataLeaseToOwnFromJSON(json: any): LeadMessageDataLeaseToOwn {
46
+ return LeadMessageDataLeaseToOwnFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function LeadMessageDataLeaseToOwnFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageDataLeaseToOwn {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'minMonths': json['minMonths'],
56
+ 'maxMonths': json['maxMonths'],
57
+ };
58
+ }
59
+
60
+ export function LeadMessageDataLeaseToOwnToJSON(json: any): LeadMessageDataLeaseToOwn {
61
+ return LeadMessageDataLeaseToOwnToJSONTyped(json, false);
62
+ }
63
+
64
+ export function LeadMessageDataLeaseToOwnToJSONTyped(value?: LeadMessageDataLeaseToOwn | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'minMonths': value['minMonths'],
72
+ 'maxMonths': value['maxMonths'],
73
+ };
74
+ }
75
+