@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
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface RentConfigurationDto
28
+ */
29
+ export interface RentConfigurationDto {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof RentConfigurationDto
34
+ */
35
+ enabled: boolean;
36
+ /**
37
+ *
38
+ * @type {MoneyDto}
39
+ * @memberof RentConfigurationDto
40
+ */
41
+ price: MoneyDto | null;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the RentConfigurationDto interface.
46
+ */
47
+ export function instanceOfRentConfigurationDto(value: object): value is RentConfigurationDto {
48
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
49
+ if (!('price' in value) || value['price'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function RentConfigurationDtoFromJSON(json: any): RentConfigurationDto {
54
+ return RentConfigurationDtoFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function RentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentConfigurationDto {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'enabled': json['enabled'],
64
+ 'price': MoneyDtoFromJSON(json['price']),
65
+ };
66
+ }
67
+
68
+ export function RentConfigurationDtoToJSON(json: any): RentConfigurationDto {
69
+ return RentConfigurationDtoToJSONTyped(json, false);
70
+ }
71
+
72
+ export function RentConfigurationDtoToJSONTyped(value?: RentConfigurationDto | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'enabled': value['enabled'],
80
+ 'price': MoneyDtoToJSON(value['price']),
81
+ };
82
+ }
83
+
@@ -0,0 +1,81 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface RentConfigurationInput
28
+ */
29
+ export interface RentConfigurationInput {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof RentConfigurationInput
34
+ */
35
+ enabled?: boolean;
36
+ /**
37
+ *
38
+ * @type {MoneyDto}
39
+ * @memberof RentConfigurationInput
40
+ */
41
+ price?: MoneyDto;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the RentConfigurationInput interface.
46
+ */
47
+ export function instanceOfRentConfigurationInput(value: object): value is RentConfigurationInput {
48
+ return true;
49
+ }
50
+
51
+ export function RentConfigurationInputFromJSON(json: any): RentConfigurationInput {
52
+ return RentConfigurationInputFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function RentConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentConfigurationInput {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
62
+ 'price': json['price'] == null ? undefined : MoneyDtoFromJSON(json['price']),
63
+ };
64
+ }
65
+
66
+ export function RentConfigurationInputToJSON(json: any): RentConfigurationInput {
67
+ return RentConfigurationInputToJSONTyped(json, false);
68
+ }
69
+
70
+ export function RentConfigurationInputToJSONTyped(value?: RentConfigurationInput | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'enabled': value['enabled'],
78
+ 'price': MoneyDtoToJSON(value['price']),
79
+ };
80
+ }
81
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface RentConfigurationPresetsDto
20
+ */
21
+ export interface RentConfigurationPresetsDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof RentConfigurationPresetsDto
26
+ */
27
+ minMonthPrice: number;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the RentConfigurationPresetsDto interface.
32
+ */
33
+ export function instanceOfRentConfigurationPresetsDto(value: object): value is RentConfigurationPresetsDto {
34
+ if (!('minMonthPrice' in value) || value['minMonthPrice'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function RentConfigurationPresetsDtoFromJSON(json: any): RentConfigurationPresetsDto {
39
+ return RentConfigurationPresetsDtoFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function RentConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentConfigurationPresetsDto {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'minMonthPrice': json['minMonthPrice'],
49
+ };
50
+ }
51
+
52
+ export function RentConfigurationPresetsDtoToJSON(json: any): RentConfigurationPresetsDto {
53
+ return RentConfigurationPresetsDtoToJSONTyped(json, false);
54
+ }
55
+
56
+ export function RentConfigurationPresetsDtoToJSONTyped(value?: RentConfigurationPresetsDto | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'minMonthPrice': value['minMonthPrice'],
64
+ };
65
+ }
66
+
@@ -87,7 +87,7 @@ export interface SellerSubscriptionListItemDto {
87
87
  * @type {number}
88
88
  * @memberof SellerSubscriptionListItemDto
89
89
  */
90
- installments: number;
90
+ installments: number | null;
91
91
  /**
92
92
  * The subscription seller paid installments number
93
93
  * @type {number}
@@ -171,7 +171,7 @@ export interface SubscriptionDetailsDto {
171
171
  * @type {number}
172
172
  * @memberof SubscriptionDetailsDto
173
173
  */
174
- installments: number;
174
+ installments: number | null;
175
175
  /**
176
176
  *
177
177
  * @type {SubscriptionDetailsBillingPeriodicityDto}
@@ -177,7 +177,7 @@ export interface SubscriptionDto {
177
177
  * @type {number}
178
178
  * @memberof SubscriptionDto
179
179
  */
180
- installments: number;
180
+ installments: number | null;
181
181
  /**
182
182
  *
183
183
  * @type {number}
@@ -189,7 +189,7 @@ export interface SubscriptionDto {
189
189
  * @type {number}
190
190
  * @memberof SubscriptionDto
191
191
  */
192
- expectedInstallmentsNumber: number;
192
+ expectedInstallmentsNumber: number | null;
193
193
  /**
194
194
  *
195
195
  * @type {SubscriptionBillingPeriodicityDto}
@@ -132,7 +132,7 @@ export interface SubscriptionListItemDto {
132
132
  * @type {number}
133
133
  * @memberof SubscriptionListItemDto
134
134
  */
135
- installments: number;
135
+ installments: number | null;
136
136
  /**
137
137
  * The subscription paid installments number
138
138
  * @type {number}
@@ -34,6 +34,13 @@ import {
34
34
  LeaseToOwnConfigurationInputToJSON,
35
35
  LeaseToOwnConfigurationInputToJSONTyped,
36
36
  } from './LeaseToOwnConfigurationInput';
37
+ import type { RentConfigurationInput } from './RentConfigurationInput';
38
+ import {
39
+ RentConfigurationInputFromJSON,
40
+ RentConfigurationInputFromJSONTyped,
41
+ RentConfigurationInputToJSON,
42
+ RentConfigurationInputToJSONTyped,
43
+ } from './RentConfigurationInput';
37
44
 
38
45
  /**
39
46
  *
@@ -65,6 +72,12 @@ export interface UpdateDomainInput {
65
72
  * @memberof UpdateDomainInput
66
73
  */
67
74
  leaseToOwn?: LeaseToOwnConfigurationInput;
75
+ /**
76
+ *
77
+ * @type {RentConfigurationInput}
78
+ * @memberof UpdateDomainInput
79
+ */
80
+ rent?: RentConfigurationInput;
68
81
  /**
69
82
  *
70
83
  * @type {LandingPageInput}
@@ -94,6 +107,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
94
107
  'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
95
108
  'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
96
109
  'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
110
+ 'rent': json['rent'] == null ? undefined : RentConfigurationInputFromJSON(json['rent']),
97
111
  'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
98
112
  };
99
113
  }
@@ -113,6 +127,7 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
113
127
  'minOffer': MoneyDtoToJSON(value['minOffer']),
114
128
  'currencyCode': value['currencyCode'],
115
129
  'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
130
+ 'rent': RentConfigurationInputToJSON(value['rent']),
116
131
  'landingPage': LandingPageInputToJSON(value['landingPage']),
117
132
  };
118
133
  }
@@ -45,7 +45,7 @@ export interface UpdateSubscriptionInput {
45
45
  * @type {number}
46
46
  * @memberof UpdateSubscriptionInput
47
47
  */
48
- installments?: number;
48
+ installments?: number | null;
49
49
  /**
50
50
  *
51
51
  * @type {UpdateSubscriptionBillingPeriodicityInput}
@@ -27,6 +27,13 @@ import {
27
27
  AccountSettingsLeaseToOwnConfigurationDtoToJSON,
28
28
  AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
29
29
  } from './AccountSettingsLeaseToOwnConfigurationDto';
30
+ import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
31
+ import {
32
+ AccountSettingsRentConfigurationDtoFromJSON,
33
+ AccountSettingsRentConfigurationDtoFromJSONTyped,
34
+ AccountSettingsRentConfigurationDtoToJSON,
35
+ AccountSettingsRentConfigurationDtoToJSONTyped,
36
+ } from './AccountSettingsRentConfigurationDto';
30
37
 
31
38
  /**
32
39
  *
@@ -82,6 +89,12 @@ export interface WithSettingsInner {
82
89
  * @memberof WithSettingsInner
83
90
  */
84
91
  leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
92
+ /**
93
+ *
94
+ * @type {AccountSettingsRentConfigurationDto}
95
+ * @memberof WithSettingsInner
96
+ */
97
+ rent: AccountSettingsRentConfigurationDto;
85
98
  }
86
99
 
87
100
  /**
@@ -96,6 +109,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
96
109
  if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
97
110
  if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
98
111
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
112
+ if (!('rent' in value) || value['rent'] === undefined) return false;
99
113
  return true;
100
114
  }
101
115
 
@@ -117,6 +131,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
117
131
  'showDeliversIn': json['showDeliversIn'],
118
132
  'sidnIdcode': json['sidnIdcode'],
119
133
  'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
134
+ 'rent': AccountSettingsRentConfigurationDtoFromJSON(json['rent']),
120
135
  };
121
136
  }
122
137
 
@@ -139,6 +154,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
139
154
  'showDeliversIn': value['showDeliversIn'],
140
155
  'sidnIdcode': value['sidnIdcode'],
141
156
  'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
157
+ 'rent': AccountSettingsRentConfigurationDtoToJSON(value['rent']),
142
158
  };
143
159
  }
144
160
 
@@ -12,6 +12,7 @@ export * from './AccountPayoutDto';
12
12
  export * from './AccountSettingsDto';
13
13
  export * from './AccountSettingsInput';
14
14
  export * from './AccountSettingsLeaseToOwnConfigurationDto';
15
+ export * from './AccountSettingsRentConfigurationDto';
15
16
  export * from './AccountSettingsSidnDto';
16
17
  export * from './AddressDto';
17
18
  export * from './AdminAccountLoginDto';
@@ -64,6 +65,7 @@ export * from './DomainDto';
64
65
  export * from './DomainExchangeRateDto';
65
66
  export * from './DomainSalesInformationDto';
66
67
  export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
68
+ export * from './DomainSalesInformationRentConfigurationDto';
67
69
  export * from './DomainSellerDto';
68
70
  export * from './DomainStatsDto';
69
71
  export * from './DomainTransferAgentDto';
@@ -115,7 +117,7 @@ export * from './LandingPageInput';
115
117
  export * from './LandingPageSettingsDto';
116
118
  export * from './LeadDomainDto';
117
119
  export * from './LeadDto';
118
- export * from './LeadLeaseToOwnConfigurationPresetsDto';
120
+ export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
119
121
  export * from './LeadMessageData';
120
122
  export * from './LeadMessageDto';
121
123
  export * from './LeadStatusDto';
@@ -164,6 +166,9 @@ export * from './PutBuyerLeadOfferInput';
164
166
  export * from './PutLeadOfferInput';
165
167
  export * from './RegisterAccountInput';
166
168
  export * from './RelatedSellerDomain';
169
+ export * from './RentConfigurationDto';
170
+ export * from './RentConfigurationInput';
171
+ export * from './RentConfigurationPresetsDto';
167
172
  export * from './RequestAccessTokenInput';
168
173
  export * from './SellerDomainTransferAuthCodeDto';
169
174
  export * from './SellerDomainTransferDomainDto';
@@ -1,41 +0,0 @@
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 { LeaseToOwnConfigurationPresetsDto } from './LeaseToOwnConfigurationPresetsDto';
13
- /**
14
- *
15
- * @export
16
- * @interface LeadLeaseToOwnConfigurationPresetsDto
17
- */
18
- export interface LeadLeaseToOwnConfigurationPresetsDto {
19
- /**
20
- * The exchange rates
21
- * @type {{ [key: string]: number; }}
22
- * @memberof LeadLeaseToOwnConfigurationPresetsDto
23
- */
24
- rates: {
25
- [key: string]: number;
26
- };
27
- /**
28
- * The default lease to own configuration presets
29
- * @type {LeaseToOwnConfigurationPresetsDto}
30
- * @memberof LeadLeaseToOwnConfigurationPresetsDto
31
- */
32
- leaseToOwnConfigurationPreset: LeaseToOwnConfigurationPresetsDto;
33
- }
34
- /**
35
- * Check if a given object implements the LeadLeaseToOwnConfigurationPresetsDto interface.
36
- */
37
- export declare function instanceOfLeadLeaseToOwnConfigurationPresetsDto(value: object): value is LeadLeaseToOwnConfigurationPresetsDto;
38
- export declare function LeadLeaseToOwnConfigurationPresetsDtoFromJSON(json: any): LeadLeaseToOwnConfigurationPresetsDto;
39
- export declare function LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadLeaseToOwnConfigurationPresetsDto;
40
- export declare function LeadLeaseToOwnConfigurationPresetsDtoToJSON(json: any): LeadLeaseToOwnConfigurationPresetsDto;
41
- export declare function LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped(value?: LeadLeaseToOwnConfigurationPresetsDto | null, ignoreDiscriminator?: boolean): any;
@@ -1,56 +0,0 @@
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.instanceOfLeadLeaseToOwnConfigurationPresetsDto = instanceOfLeadLeaseToOwnConfigurationPresetsDto;
17
- exports.LeadLeaseToOwnConfigurationPresetsDtoFromJSON = LeadLeaseToOwnConfigurationPresetsDtoFromJSON;
18
- exports.LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped = LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped;
19
- exports.LeadLeaseToOwnConfigurationPresetsDtoToJSON = LeadLeaseToOwnConfigurationPresetsDtoToJSON;
20
- exports.LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped = LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped;
21
- var LeaseToOwnConfigurationPresetsDto_1 = require("./LeaseToOwnConfigurationPresetsDto");
22
- /**
23
- * Check if a given object implements the LeadLeaseToOwnConfigurationPresetsDto interface.
24
- */
25
- function instanceOfLeadLeaseToOwnConfigurationPresetsDto(value) {
26
- if (!('rates' in value) || value['rates'] === undefined)
27
- return false;
28
- if (!('leaseToOwnConfigurationPreset' in value) || value['leaseToOwnConfigurationPreset'] === undefined)
29
- return false;
30
- return true;
31
- }
32
- function LeadLeaseToOwnConfigurationPresetsDtoFromJSON(json) {
33
- return LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped(json, false);
34
- }
35
- function LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped(json, ignoreDiscriminator) {
36
- if (json == null) {
37
- return json;
38
- }
39
- return {
40
- 'rates': json['rates'],
41
- 'leaseToOwnConfigurationPreset': (0, LeaseToOwnConfigurationPresetsDto_1.LeaseToOwnConfigurationPresetsDtoFromJSON)(json['leaseToOwnConfigurationPreset']),
42
- };
43
- }
44
- function LeadLeaseToOwnConfigurationPresetsDtoToJSON(json) {
45
- return LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped(json, false);
46
- }
47
- function LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped(value, ignoreDiscriminator) {
48
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
- if (value == null) {
50
- return value;
51
- }
52
- return {
53
- 'rates': value['rates'],
54
- 'leaseToOwnConfigurationPreset': (0, LeaseToOwnConfigurationPresetsDto_1.LeaseToOwnConfigurationPresetsDtoToJSON)(value['leaseToOwnConfigurationPreset']),
55
- };
56
- }
@@ -1,83 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Nameshift
5
- * Nameshift API
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { LeaseToOwnConfigurationPresetsDto } from './LeaseToOwnConfigurationPresetsDto';
17
- import {
18
- LeaseToOwnConfigurationPresetsDtoFromJSON,
19
- LeaseToOwnConfigurationPresetsDtoFromJSONTyped,
20
- LeaseToOwnConfigurationPresetsDtoToJSON,
21
- LeaseToOwnConfigurationPresetsDtoToJSONTyped,
22
- } from './LeaseToOwnConfigurationPresetsDto';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface LeadLeaseToOwnConfigurationPresetsDto
28
- */
29
- export interface LeadLeaseToOwnConfigurationPresetsDto {
30
- /**
31
- * The exchange rates
32
- * @type {{ [key: string]: number; }}
33
- * @memberof LeadLeaseToOwnConfigurationPresetsDto
34
- */
35
- rates: { [key: string]: number; };
36
- /**
37
- * The default lease to own configuration presets
38
- * @type {LeaseToOwnConfigurationPresetsDto}
39
- * @memberof LeadLeaseToOwnConfigurationPresetsDto
40
- */
41
- leaseToOwnConfigurationPreset: LeaseToOwnConfigurationPresetsDto;
42
- }
43
-
44
- /**
45
- * Check if a given object implements the LeadLeaseToOwnConfigurationPresetsDto interface.
46
- */
47
- export function instanceOfLeadLeaseToOwnConfigurationPresetsDto(value: object): value is LeadLeaseToOwnConfigurationPresetsDto {
48
- if (!('rates' in value) || value['rates'] === undefined) return false;
49
- if (!('leaseToOwnConfigurationPreset' in value) || value['leaseToOwnConfigurationPreset'] === undefined) return false;
50
- return true;
51
- }
52
-
53
- export function LeadLeaseToOwnConfigurationPresetsDtoFromJSON(json: any): LeadLeaseToOwnConfigurationPresetsDto {
54
- return LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped(json, false);
55
- }
56
-
57
- export function LeadLeaseToOwnConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadLeaseToOwnConfigurationPresetsDto {
58
- if (json == null) {
59
- return json;
60
- }
61
- return {
62
-
63
- 'rates': json['rates'],
64
- 'leaseToOwnConfigurationPreset': LeaseToOwnConfigurationPresetsDtoFromJSON(json['leaseToOwnConfigurationPreset']),
65
- };
66
- }
67
-
68
- export function LeadLeaseToOwnConfigurationPresetsDtoToJSON(json: any): LeadLeaseToOwnConfigurationPresetsDto {
69
- return LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped(json, false);
70
- }
71
-
72
- export function LeadLeaseToOwnConfigurationPresetsDtoToJSONTyped(value?: LeadLeaseToOwnConfigurationPresetsDto | null, ignoreDiscriminator: boolean = false): any {
73
- if (value == null) {
74
- return value;
75
- }
76
-
77
- return {
78
-
79
- 'rates': value['rates'],
80
- 'leaseToOwnConfigurationPreset': LeaseToOwnConfigurationPresetsDtoToJSON(value['leaseToOwnConfigurationPreset']),
81
- };
82
- }
83
-