@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
@@ -13,18 +13,26 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PutLeadOfferInputOfferTypeEnum = void 0;
16
17
  exports.instanceOfPutLeadOfferInput = instanceOfPutLeadOfferInput;
17
18
  exports.PutLeadOfferInputFromJSON = PutLeadOfferInputFromJSON;
18
19
  exports.PutLeadOfferInputFromJSONTyped = PutLeadOfferInputFromJSONTyped;
19
20
  exports.PutLeadOfferInputToJSON = PutLeadOfferInputToJSON;
20
21
  exports.PutLeadOfferInputToJSONTyped = PutLeadOfferInputToJSONTyped;
21
22
  var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.PutLeadOfferInputOfferTypeEnum = {
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 PutLeadOfferInput interface.
24
34
  */
25
35
  function instanceOfPutLeadOfferInput(value) {
26
- if (!('offer' in value) || value['offer'] === undefined)
27
- return false;
28
36
  return true;
29
37
  }
30
38
  function PutLeadOfferInputFromJSON(json) {
@@ -35,7 +43,9 @@ function PutLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
35
43
  return json;
36
44
  }
37
45
  return {
38
- 'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
46
+ 'offer': json['offer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
47
+ 'offerType': json['offerType'] == null ? undefined : json['offerType'],
48
+ 'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
39
49
  };
40
50
  }
41
51
  function PutLeadOfferInputToJSON(json) {
@@ -48,5 +58,7 @@ function PutLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
48
58
  }
49
59
  return {
50
60
  'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
61
+ 'offerType': value['offerType'],
62
+ 'leaseToOwnMonths': value['leaseToOwnMonths'],
51
63
  };
52
64
  }
