@randock/nameshift-api-client 0.0.231 → 0.0.233

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 (71) hide show
  1. package/.openapi-generator/FILES +6 -1
  2. package/README.md +3 -3
  3. package/dist/apis/LeadsApi.d.ts +3 -3
  4. package/dist/apis/LeadsApi.js +1 -1
  5. package/dist/models/AccountSettingsDto.d.ts +7 -0
  6. package/dist/models/AccountSettingsDto.js +5 -0
  7. package/dist/models/AccountSettingsRentConfigurationDto.d.ts +33 -0
  8. package/dist/models/AccountSettingsRentConfigurationDto.js +52 -0
  9. package/dist/models/BuyerSubscriptionListItemDto.d.ts +1 -1
  10. package/dist/models/CreateManualLeadInput.d.ts +1 -0
  11. package/dist/models/CreateManualLeadInput.js +2 -1
  12. package/dist/models/CreateSubscriptionInput.d.ts +1 -1
  13. package/dist/models/DomainDto.d.ts +7 -0
  14. package/dist/models/DomainDto.js +5 -0
  15. package/dist/models/DomainSalesInformationDto.d.ts +7 -0
  16. package/dist/models/DomainSalesInformationDto.js +5 -0
  17. package/dist/models/DomainSalesInformationRentConfigurationDto.d.ts +39 -0
  18. package/dist/models/DomainSalesInformationRentConfigurationDto.js +56 -0
  19. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  20. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +1 -0
  21. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  22. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  23. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  24. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  25. package/dist/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.d.ts +48 -0
  26. package/dist/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.js +61 -0
  27. package/dist/models/RentConfigurationDto.d.ts +39 -0
  28. package/dist/models/RentConfigurationDto.js +56 -0
  29. package/dist/models/RentConfigurationInput.d.ts +39 -0
  30. package/dist/models/RentConfigurationInput.js +52 -0
  31. package/dist/models/RentConfigurationPresetsDto.d.ts +32 -0
  32. package/dist/models/RentConfigurationPresetsDto.js +51 -0
  33. package/dist/models/SellerSubscriptionListItemDto.d.ts +1 -1
  34. package/dist/models/SubscriptionDetailsDto.d.ts +1 -1
  35. package/dist/models/SubscriptionDto.d.ts +2 -2
  36. package/dist/models/SubscriptionListItemDto.d.ts +1 -1
  37. package/dist/models/UpdateDomainInput.d.ts +7 -0
  38. package/dist/models/UpdateDomainInput.js +3 -0
  39. package/dist/models/UpdateSubscriptionInput.d.ts +1 -1
  40. package/dist/models/WithSettingsInner.d.ts +7 -0
  41. package/dist/models/WithSettingsInner.js +5 -0
  42. package/dist/models/index.d.ts +6 -1
  43. package/dist/models/index.js +6 -1
  44. package/package.json +1 -1
  45. package/src/apis/LeadsApi.ts +6 -6
  46. package/src/models/AccountSettingsDto.ts +16 -0
  47. package/src/models/AccountSettingsRentConfigurationDto.ts +74 -0
  48. package/src/models/BuyerSubscriptionListItemDto.ts +1 -1
  49. package/src/models/CreateManualLeadInput.ts +2 -1
  50. package/src/models/CreateSubscriptionInput.ts +1 -1
  51. package/src/models/DomainDto.ts +16 -0
  52. package/src/models/DomainSalesInformationDto.ts +16 -0
  53. package/src/models/DomainSalesInformationRentConfigurationDto.ts +83 -0
  54. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +1 -0
  55. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  56. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  57. package/src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts +99 -0
  58. package/src/models/RentConfigurationDto.ts +83 -0
  59. package/src/models/RentConfigurationInput.ts +81 -0
  60. package/src/models/RentConfigurationPresetsDto.ts +66 -0
  61. package/src/models/SellerSubscriptionListItemDto.ts +1 -1
  62. package/src/models/SubscriptionDetailsDto.ts +1 -1
  63. package/src/models/SubscriptionDto.ts +2 -2
  64. package/src/models/SubscriptionListItemDto.ts +1 -1
  65. package/src/models/UpdateDomainInput.ts +15 -0
  66. package/src/models/UpdateSubscriptionInput.ts +1 -1
  67. package/src/models/WithSettingsInner.ts +16 -0
  68. package/src/models/index.ts +6 -1
  69. package/dist/models/LeadLeaseToOwnConfigurationPresetsDto.d.ts +0 -41
  70. package/dist/models/LeadLeaseToOwnConfigurationPresetsDto.js +0 -56
  71. package/src/models/LeadLeaseToOwnConfigurationPresetsDto.ts +0 -83
