@randock/nameshift-api-client 0.0.331 → 0.0.332

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 (132) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AuctionsPublicApi.d.ts +29 -0
  4. package/dist/apis/AuctionsPublicApi.js +124 -0
  5. package/dist/apis/BuyersApi.d.ts +54 -1
  6. package/dist/apis/BuyersApi.js +267 -0
  7. package/dist/apis/BuyersPublicApi.d.ts +23 -1
  8. package/dist/apis/BuyersPublicApi.js +90 -0
  9. package/dist/apis/DomainsApi.d.ts +13 -1
  10. package/dist/apis/DomainsApi.js +56 -0
  11. package/dist/apis/LeadsApi.d.ts +2 -5
  12. package/dist/apis/LeadsApi.js +4 -8
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.js +1 -0
  15. package/dist/models/AuctionBidDto.d.ts +51 -0
  16. package/dist/models/AuctionBidDto.js +64 -0
  17. package/dist/models/AuctionBidInput.d.ts +32 -0
  18. package/dist/models/AuctionBidInput.js +51 -0
  19. package/dist/models/AuctionBuyerDto.d.ts +74 -0
  20. package/dist/models/AuctionBuyerDto.js +79 -0
  21. package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
  22. package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
  23. package/dist/models/AuctionDto.d.ts +82 -0
  24. package/dist/models/AuctionDto.js +85 -0
  25. package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
  26. package/dist/models/BuyerLeadListItemDto.js +19 -1
  27. package/dist/models/DomainAuctionDto.d.ts +63 -0
  28. package/dist/models/DomainAuctionDto.js +72 -0
  29. package/dist/models/DomainSalesInformationDto.d.ts +12 -0
  30. package/dist/models/DomainSalesInformationDto.js +8 -0
  31. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  32. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  33. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  34. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  35. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  36. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  37. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
  38. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
  39. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
  40. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
  41. package/dist/models/LeadDto.d.ts +43 -0
  42. package/dist/models/LeadDto.js +33 -1
  43. package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
  44. package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
  45. package/dist/models/LeadMessageData.d.ts +7 -0
  46. package/dist/models/LeadMessageData.js +5 -0
  47. package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
  48. package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
  49. package/dist/models/LeadMessageDto.d.ts +16 -0
  50. package/dist/models/LeadMessageDto.js +14 -1
  51. package/dist/models/LeadOfferDto.d.ts +72 -0
  52. package/dist/models/LeadOfferDto.js +84 -0
  53. package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
  54. package/dist/models/LeadRentConfigurationDto.js +55 -0
  55. package/dist/models/ListLeadsResultItem.d.ts +43 -0
  56. package/dist/models/ListLeadsResultItem.js +33 -1
  57. package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
  58. package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
  59. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  60. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  61. package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
  62. package/dist/models/PutBuyerLeadOfferInput.js +14 -0
  63. package/dist/models/PutLeadOfferInput.d.ts +23 -1
  64. package/dist/models/PutLeadOfferInput.js +15 -3
  65. package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
  66. package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
  67. package/dist/models/RegisterInput.d.ts +38 -0
  68. package/dist/models/RegisterInput.js +55 -0
  69. package/dist/models/RequestEmailOtpInput.d.ts +38 -0
  70. package/dist/models/RequestEmailOtpInput.js +55 -0
  71. package/dist/models/SellerLeadDetails.d.ts +43 -0
  72. package/dist/models/SellerLeadDetails.js +33 -1
  73. package/dist/models/StartAuctionInput.d.ts +51 -0
  74. package/dist/models/StartAuctionInput.js +62 -0
  75. package/dist/models/TaskListLeadDto.d.ts +43 -0
  76. package/dist/models/TaskListLeadDto.js +33 -1
  77. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
  78. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
  79. package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
  80. package/dist/models/TaskListLeadOfferDto.js +84 -0
  81. package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
  82. package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
  83. package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
  84. package/dist/models/VerifyEmailOtpInput.js +55 -0
  85. package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
  86. package/dist/models/VerifyPhoneOtpInput.js +51 -0
  87. package/dist/models/index.d.ts +19 -0
  88. package/dist/models/index.js +19 -0
  89. package/package.json +1 -1
  90. package/src/apis/AuctionsPublicApi.ts +67 -0
  91. package/src/apis/BuyersApi.ts +249 -0
  92. package/src/apis/BuyersPublicApi.ts +88 -0
  93. package/src/apis/DomainsApi.ts +58 -0
  94. package/src/apis/LeadsApi.ts +3 -11
  95. package/src/apis/index.ts +1 -0
  96. package/src/models/AuctionBidDto.ts +101 -0
  97. package/src/models/AuctionBidInput.ts +66 -0
  98. package/src/models/AuctionBuyerDto.ts +129 -0
  99. package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
  100. package/src/models/AuctionDto.ts +153 -0
  101. package/src/models/BuyerLeadListItemDto.ts +36 -0
  102. package/src/models/DomainAuctionDto.ts +119 -0
  103. package/src/models/DomainSalesInformationDto.ts +18 -0
  104. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  105. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  106. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  107. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
  108. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
  109. package/src/models/LeadDto.ts +77 -0
  110. package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
  111. package/src/models/LeadMessageData.ts +16 -0
  112. package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
  113. package/src/models/LeadMessageDto.ts +20 -0
  114. package/src/models/LeadOfferDto.ts +132 -0
  115. package/src/models/LeadRentConfigurationDto.ts +75 -0
  116. package/src/models/ListLeadsResultItem.ts +77 -0
  117. package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
  118. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  119. package/src/models/PutBuyerLeadOfferInput.ts +29 -0
  120. package/src/models/PutLeadOfferInput.ts +31 -3
  121. package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
  122. package/src/models/RegisterInput.ts +75 -0
  123. package/src/models/RequestEmailOtpInput.ts +75 -0
  124. package/src/models/SellerLeadDetails.ts +77 -0
  125. package/src/models/StartAuctionInput.ts +100 -0
  126. package/src/models/TaskListLeadDto.ts +77 -0
  127. package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
  128. package/src/models/TaskListLeadOfferDto.ts +132 -0
  129. package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
  130. package/src/models/VerifyEmailOtpInput.ts +75 -0
  131. package/src/models/VerifyPhoneOtpInput.ts +66 -0
  132. package/src/models/index.ts +19 -0
