@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
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainAuctionDto
17
+ */
18
+ export interface DomainAuctionDto {
19
+ /**
20
+ * The auction id
21
+ * @type {object}
22
+ * @memberof DomainAuctionDto
23
+ */
24
+ id: object;
25
+ /**
26
+ * The auction minimum bid
27
+ * @type {MoneyDto}
28
+ * @memberof DomainAuctionDto
29
+ */
30
+ minimumBid: MoneyDto;
31
+ /**
32
+ * The auction reserve price
33
+ * @type {MoneyDto}
34
+ * @memberof DomainAuctionDto
35
+ */
36
+ reservePrice: MoneyDto | null;
37
+ /**
38
+ * The auction start date
39
+ * @type {Date}
40
+ * @memberof DomainAuctionDto
41
+ */
42
+ startDate: Date;
43
+ /**
44
+ * The auction end date
45
+ * @type {Date}
46
+ * @memberof DomainAuctionDto
47
+ */
48
+ endDate: Date;
49
+ /**
50
+ * The auction highest bid
51
+ * @type {MoneyDto}
52
+ * @memberof DomainAuctionDto
53
+ */
54
+ highestBid: MoneyDto | null;
55
+ }
56
+ /**
57
+ * Check if a given object implements the DomainAuctionDto interface.
58
+ */
59
+ export declare function instanceOfDomainAuctionDto(value: object): value is DomainAuctionDto;
60
+ export declare function DomainAuctionDtoFromJSON(json: any): DomainAuctionDto;
61
+ export declare function DomainAuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAuctionDto;
62
+ export declare function DomainAuctionDtoToJSON(json: any): DomainAuctionDto;
63
+ export declare function DomainAuctionDtoToJSONTyped(value?: DomainAuctionDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfDomainAuctionDto = instanceOfDomainAuctionDto;
17
+ exports.DomainAuctionDtoFromJSON = DomainAuctionDtoFromJSON;
18
+ exports.DomainAuctionDtoFromJSONTyped = DomainAuctionDtoFromJSONTyped;
19
+ exports.DomainAuctionDtoToJSON = DomainAuctionDtoToJSON;
20
+ exports.DomainAuctionDtoToJSONTyped = DomainAuctionDtoToJSONTyped;
21
+ var MoneyDto_1 = require("./MoneyDto");
22
+ /**
23
+ * Check if a given object implements the DomainAuctionDto interface.
24
+ */
25
+ function instanceOfDomainAuctionDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('minimumBid' in value) || value['minimumBid'] === undefined)
29
+ return false;
30
+ if (!('reservePrice' in value) || value['reservePrice'] === undefined)
31
+ return false;
32
+ if (!('startDate' in value) || value['startDate'] === undefined)
33
+ return false;
34
+ if (!('endDate' in value) || value['endDate'] === undefined)
35
+ return false;
36
+ if (!('highestBid' in value) || value['highestBid'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function DomainAuctionDtoFromJSON(json) {
41
+ return DomainAuctionDtoFromJSONTyped(json, false);
42
+ }
43
+ function DomainAuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
50
+ 'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
51
+ 'startDate': (new Date(json['startDate'])),
52
+ 'endDate': (new Date(json['endDate'])),
53
+ 'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
54
+ };
55
+ }
56
+ function DomainAuctionDtoToJSON(json) {
57
+ return DomainAuctionDtoToJSONTyped(json, false);
58
+ }
59
+ function DomainAuctionDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
67
+ 'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
68
+ 'startDate': ((value['startDate']).toISOString()),
69
+ 'endDate': ((value['endDate']).toISOString()),
70
+ 'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
71
+ };
72
+ }
@@ -105,6 +105,18 @@ export interface DomainSalesInformationDto {
105
105
  * @memberof DomainSalesInformationDto
106
106
  */
107
107
  seoEnabled: boolean;
108
+ /**
109
+ * The domain "isAuctionable" status
110
+ * @type {boolean}
111
+ * @memberof DomainSalesInformationDto
112
+ */
113
+ hasActiveAuction: boolean;
114
+ /**
115
+ * The domain "auctionId"
116
+ * @type {string}
117
+ * @memberof DomainSalesInformationDto
118
+ */
119
+ auctionId: string | null;
108
120
  /**
109
121
  * Lead buyer settings
110
122
  * @type {LeadBuyerConfigDto}
@@ -56,6 +56,10 @@ function instanceOfDomainSalesInformationDto(value) {
56
56
  return false;
57
57
  if (!('seoEnabled' in value) || value['seoEnabled'] === undefined)
58
58
  return false;
59
+ if (!('hasActiveAuction' in value) || value['hasActiveAuction'] === undefined)
60
+ return false;
61
+ if (!('auctionId' in value) || value['auctionId'] === undefined)
62
+ return false;
59
63
  if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined)
60
64
  return false;
61
65
  return true;
@@ -82,6 +86,8 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
82
86
  'relatedDomainsEnabled': json['relatedDomainsEnabled'],
83
87
  'trustpilotEnabled': json['trustpilotEnabled'],
84
88
  'seoEnabled': json['seoEnabled'],
89
+ 'hasActiveAuction': json['hasActiveAuction'],
90
+ 'auctionId': json['auctionId'],
85
91
  'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoFromJSON)(json['leadBuyerSettings']),
86
92
  };
87
93
  }
@@ -108,6 +114,8 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
108
114
  'relatedDomainsEnabled': value['relatedDomainsEnabled'],
109
115
  'trustpilotEnabled': value['trustpilotEnabled'],
110
116
  'seoEnabled': value['seoEnabled'],
117
+ 'hasActiveAuction': value['hasActiveAuction'],
118
+ 'auctionId': value['auctionId'],
111
119
  'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoToJSON)(value['leadBuyerSettings']),
112
120
  };
113
121
  }
@@ -104,6 +104,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
104
104
  readonly SELLER_STATS_DASHBOARD: "SELLER_STATS_DASHBOARD";
105
105
  readonly SELLER_TRANSFER_COSTS_PAYMENT: "SELLER_TRANSFER_COSTS_PAYMENT";
106
106
  readonly NOTIFICATIONS_MANAGER: "NOTIFICATIONS_MANAGER";
107
+ readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
107
108
  };
108
109
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
109
110
  /**
@@ -40,7 +40,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
40
40
  DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
41
41
  SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
42
42
  SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
43
- NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER'
43
+ NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
44
+ DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
44
45
  };
45
46
  /**
46
47
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
13
  import type { RentConfigurationDto } from './RentConfigurationDto';
14
+ import type { DomainAuctionDto } from './DomainAuctionDto';
14
15
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
15
16
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
17
  import type { AccountDto } from './AccountDto';
@@ -136,6 +137,12 @@ export interface IntersectionDomainDtoWithAccountDto {
136
137
  * @memberof IntersectionDomainDtoWithAccountDto
137
138
  */
138
139
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
140
+ /**
141
+ * Whether the domain has auction
142
+ * @type {DomainAuctionDto}
143
+ * @memberof IntersectionDomainDtoWithAccountDto
144
+ */
145
+ auction: DomainAuctionDto | null;
139
146
  /**
140
147
  *
141
148
  * @type {AccountDto}
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAcc
20
20
  exports.IntersectionDomainDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
22
  var RentConfigurationDto_1 = require("./RentConfigurationDto");
23
+ var DomainAuctionDto_1 = require("./DomainAuctionDto");
23
24
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
24
25
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
26
  var AccountDto_1 = require("./AccountDto");
@@ -66,6 +67,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
66
67
  return false;
67
68
  if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
68
69
  return false;
70
+ if (!('auction' in value) || value['auction'] === undefined)
71
+ return false;
69
72
  if (!('account' in value) || value['account'] === undefined)
70
73
  return false;
71
74
  return true;
@@ -97,6 +100,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
97
100
  'pageviews': json['pageviews'],
98
101
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
99
102
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
103
+ 'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
100
104
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
101
105
  };
102
106
  }
@@ -128,6 +132,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
128
132
  'pageviews': value['pageviews'],
129
133
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
130
134
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
135
+ 'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
131
136
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
132
137
  };
133
138
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
13
  import type { RentConfigurationDto } from './RentConfigurationDto';
14
+ import type { DomainAuctionDto } from './DomainAuctionDto';
14
15
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
15
16
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
17
  import type { AccountDto } from './AccountDto';
@@ -136,6 +137,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
136
137
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
137
138
  */
138
139
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
140
+ /**
141
+ * Whether the domain has auction
142
+ * @type {DomainAuctionDto}
143
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
144
+ */
145
+ auction: DomainAuctionDto | null;
139
146
  /**
140
147
  *
141
148
  * @type {AccountDto}
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionD
20
20
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
22
  var RentConfigurationDto_1 = require("./RentConfigurationDto");
23
+ var DomainAuctionDto_1 = require("./DomainAuctionDto");
23
24
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
24
25
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
26
  var AccountDto_1 = require("./AccountDto");
@@ -66,6 +67,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
66
67
  return false;
67
68
  if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
68
69
  return false;
70
+ if (!('auction' in value) || value['auction'] === undefined)
71
+ return false;
69
72
  if (!('hijacker' in value) || value['hijacker'] === undefined)
70
73
  return false;
71
74
  if (!('account' in value) || value['account'] === undefined)
@@ -99,6 +102,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
99
102
  'pageviews': json['pageviews'],
100
103
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
101
104
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
105
+ 'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
102
106
  'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
103
107
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
104
108
  };
@@ -131,6 +135,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
131
135
  'pageviews': value['pageviews'],
132
136
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
133
137
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
138
+ 'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
134
139
  'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
135
140
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
136
141
  };
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
13
  import type { RentConfigurationDto } from './RentConfigurationDto';
14
+ import type { DomainAuctionDto } from './DomainAuctionDto';
14
15
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
15
16
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
17
  import type { SeoMetricsDto } from './SeoMetricsDto';
@@ -142,6 +143,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
142
143
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
143
144
  */
144
145
  leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
146
+ /**
147
+ * Whether the domain has auction
148
+ * @type {DomainAuctionDto}
149
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
150
+ */
151
+ auction: DomainAuctionDto | null;
145
152
  }