@@ -38,6 +38,7 @@ src/models/AccountPayoutDto.ts
38
38
  src/models/AccountSettingsDto.ts
39
39
  src/models/AccountSettingsInput.ts
40
40
  src/models/AccountSettingsLeaseToOwnConfigurationDto.ts
41
+ src/models/AccountSettingsRentConfigurationDto.ts
41
42
  src/models/AccountSettingsSidnDto.ts
42
43
  src/models/AddressDto.ts
43
44
  src/models/AdminAccountLoginDto.ts
@@ -90,6 +91,7 @@ src/models/DomainDto.ts
90
91
  src/models/DomainExchangeRateDto.ts
91
92
  src/models/DomainSalesInformationDto.ts
92
93
  src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
94
+ src/models/DomainSalesInformationRentConfigurationDto.ts
93
95
  src/models/DomainSellerDto.ts
94
96
  src/models/DomainStatsDto.ts
95
97
  src/models/DomainTransferAgentDto.ts
@@ -141,7 +143,7 @@ src/models/LandingPageInput.ts
141
143
  src/models/LandingPageSettingsDto.ts
142
144
  src/models/LeadDomainDto.ts
143
145
  src/models/LeadDto.ts
144
- src/models/LeadLeaseToOwnConfigurationPresetsDto.ts
146
+ src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
145
147
  src/models/LeadMessageData.ts
146
148
  src/models/LeadMessageDto.ts
147
149
  src/models/LeadStatusDto.ts
@@ -190,6 +192,9 @@ src/models/PutBuyerLeadOfferInput.ts
190
192
  src/models/PutLeadOfferInput.ts
191
193
  src/models/RegisterAccountInput.ts
192
194
  src/models/RelatedSellerDomain.ts
195
+ src/models/RentConfigurationDto.ts
196
+ src/models/RentConfigurationInput.ts
197
+ src/models/RentConfigurationPresetsDto.ts
193
198
  src/models/RequestAccessTokenInput.ts
194
199
  src/models/SellerDomainTransferAuthCodeDto.ts
195
200
  src/models/SellerDomainTransferDomainDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.231
1
+ ## @randock/nameshift-api-client@0.0.233
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.231 --save
39
+ npm install @randock/nameshift-api-client@0.0.233 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 1392c1f1833cf6345417060e9c3924362b54c81c86aaef5da9529722ab42584ded44c88a99ce9b7d731b68eebe075cb0
47
+ 7e0f5b9725936a1b849e44c383e2135f4cb969675fcfff00aef5f4795db3629d81751285a85e94ef135067b9a4dace9a
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto, LeadLeaseToOwnConfigurationPresetsDto, List200Response, ListLeadMessagesDto, ObjectId, PutLeadOfferInput } from '../models/index';
13
+ import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, List200Response, ListLeadMessagesDto, ObjectId, PutLeadOfferInput } from '../models/index';
14
14
  export interface LeadsApiAcceptLeadOfferRequest {
15
15
  leadId: string;
16
16
  }
