@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
@@ -9,7 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { TaskListLeadLeaseToOwnConfigurationDto } from './TaskListLeadLeaseToOwnConfigurationDto';
13
+ import type { TaskListLeadOfferDto } from './TaskListLeadOfferDto';
12
14
  import type { MoneyDto } from './MoneyDto';
15
+ import type { TaskListLeadRentConfigurationDto } from './TaskListLeadRentConfigurationDto';
13
16
  /**
14
17
  *
15
18
  * @export
@@ -34,12 +37,42 @@ export interface TaskListLeadDto {
34
37
  * @memberof TaskListLeadDto
35
38
  */
36
39
  lastOfferBy: TaskListLeadDtoLastOfferByEnum | null;
40
+ /**
41
+ * Last offer type or null
42
+ * @type {string}
43
+ * @memberof TaskListLeadDto
44
+ */
45
+ lastOfferType: TaskListLeadDtoLastOfferTypeEnum | null;
37
46
  /**
38
47
  * Seller unread messages
39
48
  * @type {number}
40
49
  * @memberof TaskListLeadDto
41
50
  */
42
51
  unreadSellerMessagesNumber: number;
52
+ /**
53
+ * Last buyer offer or null
54
+ * @type {TaskListLeadOfferDto}
55
+ * @memberof TaskListLeadDto
56
+ */
57
+ lastBuyerOffer: TaskListLeadOfferDto | null;
58
+ /**
59
+ * Last seller offer or null
60
+ * @type {TaskListLeadOfferDto}
61
+ * @memberof TaskListLeadDto
62
+ */
63
+ lastSellerOffer: TaskListLeadOfferDto | null;
64
+ /**
65
+ * Lease to own configuration or null
66
+ * @type {TaskListLeadLeaseToOwnConfigurationDto}
67
+ * @memberof TaskListLeadDto
68
+ */
69
+ leaseToOwn: TaskListLeadLeaseToOwnConfigurationDto | null;
70
+ /**
71
+ * Rent configuration
72
+ * @type {TaskListLeadRentConfigurationDto}
73
+ * @memberof TaskListLeadDto
74
+ */
75
+ rent: TaskListLeadRentConfigurationDto;
43
76
  }
44
77
  /**
45
78
  * @export
@@ -51,6 +84,16 @@ export declare const TaskListLeadDtoLastOfferByEnum: {
51
84
  readonly ADMIN: "admin";
52
85
  };
53
86
  export type TaskListLeadDtoLastOfferByEnum = typeof TaskListLeadDtoLastOfferByEnum[keyof typeof TaskListLeadDtoLastOfferByEnum];
87
+ /**
88
+ * @export
89
+ */
90
+ export declare const TaskListLeadDtoLastOfferTypeEnum: {
91
+ readonly LEAD: "lead";
92
+ readonly LEASE_TO_OWN: "lease_to_own";
93
+ readonly RENT: "rent";
94
+ readonly AUCTION: "auction";
95
+ };
96
+ export type TaskListLeadDtoLastOfferTypeEnum = typeof TaskListLeadDtoLastOfferTypeEnum[keyof typeof TaskListLeadDtoLastOfferTypeEnum];
54
97
  /**
55
98
  * Check if a given object implements the TaskListLeadDto interface.
56
99
  */
@@ -13,13 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.TaskListLeadDtoLastOfferByEnum = void 0;
16
+ exports.TaskListLeadDtoLastOfferTypeEnum = exports.TaskListLeadDtoLastOfferByEnum = void 0;
17
17
  exports.instanceOfTaskListLeadDto = instanceOfTaskListLeadDto;
18
18
  exports.TaskListLeadDtoFromJSON = TaskListLeadDtoFromJSON;
19
19
  exports.TaskListLeadDtoFromJSONTyped = TaskListLeadDtoFromJSONTyped;
20
20
  exports.TaskListLeadDtoToJSON = TaskListLeadDtoToJSON;
21
21
  exports.TaskListLeadDtoToJSONTyped = TaskListLeadDtoToJSONTyped;