146
153
  /**
147
154
  * Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithSeoMetricsDtoToJSON = IntersectionDomainDtoWith
20
20
  exports.IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
22
  var RentConfigurationDto_1 = require("./RentConfigurationDto");
23
+ var DomainAuctionDto_1 = require("./DomainAuctionDto");
23
24
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
24
25
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
26
  var SeoMetricsDto_1 = require("./SeoMetricsDto");
@@ -68,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
68
69
  return false;
69
70
  if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
70
71
  return false;
72
+ if (!('auction' in value) || value['auction'] === undefined)
73
+ return false;
71
74
  return true;
72
75
  }
73
76
  function IntersectionDomainDtoWithSeoMetricsDtoFromJSON(json) {
@@ -98,6 +101,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
98
101
  'pageviews': json['pageviews'],
99
102
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
100
103
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
104
+ 'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
101
105
  };
102
106
  }
103
107
  function IntersectionDomainDtoWithSeoMetricsDtoToJSON(json) {
@@ -129,5 +133,6 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
129
133
  'pageviews': value['pageviews'],
130
134
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
131
135
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
136
+ 'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
132
137
  };
133
138
  }
@@ -13,6 +13,8 @@ import type { IntersectionDomainDtoWithAccountDto } from './IntersectionDomainDt
13
13
  import type { ManualLeadBuyerDto } from './ManualLeadBuyerDto';
14
14
  import type { ManualLeadLeaseToOwnDto } from './ManualLeadLeaseToOwnDto';
15
15
  import type { MoneyDto } from './MoneyDto';
16
+ import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
17
+ import type { LeadOfferDto } from './LeadOfferDto';
16
18
  /**
17
19
  *
18
20
  * @export
@@ -43,6 +45,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
43
45
  * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
44
46
  */