@@ -105,11 +105,11 @@ export declare class LeadsApi extends runtime.BaseAPI {
105
105
  /**
106
106
  *
107
107
  */
108
- getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnConfigurationPresetsDto>>;
108
+ getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>>;
109
109
  /**
110
110
  *
111
111
  */
112
- getLeadLeaseToOwnConfigurationPresets(requestParameters?: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnConfigurationPresetsDto>;
112
+ getLeadLeaseToOwnConfigurationPresets(requestParameters?: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto>;
113
113
  /**
114
114
  *
115
115
  */
@@ -428,7 +428,7 @@ var LeadsApi = /** @class */ (function (_super) {
428
428
  }, initOverrides)];
429
429
  case 3:
430
430
  response = _a.sent();
431
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.LeadLeaseToOwnConfigurationPresetsDtoFromJSON)(jsonValue); })];
431
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON)(jsonValue); })];
432
432
  }
433
433
  });
434
434
  });
@@ -13,6 +13,7 @@ import type { MoneyDto } from './MoneyDto';
13
13
  import type { AccountSettingsSidnDto } from './AccountSettingsSidnDto';
14
14
  import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
15
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
+ import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -43,6 +44,12 @@ export interface AccountSettingsDto {
43
44
  * @memberof AccountSettingsDto
44
45
  */
45
46
  leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
47
+ /**
48
+ *
49
+ * @type {AccountSettingsRentConfigurationDto}
50
+ * @memberof AccountSettingsDto
51
+ */
52
+ rent: AccountSettingsRentConfigurationDto;
46
53
  /**
47
54
  *
48
55
  * @type {LandingPageSettingsDto}
@@ -22,6 +22,7 @@ var MoneyDto_1 = require("./MoneyDto");
22
22
  var AccountSettingsSidnDto_1 = require("./AccountSettingsSidnDto");
23
23
  var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
24
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
+ var AccountSettingsRentConfigurationDto_1 = require("./AccountSettingsRentConfigurationDto");
25
26
  /**
26
27
  * Check if a given object implements the AccountSettingsDto interface.
27
28
  */
@@ -34,6 +35,8 @@ function instanceOfAccountSettingsDto(value) {
34
35
  return false;
35
36
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
36
37
  return false;
38
+ if (!('rent' in value) || value['rent'] === undefined)
39
+ return false;
37
40
  if (!('landing' in value) || value['landing'] === undefined)
38
41
  return false;
39
42
  if (!('sidn' in value) || value['sidn'] === undefined)
@@ -56,6 +59,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
56
59
  'minBuyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minBuyNow']),
57
60
  'defaultCurrencyCode': json['defaultCurrencyCode'],
58
61
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
62
+ 'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoFromJSON)(json['rent']),
59
63
  'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landing']),
60
64
  'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoFromJSON)(json['sidn']),
61
65
  'description': json['description'],
@@ -75,6 +79,7 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
75
79
  'minBuyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['minBuyNow']),
76
80
  'defaultCurrencyCode': value['defaultCurrencyCode'],
77
81
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
82
+ 'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoToJSON)(value['rent']),
78
83
  'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landing']),
79
84
  'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoToJSON)(value['sidn']),
80
85
  'description': value['description'],
