@randock/nameshift-api-client 0.0.375 → 0.0.376

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.
@@ -284,6 +284,7 @@ src/models/List200Response2.ts
284
284
  src/models/List200Response3.ts
285
285
  src/models/List200Response4.ts
286
286
  src/models/ListAccountMetricsDto.ts
287
+ src/models/ListAccountPortfolioSizeDto.ts
287
288
  src/models/ListAccountUserDto.ts
288
289
  src/models/ListAccounts200Response.ts
289
290
  src/models/ListAuctions200Response.ts
@@ -344,6 +345,7 @@ src/models/PublicSalesDto.ts
344
345
  src/models/PutBuyerLeadOfferInput.ts
345
346
  src/models/PutLeadOfferInput.ts
346
347
  src/models/RegisterAccountInput.ts
348
+ src/models/RegisterAccountPortfolioSizeInput.ts
347
349
  src/models/RegisterAuctionBuyerPhoneInput.ts
348
350
  src/models/RegisterInput.ts
349
351
  src/models/RelatedDomainsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.375
1
+ ## @randock/nameshift-api-client@0.0.376
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.375 --save
39
+ npm install @randock/nameshift-api-client@0.0.376 --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
- cb10b0aac13227359b35d753c3d4b4f552d310d24ea375464da94d530f21687672052bc51f32b159cb6172b3ca217473
47
+ 9b2b6fa462b02b8f6f9a9b3b4dbb2ef13a6356e01799551df0fc0335b9c9c65c15a4c5faccaf952bf581ee6b3492f747
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ListAccountMetricsDto } from './ListAccountMetricsDto';
13
+ import type { ListAccountPortfolioSizeDto } from './ListAccountPortfolioSizeDto';
13
14
  import type { ListAccountUserDto } from './ListAccountUserDto';
14
15
  /**
15
16
  *
@@ -59,6 +60,18 @@ export interface AdminListAccountDto {
59
60
  * @memberof AdminListAccountDto
60
61
  */
61
62
  affiliateId: string | null;