45
47
  lastOfferBy: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
52
+ */
53
+ lastOfferType: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum | null;
46
54
  /**
47
55
  *
48
56
  * @type {IntersectionDomainDtoWithAccountDto}
@@ -115,6 +123,24 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
115
123
  * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
116
124
  */
117
125
  isMutedForBuyer: boolean;
126
+ /**
127
+ *
128
+ * @type {LeadRentConfigurationDto}
129
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
130
+ */
131
+ rent: LeadRentConfigurationDto;
132
+ /**
133
+ *
134
+ * @type {LeadOfferDto}
135
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
136
+ */
137
+ lastBuyerOffer: LeadOfferDto | null;
138
+ /**
139
+ *
140
+ * @type {LeadOfferDto}
141
+ * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
142
+ */
143
+ lastSellerOffer: LeadOfferDto | null;
118
144
  }
119
145
  /**
120
146
  * @export
@@ -137,6 +163,16 @@ export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDet
137
163
  readonly ADMIN: "admin";
138
164
  };
139
165
  export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum];
166
+ /**
167
+ * @export
168
+ */
169
+ export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum: {
170
+ readonly LEAD: "lead";
171
+ readonly LEASE_TO_OWN: "lease_to_own";
172
+ readonly RENT: "rent";
173
+ readonly AUCTION: "auction";
174
+ };
175
+ export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum];
140
176
  /**
141
177
  * @export
142
178
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum = void 0;
16
+ exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum = void 0;
17
17
  exports.instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto = instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto;
18
18
  exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSON = IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSON;
19
19
  exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSONTyped = IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSONTyped;
@@ -23,6 +23,8 @@ var IntersectionDomainDtoWithAccountDto_1 = require("./IntersectionDomainDtoWith
23
23
  var ManualLeadBuyerDto_1 = require("./ManualLeadBuyerDto");
24
24
  var ManualLeadLeaseToOwnDto_1 = require("./ManualLeadLeaseToOwnDto");
25
25
  var MoneyDto_1 = require("./MoneyDto");
26
+ var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
27
+ var LeadOfferDto_1 = require("./LeadOfferDto");
26
28
  /**
27
29
  * @export
28
30
  */
