@randock/nameshift-api-client 0.0.232 → 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.
@@ -143,7 +143,7 @@ src/models/LandingPageInput.ts
143
143
  src/models/LandingPageSettingsDto.ts
144
144
  src/models/LeadDomainDto.ts
145
145
  src/models/LeadDto.ts
146
- src/models/LeadLeaseToOwnConfigurationPresetsDto.ts
146
+ src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
147
147
  src/models/LeadMessageData.ts
148
148
  src/models/LeadMessageDto.ts
149
149
  src/models/LeadStatusDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.232
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.232 --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
- a236841c9c7aa320b19221860c51af38f0c9ac45d1581cf0e5afe3c37ef79218c06631bb720d70456383854cea6d6639
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
  });
@@ -0,0 +1,48 @@
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
+ import type { RentConfigurationPresetsDto } from './RentConfigurationPresetsDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LeadLeaseToOwnAndRentConfigurationPresetsDto
18
+ */
19
+ export interface LeadLeaseToOwnAndRentConfigurationPresetsDto {
20
+ /**
21
+ * The exchange rates
22
+ * @type {{ [key: string]: number; }}
23
+ * @memberof LeadLeaseToOwnAndRentConfigurationPresetsDto
24
+ */
25
+ rates: {
26
+ [key: string]: number;
27
+ };
28
+ /**
29
+ * The default lease to own configuration presets
30
+ * @type {LeaseToOwnConfigurationPresetsDto}
31
+ * @memberof LeadLeaseToOwnAndRentConfigurationPresetsDto
32
+ */
33
+ leaseToOwnConfigurationPreset: LeaseToOwnConfigurationPresetsDto;
34
+ /**
35
+ * The default rent configuration presets
36
+ * @type {RentConfigurationPresetsDto}
37
+ * @memberof LeadLeaseToOwnAndRentConfigurationPresetsDto
38
+ */
39
+ rentConfigurationPreset: RentConfigurationPresetsDto;
40
+ }
41
+ /**
42
+ * Check if a given object implements the LeadLeaseToOwnAndRentConfigurationPresetsDto interface.
43
+ */
44
+ export declare function instanceOfLeadLeaseToOwnAndRentConfigurationPresetsDto(value: object): value is LeadLeaseToOwnAndRentConfigurationPresetsDto;
45
+ export declare function LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON(json: any): LeadLeaseToOwnAndRentConfigurationPresetsDto;
46
+ export declare function LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadLeaseToOwnAndRentConfigurationPresetsDto;
47
+ export declare function LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON(json: any): LeadLeaseToOwnAndRentConfigurationPresetsDto;
48
+ export declare function LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped(value?: LeadLeaseToOwnAndRentConfigurationPresetsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfLeadLeaseToOwnAndRentConfigurationPresetsDto = instanceOfLeadLeaseToOwnAndRentConfigurationPresetsDto;
17
+ exports.LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON = LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON;
18
+ exports.LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped = LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped;
19
+ exports.LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON = LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON;
20
+ exports.LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped = LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped;
21
+ var LeaseToOwnConfigurationPresetsDto_1 = require("./LeaseToOwnConfigurationPresetsDto");
22
+ var RentConfigurationPresetsDto_1 = require("./RentConfigurationPresetsDto");
23
+ /**
24
+ * Check if a given object implements the LeadLeaseToOwnAndRentConfigurationPresetsDto interface.
25
+ */
26
+ function instanceOfLeadLeaseToOwnAndRentConfigurationPresetsDto(value) {
27
+ if (!('rates' in value) || value['rates'] === undefined)
28
+ return false;
29
+ if (!('leaseToOwnConfigurationPreset' in value) || value['leaseToOwnConfigurationPreset'] === undefined)
30
+ return false;
31
+ if (!('rentConfigurationPreset' in value) || value['rentConfigurationPreset'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON(json) {
36
+ return LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped(json, false);
37
+ }
38
+ function LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'rates': json['rates'],
44
+ 'leaseToOwnConfigurationPreset': (0, LeaseToOwnConfigurationPresetsDto_1.LeaseToOwnConfigurationPresetsDtoFromJSON)(json['leaseToOwnConfigurationPreset']),
45
+ 'rentConfigurationPreset': (0, RentConfigurationPresetsDto_1.RentConfigurationPresetsDtoFromJSON)(json['rentConfigurationPreset']),
46
+ };
47
+ }
48
+ function LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON(json) {
49
+ return LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped(json, false);
50
+ }
51
+ function LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'rates': value['rates'],
58
+ 'leaseToOwnConfigurationPreset': (0, LeaseToOwnConfigurationPresetsDto_1.LeaseToOwnConfigurationPresetsDtoToJSON)(value['leaseToOwnConfigurationPreset']),
59
+ 'rentConfigurationPreset': (0, RentConfigurationPresetsDto_1.RentConfigurationPresetsDtoToJSON)(value['rentConfigurationPreset']),
60
+ };
61
+ }
@@ -115,7 +115,7 @@ export * from './LandingPageInput';
115
115
  export * from './LandingPageSettingsDto';