@@ -28,6 +28,12 @@ export interface LeadMessageDto {
28
28
  * @memberof LeadMessageDto
29
29
  */
30
30
  type: LeadMessageDtoTypeEnum;
31
+ /**
32
+ * The lead message offer type
33
+ * @type {string}
34
+ * @memberof LeadMessageDto
35
+ */
36
+ offerType: LeadMessageDtoOfferTypeEnum | null;
31
37
  /**
32
38
  * The lead message origin
33
39
  * @type {string}
@@ -76,6 +82,16 @@ export declare const LeadMessageDtoTypeEnum: {
76
82
  readonly MESSAGE: "message";
77
83
  };
78
84
  export type LeadMessageDtoTypeEnum = typeof LeadMessageDtoTypeEnum[keyof typeof LeadMessageDtoTypeEnum];
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const LeadMessageDtoOfferTypeEnum: {
89
+ readonly LEAD: "lead";
90
+ readonly LEASE_TO_OWN: "lease_to_own";
91
+ readonly RENT: "rent";
92
+ readonly AUCTION: "auction";
93
+ };
94
+ export type LeadMessageDtoOfferTypeEnum = typeof LeadMessageDtoOfferTypeEnum[keyof typeof LeadMessageDtoOfferTypeEnum];
79
95
  /**
80
96
  * @export
81
97
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LeadMessageDtoOriginEnum = exports.LeadMessageDtoTypeEnum = void 0;
16
+ exports.LeadMessageDtoOriginEnum = exports.LeadMessageDtoOfferTypeEnum = exports.LeadMessageDtoTypeEnum = void 0;
17
17
  exports.instanceOfLeadMessageDto = instanceOfLeadMessageDto;
18
18
  exports.LeadMessageDtoFromJSON = LeadMessageDtoFromJSON;
19
19
  exports.LeadMessageDtoFromJSONTyped = LeadMessageDtoFromJSONTyped;
@@ -30,6 +30,15 @@ exports.LeadMessageDtoTypeEnum = {
30
30
  OFFER_REJECTED: 'offer_rejected',
31
31
  MESSAGE: 'message'
32
32
  };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.LeadMessageDtoOfferTypeEnum = {
37
+ LEAD: 'lead',
38
+ LEASE_TO_OWN: 'lease_to_own',
39
+ RENT: 'rent',
40
+ AUCTION: 'auction'
41
+ };
33
42
  /**
34
43
  * @export
35
44
  */
@@ -47,6 +56,8 @@ function instanceOfLeadMessageDto(value) {
47
56
  return false;
48
57
  if (!('type' in value) || value['type'] === undefined)
49
58
  return false;
59
+ if (!('offerType' in value) || value['offerType'] === undefined)
60
+ return false;
50
61
  if (!('origin' in value) || value['origin'] === undefined)
51
62
  return false;
52
63
  if (!('data' in value) || value['data'] === undefined)
@@ -71,6 +82,7 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
71
82
  return {
72
83
  'id': json['id'],
73
84
  'type': json['type'],
85
+ 'offerType': json['offerType'],
74
86
  'origin': json['origin'],
75
87
  'data': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['data']),
76
88
  'message': json['message'],
@@ -90,6 +102,7 @@ function LeadMessageDtoToJSONTyped(value, ignoreDiscriminator) {
90
102
  return {
91
103
  'id': value['id'],
92
104
  'type': value['type'],
105
+ 'offerType': value['offerType'],
93
106
  'origin': value['origin'],
94
107
  'data': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['data']),
95
108
  'message': value['message'],
@@ -0,0 +1,72 @@
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 { LeadMessageDataLeaseToOwn } from './LeadMessageDataLeaseToOwn';
13
+ import type { MoneyDto } from './MoneyDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LeadOfferDto
18
+ */
19
+ export interface LeadOfferDto {
20
+ /**
21
+ *
22
+ * @type {MoneyDto}
23
+ * @memberof LeadOfferDto
24
+ */
25
+ offer: MoneyDto;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof LeadOfferDto
30
+ */
31
+ offerBy: LeadOfferDtoOfferByEnum;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof LeadOfferDto
36
+ */
37
+ offerType: LeadOfferDtoOfferTypeEnum;
38
+ /**
39
+ *
40
+ * @type {LeadMessageDataLeaseToOwn}
41
+ * @memberof LeadOfferDto
42
+ */
43
+ leaseToOwn: LeadMessageDataLeaseToOwn | null;
44
+ }
45
+ /**
46
+ * @export
47
+ */
48
+ export declare const LeadOfferDtoOfferByEnum: {
49
+ readonly BUYER: "buyer";
50
+ readonly SELLER: "seller";
51
+ readonly AI: "ai";
52
+ readonly ADMIN: "admin";
53
+ };
54
+ export type LeadOfferDtoOfferByEnum = typeof LeadOfferDtoOfferByEnum[keyof typeof LeadOfferDtoOfferByEnum];
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const LeadOfferDtoOfferTypeEnum: {
59
+ readonly LEAD: "lead";
60
+ readonly LEASE_TO_OWN: "lease_to_own";
61
+ readonly RENT: "rent";
62
+ readonly AUCTION: "auction";
63
+ };
64
+ export type LeadOfferDtoOfferTypeEnum = typeof LeadOfferDtoOfferTypeEnum[keyof typeof LeadOfferDtoOfferTypeEnum];
65
+ /**
66
+ * Check if a given object implements the LeadOfferDto interface.
67
+ */
68
+ export declare function instanceOfLeadOfferDto(value: object): value is LeadOfferDto;
69
+ export declare function LeadOfferDtoFromJSON(json: any): LeadOfferDto;
70
+ export declare function LeadOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferDto;
71
+ export declare function LeadOfferDtoToJSON(json: any): LeadOfferDto;
72
+ export declare function LeadOfferDtoToJSONTyped(value?: LeadOfferDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,84 @@
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.LeadOfferDtoOfferTypeEnum = exports.LeadOfferDtoOfferByEnum = void 0;
17
+ exports.instanceOfLeadOfferDto = instanceOfLeadOfferDto;
18
+ exports.LeadOfferDtoFromJSON = LeadOfferDtoFromJSON;
19
+ exports.LeadOfferDtoFromJSONTyped = LeadOfferDtoFromJSONTyped;
20
+ exports.LeadOfferDtoToJSON = LeadOfferDtoToJSON;
21
+ exports.LeadOfferDtoToJSONTyped = LeadOfferDtoToJSONTyped;
22
+ var LeadMessageDataLeaseToOwn_1 = require("./LeadMessageDataLeaseToOwn");
23
+ var MoneyDto_1 = require("./MoneyDto");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.LeadOfferDtoOfferByEnum = {
28
+ BUYER: 'buyer',
29
+ SELLER: 'seller',
30
+ AI: 'ai',
31
+ ADMIN: 'admin'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.LeadOfferDtoOfferTypeEnum = {
37
+ LEAD: 'lead',
38
+ LEASE_TO_OWN: 'lease_to_own',
39
+ RENT: 'rent',
40
+ AUCTION: 'auction'
41
+ };
42
+ /**
43
+ * Check if a given object implements the LeadOfferDto interface.
44
+ */
45
+ function instanceOfLeadOfferDto(value) {
46
+ if (!('offer' in value) || value['offer'] === undefined)
47
+ return false;
48
+ if (!('offerBy' in value) || value['offerBy'] === undefined)
49
+ return false;
50
+ if (!('offerType' in value) || value['offerType'] === undefined)
51
+ return false;
52
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
53
+ return false;
54
+ return true;
55
+ }
56
+ function LeadOfferDtoFromJSON(json) {
57
+ return LeadOfferDtoFromJSONTyped(json, false);
58
+ }
59
+ function LeadOfferDtoFromJSONTyped(json, ignoreDiscriminator) {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+ 'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
65
+ 'offerBy': json['offerBy'],
66
+ 'offerType': json['offerType'],
67
+ 'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnFromJSON)(json['leaseToOwn']),
68
+ };
69
+ }
70
+ function LeadOfferDtoToJSON(json) {
71
+ return LeadOfferDtoToJSONTyped(json, false);
72
+ }
73
+ function LeadOfferDtoToJSONTyped(value, ignoreDiscriminator) {
74
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+ 'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
80
+ 'offerBy': value['offerBy'],
81
+ 'offerType': value['offerType'],
82
+ 'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnToJSON)(value['leaseToOwn']),
83
+ };
84
+ }
@@ -0,0 +1,38 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface LeadRentConfigurationDto
16
+ */
17
+ export interface LeadRentConfigurationDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof LeadRentConfigurationDto
22
+ */
23
+ recurringMarkupPercentage: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof LeadRentConfigurationDto
28
+ */
29
+ minMonthPriceEur: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LeadRentConfigurationDto interface.
33
+ */
34
+ export declare function instanceOfLeadRentConfigurationDto(value: object): value is LeadRentConfigurationDto;
35
+ export declare function LeadRentConfigurationDtoFromJSON(json: any): LeadRentConfigurationDto;
36
+ export declare function LeadRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadRentConfigurationDto;
37
+ export declare function LeadRentConfigurationDtoToJSON(json: any): LeadRentConfigurationDto;
38
+ export declare function LeadRentConfigurationDtoToJSONTyped(value?: LeadRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfLeadRentConfigurationDto = instanceOfLeadRentConfigurationDto;
17
+ exports.LeadRentConfigurationDtoFromJSON = LeadRentConfigurationDtoFromJSON;
18
+ exports.LeadRentConfigurationDtoFromJSONTyped = LeadRentConfigurationDtoFromJSONTyped;
19
+ exports.LeadRentConfigurationDtoToJSON = LeadRentConfigurationDtoToJSON;
20
+ exports.LeadRentConfigurationDtoToJSONTyped = LeadRentConfigurationDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadRentConfigurationDto interface.
23
+ */
24
+ function instanceOfLeadRentConfigurationDto(value) {
25
+ if (!('recurringMarkupPercentage' in value) || value['recurringMarkupPercentage'] === undefined)
26
+ return false;
27
+ if (!('minMonthPriceEur' in value) || value['minMonthPriceEur'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function LeadRentConfigurationDtoFromJSON(json) {
32
+ return LeadRentConfigurationDtoFromJSONTyped(json, false);
33
+ }
34
+ function LeadRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'recurringMarkupPercentage': json['recurringMarkupPercentage'],
40
+ 'minMonthPriceEur': json['minMonthPriceEur'],
41
+ };
42
+ }
43
+ function LeadRentConfigurationDtoToJSON(json) {
44
+ return LeadRentConfigurationDtoToJSONTyped(json, false);
45
+ }
46
+ function LeadRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'recurringMarkupPercentage': value['recurringMarkupPercentage'],
53
+ 'minMonthPriceEur': value['minMonthPriceEur'],
54
+ };
55
+ }
@@ -9,9 +9,12 @@
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 { LeadMessageData } from './LeadMessageData';
13
14
  import type { LeadDomainDto } from './LeadDomainDto';
14
15
  import type { MoneyDto } from './MoneyDto';
16
+ import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
17
+ import type { LeadOfferDto } from './LeadOfferDto';
15
18
  /**
16
19
  *
17
20
  * @export
@@ -42,6 +45,12 @@ export interface ListLeadsResultItem {
42
45
  * @memberof ListLeadsResultItem
43
46
  */
44
47
  lastOfferBy: ListLeadsResultItemLastOfferByEnum | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ListLeadsResultItem
52
+ */
53
+ lastOfferType: ListLeadsResultItemLastOfferTypeEnum | null;
45
54
  /**
46
55
  *
47
56
  * @type {string}
@@ -138,6 +147,30 @@ export interface ListLeadsResultItem {
138
147
  * @memberof ListLeadsResultItem
139
148
  */
140
149
  manualType: ListLeadsResultItemManualTypeEnum | null;
150
+ /**
151
+ *
152
+ * @type {LeadLeaseToOwnConfigurationDto}
153
+ * @memberof ListLeadsResultItem
154
+ */
155
+ leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
156
+ /**
157
+ *
158
+ * @type {LeadRentConfigurationDto}
159
+ * @memberof ListLeadsResultItem
160
+ */
161
+ rent: LeadRentConfigurationDto;
162
+ /**
163
+ *
164
+ * @type {LeadOfferDto}
165
+ * @memberof ListLeadsResultItem
166
+ */
167
+ lastBuyerOffer: LeadOfferDto | null;
168
+ /**
169
+ *
170
+ * @type {LeadOfferDto}
171
+ * @memberof ListLeadsResultItem
172
+ */
173
+ lastSellerOffer: LeadOfferDto | null;
141
174
  /**
142
175
  * The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
143
176
  * @type {string}
@@ -172,6 +205,16 @@ export declare const ListLeadsResultItemLastOfferByEnum: {
172
205
  readonly ADMIN: "admin";
173
206
  };
174
207
  export type ListLeadsResultItemLastOfferByEnum = typeof ListLeadsResultItemLastOfferByEnum[keyof typeof ListLeadsResultItemLastOfferByEnum];
208
+ /**
209
+ * @export
210
+ */
211
+ export declare const ListLeadsResultItemLastOfferTypeEnum: {
212
+ readonly LEAD: "lead";
213
+ readonly LEASE_TO_OWN: "lease_to_own";
214
+ readonly RENT: "rent";
215
+ readonly AUCTION: "auction";
216
+ };
217
+ export type ListLeadsResultItemLastOfferTypeEnum = typeof ListLeadsResultItemLastOfferTypeEnum[keyof typeof ListLeadsResultItemLastOfferTypeEnum];
175
218
  /**
176
219
  * @export
177
220
  */
@@ -13,15 +13,18 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ListLeadsResultItemManualTypeEnum = exports.ListLeadsResultItemLastMessageTypeEnum = exports.ListLeadsResultItemLastMessageFromEnum = exports.ListLeadsResultItemLastOfferByEnum = exports.ListLeadsResultItemStatusEnum = void 0;
16
+ exports.ListLeadsResultItemManualTypeEnum = exports.ListLeadsResultItemLastMessageTypeEnum = exports.ListLeadsResultItemLastMessageFromEnum = exports.ListLeadsResultItemLastOfferTypeEnum = exports.ListLeadsResultItemLastOfferByEnum = exports.ListLeadsResultItemStatusEnum = void 0;
17
17
  exports.instanceOfListLeadsResultItem = instanceOfListLeadsResultItem;
18
18
  exports.ListLeadsResultItemFromJSON = ListLeadsResultItemFromJSON;
19
19
  exports.ListLeadsResultItemFromJSONTyped = ListLeadsResultItemFromJSONTyped;
20
20
  exports.ListLeadsResultItemToJSON = ListLeadsResultItemToJSON;
21
21
  exports.ListLeadsResultItemToJSONTyped = ListLeadsResultItemToJSONTyped;
22
+ var LeadLeaseToOwnConfigurationDto_1 = require("./LeadLeaseToOwnConfigurationDto");
22
23
  var LeadMessageData_1 = require("./LeadMessageData");
23
24
  var LeadDomainDto_1 = require("./LeadDomainDto");
24
25
  var MoneyDto_1 = require("./MoneyDto");
26
+ var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
27
+ var LeadOfferDto_1 = require("./LeadOfferDto");
25
28
  /**
26
29
  * @export
27
30
  */
@@ -41,6 +44,15 @@ exports.ListLeadsResultItemLastOfferByEnum = {
41
44
  AI: 'ai',
42
45
  ADMIN: 'admin'
43
46
  };
47
+ /**
48
+ * @export
49
+ */
50
+ exports.ListLeadsResultItemLastOfferTypeEnum = {
51
+ LEAD: 'lead',
52
+ LEASE_TO_OWN: 'lease_to_own',
53
+ RENT: 'rent',
54
+ AUCTION: 'auction'
55
+ };
44
56
  /**
45
57
  * @export
46
58
  */
@@ -81,6 +93,8 @@ function instanceOfListLeadsResultItem(value) {
81
93
  return false;
82
94
  if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
83
95
  return false;
96
+ if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
97
+ return false;
84
98
  if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
85
99
  return false;
86
100
  if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
@@ -113,6 +127,14 @@ function instanceOfListLeadsResultItem(value) {
113
127
  return false;
114
128
  if (!('manualType' in value) || value['manualType'] === undefined)
115
129
  return false;
130
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
131
+ return false;
132
+ if (!('rent' in value) || value['rent'] === undefined)
133
+ return false;
134
+ if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined)
135
+ return false;
136
+ if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
137
+ return false;
116
138
  if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
117
139
  return false;
118
140
  if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
@@ -131,6 +153,7 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
131
153
  'status': json['status'],
132
154
  'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
133
155
  'lastOfferBy': json['lastOfferBy'],
156
+ 'lastOfferType': json['lastOfferType'],
134
157
  'buyerInitials': json['buyerInitials'],
135
158
  'buyerIpCountryCode': json['buyerIpCountryCode'],
136
159
  'lastMessageFrom': json['lastMessageFrom'],
@@ -147,6 +170,10 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
147
170
  'orderPaymentUrl': json['orderPaymentUrl'],
148
171
  'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
149
172
  'manualType': json['manualType'],
173
+ 'leaseToOwn': (0, LeadLeaseToOwnConfigurationDto_1.LeadLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
174
+ 'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
175
+ 'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
176
+ 'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
150
177
  'lastMessageMessage': json['lastMessageMessage'],
151
178
  'lastMessageDate': (new Date(json['lastMessageDate'])),
152
179
  };
@@ -164,6 +191,7 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
164
191
  'status': value['status'],
165
192
  'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
166
193
  'lastOfferBy': value['lastOfferBy'],
194
+ 'lastOfferType': value['lastOfferType'],
167
195
  'buyerInitials': value['buyerInitials'],
168
196
  'buyerIpCountryCode': value['buyerIpCountryCode'],
169
197
  'lastMessageFrom': value['lastMessageFrom'],
@@ -180,6 +208,10 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
180
208
  'orderPaymentUrl': value['orderPaymentUrl'],
181
209
  'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
182
210
  'manualType': value['manualType'],
211
+ 'leaseToOwn': (0, LeadLeaseToOwnConfigurationDto_1.LeadLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
212
+ 'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
213
+ 'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
214
+ 'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
183
215
  'lastMessageMessage': value['lastMessageMessage'],
184
216
  'lastMessageDate': ((value['lastMessageDate']).toISOString()),
185
217
  };
@@ -27,6 +27,18 @@ export interface ManualLeadLeaseToOwnDto {
27
27
  * @memberof ManualLeadLeaseToOwnDto
28
28
  */
29
29
  maxMonths: number | null;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ManualLeadLeaseToOwnDto
34
+ */
35
+ kickBackPercentage: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ManualLeadLeaseToOwnDto
40
+ */
41
+ markupComissionPercentage: number | null;
30
42
  }
31
43
  /**
32
44
  * Check if a given object implements the ManualLeadLeaseToOwnDto interface.
@@ -26,6 +26,10 @@ function instanceOfManualLeadLeaseToOwnDto(value) {
26
26
  return false;
27
27
  if (!('maxMonths' in value) || value['maxMonths'] === undefined)
28
28
  return false;
29
+ if (!('kickBackPercentage' in value) || value['kickBackPercentage'] === undefined)
30
+ return false;
31
+ if (!('markupComissionPercentage' in value) || value['markupComissionPercentage'] === undefined)
32
+ return false;
29
33
  return true;
30
34
  }
31
35
  function ManualLeadLeaseToOwnDtoFromJSON(json) {
@@ -38,6 +42,8 @@ function ManualLeadLeaseToOwnDtoFromJSONTyped(json, ignoreDiscriminator) {
38
42
  return {
39
43
  'minMonths': json['minMonths'],
40
44
  'maxMonths': json['maxMonths'],
45
+ 'kickBackPercentage': json['kickBackPercentage'],
46
+ 'markupComissionPercentage': json['markupComissionPercentage'],
41
47
  };
42
48
  }
43
49
  function ManualLeadLeaseToOwnDtoToJSON(json) {
@@ -51,5 +57,7 @@ function ManualLeadLeaseToOwnDtoToJSONTyped(value, ignoreDiscriminator) {
51
57
  return {
52
58
  'minMonths': value['minMonths'],
53
59
  'maxMonths': value['maxMonths'],
60
+ 'kickBackPercentage': value['kickBackPercentage'],
61
+ 'markupComissionPercentage': value['markupComissionPercentage'],
54
62
  };
55
63
  }
@@ -110,6 +110,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
110
110
  readonly SELLER_STATS_DASHBOARD: "SELLER_STATS_DASHBOARD";
111
111
  readonly SELLER_TRANSFER_COSTS_PAYMENT: "SELLER_TRANSFER_COSTS_PAYMENT";
112
112
  readonly NOTIFICATIONS_MANAGER: "NOTIFICATIONS_MANAGER";
113
+ readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
113
114
  };
114
115
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
115
116
  /**
@@ -40,7 +40,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
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 PrivateAccountGetMeResponse interface.
@@ -22,7 +22,29 @@ export interface PutBuyerLeadOfferInput {
22
22
  * @memberof PutBuyerLeadOfferInput
23
23
  */
24
24
  offer: MoneyDto | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PutBuyerLeadOfferInput
29
+ */
30
+ offerType?: PutBuyerLeadOfferInputOfferTypeEnum | null;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof PutBuyerLeadOfferInput
35
+ */
36
+ leaseToOwnMonths?: number | null;
25
37
  }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const PutBuyerLeadOfferInputOfferTypeEnum: {
42
+ readonly LEAD: "lead";
43
+ readonly LEASE_TO_OWN: "lease_to_own";
44
+ readonly RENT: "rent";
45
+ readonly AUCTION: "auction";
46
+ };
47
+ export type PutBuyerLeadOfferInputOfferTypeEnum = typeof PutBuyerLeadOfferInputOfferTypeEnum[keyof typeof PutBuyerLeadOfferInputOfferTypeEnum];
26
48
  /**
27
49
  * Check if a given object implements the PutBuyerLeadOfferInput interface.
28
50
  */
@@ -13,12 +13,22 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PutBuyerLeadOfferInputOfferTypeEnum = void 0;
16
17
  exports.instanceOfPutBuyerLeadOfferInput = instanceOfPutBuyerLeadOfferInput;
17
18
  exports.PutBuyerLeadOfferInputFromJSON = PutBuyerLeadOfferInputFromJSON;
18
19
  exports.PutBuyerLeadOfferInputFromJSONTyped = PutBuyerLeadOfferInputFromJSONTyped;
19
20
  exports.PutBuyerLeadOfferInputToJSON = PutBuyerLeadOfferInputToJSON;
20
21
  exports.PutBuyerLeadOfferInputToJSONTyped = PutBuyerLeadOfferInputToJSONTyped;
21
22
  var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.PutBuyerLeadOfferInputOfferTypeEnum = {
27
+ LEAD: 'lead',
28
+ LEASE_TO_OWN: 'lease_to_own',
29
+ RENT: 'rent',
30
+ AUCTION: 'auction'
31
+ };
22
32
  /**
23
33
  * Check if a given object implements the PutBuyerLeadOfferInput interface.
24
34
  */
@@ -36,6 +46,8 @@ function PutBuyerLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
36
46
  }
37
47
  return {
38
48
  'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
49
+ 'offerType': json['offerType'] == null ? undefined : json['offerType'],
50
+ 'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
39
51
  };
40
52
  }
41
53
  function PutBuyerLeadOfferInputToJSON(json) {
@@ -48,5 +60,7 @@ function PutBuyerLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
48
60
  }
49
61
  return {
50
62
  'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
63
+ 'offerType': value['offerType'],
64
+ 'leaseToOwnMonths': value['leaseToOwnMonths'],
51
65
  };
52
66
  }
@@ -21,8 +21,30 @@ export interface PutLeadOfferInput {
21
21
  * @type {MoneyDto}
22
22
  * @memberof PutLeadOfferInput
23
23
  */
24
- offer: MoneyDto | null;
24
+ offer?: MoneyDto | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PutLeadOfferInput
29
+ */
30
+ offerType?: PutLeadOfferInputOfferTypeEnum | null;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof PutLeadOfferInput
35
+ */
36
+ leaseToOwnMonths?: number | null;
25
37
  }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const PutLeadOfferInputOfferTypeEnum: {
42
+ readonly LEAD: "lead";
43
+ readonly LEASE_TO_OWN: "lease_to_own";
44
+ readonly RENT: "rent";
45
+ readonly AUCTION: "auction";
46
+ };
47
+ export type PutLeadOfferInputOfferTypeEnum = typeof PutLeadOfferInputOfferTypeEnum[keyof typeof PutLeadOfferInputOfferTypeEnum];
26
48
  /**
27
49
  * Check if a given object implements the PutLeadOfferInput interface.
28
50
  */