@@ -42,6 +44,15 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOf
42
44
  AI: 'ai',
43
45
  ADMIN: 'admin'
44
46
  };
47
+ /**
48
+ * @export
49
+ */
50
+ exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum = {
51
+ LEAD: 'lead',
52
+ LEASE_TO_OWN: 'lease_to_own',
53
+ RENT: 'rent',
54
+ AUCTION: 'auction'
55
+ };
45
56
  /**
46
57
  * @export
47
58
  */
@@ -63,6 +74,8 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetai
63
74
  return false;
64
75
  if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
65
76
  return false;
77
+ if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
78
+ return false;
66
79
  if (!('domain' in value) || value['domain'] === undefined)
67
80
  return false;
68
81
  if (!('manualType' in value) || value['manualType'] === undefined)
@@ -87,6 +100,12 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetai
87
100
  return false;
88
101
  if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined)
89
102
  return false;
103
+ if (!('rent' in value) || value['rent'] === undefined)
104
+ return false;
105
+ if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined)
106
+ return false;
107
+ if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
108
+ return false;
90
109
  return true;
91
110
  }
92
111
  function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSON(json) {
@@ -101,6 +120,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJ
101
120
  'status': json['status'],
102
121
  'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
103
122
  'lastOfferBy': json['lastOfferBy'],
123
+ 'lastOfferType': json['lastOfferType'],
104
124
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoFromJSON)(json['domain']),
105
125
  'manualType': json['manualType'],