22
+ var TaskListLeadLeaseToOwnConfigurationDto_1 = require("./TaskListLeadLeaseToOwnConfigurationDto");
23
+ var TaskListLeadOfferDto_1 = require("./TaskListLeadOfferDto");
22
24
  var MoneyDto_1 = require("./MoneyDto");
25
+ var TaskListLeadRentConfigurationDto_1 = require("./TaskListLeadRentConfigurationDto");
23
26
  /**
24
27
  * @export
25
28
  */
@@ -29,6 +32,15 @@ exports.TaskListLeadDtoLastOfferByEnum = {
29
32
  AI: 'ai',
30
33
  ADMIN: 'admin'
31
34
  };
35
+ /**
36
+ * @export
37
+ */
38
+ exports.TaskListLeadDtoLastOfferTypeEnum = {
39
+ LEAD: 'lead',
40
+ LEASE_TO_OWN: 'lease_to_own',
41
+ RENT: 'rent',
42
+ AUCTION: 'auction'
43
+ };
32
44
  /**
33
45
  * Check if a given object implements the TaskListLeadDto interface.
34
46
  */
@@ -39,8 +51,18 @@ function instanceOfTaskListLeadDto(value) {
39
51
  return false;
40
52
  if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
41
53
  return false;
54
+ if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
55
+ return false;
42
56
  if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined)
43
57
  return false;
58
+ if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined)
59
+ return false;
60
+ if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
61
+ return false;
62
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
63
+ return false;
64
+ if (!('rent' in value) || value['rent'] === undefined)
65
+ return false;
44
66
  return true;
45
67
  }
46
68
  function TaskListLeadDtoFromJSON(json) {
@@ -54,7 +76,12 @@ function TaskListLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
54
76
  'id': json['id'],
55
77
  'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
56
78
  'lastOfferBy': json['lastOfferBy'],
79
+ 'lastOfferType': json['lastOfferType'],
57
80
  'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
81
+ 'lastBuyerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoFromJSON)(json['lastBuyerOffer']),
82
+ 'lastSellerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoFromJSON)(json['lastSellerOffer']),
83
+ 'leaseToOwn': (0, TaskListLeadLeaseToOwnConfigurationDto_1.TaskListLeadLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
84
+ 'rent': (0, TaskListLeadRentConfigurationDto_1.TaskListLeadRentConfigurationDtoFromJSON)(json['rent']),
58
85
  };
59
86
  }