63
+ /**
64
+ *
65
+ * @type {ListAccountPortfolioSizeDto}
66
+ * @memberof AdminListAccountDto
67
+ */
68
+ portfolioSize: ListAccountPortfolioSizeDto | null;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof AdminListAccountDto
73
+ */
74
+ companyName: string | null;
62
75
  /**
63
76
  *
64
77
  * @type {string}
@@ -20,6 +20,7 @@ exports.AdminListAccountDtoFromJSONTyped = AdminListAccountDtoFromJSONTyped;
20
20
  exports.AdminListAccountDtoToJSON = AdminListAccountDtoToJSON;
21
21
  exports.AdminListAccountDtoToJSONTyped = AdminListAccountDtoToJSONTyped;
22
22
  var ListAccountMetricsDto_1 = require("./ListAccountMetricsDto");
23
+ var ListAccountPortfolioSizeDto_1 = require("./ListAccountPortfolioSizeDto");
23
24
  var ListAccountUserDto_1 = require("./ListAccountUserDto");
24
25
  /**
25
26
  * @export
@@ -61,6 +62,10 @@ function instanceOfAdminListAccountDto(value) {
61
62
  return false;
62
63
  if (!('affiliateId' in value) || value['affiliateId'] === undefined)
63
64
  return false;
65
+ if (!('portfolioSize' in value) || value['portfolioSize'] === undefined)
66
+ return false;
67
+ if (!('companyName' in value) || value['companyName'] === undefined)
68
+ return false;
64
69
  if (!('identifier' in value) || value['identifier'] === undefined)
65
70
  return false;
66
71
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -92,6 +97,8 @@ function AdminListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
92
97
  'onboardingStatus': json['onboardingStatus'],
93
98
  'payoutProvider': json['payoutProvider'],
94
99
  'affiliateId': json['affiliateId'],
100
+ 'portfolioSize': (0, ListAccountPortfolioSizeDto_1.ListAccountPortfolioSizeDtoFromJSON)(json['portfolioSize']),
101
+ 'companyName': json['companyName'],
95
102
  'identifier': json['identifier'],
96
103
  'createdAt': (new Date(json['createdAt'])),
97
104
  'name': json['name'],
@@ -117,6 +124,8 @@ function AdminListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
117
124
  'onboardingStatus': value['onboardingStatus'],
118
125
  'payoutProvider': value['payoutProvider'],
119
126
  'affiliateId': value['affiliateId'],
127
+ 'portfolioSize': (0, ListAccountPortfolioSizeDto_1.ListAccountPortfolioSizeDtoToJSON)(value['portfolioSize']),
128
+ 'companyName': value['companyName'],
120
129
  'identifier': value['identifier'],
121
130
  'createdAt': ((value['createdAt']).toISOString()),
122
131
  'name': value['name'],
@@ -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 ListAccountPortfolioSizeDto
16
+ */
17
+ export interface ListAccountPortfolioSizeDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ListAccountPortfolioSizeDto
22
+ */
23
+ from: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ListAccountPortfolioSizeDto
28
+ */
29
+ to: number | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ListAccountPortfolioSizeDto interface.
33
+ */
34
+ export declare function instanceOfListAccountPortfolioSizeDto(value: object): value is ListAccountPortfolioSizeDto;
35
+ export declare function ListAccountPortfolioSizeDtoFromJSON(json: any): ListAccountPortfolioSizeDto;
36
+ export declare function ListAccountPortfolioSizeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountPortfolioSizeDto;
37
+ export declare function ListAccountPortfolioSizeDtoToJSON(json: any): ListAccountPortfolioSizeDto;
38
+ export declare function ListAccountPortfolioSizeDtoToJSONTyped(value?: ListAccountPortfolioSizeDto | 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.instanceOfListAccountPortfolioSizeDto = instanceOfListAccountPortfolioSizeDto;
17
+ exports.ListAccountPortfolioSizeDtoFromJSON = ListAccountPortfolioSizeDtoFromJSON;
18
+ exports.ListAccountPortfolioSizeDtoFromJSONTyped = ListAccountPortfolioSizeDtoFromJSONTyped;
19
+ exports.ListAccountPortfolioSizeDtoToJSON = ListAccountPortfolioSizeDtoToJSON;
20
+ exports.ListAccountPortfolioSizeDtoToJSONTyped = ListAccountPortfolioSizeDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ListAccountPortfolioSizeDto interface.
23
+ */
24
+ function instanceOfListAccountPortfolioSizeDto(value) {
25
+ if (!('from' in value) || value['from'] === undefined)
26
+ return false;
27
+ if (!('to' in value) || value['to'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function ListAccountPortfolioSizeDtoFromJSON(json) {
32
+ return ListAccountPortfolioSizeDtoFromJSONTyped(json, false);
33
+ }
34
+ function ListAccountPortfolioSizeDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'from': json['from'],
40
+ 'to': json['to'],
41
+ };
42
+ }
43
+ function ListAccountPortfolioSizeDtoToJSON(json) {
44
+ return ListAccountPortfolioSizeDtoToJSONTyped(json, false);
45
+ }
46
+ function ListAccountPortfolioSizeDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'from': value['from'],
53
+ 'to': value['to'],
54
+ };
55
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { RegisterAccountPortfolioSizeInput } from './RegisterAccountPortfolioSizeInput';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,6 +22,18 @@ export interface RegisterAccountInput {
21
22
  * @memberof RegisterAccountInput
22
23
  */
23
24
  affiliateIdentifier?: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RegisterAccountInput
29
+ */
30
+ companyName?: string | null;
31
+ /**
32
+ *
33
+ * @type {RegisterAccountPortfolioSizeInput}
34
+ * @memberof RegisterAccountInput
35
+ */
36
+ portfolioSize?: RegisterAccountPortfolioSizeInput | null;
24
37
  /**
25
38
  *
26
39
  * @type {string}
@@ -19,6 +19,7 @@ exports.RegisterAccountInputFromJSON = RegisterAccountInputFromJSON;
19
19
  exports.RegisterAccountInputFromJSONTyped = RegisterAccountInputFromJSONTyped;
20
20
  exports.RegisterAccountInputToJSON = RegisterAccountInputToJSON;
21
21
  exports.RegisterAccountInputToJSONTyped = RegisterAccountInputToJSONTyped;
22
+ var RegisterAccountPortfolioSizeInput_1 = require("./RegisterAccountPortfolioSizeInput");
22
23
  /**
23
24
  * @export
24
25
  */
@@ -52,6 +53,8 @@ function RegisterAccountInputFromJSONTyped(json, ignoreDiscriminator) {
52
53
  }
53
54
  return {
54
55
  'affiliateIdentifier': json['affiliateIdentifier'] == null ? undefined : json['affiliateIdentifier'],
56
+ 'companyName': json['companyName'] == null ? undefined : json['companyName'],
57
+ 'portfolioSize': json['portfolioSize'] == null ? undefined : (0, RegisterAccountPortfolioSizeInput_1.RegisterAccountPortfolioSizeInputFromJSON)(json['portfolioSize']),
55
58
  'locale': json['locale'],
56
59
  'firstname': json['firstname'],
57
60
  'lastname': json['lastname'],
@@ -73,6 +76,8 @@ function RegisterAccountInputToJSONTyped(value, ignoreDiscriminator) {
73
76
  }
74
77
  return {
75
78
  'affiliateIdentifier': value['affiliateIdentifier'],
79
+ 'companyName': value['companyName'],
80
+ 'portfolioSize': (0, RegisterAccountPortfolioSizeInput_1.RegisterAccountPortfolioSizeInputToJSON)(value['portfolioSize']),
76
81
  'locale': value['locale'],
77
82
  'firstname': value['firstname'],
78
83
  'lastname': value['lastname'],
@@ -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 RegisterAccountPortfolioSizeInput
16
+ */
17
+ export interface RegisterAccountPortfolioSizeInput {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof RegisterAccountPortfolioSizeInput
22
+ */
23
+ from: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof RegisterAccountPortfolioSizeInput
28
+ */
29
+ to?: number | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RegisterAccountPortfolioSizeInput interface.
33
+ */
34
+ export declare function instanceOfRegisterAccountPortfolioSizeInput(value: object): value is RegisterAccountPortfolioSizeInput;
35
+ export declare function RegisterAccountPortfolioSizeInputFromJSON(json: any): RegisterAccountPortfolioSizeInput;
36
+ export declare function RegisterAccountPortfolioSizeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAccountPortfolioSizeInput;
37
+ export declare function RegisterAccountPortfolioSizeInputToJSON(json: any): RegisterAccountPortfolioSizeInput;
38
+ export declare function RegisterAccountPortfolioSizeInputToJSONTyped(value?: RegisterAccountPortfolioSizeInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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.instanceOfRegisterAccountPortfolioSizeInput = instanceOfRegisterAccountPortfolioSizeInput;
17
+ exports.RegisterAccountPortfolioSizeInputFromJSON = RegisterAccountPortfolioSizeInputFromJSON;
18
+ exports.RegisterAccountPortfolioSizeInputFromJSONTyped = RegisterAccountPortfolioSizeInputFromJSONTyped;
19
+ exports.RegisterAccountPortfolioSizeInputToJSON = RegisterAccountPortfolioSizeInputToJSON;
20
+ exports.RegisterAccountPortfolioSizeInputToJSONTyped = RegisterAccountPortfolioSizeInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RegisterAccountPortfolioSizeInput interface.
23
+ */
24
+ function instanceOfRegisterAccountPortfolioSizeInput(value) {
25
+ if (!('from' in value) || value['from'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function RegisterAccountPortfolioSizeInputFromJSON(json) {
30
+ return RegisterAccountPortfolioSizeInputFromJSONTyped(json, false);
31
+ }
32
+ function RegisterAccountPortfolioSizeInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'from': json['from'],
38
+ 'to': json['to'] == null ? undefined : json['to'],
39
+ };
40
+ }
41
+ function RegisterAccountPortfolioSizeInputToJSON(json) {
42
+ return RegisterAccountPortfolioSizeInputToJSONTyped(json, false);
43
+ }
44
+ function RegisterAccountPortfolioSizeInputToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'from': value['from'],
51
+ 'to': value['to'],
52
+ };
53
+ }
@@ -249,6 +249,7 @@ export * from './List200Response2';
249
249
  export * from './List200Response3';
250
250
  export * from './List200Response4';
251
251
  export * from './ListAccountMetricsDto';
252
+ export * from './ListAccountPortfolioSizeDto';
252
253
  export * from './ListAccountUserDto';
253
254
  export * from './ListAccounts200Response';
254
255
  export * from './ListAuctions200Response';
@@ -309,6 +310,7 @@ export * from './PublicSalesDto';
309
310
  export * from './PutBuyerLeadOfferInput';
310
311
  export * from './PutLeadOfferInput';
311
312
  export * from './RegisterAccountInput';
313
+ export * from './RegisterAccountPortfolioSizeInput';
312
314
  export * from './RegisterAuctionBuyerPhoneInput';
313
315
  export * from './RegisterInput';
314
316
  export * from './RelatedDomainsDto';
@@ -267,6 +267,7 @@ __exportStar(require("./List200Response2"), exports);
267
267
  __exportStar(require("./List200Response3"), exports);
268
268
  __exportStar(require("./List200Response4"), exports);
269
269
  __exportStar(require("./ListAccountMetricsDto"), exports);
270
+ __exportStar(require("./ListAccountPortfolioSizeDto"), exports);
270
271
  __exportStar(require("./ListAccountUserDto"), exports);
271
272
  __exportStar(require("./ListAccounts200Response"), exports);
272
273
  __exportStar(require("./ListAuctions200Response"), exports);
@@ -327,6 +328,7 @@ __exportStar(require("./PublicSalesDto"), exports);
327
328
  __exportStar(require("./PutBuyerLeadOfferInput"), exports);
328
329
  __exportStar(require("./PutLeadOfferInput"), exports);
329
330
  __exportStar(require("./RegisterAccountInput"), exports);
331
+ __exportStar(require("./RegisterAccountPortfolioSizeInput"), exports);
330
332
  __exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
331
333
  __exportStar(require("./RegisterInput"), exports);
332
334
  __exportStar(require("./RelatedDomainsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.375",
3
+ "version": "0.0.376",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,6 +20,13 @@ import {
20
20
  ListAccountMetricsDtoToJSON,
21
21
  ListAccountMetricsDtoToJSONTyped,
22
22
  } from './ListAccountMetricsDto';
23
+ import type { ListAccountPortfolioSizeDto } from './ListAccountPortfolioSizeDto';
24
+ import {
25
+ ListAccountPortfolioSizeDtoFromJSON,
26
+ ListAccountPortfolioSizeDtoFromJSONTyped,
27
+ ListAccountPortfolioSizeDtoToJSON,
28
+ ListAccountPortfolioSizeDtoToJSONTyped,
29
+ } from './ListAccountPortfolioSizeDto';
23
30
  import type { ListAccountUserDto } from './ListAccountUserDto';
24
31
  import {
25
32
  ListAccountUserDtoFromJSON,
@@ -76,6 +83,18 @@ export interface AdminListAccountDto {
76
83
  * @memberof AdminListAccountDto
77
84
  */
78
85
  affiliateId: string | null;
86
+ /**
87
+ *
88
+ * @type {ListAccountPortfolioSizeDto}
89
+ * @memberof AdminListAccountDto
90
+ */
91
+ portfolioSize: ListAccountPortfolioSizeDto | null;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof AdminListAccountDto
96
+ */
97
+ companyName: string | null;
79
98
  /**
80
99
  *
81
100
  * @type {string}
@@ -161,6 +180,8 @@ export function instanceOfAdminListAccountDto(value: object): value is AdminList
161
180
  if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined) return false;
162
181
  if (!('payoutProvider' in value) || value['payoutProvider'] === undefined) return false;
163
182
  if (!('affiliateId' in value) || value['affiliateId'] === undefined) return false;
183
+ if (!('portfolioSize' in value) || value['portfolioSize'] === undefined) return false;
184
+ if (!('companyName' in value) || value['companyName'] === undefined) return false;
164
185
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
165
186
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
166
187
  if (!('name' in value) || value['name'] === undefined) return false;
@@ -188,6 +209,8 @@ export function AdminListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator:
188
209
  'onboardingStatus': json['onboardingStatus'],
189
210
  'payoutProvider': json['payoutProvider'],
190
211
  'affiliateId': json['affiliateId'],
212
+ 'portfolioSize': ListAccountPortfolioSizeDtoFromJSON(json['portfolioSize']),
213
+ 'companyName': json['companyName'],
191
214
  'identifier': json['identifier'],
192
215
  'createdAt': (new Date(json['createdAt'])),
193
216
  'name': json['name'],
@@ -216,6 +239,8 @@ export function AdminListAccountDtoToJSONTyped(value?: AdminListAccountDto | nul
216
239
  'onboardingStatus': value['onboardingStatus'],
217
240
  'payoutProvider': value['payoutProvider'],
218
241
  'affiliateId': value['affiliateId'],
242
+ 'portfolioSize': ListAccountPortfolioSizeDtoToJSON(value['portfolioSize']),
243
+ 'companyName': value['companyName'],
219
244
  'identifier': value['identifier'],
220
245
  'createdAt': ((value['createdAt']).toISOString()),
221
246
  'name': value['name'],
@@ -0,0 +1,75 @@
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 ListAccountPortfolioSizeDto
20
+ */
21
+ export interface ListAccountPortfolioSizeDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ListAccountPortfolioSizeDto
26
+ */
27
+ from: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ListAccountPortfolioSizeDto
32
+ */
33
+ to: number | null;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ListAccountPortfolioSizeDto interface.
38
+ */
39
+ export function instanceOfListAccountPortfolioSizeDto(value: object): value is ListAccountPortfolioSizeDto {
40
+ if (!('from' in value) || value['from'] === undefined) return false;
41
+ if (!('to' in value) || value['to'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function ListAccountPortfolioSizeDtoFromJSON(json: any): ListAccountPortfolioSizeDto {
46
+ return ListAccountPortfolioSizeDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ListAccountPortfolioSizeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountPortfolioSizeDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'from': json['from'],
56
+ 'to': json['to'],
57
+ };
58
+ }
59
+
60
+ export function ListAccountPortfolioSizeDtoToJSON(json: any): ListAccountPortfolioSizeDto {
61
+ return ListAccountPortfolioSizeDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function ListAccountPortfolioSizeDtoToJSONTyped(value?: ListAccountPortfolioSizeDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'from': value['from'],
72
+ 'to': value['to'],
73
+ };
74
+ }
75
+
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { RegisterAccountPortfolioSizeInput } from './RegisterAccountPortfolioSizeInput';
17
+ import {
18
+ RegisterAccountPortfolioSizeInputFromJSON,
19
+ RegisterAccountPortfolioSizeInputFromJSONTyped,
20
+ RegisterAccountPortfolioSizeInputToJSON,
21
+ RegisterAccountPortfolioSizeInputToJSONTyped,
22
+ } from './RegisterAccountPortfolioSizeInput';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -25,6 +33,18 @@ export interface RegisterAccountInput {
25
33
  * @memberof RegisterAccountInput
26
34
  */
27
35
  affiliateIdentifier?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RegisterAccountInput
40
+ */
41
+ companyName?: string | null;
42
+ /**
43
+ *
44
+ * @type {RegisterAccountPortfolioSizeInput}
45
+ * @memberof RegisterAccountInput
46
+ */
47
+ portfolioSize?: RegisterAccountPortfolioSizeInput | null;
28
48
  /**
29
49
  *
30
50
  * @type {string}
@@ -116,6 +136,8 @@ export function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator
116
136
  return {
117
137
 
118
138
  'affiliateIdentifier': json['affiliateIdentifier'] == null ? undefined : json['affiliateIdentifier'],
139
+ 'companyName': json['companyName'] == null ? undefined : json['companyName'],
140
+ 'portfolioSize': json['portfolioSize'] == null ? undefined : RegisterAccountPortfolioSizeInputFromJSON(json['portfolioSize']),
119
141
  'locale': json['locale'],
120
142
  'firstname': json['firstname'],
121
143
  'lastname': json['lastname'],
@@ -140,6 +162,8 @@ export function RegisterAccountInputToJSONTyped(value?: RegisterAccountInput | n
140
162
  return {
141
163
 
142
164
  'affiliateIdentifier': value['affiliateIdentifier'],
165
+ 'companyName': value['companyName'],
166
+ 'portfolioSize': RegisterAccountPortfolioSizeInputToJSON(value['portfolioSize']),
143
167
  'locale': value['locale'],
144
168
  'firstname': value['firstname'],
145
169
  'lastname': value['lastname'],
@@ -0,0 +1,74 @@
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 RegisterAccountPortfolioSizeInput
20
+ */
21
+ export interface RegisterAccountPortfolioSizeInput {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof RegisterAccountPortfolioSizeInput
26
+ */
27
+ from: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof RegisterAccountPortfolioSizeInput
32
+ */
33
+ to?: number | null;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the RegisterAccountPortfolioSizeInput interface.
38
+ */
39
+ export function instanceOfRegisterAccountPortfolioSizeInput(value: object): value is RegisterAccountPortfolioSizeInput {
40
+ if (!('from' in value) || value['from'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function RegisterAccountPortfolioSizeInputFromJSON(json: any): RegisterAccountPortfolioSizeInput {
45
+ return RegisterAccountPortfolioSizeInputFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function RegisterAccountPortfolioSizeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAccountPortfolioSizeInput {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'from': json['from'],
55
+ 'to': json['to'] == null ? undefined : json['to'],
56
+ };
57
+ }
58
+
59
+ export function RegisterAccountPortfolioSizeInputToJSON(json: any): RegisterAccountPortfolioSizeInput {
60
+ return RegisterAccountPortfolioSizeInputToJSONTyped(json, false);
61
+ }
62
+
63
+ export function RegisterAccountPortfolioSizeInputToJSONTyped(value?: RegisterAccountPortfolioSizeInput | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'from': value['from'],
71
+ 'to': value['to'],
72
+ };
73
+ }
74
+
@@ -251,6 +251,7 @@ export * from './List200Response2';
251
251
  export * from './List200Response3';
252
252
  export * from './List200Response4';
253
253
  export * from './ListAccountMetricsDto';
254
+ export * from './ListAccountPortfolioSizeDto';
254
255
  export * from './ListAccountUserDto';
255
256
  export * from './ListAccounts200Response';
256
257
  export * from './ListAuctions200Response';
@@ -311,6 +312,7 @@ export * from './PublicSalesDto';
311
312
  export * from './PutBuyerLeadOfferInput';
312
313
  export * from './PutLeadOfferInput';
313
314
  export * from './RegisterAccountInput';
315
+ export * from './RegisterAccountPortfolioSizeInput';
314
316
  export * from './RegisterAuctionBuyerPhoneInput';
315
317
  export * from './RegisterInput';
316
318
  export * from './RelatedDomainsDto';