106
126
  'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoFromJSON)(json['buyer']),
@@ -113,6 +133,9 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJ
113
133
  'orderPaymentUrl': json['orderPaymentUrl'],
114
134
  'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
115
135
  'isMutedForBuyer': json['isMutedForBuyer'],
136
+ 'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
137
+ 'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
138
+ 'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
116
139
  };
117
140
  }
118
141
  function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSON(json) {
@@ -128,6 +151,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSO
128
151
  'status': value['status'],
129
152
  'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
130
153
  'lastOfferBy': value['lastOfferBy'],
154
+ 'lastOfferType': value['lastOfferType'],
131
155
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value['domain']),
132
156
  'manualType': value['manualType'],
133
157
  'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoToJSON)(value['buyer']),
@@ -140,5 +164,8 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSO
140
164
  'orderPaymentUrl': value['orderPaymentUrl'],
141
165
  'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
142
166
  'isMutedForBuyer': value['isMutedForBuyer'],
167
+ 'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
168
+ 'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
169
+ 'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
143
170
  };
144
171
  }
@@ -9,8 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { LeadLeaseToOwnConfigurationDto } from './LeadLeaseToOwnConfigurationDto';
12
13
  import type { LeadDomainDto } from './LeadDomainDto';
13
14
  import type { MoneyDto } from './MoneyDto';
15
+ import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
16
+ import type { LeadOfferDto } from './LeadOfferDto';
14
17
  /**
15
18
  *
16
19
  * @export
@@ -41,6 +44,12 @@ export interface LeadDto {
41
44
  * @memberof LeadDto
42
45
  */
43
46
  lastOfferBy: LeadDtoLastOfferByEnum | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof LeadDto
51
+ */
52
+ lastOfferType: LeadDtoLastOfferTypeEnum | null;
44
53
  /**
45
54
  * Archived status
46
55
  * @type {boolean}
@@ -101,6 +110,30 @@ export interface LeadDto {
101
110
  * @memberof LeadDto
102
111
  */
103
112
  isMutedForBuyer: boolean;
113
+ /**
114
+ *
115
+ * @type {LeadLeaseToOwnConfigurationDto}
116
+ * @memberof LeadDto
117
+ */
118
+ leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
119
+ /**
120
+ *
121
+ * @type {LeadRentConfigurationDto}
122
+ * @memberof LeadDto
123
+ */
124
+ rent: LeadRentConfigurationDto;
125
+ /**
126
+ *
127
+ * @type {LeadOfferDto}
128
+ * @memberof LeadDto
129
+ */
130
+ lastBuyerOffer: LeadOfferDto | null;
131
+ /**
132
+ *
133
+ * @type {LeadOfferDto}
134
+ * @memberof LeadDto
135
+ */
136
+ lastSellerOffer: LeadOfferDto | null;
104
137
  }
105
138
  /**
106
139
  * @export
@@ -123,6 +156,16 @@ export declare const LeadDtoLastOfferByEnum: {
123
156
  readonly ADMIN: "admin";
124
157
  };
125
158
  export type LeadDtoLastOfferByEnum = typeof LeadDtoLastOfferByEnum[keyof typeof LeadDtoLastOfferByEnum];
159
+ /**
160
+ * @export
161
+ */
162
+ export declare const LeadDtoLastOfferTypeEnum: {
163
+ readonly LEAD: "lead";
164
+ readonly LEASE_TO_OWN: "lease_to_own";
165
+ readonly RENT: "rent";
166
+ readonly AUCTION: "auction";
167
+ };
168
+ export type LeadDtoLastOfferTypeEnum = typeof LeadDtoLastOfferTypeEnum[keyof typeof LeadDtoLastOfferTypeEnum];
126
169
  /**
127
170
  * @export
128
171
  */