@@ -0,0 +1,47 @@
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 RegisterAuctionBuyerPhoneInput
16
+ */
17
+ export interface RegisterAuctionBuyerPhoneInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegisterAuctionBuyerPhoneInput
22
+ */
23
+ phone: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegisterAuctionBuyerPhoneInput
28
+ */
29
+ channel: RegisterAuctionBuyerPhoneInputChannelEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const RegisterAuctionBuyerPhoneInputChannelEnum: {
35
+ readonly SMS: "sms";
36
+ readonly CALL: "call";
37
+ readonly WHATSAPP: "whatsapp";
38
+ };
39
+ export type RegisterAuctionBuyerPhoneInputChannelEnum = typeof RegisterAuctionBuyerPhoneInputChannelEnum[keyof typeof RegisterAuctionBuyerPhoneInputChannelEnum];
40
+ /**
41
+ * Check if a given object implements the RegisterAuctionBuyerPhoneInput interface.
42
+ */
43
+ export declare function instanceOfRegisterAuctionBuyerPhoneInput(value: object): value is RegisterAuctionBuyerPhoneInput;
44
+ export declare function RegisterAuctionBuyerPhoneInputFromJSON(json: any): RegisterAuctionBuyerPhoneInput;
45
+ export declare function RegisterAuctionBuyerPhoneInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAuctionBuyerPhoneInput;
46
+ export declare function RegisterAuctionBuyerPhoneInputToJSON(json: any): RegisterAuctionBuyerPhoneInput;
47
+ export declare function RegisterAuctionBuyerPhoneInputToJSONTyped(value?: RegisterAuctionBuyerPhoneInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.RegisterAuctionBuyerPhoneInputChannelEnum = void 0;
17
+ exports.instanceOfRegisterAuctionBuyerPhoneInput = instanceOfRegisterAuctionBuyerPhoneInput;
18
+ exports.RegisterAuctionBuyerPhoneInputFromJSON = RegisterAuctionBuyerPhoneInputFromJSON;
19
+ exports.RegisterAuctionBuyerPhoneInputFromJSONTyped = RegisterAuctionBuyerPhoneInputFromJSONTyped;
20
+ exports.RegisterAuctionBuyerPhoneInputToJSON = RegisterAuctionBuyerPhoneInputToJSON;
21
+ exports.RegisterAuctionBuyerPhoneInputToJSONTyped = RegisterAuctionBuyerPhoneInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.RegisterAuctionBuyerPhoneInputChannelEnum = {
26
+ SMS: 'sms',
27
+ CALL: 'call',
28
+ WHATSAPP: 'whatsapp'
29
+ };
30
+ /**
31
+ * Check if a given object implements the RegisterAuctionBuyerPhoneInput interface.
32
+ */
33
+ function instanceOfRegisterAuctionBuyerPhoneInput(value) {
34
+ if (!('phone' in value) || value['phone'] === undefined)
35
+ return false;
36
+ if (!('channel' in value) || value['channel'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function RegisterAuctionBuyerPhoneInputFromJSON(json) {
41
+ return RegisterAuctionBuyerPhoneInputFromJSONTyped(json, false);
42
+ }
43
+ function RegisterAuctionBuyerPhoneInputFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'phone': json['phone'],
49
+ 'channel': json['channel'],
50
+ };
51
+ }
52
+ function RegisterAuctionBuyerPhoneInputToJSON(json) {
53
+ return RegisterAuctionBuyerPhoneInputToJSONTyped(json, false);
54
+ }
55
+ function RegisterAuctionBuyerPhoneInputToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'phone': value['phone'],
62
+ 'channel': value['channel'],
63
+ };
64
+ }
@@ -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 RegisterInput
16
+ */
17
+ export interface RegisterInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegisterInput
22
+ */
23
+ firstname: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegisterInput
28
+ */
29
+ lastname: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RegisterInput interface.
33
+ */
34
+ export declare function instanceOfRegisterInput(value: object): value is RegisterInput;
35
+ export declare function RegisterInputFromJSON(json: any): RegisterInput;
36
+ export declare function RegisterInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterInput;
37
+ export declare function RegisterInputToJSON(json: any): RegisterInput;
38
+ export declare function RegisterInputToJSONTyped(value?: RegisterInput | 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.instanceOfRegisterInput = instanceOfRegisterInput;
17
+ exports.RegisterInputFromJSON = RegisterInputFromJSON;
18
+ exports.RegisterInputFromJSONTyped = RegisterInputFromJSONTyped;
19
+ exports.RegisterInputToJSON = RegisterInputToJSON;
20
+ exports.RegisterInputToJSONTyped = RegisterInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RegisterInput interface.
23
+ */
24
+ function instanceOfRegisterInput(value) {
25
+ if (!('firstname' in value) || value['firstname'] === undefined)
26
+ return false;
27
+ if (!('lastname' in value) || value['lastname'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RegisterInputFromJSON(json) {
32
+ return RegisterInputFromJSONTyped(json, false);
33
+ }
34
+ function RegisterInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'firstname': json['firstname'],
40
+ 'lastname': json['lastname'],
41
+ };
42
+ }
43
+ function RegisterInputToJSON(json) {
44
+ return RegisterInputToJSONTyped(json, false);
45
+ }
46
+ function RegisterInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'firstname': value['firstname'],
53
+ 'lastname': value['lastname'],
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 RequestEmailOtpInput
16
+ */
17
+ export interface RequestEmailOtpInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RequestEmailOtpInput
22
+ */
23
+ email: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RequestEmailOtpInput
28
+ */
29
+ locale: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RequestEmailOtpInput interface.
33
+ */
34
+ export declare function instanceOfRequestEmailOtpInput(value: object): value is RequestEmailOtpInput;
35
+ export declare function RequestEmailOtpInputFromJSON(json: any): RequestEmailOtpInput;
36
+ export declare function RequestEmailOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestEmailOtpInput;
37
+ export declare function RequestEmailOtpInputToJSON(json: any): RequestEmailOtpInput;
38
+ export declare function RequestEmailOtpInputToJSONTyped(value?: RequestEmailOtpInput | 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.instanceOfRequestEmailOtpInput = instanceOfRequestEmailOtpInput;
17
+ exports.RequestEmailOtpInputFromJSON = RequestEmailOtpInputFromJSON;
18
+ exports.RequestEmailOtpInputFromJSONTyped = RequestEmailOtpInputFromJSONTyped;
19
+ exports.RequestEmailOtpInputToJSON = RequestEmailOtpInputToJSON;
20
+ exports.RequestEmailOtpInputToJSONTyped = RequestEmailOtpInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RequestEmailOtpInput interface.
23
+ */
24
+ function instanceOfRequestEmailOtpInput(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ if (!('locale' in value) || value['locale'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RequestEmailOtpInputFromJSON(json) {
32
+ return RequestEmailOtpInputFromJSONTyped(json, false);
33
+ }
34
+ function RequestEmailOtpInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'email': json['email'],
40
+ 'locale': json['locale'],
41
+ };
42
+ }
43
+ function RequestEmailOtpInputToJSON(json) {
44
+ return RequestEmailOtpInputToJSONTyped(json, false);
45
+ }
46
+ function RequestEmailOtpInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'email': value['email'],
53
+ 'locale': value['locale'],
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 { IntersectionDomainDtoWithAccountDto } from './IntersectionDomainDtoWithAccountDto';
13
14
  import type { MoneyDto } from './MoneyDto';
14
15
  import type { BuyerDto } from './BuyerDto';
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 SellerLeadDetails {
42
45
  * @memberof SellerLeadDetails
43
46
  */
44
47
  lastOfferBy: SellerLeadDetailsLastOfferByEnum | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SellerLeadDetails
52
+ */
53
+ lastOfferType: SellerLeadDetailsLastOfferTypeEnum | null;
45
54
  /**
46
55
  *
47
56
  * @type {IntersectionDomainDtoWithAccountDto}
@@ -114,6 +123,30 @@ export interface SellerLeadDetails {
114
123
  * @memberof SellerLeadDetails
115
124
  */
116
125
  isPriceNegotiatorAgentPaused: boolean;
126
+ /**
127
+ *
128
+ * @type {LeadLeaseToOwnConfigurationDto}
129
+ * @memberof SellerLeadDetails
130
+ */
131
+ leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
132
+ /**
133
+ *
134
+ * @type {LeadRentConfigurationDto}
135
+ * @memberof SellerLeadDetails
136
+ */
137
+ rent: LeadRentConfigurationDto;
138
+ /**
139
+ *
140
+ * @type {LeadOfferDto}
141
+ * @memberof SellerLeadDetails
142
+ */
143
+ lastBuyerOffer: LeadOfferDto | null;
144
+ /**
145
+ *
146
+ * @type {LeadOfferDto}
147
+ * @memberof SellerLeadDetails
148
+ */
149
+ lastSellerOffer: LeadOfferDto | null;
117
150
  }
118
151
  /**
119
152
  * @export
@@ -136,6 +169,16 @@ export declare const SellerLeadDetailsLastOfferByEnum: {
136
169
  readonly ADMIN: "admin";
137
170
  };
138
171
  export type SellerLeadDetailsLastOfferByEnum = typeof SellerLeadDetailsLastOfferByEnum[keyof typeof SellerLeadDetailsLastOfferByEnum];
172
+ /**
173
+ * @export
174
+ */
175
+ export declare const SellerLeadDetailsLastOfferTypeEnum: {
176
+ readonly LEAD: "lead";
177
+ readonly LEASE_TO_OWN: "lease_to_own";
178
+ readonly RENT: "rent";
179
+ readonly AUCTION: "auction";
180
+ };
181
+ export type SellerLeadDetailsLastOfferTypeEnum = typeof SellerLeadDetailsLastOfferTypeEnum[keyof typeof SellerLeadDetailsLastOfferTypeEnum];
139
182
  /**
140
183
  * @export
141
184
  */
@@ -13,15 +13,18 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SellerLeadDetailsManualTypeEnum = exports.SellerLeadDetailsLastOfferByEnum = exports.SellerLeadDetailsStatusEnum = void 0;
16
+ exports.SellerLeadDetailsManualTypeEnum = exports.SellerLeadDetailsLastOfferTypeEnum = exports.SellerLeadDetailsLastOfferByEnum = exports.SellerLeadDetailsStatusEnum = void 0;
17
17
  exports.instanceOfSellerLeadDetails = instanceOfSellerLeadDetails;
18
18
  exports.SellerLeadDetailsFromJSON = SellerLeadDetailsFromJSON;
19
19
  exports.SellerLeadDetailsFromJSONTyped = SellerLeadDetailsFromJSONTyped;
20
20
  exports.SellerLeadDetailsToJSON = SellerLeadDetailsToJSON;
21
21
  exports.SellerLeadDetailsToJSONTyped = SellerLeadDetailsToJSONTyped;
22
+ var LeadLeaseToOwnConfigurationDto_1 = require("./LeadLeaseToOwnConfigurationDto");
22
23
  var IntersectionDomainDtoWithAccountDto_1 = require("./IntersectionDomainDtoWithAccountDto");
23
24
  var MoneyDto_1 = require("./MoneyDto");
24
25
  var BuyerDto_1 = require("./BuyerDto");
26
+ var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
27
+ var LeadOfferDto_1 = require("./LeadOfferDto");
25
28
  /**
26
29
  * @export
27
30
  */
@@ -41,6 +44,15 @@ exports.SellerLeadDetailsLastOfferByEnum = {
41
44
  AI: 'ai',
42
45
  ADMIN: 'admin'
43
46
  };
47
+ /**
48
+ * @export
49
+ */
50
+ exports.SellerLeadDetailsLastOfferTypeEnum = {
51
+ LEAD: 'lead',
52
+ LEASE_TO_OWN: 'lease_to_own',
53
+ RENT: 'rent',
54
+ AUCTION: 'auction'
55
+ };
44
56
  /**
45
57
  * @export
46
58
  */
@@ -62,6 +74,8 @@ function instanceOfSellerLeadDetails(value) {
62
74
  return false;
63
75
  if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
64
76
  return false;
77
+ if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
78
+ return false;
65
79
  if (!('domain' in value) || value['domain'] === undefined)
66
80
  return false;
67
81
  if (!('manualType' in value) || value['manualType'] === undefined)
@@ -86,6 +100,14 @@ function instanceOfSellerLeadDetails(value) {
86
100
  return false;
87
101
  if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
88
102
  return false;
103
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
104
+ return false;
105
+ if (!('rent' in value) || value['rent'] === undefined)
106
+ return false;
107
+ if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined)
108
+ return false;
109
+ if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
110
+ return false;
89
111
  return true;
90
112
  }
91
113
  function SellerLeadDetailsFromJSON(json) {
@@ -100,6 +122,7 @@ function SellerLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
100
122
  'status': json['status'],
101
123
  'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
102
124
  'lastOfferBy': json['lastOfferBy'],
125
+ 'lastOfferType': json['lastOfferType'],
103
126
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoFromJSON)(json['domain']),
104
127
  'manualType': json['manualType'],
105
128
  'buyer': (0, BuyerDto_1.BuyerDtoFromJSON)(json['buyer']),
@@ -112,6 +135,10 @@ function SellerLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
112
135
  'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
113
136
  'orderPaymentUrl': json['orderPaymentUrl'],
114
137
  'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
138
+ 'leaseToOwn': (0, LeadLeaseToOwnConfigurationDto_1.LeadLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
139
+ 'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
140
+ 'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
141
+ 'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
115
142
  };
116
143
  }
117
144
  function SellerLeadDetailsToJSON(json) {
@@ -127,6 +154,7 @@ function SellerLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
127
154
  'status': value['status'],
128
155
  'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
129
156
  'lastOfferBy': value['lastOfferBy'],
157
+ 'lastOfferType': value['lastOfferType'],
130
158
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value['domain']),
131
159
  'manualType': value['manualType'],
132
160
  'buyer': (0, BuyerDto_1.BuyerDtoToJSON)(value['buyer']),
@@ -139,5 +167,9 @@ function SellerLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
139
167
  'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
140
168
  'orderPaymentUrl': value['orderPaymentUrl'],
141
169
  'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
170
+ 'leaseToOwn': (0, LeadLeaseToOwnConfigurationDto_1.LeadLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
171
+ 'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
172
+ 'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
173
+ 'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
142
174
  };
143
175
  }
@@ -0,0 +1,51 @@
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 { MoneyInput } from './MoneyInput';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StartAuctionInput
17
+ */
18
+ export interface StartAuctionInput {
19
+ /**
20
+ * Minimum bid amount
21
+ * @type {MoneyInput}
22
+ * @memberof StartAuctionInput
23
+ */
24
+ minimumBid: MoneyInput;
25
+ /**
26
+ * Reserve price (optional)
27
+ * @type {MoneyInput}
28
+ * @memberof StartAuctionInput
29
+ */
30
+ reservePrice?: MoneyInput;
31
+ /**
32
+ * Auction start date
33
+ * @type {string}
34
+ * @memberof StartAuctionInput
35
+ */
36
+ startDate: string;
37
+ /**
38
+ * Auction end date
39
+ * @type {string}
40
+ * @memberof StartAuctionInput
41
+ */
42
+ endDate: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the StartAuctionInput interface.
46
+ */
47
+ export declare function instanceOfStartAuctionInput(value: object): value is StartAuctionInput;
48
+ export declare function StartAuctionInputFromJSON(json: any): StartAuctionInput;
49
+ export declare function StartAuctionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartAuctionInput;
50
+ export declare function StartAuctionInputToJSON(json: any): StartAuctionInput;
51
+ export declare function StartAuctionInputToJSONTyped(value?: StartAuctionInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfStartAuctionInput = instanceOfStartAuctionInput;
17
+ exports.StartAuctionInputFromJSON = StartAuctionInputFromJSON;
18
+ exports.StartAuctionInputFromJSONTyped = StartAuctionInputFromJSONTyped;
19
+ exports.StartAuctionInputToJSON = StartAuctionInputToJSON;
20
+ exports.StartAuctionInputToJSONTyped = StartAuctionInputToJSONTyped;
21
+ var MoneyInput_1 = require("./MoneyInput");
22
+ /**
23
+ * Check if a given object implements the StartAuctionInput interface.
24
+ */
25
+ function instanceOfStartAuctionInput(value) {
26
+ if (!('minimumBid' in value) || value['minimumBid'] === undefined)
27
+ return false;
28
+ if (!('startDate' in value) || value['startDate'] === undefined)
29
+ return false;
30
+ if (!('endDate' in value) || value['endDate'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function StartAuctionInputFromJSON(json) {
35
+ return StartAuctionInputFromJSONTyped(json, false);
36
+ }
37
+ function StartAuctionInputFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'minimumBid': (0, MoneyInput_1.MoneyInputFromJSON)(json['minimumBid']),
43
+ 'reservePrice': json['reservePrice'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['reservePrice']),
44
+ 'startDate': json['startDate'],
45
+ 'endDate': json['endDate'],
46
+ };
47
+ }
48
+ function StartAuctionInputToJSON(json) {
49
+ return StartAuctionInputToJSONTyped(json, false);
50
+ }
51
+ function StartAuctionInputToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'minimumBid': (0, MoneyInput_1.MoneyInputToJSON)(value['minimumBid']),
58
+ 'reservePrice': (0, MoneyInput_1.MoneyInputToJSON)(value['reservePrice']),
59
+ 'startDate': value['startDate'],
60
+ 'endDate': value['endDate'],
61
+ };
62
+ }