60
87
  function TaskListLeadDtoToJSON(json) {
@@ -69,6 +96,11 @@ function TaskListLeadDtoToJSONTyped(value, ignoreDiscriminator) {
69
96
  'id': value['id'],
70
97
  'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
71
98
  'lastOfferBy': value['lastOfferBy'],
99
+ 'lastOfferType': value['lastOfferType'],
72
100
  'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
101
+ 'lastBuyerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoToJSON)(value['lastBuyerOffer']),
102
+ 'lastSellerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoToJSON)(value['lastSellerOffer']),
103
+ 'leaseToOwn': (0, TaskListLeadLeaseToOwnConfigurationDto_1.TaskListLeadLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
104
+ 'rent': (0, TaskListLeadRentConfigurationDto_1.TaskListLeadRentConfigurationDtoToJSON)(value['rent']),
73
105
  };
74
106
  }
@@ -0,0 +1,50 @@
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 TaskListLeadLeaseToOwnConfigurationDto
16
+ */
17
+ export interface TaskListLeadLeaseToOwnConfigurationDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TaskListLeadLeaseToOwnConfigurationDto
22
+ */
23
+ minMonths: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TaskListLeadLeaseToOwnConfigurationDto
28
+ */
29
+ maxMonths: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof TaskListLeadLeaseToOwnConfigurationDto
34
+ */
35
+ kickBackPercentage: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof TaskListLeadLeaseToOwnConfigurationDto
40
+ */
41
+ markupComissionPercentage: number | null;
42
+ }
43
+ /**
44
+ * Check if a given object implements the TaskListLeadLeaseToOwnConfigurationDto interface.
45
+ */
46
+ export declare function instanceOfTaskListLeadLeaseToOwnConfigurationDto(value: object): value is TaskListLeadLeaseToOwnConfigurationDto;
47
+ export declare function TaskListLeadLeaseToOwnConfigurationDtoFromJSON(json: any): TaskListLeadLeaseToOwnConfigurationDto;
48
+ export declare function TaskListLeadLeaseToOwnConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListLeadLeaseToOwnConfigurationDto;
49
+ export declare function TaskListLeadLeaseToOwnConfigurationDtoToJSON(json: any): TaskListLeadLeaseToOwnConfigurationDto;
50
+ export declare function TaskListLeadLeaseToOwnConfigurationDtoToJSONTyped(value?: TaskListLeadLeaseToOwnConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfTaskListLeadLeaseToOwnConfigurationDto = instanceOfTaskListLeadLeaseToOwnConfigurationDto;
17
+ exports.TaskListLeadLeaseToOwnConfigurationDtoFromJSON = TaskListLeadLeaseToOwnConfigurationDtoFromJSON;
18
+ exports.TaskListLeadLeaseToOwnConfigurationDtoFromJSONTyped = TaskListLeadLeaseToOwnConfigurationDtoFromJSONTyped;
19
+ exports.TaskListLeadLeaseToOwnConfigurationDtoToJSON = TaskListLeadLeaseToOwnConfigurationDtoToJSON;
20
+ exports.TaskListLeadLeaseToOwnConfigurationDtoToJSONTyped = TaskListLeadLeaseToOwnConfigurationDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TaskListLeadLeaseToOwnConfigurationDto interface.
23
+ */
24
+ function instanceOfTaskListLeadLeaseToOwnConfigurationDto(value) {
25
+ if (!('minMonths' in value) || value['minMonths'] === undefined)
26
+ return false;
27
+ if (!('maxMonths' in value) || value['maxMonths'] === undefined)
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;
33
+ return true;
34
+ }
35
+ function TaskListLeadLeaseToOwnConfigurationDtoFromJSON(json) {
36
+ return TaskListLeadLeaseToOwnConfigurationDtoFromJSONTyped(json, false);
37
+ }
38
+ function TaskListLeadLeaseToOwnConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'minMonths': json['minMonths'],
44
+ 'maxMonths': json['maxMonths'],
45
+ 'kickBackPercentage': json['kickBackPercentage'],
46
+ 'markupComissionPercentage': json['markupComissionPercentage'],
47
+ };
48
+ }
49
+ function TaskListLeadLeaseToOwnConfigurationDtoToJSON(json) {
50
+ return TaskListLeadLeaseToOwnConfigurationDtoToJSONTyped(json, false);
51
+ }
52
+ function TaskListLeadLeaseToOwnConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'minMonths': value['minMonths'],
59
+ 'maxMonths': value['maxMonths'],
60
+ 'kickBackPercentage': value['kickBackPercentage'],
61
+ 'markupComissionPercentage': value['markupComissionPercentage'],
62
+ };
63
+ }
@@ -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 TaskListLeadOfferDto
18
+ */
19
+ export interface TaskListLeadOfferDto {
20
+ /**
21
+ *
22
+ * @type {MoneyDto}
23
+ * @memberof TaskListLeadOfferDto
24
+ */
25
+ offer: MoneyDto;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TaskListLeadOfferDto
30
+ */
31
+ offerBy: TaskListLeadOfferDtoOfferByEnum;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof TaskListLeadOfferDto
36
+ */
37
+ offerType: TaskListLeadOfferDtoOfferTypeEnum;
38
+ /**
39
+ *
40
+ * @type {LeadMessageDataLeaseToOwn}
41
+ * @memberof TaskListLeadOfferDto
42
+ */
43
+ leaseToOwn: LeadMessageDataLeaseToOwn | null;
44
+ }
45
+ /**
46
+ * @export
47
+ */
48
+ export declare const TaskListLeadOfferDtoOfferByEnum: {
49
+ readonly BUYER: "buyer";
50
+ readonly SELLER: "seller";
51
+ readonly AI: "ai";
52
+ readonly ADMIN: "admin";
53
+ };
54
+ export type TaskListLeadOfferDtoOfferByEnum = typeof TaskListLeadOfferDtoOfferByEnum[keyof typeof TaskListLeadOfferDtoOfferByEnum];
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const TaskListLeadOfferDtoOfferTypeEnum: {
59
+ readonly LEAD: "lead";
60
+ readonly LEASE_TO_OWN: "lease_to_own";
61
+ readonly RENT: "rent";
62
+ readonly AUCTION: "auction";
63
+ };
64
+ export type TaskListLeadOfferDtoOfferTypeEnum = typeof TaskListLeadOfferDtoOfferTypeEnum[keyof typeof TaskListLeadOfferDtoOfferTypeEnum];
65
+ /**
66
+ * Check if a given object implements the TaskListLeadOfferDto interface.
67
+ */
68
+ export declare function instanceOfTaskListLeadOfferDto(value: object): value is TaskListLeadOfferDto;
69
+ export declare function TaskListLeadOfferDtoFromJSON(json: any): TaskListLeadOfferDto;
70
+ export declare function TaskListLeadOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListLeadOfferDto;
71
+ export declare function TaskListLeadOfferDtoToJSON(json: any): TaskListLeadOfferDto;
72
+ export declare function TaskListLeadOfferDtoToJSONTyped(value?: TaskListLeadOfferDto | 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.TaskListLeadOfferDtoOfferTypeEnum = exports.TaskListLeadOfferDtoOfferByEnum = void 0;
17
+ exports.instanceOfTaskListLeadOfferDto = instanceOfTaskListLeadOfferDto;
18
+ exports.TaskListLeadOfferDtoFromJSON = TaskListLeadOfferDtoFromJSON;
19
+ exports.TaskListLeadOfferDtoFromJSONTyped = TaskListLeadOfferDtoFromJSONTyped;
20
+ exports.TaskListLeadOfferDtoToJSON = TaskListLeadOfferDtoToJSON;
21
+ exports.TaskListLeadOfferDtoToJSONTyped = TaskListLeadOfferDtoToJSONTyped;
22
+ var LeadMessageDataLeaseToOwn_1 = require("./LeadMessageDataLeaseToOwn");
23
+ var MoneyDto_1 = require("./MoneyDto");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.TaskListLeadOfferDtoOfferByEnum = {
28
+ BUYER: 'buyer',
29
+ SELLER: 'seller',
30
+ AI: 'ai',
31
+ ADMIN: 'admin'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.TaskListLeadOfferDtoOfferTypeEnum = {
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 TaskListLeadOfferDto interface.
44
+ */
45
+ function instanceOfTaskListLeadOfferDto(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 TaskListLeadOfferDtoFromJSON(json) {
57
+ return TaskListLeadOfferDtoFromJSONTyped(json, false);
58
+ }
59
+ function TaskListLeadOfferDtoFromJSONTyped(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 TaskListLeadOfferDtoToJSON(json) {
71
+ return TaskListLeadOfferDtoToJSONTyped(json, false);
72
+ }
73
+ function TaskListLeadOfferDtoToJSONTyped(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 TaskListLeadRentConfigurationDto
16
+ */
17
+ export interface TaskListLeadRentConfigurationDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TaskListLeadRentConfigurationDto
22
+ */
23
+ recurringMarkupPercentage: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TaskListLeadRentConfigurationDto
28
+ */
29
+ minMonthPriceEur: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TaskListLeadRentConfigurationDto interface.
33
+ */
34
+ export declare function instanceOfTaskListLeadRentConfigurationDto(value: object): value is TaskListLeadRentConfigurationDto;
35
+ export declare function TaskListLeadRentConfigurationDtoFromJSON(json: any): TaskListLeadRentConfigurationDto;
36
+ export declare function TaskListLeadRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListLeadRentConfigurationDto;
37
+ export declare function TaskListLeadRentConfigurationDtoToJSON(json: any): TaskListLeadRentConfigurationDto;
38
+ export declare function TaskListLeadRentConfigurationDtoToJSONTyped(value?: TaskListLeadRentConfigurationDto | 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.instanceOfTaskListLeadRentConfigurationDto = instanceOfTaskListLeadRentConfigurationDto;
17
+ exports.TaskListLeadRentConfigurationDtoFromJSON = TaskListLeadRentConfigurationDtoFromJSON;
18
+ exports.TaskListLeadRentConfigurationDtoFromJSONTyped = TaskListLeadRentConfigurationDtoFromJSONTyped;
19
+ exports.TaskListLeadRentConfigurationDtoToJSON = TaskListLeadRentConfigurationDtoToJSON;
20
+ exports.TaskListLeadRentConfigurationDtoToJSONTyped = TaskListLeadRentConfigurationDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TaskListLeadRentConfigurationDto interface.
23
+ */
24
+ function instanceOfTaskListLeadRentConfigurationDto(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 TaskListLeadRentConfigurationDtoFromJSON(json) {
32
+ return TaskListLeadRentConfigurationDtoFromJSONTyped(json, false);
33
+ }
34
+ function TaskListLeadRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'recurringMarkupPercentage': json['recurringMarkupPercentage'],
40
+ 'minMonthPriceEur': json['minMonthPriceEur'],
41
+ };
42
+ }
43
+ function TaskListLeadRentConfigurationDtoToJSON(json) {
44
+ return TaskListLeadRentConfigurationDtoToJSONTyped(json, false);
45
+ }
46
+ function TaskListLeadRentConfigurationDtoToJSONTyped(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
+ }
@@ -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 VerifyEmailOtpInput
16
+ */
17
+ export interface VerifyEmailOtpInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VerifyEmailOtpInput
22
+ */
23
+ email: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof VerifyEmailOtpInput
28
+ */
29
+ otp: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VerifyEmailOtpInput interface.
33
+ */
34
+ export declare function instanceOfVerifyEmailOtpInput(value: object): value is VerifyEmailOtpInput;
35
+ export declare function VerifyEmailOtpInputFromJSON(json: any): VerifyEmailOtpInput;
36
+ export declare function VerifyEmailOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyEmailOtpInput;
37
+ export declare function VerifyEmailOtpInputToJSON(json: any): VerifyEmailOtpInput;
38
+ export declare function VerifyEmailOtpInputToJSONTyped(value?: VerifyEmailOtpInput | 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.instanceOfVerifyEmailOtpInput = instanceOfVerifyEmailOtpInput;
17
+ exports.VerifyEmailOtpInputFromJSON = VerifyEmailOtpInputFromJSON;
18
+ exports.VerifyEmailOtpInputFromJSONTyped = VerifyEmailOtpInputFromJSONTyped;
19
+ exports.VerifyEmailOtpInputToJSON = VerifyEmailOtpInputToJSON;
20
+ exports.VerifyEmailOtpInputToJSONTyped = VerifyEmailOtpInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VerifyEmailOtpInput interface.
23
+ */
24
+ function instanceOfVerifyEmailOtpInput(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ if (!('otp' in value) || value['otp'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function VerifyEmailOtpInputFromJSON(json) {
32
+ return VerifyEmailOtpInputFromJSONTyped(json, false);
33
+ }
34
+ function VerifyEmailOtpInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'email': json['email'],
40
+ 'otp': json['otp'],
41
+ };
42
+ }
43
+ function VerifyEmailOtpInputToJSON(json) {
44
+ return VerifyEmailOtpInputToJSONTyped(json, false);
45
+ }
46
+ function VerifyEmailOtpInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'email': value['email'],
53
+ 'otp': value['otp'],
54
+ };
55
+ }
@@ -0,0 +1,32 @@
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 VerifyPhoneOtpInput
16
+ */
17
+ export interface VerifyPhoneOtpInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VerifyPhoneOtpInput
22
+ */
23
+ otp: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the VerifyPhoneOtpInput interface.
27
+ */
28
+ export declare function instanceOfVerifyPhoneOtpInput(value: object): value is VerifyPhoneOtpInput;
29
+ export declare function VerifyPhoneOtpInputFromJSON(json: any): VerifyPhoneOtpInput;
30
+ export declare function VerifyPhoneOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyPhoneOtpInput;
31
+ export declare function VerifyPhoneOtpInputToJSON(json: any): VerifyPhoneOtpInput;
32
+ export declare function VerifyPhoneOtpInputToJSONTyped(value?: VerifyPhoneOtpInput | null, ignoreDiscriminator?: boolean): any;