@@ -0,0 +1,33 @@
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 { RentConfigurationPresetsDto } from './RentConfigurationPresetsDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountSettingsRentConfigurationDto
17
+ */
18
+ export interface AccountSettingsRentConfigurationDto {
19
+ /**
20
+ *
21
+ * @type {RentConfigurationPresetsDto}
22
+ * @memberof AccountSettingsRentConfigurationDto
23
+ */
24
+ presets: RentConfigurationPresetsDto;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AccountSettingsRentConfigurationDto interface.
28
+ */
29
+ export declare function instanceOfAccountSettingsRentConfigurationDto(value: object): value is AccountSettingsRentConfigurationDto;
30
+ export declare function AccountSettingsRentConfigurationDtoFromJSON(json: any): AccountSettingsRentConfigurationDto;
31
+ export declare function AccountSettingsRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsRentConfigurationDto;
32
+ export declare function AccountSettingsRentConfigurationDtoToJSON(json: any): AccountSettingsRentConfigurationDto;
33
+ export declare function AccountSettingsRentConfigurationDtoToJSONTyped(value?: AccountSettingsRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfAccountSettingsRentConfigurationDto = instanceOfAccountSettingsRentConfigurationDto;
17
+ exports.AccountSettingsRentConfigurationDtoFromJSON = AccountSettingsRentConfigurationDtoFromJSON;
18
+ exports.AccountSettingsRentConfigurationDtoFromJSONTyped = AccountSettingsRentConfigurationDtoFromJSONTyped;
19
+ exports.AccountSettingsRentConfigurationDtoToJSON = AccountSettingsRentConfigurationDtoToJSON;
20
+ exports.AccountSettingsRentConfigurationDtoToJSONTyped = AccountSettingsRentConfigurationDtoToJSONTyped;
21
+ var RentConfigurationPresetsDto_1 = require("./RentConfigurationPresetsDto");
22
+ /**
23
+ * Check if a given object implements the AccountSettingsRentConfigurationDto interface.
24
+ */
25
+ function instanceOfAccountSettingsRentConfigurationDto(value) {
26
+ if (!('presets' in value) || value['presets'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AccountSettingsRentConfigurationDtoFromJSON(json) {
31
+ return AccountSettingsRentConfigurationDtoFromJSONTyped(json, false);
32
+ }
33
+ function AccountSettingsRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'presets': (0, RentConfigurationPresetsDto_1.RentConfigurationPresetsDtoFromJSON)(json['presets']),
39
+ };
40
+ }
41
+ function AccountSettingsRentConfigurationDtoToJSON(json) {
42
+ return AccountSettingsRentConfigurationDtoToJSONTyped(json, false);
43
+ }
44
+ function AccountSettingsRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'presets': (0, RentConfigurationPresetsDto_1.RentConfigurationPresetsDtoToJSON)(value['presets']),
51
+ };
52
+ }
@@ -76,7 +76,7 @@ export interface BuyerSubscriptionListItemDto {
76
76
  * @type {number}
77
77
  * @memberof BuyerSubscriptionListItemDto
78
78
  */
79
- installments: number;
79
+ installments: number | null;
80
80
  /**
81
81
  * The subscription buyer paid installments number
82
82
  * @type {number}
@@ -78,6 +78,7 @@ export declare const CreateManualLeadInputTypeEnum: {
78
78
  readonly BUY_NOW: "buy_now";
79
79
  readonly OFFER: "offer";
80
80
  readonly LEASE_TO_OWN: "lease_to_own";
81
+ readonly RENT: "rent";
81
82
  };
82
83
  export type CreateManualLeadInputTypeEnum = typeof CreateManualLeadInputTypeEnum[keyof typeof CreateManualLeadInputTypeEnum];
83
84
  /**
@@ -26,7 +26,8 @@ var MoneyInput_1 = require("./MoneyInput");
26
26
  exports.CreateManualLeadInputTypeEnum = {
27
27
  BUY_NOW: 'buy_now',
28
28
  OFFER: 'offer',
29
- LEASE_TO_OWN: 'lease_to_own'
29
+ LEASE_TO_OWN: 'lease_to_own',
30
+ RENT: 'rent'
30
31
  };
31
32
  /**
32
33
  * Check if a given object implements the CreateManualLeadInput interface.
@@ -28,7 +28,7 @@ export interface CreateSubscriptionInput {
28
28
  * @type {number}
29
29
  * @memberof CreateSubscriptionInput
30
30
  */
31
- installments: number;
31
+ installments: number | null;
32
32
  /**
33
33
  *
34
34
  * @type {CreateSubscriptionBillingPeriodicityInput}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { RentConfigurationDto } from './RentConfigurationDto';
13
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
14
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
15
16
  /**
@@ -85,6 +86,12 @@ export interface DomainDto {
85
86
  * @memberof DomainDto
86
87
  */
87
88
  leaseToOwn: LeaseToOwnConfigurationDto;
89
+ /**
90
+ * The rent configuration
91
+ * @type {RentConfigurationDto}
92
+ * @memberof DomainDto
93
+ */
94
+ rent: RentConfigurationDto;
88
95
  /**
89
96
  * The lease to own configuration
90
97
  * @type {LandingPageSettingsDto}
@@ -19,6 +19,7 @@ exports.DomainDtoFromJSONTyped = DomainDtoFromJSONTyped;
19
19
  exports.DomainDtoToJSON = DomainDtoToJSON;
20
20
  exports.DomainDtoToJSONTyped = DomainDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var RentConfigurationDto_1 = require("./RentConfigurationDto");
22
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
23
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
24
25
  /**
@@ -47,6 +48,8 @@ function instanceOfDomainDto(value) {
47
48
  return false;
48
49
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
49
50
  return false;
51
+ if (!('rent' in value) || value['rent'] === undefined)
52
+ return false;
50
53
  if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
51
54
  return false;
52
55
  if (!('minOffer' in value) || value['minOffer'] === undefined)
@@ -78,6 +81,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
78
81
  'currencyCode': json['currencyCode'],
79
82
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
80
83
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
84
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoFromJSON)(json['rent']),
81
85
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
82
86
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
83
87
  'createdAt': (new Date(json['createdAt'])),
@@ -105,6 +109,7 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
105
109
  'currencyCode': value['currencyCode'],
106
110
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
107
111
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
112
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoToJSON)(value['rent']),
108
113
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
109
114
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
110
115
  'createdAt': ((value['createdAt']).toISOString()),
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { DomainSellerDto } from './DomainSellerDto';
13
13
  import type { MoneyDto } from './MoneyDto';
14
+ import type { DomainSalesInformationRentConfigurationDto } from './DomainSalesInformationRentConfigurationDto';
14
15
  import type { DomainStatsDto } from './DomainStatsDto';
15
16
  import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
16
17
  import type { SeoMetricsDto } from './SeoMetricsDto';
@@ -44,6 +45,12 @@ export interface DomainSalesInformationDto {
44
45
  * @memberof DomainSalesInformationDto
45
46
  */
46
47
  leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
48
+ /**
49
+ * Rent configuration or null if it is not enabled
50
+ * @type {DomainSalesInformationRentConfigurationDto}
51
+ * @memberof DomainSalesInformationDto
52
+ */
53
+ rent: DomainSalesInformationRentConfigurationDto;
47
54
  /**
48
55
  * min offer price or null if offers are not enabled
49
56
  * @type {MoneyDto}
@@ -20,6 +20,7 @@ exports.DomainSalesInformationDtoToJSON = DomainSalesInformationDtoToJSON;
20
20
  exports.DomainSalesInformationDtoToJSONTyped = DomainSalesInformationDtoToJSONTyped;
21
21
  var DomainSellerDto_1 = require("./DomainSellerDto");
22
22
  var MoneyDto_1 = require("./MoneyDto");
23
+ var DomainSalesInformationRentConfigurationDto_1 = require("./DomainSalesInformationRentConfigurationDto");
23
24
  var DomainStatsDto_1 = require("./DomainStatsDto");
24
25
  var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
25
26
  var SeoMetricsDto_1 = require("./SeoMetricsDto");
@@ -35,6 +36,8 @@ function instanceOfDomainSalesInformationDto(value) {
35
36
  return false;
36
37
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
37
38
  return false;
39
+ if (!('rent' in value) || value['rent'] === undefined)
40
+ return false;
38
41
  if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
39
42
  return false;
40
43
  if (!('seller' in value) || value['seller'] === undefined)
@@ -61,6 +64,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
61
64
  'domainDisplayName': json['domainDisplayName'],
62
65
  'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
63
66
  'leaseToOwn': (0, DomainSalesInformationLeaseToOwnConfigurationDto_1.DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
67
+ 'rent': (0, DomainSalesInformationRentConfigurationDto_1.DomainSalesInformationRentConfigurationDtoFromJSON)(json['rent']),
64
68
  'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
65
69
  'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
66
70
  'sold': json['sold'],
@@ -82,6 +86,7 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
82
86
  'domainDisplayName': value['domainDisplayName'],
83
87
  'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
84
88
  'leaseToOwn': (0, DomainSalesInformationLeaseToOwnConfigurationDto_1.DomainSalesInformationLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
89
+ 'rent': (0, DomainSalesInformationRentConfigurationDto_1.DomainSalesInformationRentConfigurationDtoToJSON)(value['rent']),
85
90
  'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
86
91
  'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
87
92
  'sold': value['sold'],
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainSalesInformationRentConfigurationDto
17
+ */
18
+ export interface DomainSalesInformationRentConfigurationDto {
19
+ /**
20
+ * Enabled status of rent
21
+ * @type {boolean}
22
+ * @memberof DomainSalesInformationRentConfigurationDto
23
+ */
24
+ enabled: boolean;
25
+ /**
26
+ * Rent price
27
+ * @type {MoneyDto}
28
+ * @memberof DomainSalesInformationRentConfigurationDto
29
+ */
30
+ price: MoneyDto | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the DomainSalesInformationRentConfigurationDto interface.
34
+ */
35
+ export declare function instanceOfDomainSalesInformationRentConfigurationDto(value: object): value is DomainSalesInformationRentConfigurationDto;
36
+ export declare function DomainSalesInformationRentConfigurationDtoFromJSON(json: any): DomainSalesInformationRentConfigurationDto;
37
+ export declare function DomainSalesInformationRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationRentConfigurationDto;
38
+ export declare function DomainSalesInformationRentConfigurationDtoToJSON(json: any): DomainSalesInformationRentConfigurationDto;
39
+ export declare function DomainSalesInformationRentConfigurationDtoToJSONTyped(value?: DomainSalesInformationRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfDomainSalesInformationRentConfigurationDto = instanceOfDomainSalesInformationRentConfigurationDto;
17
+ exports.DomainSalesInformationRentConfigurationDtoFromJSON = DomainSalesInformationRentConfigurationDtoFromJSON;
18
+ exports.DomainSalesInformationRentConfigurationDtoFromJSONTyped = DomainSalesInformationRentConfigurationDtoFromJSONTyped;
19
+ exports.DomainSalesInformationRentConfigurationDtoToJSON = DomainSalesInformationRentConfigurationDtoToJSON;
20
+ exports.DomainSalesInformationRentConfigurationDtoToJSONTyped = DomainSalesInformationRentConfigurationDtoToJSONTyped;
21
+ var MoneyDto_1 = require("./MoneyDto");
22
+ /**
23
+ * Check if a given object implements the DomainSalesInformationRentConfigurationDto interface.
24
+ */
25
+ function instanceOfDomainSalesInformationRentConfigurationDto(value) {
26
+ if (!('enabled' in value) || value['enabled'] === undefined)
27
+ return false;
28
+ if (!('price' in value) || value['price'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function DomainSalesInformationRentConfigurationDtoFromJSON(json) {
33
+ return DomainSalesInformationRentConfigurationDtoFromJSONTyped(json, false);
34
+ }
35
+ function DomainSalesInformationRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'enabled': json['enabled'],
41
+ 'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
42
+ };
43
+ }
44
+ function DomainSalesInformationRentConfigurationDtoToJSON(json) {
45
+ return DomainSalesInformationRentConfigurationDtoToJSONTyped(json, false);
46
+ }
47
+ function DomainSalesInformationRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'enabled': value['enabled'],
54
+ 'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
55
+ };
56
+ }
@@ -93,6 +93,7 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
93
93
  */
94
94
  export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum: {
95
95
  readonly LEASE_TO_OWN: "LEASE_TO_OWN";
96
+ readonly RENT: "RENT";
96
97
  readonly SEO_METRICS: "SEO_METRICS";
97
98
  readonly BANK_PAYOUTS: "BANK_PAYOUTS";
98
99
  };
@@ -30,6 +30,7 @@ var BillingInformationDto_1 = require("./BillingInformationDto");
30
30
  */
31
31
  exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
32
32
  LEASE_TO_OWN: 'LEASE_TO_OWN',
33
+ RENT: 'RENT',
33
34
  SEO_METRICS: 'SEO_METRICS',
34
35
  BANK_PAYOUTS: 'BANK_PAYOUTS'
35
36
  };
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { RentConfigurationDto } from './RentConfigurationDto';
13
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
14
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
15
16
  import type { AccountDto } from './AccountDto';
@@ -86,6 +87,12 @@ export interface IntersectionDomainDtoWithAccountDto {
86
87
  * @memberof IntersectionDomainDtoWithAccountDto
87
88
  */
88
89
  leaseToOwn: LeaseToOwnConfigurationDto;
90
+ /**
91
+ * The rent configuration
92
+ * @type {RentConfigurationDto}
93
+ * @memberof IntersectionDomainDtoWithAccountDto
94
+ */
95
+ rent: RentConfigurationDto;
89
96
  /**
90
97
  * The lease to own configuration
91
98
  * @type {LandingPageSettingsDto}
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithAccountDtoFromJSONTyped = IntersectionDomainDto
19
19
  exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAccountDtoToJSON;
20
20
  exports.IntersectionDomainDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var RentConfigurationDto_1 = require("./RentConfigurationDto");
22
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
23
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
24
25
  var AccountDto_1 = require("./AccountDto");
@@ -48,6 +49,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
48
49
  return false;
49
50
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
50
51
  return false;
52
+ if (!('rent' in value) || value['rent'] === undefined)
53
+ return false;
51
54
  if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
52
55
  return false;
53
56
  if (!('minOffer' in value) || value['minOffer'] === undefined)
@@ -81,6 +84,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
81
84
  'currencyCode': json['currencyCode'],
82
85
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
83
86
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
87
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoFromJSON)(json['rent']),
84
88
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
85
89
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
86
90
  'createdAt': (new Date(json['createdAt'])),
@@ -109,6 +113,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
109
113
  'currencyCode': value['currencyCode'],
110
114
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
111
115
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
116
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoToJSON)(value['rent']),
112
117
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
113
118
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
114
119
  'createdAt': ((value['createdAt']).toISOString()),
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { RentConfigurationDto } from './RentConfigurationDto';
13
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
14
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
15
16
  import type { AccountDto } from './AccountDto';
@@ -86,6 +87,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
86
87
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
87
88
  */
88
89
  leaseToOwn: LeaseToOwnConfigurationDto;
90
+ /**
91
+ * The rent configuration
92
+ * @type {RentConfigurationDto}
93
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
94
+ */
95
+ rent: RentConfigurationDto;
89
96
  /**
90
97
  * The lease to own configuration
91
98
  * @type {LandingPageSettingsDto}
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = Inters
19
19
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
20
20
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var RentConfigurationDto_1 = require("./RentConfigurationDto");
22
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
23
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
24
25
  var AccountDto_1 = require("./AccountDto");
@@ -48,6 +49,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
48
49
  return false;
49
50
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
50
51
  return false;
52
+ if (!('rent' in value) || value['rent'] === undefined)
53
+ return false;
51
54
  if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
52
55
  return false;
53
56
  if (!('minOffer' in value) || value['minOffer'] === undefined)
@@ -83,6 +86,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
83
86
  'currencyCode': json['currencyCode'],
84
87
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
85
88
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
89
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoFromJSON)(json['rent']),
86
90
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
87
91
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
88
92
  'createdAt': (new Date(json['createdAt'])),
@@ -112,6 +116,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
112
116
  'currencyCode': value['currencyCode'],
113
117
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
114
118
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
119
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoToJSON)(value['rent']),
115
120
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
116
121
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
117
122
  'createdAt': ((value['createdAt']).toISOString()),