116
116
  export * from './LeadDomainDto';
117
117
  export * from './LeadDto';
118
- export * from './LeadLeaseToOwnConfigurationPresetsDto';
118
+ export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
119
119
  export * from './LeadMessageData';
120
120
  export * from './LeadMessageDto';
121
121
  export * from './LeadStatusDto';
@@ -133,7 +133,7 @@ __exportStar(require("./LandingPageInput"), exports);
133
133
  __exportStar(require("./LandingPageSettingsDto"), exports);
134
134
  __exportStar(require("./LeadDomainDto"), exports);
135
135
  __exportStar(require("./LeadDto"), exports);
136
- __exportStar(require("./LeadLeaseToOwnConfigurationPresetsDto"), exports);
136
+ __exportStar(require("./LeadLeaseToOwnAndRentConfigurationPresetsDto"), exports);
137
137
  __exportStar(require("./LeadMessageData"), exports);
138
138
  __exportStar(require("./LeadMessageDto"), exports);
139
139
  __exportStar(require("./LeadStatusDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.232",
3
+ "version": "0.0.233",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,7 +20,7 @@ import type {
20
20
  CreateLeadMessageInput,
21
21
  CreateManualLeadInput,
22
22
  IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto,
23
- LeadLeaseToOwnConfigurationPresetsDto,
23
+ LeadLeaseToOwnAndRentConfigurationPresetsDto,
24
24
  List200Response,
25
25
  ListLeadMessagesDto,
26
26
  ObjectId,
@@ -39,8 +39,8 @@ import {
39
39
  CreateManualLeadInputToJSON,
40
40
  IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON,
41
41
  IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSON,
42
- LeadLeaseToOwnConfigurationPresetsDtoFromJSON,
43
- LeadLeaseToOwnConfigurationPresetsDtoToJSON,
42
+ LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON,
43
+ LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON,
44
44
  List200ResponseFromJSON,
45
45
  List200ResponseToJSON,
46
46
  ListLeadMessagesDtoFromJSON,
@@ -378,7 +378,7 @@ export class LeadsApi extends runtime.BaseAPI {
378
378
  /**
379
379
  *
380
380
  */
381
- async getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnConfigurationPresetsDto>> {
381
+ async getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>> {
382
382
  const queryParameters: any = {};
383
383
 
384
384
  if (requestParameters['date'] != null) {
@@ -402,13 +402,13 @@ export class LeadsApi extends runtime.BaseAPI {
402
402
  query: queryParameters,
403
403
  }, initOverrides);
404
404
 
405
- return new runtime.JSONApiResponse(response, (jsonValue) => LeadLeaseToOwnConfigurationPresetsDtoFromJSON(jsonValue));
405
+ return new runtime.JSONApiResponse(response, (jsonValue) => LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON(jsonValue));
406
406
  }
407
407
 
408
408
  /**
409
409
  *
410
410
  */
411
- async getLeadLeaseToOwnConfigurationPresets(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnConfigurationPresetsDto> {
411
+ async getLeadLeaseToOwnConfigurationPresets(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto> {
412
412
  const response = await this.getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters, initOverrides);
413
413
  return await response.value();
414
414
  }
@@ -0,0 +1,99 @@
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
+ import type { RentConfigurationPresetsDto } from './RentConfigurationPresetsDto';
24
+ import {
25
+ RentConfigurationPresetsDtoFromJSON,
26
+ RentConfigurationPresetsDtoFromJSONTyped,
27
+ RentConfigurationPresetsDtoToJSON,
28
+ RentConfigurationPresetsDtoToJSONTyped,
29
+ } from './RentConfigurationPresetsDto';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface LeadLeaseToOwnAndRentConfigurationPresetsDto
35
+ */
36
+ export interface LeadLeaseToOwnAndRentConfigurationPresetsDto {
37
+ /**
38
+ * The exchange rates
39
+ * @type {{ [key: string]: number; }}
40
+ * @memberof LeadLeaseToOwnAndRentConfigurationPresetsDto
41
+ */
42
+ rates: { [key: string]: number; };
43
+ /**
44
+ * The default lease to own configuration presets
45
+ * @type {LeaseToOwnConfigurationPresetsDto}
46
+ * @memberof LeadLeaseToOwnAndRentConfigurationPresetsDto
47
+ */
48
+ leaseToOwnConfigurationPreset: LeaseToOwnConfigurationPresetsDto;
49
+ /**
50
+ * The default rent configuration presets
51
+ * @type {RentConfigurationPresetsDto}
52
+ * @memberof LeadLeaseToOwnAndRentConfigurationPresetsDto
53
+ */
54
+ rentConfigurationPreset: RentConfigurationPresetsDto;
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the LeadLeaseToOwnAndRentConfigurationPresetsDto interface.
59
+ */
60
+ export function instanceOfLeadLeaseToOwnAndRentConfigurationPresetsDto(value: object): value is LeadLeaseToOwnAndRentConfigurationPresetsDto {
61
+ if (!('rates' in value) || value['rates'] === undefined) return false;
62
+ if (!('leaseToOwnConfigurationPreset' in value) || value['leaseToOwnConfigurationPreset'] === undefined) return false;
63
+ if (!('rentConfigurationPreset' in value) || value['rentConfigurationPreset'] === undefined) return false;
64
+ return true;
65
+ }
66
+
67
+ export function LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON(json: any): LeadLeaseToOwnAndRentConfigurationPresetsDto {
68
+ return LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped(json, false);
69
+ }
70
+
71
+ export function LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadLeaseToOwnAndRentConfigurationPresetsDto {
72
+ if (json == null) {
73
+ return json;
74
+ }
75
+ return {
76
+
77
+ 'rates': json['rates'],
78
+ 'leaseToOwnConfigurationPreset': LeaseToOwnConfigurationPresetsDtoFromJSON(json['leaseToOwnConfigurationPreset']),
79
+ 'rentConfigurationPreset': RentConfigurationPresetsDtoFromJSON(json['rentConfigurationPreset']),
80
+ };
81
+ }
82
+
83
+ export function LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON(json: any): LeadLeaseToOwnAndRentConfigurationPresetsDto {
84
+ return LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped(json, false);
85
+ }
86
+
87
+ export function LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSONTyped(value?: LeadLeaseToOwnAndRentConfigurationPresetsDto | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'rates': value['rates'],
95
+ 'leaseToOwnConfigurationPreset': LeaseToOwnConfigurationPresetsDtoToJSON(value['leaseToOwnConfigurationPreset']),
96
+ 'rentConfigurationPreset': RentConfigurationPresetsDtoToJSON(value['rentConfigurationPreset']),
97
+ };
98
+ }
99
+
@@ -117,7 +117,7 @@ export * from './LandingPageInput';
117
117
  export * from './LandingPageSettingsDto';
118
118
  export * from './LeadDomainDto';
119
119
  export * from './LeadDto';
120
- export * from './LeadLeaseToOwnConfigurationPresetsDto';
120
+ export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
121
121
  export * from './LeadMessageData';
122
122
  export * from './LeadMessageDto';
123
123
  export * from './LeadStatusDto';
@@ -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
-