@randock/nameshift-api-client 0.0.7 → 0.0.8
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.
- package/.openapi-generator/FILES +2 -2
- package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +3 -3
- package/dist/models/IntersectionAccountDtoWithFinancialDto.js +3 -3
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +3 -3
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +6 -6
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +6 -6
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +3 -3
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +3 -3
- package/dist/models/WithFinancialDtoInner.d.ts +49 -0
- package/dist/models/WithFinancialDtoInner.js +59 -0
- package/dist/models/WithSettingsInner.d.ts +32 -0
- package/dist/models/WithSettingsInner.js +51 -0
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/package.json +1 -1
- package/src/models/IntersectionAccountDtoWithFinancialDto.ts +9 -9
- package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +3 -3
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +18 -18
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +9 -9
- package/src/models/WithFinancialDtoInner.ts +93 -0
- package/src/models/WithSettingsInner.ts +73 -0
- package/src/models/index.ts +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -21,10 +21,8 @@ src/models/DomainDto.ts
|
|
|
21
21
|
src/models/ImportDomainsDto.ts
|
|
22
22
|
src/models/IntersectionAccountDtoWithAddressDto.ts
|
|
23
23
|
src/models/IntersectionAccountDtoWithFinancialDto.ts
|
|
24
|
-
src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts
|
|
25
24
|
src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts
|
|
26
25
|
src/models/IntersectionAccountDtoWithSettingsDto.ts
|
|
27
|
-
src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts
|
|
28
26
|
src/models/LeadDto.ts
|
|
29
27
|
src/models/List200Response.ts
|
|
30
28
|
src/models/List400Response.ts
|
|
@@ -42,6 +40,8 @@ src/models/TokenDto.ts
|
|
|
42
40
|
src/models/UpdateDomainInput.ts
|
|
43
41
|
src/models/UpdateSettings401Response.ts
|
|
44
42
|
src/models/UpdateSettings429Response.ts
|
|
43
|
+
src/models/WithFinancialDtoInner.ts
|
|
44
|
+
src/models/WithSettingsInner.ts
|
|
45
45
|
src/models/index.ts
|
|
46
46
|
src/runtime.ts
|
|
47
47
|
tsconfig.json
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface IntersectionAccountDtoWithFinancialDto {
|
|
|
30
30
|
identifier: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {WithFinancialDtoInner}
|
|
34
34
|
* @memberof IntersectionAccountDtoWithFinancialDto
|
|
35
35
|
*/
|
|
36
|
-
financial:
|
|
36
|
+
financial: WithFinancialDtoInner;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the IntersectionAccountDtoWithFinancialDto interface.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntersectionAccountDtoWithFinancialDtoToJSON = exports.IntersectionAccountDtoWithFinancialDtoFromJSONTyped = exports.IntersectionAccountDtoWithFinancialDtoFromJSON = exports.instanceOfIntersectionAccountDtoWithFinancialDto = void 0;
|
|
17
|
-
var
|
|
17
|
+
var WithFinancialDtoInner_1 = require("./WithFinancialDtoInner");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the IntersectionAccountDtoWithFinancialDto interface.
|
|
20
20
|
*/
|
|
@@ -37,7 +37,7 @@ function IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
37
37
|
return {
|
|
38
38
|
'id': json['id'],
|
|
39
39
|
'identifier': json['identifier'],
|
|
40
|
-
'financial': (0,
|
|
40
|
+
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerFromJSON)(json['financial']),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.IntersectionAccountDtoWithFinancialDtoFromJSONTyped = IntersectionAccountDtoWithFinancialDtoFromJSONTyped;
|
|
@@ -51,7 +51,7 @@ function IntersectionAccountDtoWithFinancialDtoToJSON(value) {
|
|
|
51
51
|
return {
|
|
52
52
|
'id': value.id,
|
|
53
53
|
'identifier': value.identifier,
|
|
54
|
-
'financial': (0,
|
|
54
|
+
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerToJSON)(value.financial),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
exports.IntersectionAccountDtoWithFinancialDtoToJSON = IntersectionAccountDtoWithFinancialDtoToJSON;
|
|
@@ -26,19 +26,19 @@ export interface IntersectionAccountDtoWithFinancialDtoFinancial {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
28
28
|
*/
|
|
29
|
-
companyName?: string;
|
|
29
|
+
companyName?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
34
34
|
*/
|
|
35
|
-
companyVatNumber?: string;
|
|
35
|
+
companyVatNumber?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
40
40
|
*/
|
|
41
|
-
companyRegistrationNumber?: string;
|
|
41
|
+
companyRegistrationNumber?: string | null;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the IntersectionAccountDtoWithFinancialDtoFinancial interface.
|
package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AccountAddressDto } from './AccountAddressDto';
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
13
|
+
import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
|
|
14
|
+
import type { WithSettingsInner } from './WithSettingsInner';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -32,16 +32,16 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
32
32
|
identifier: string;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {WithFinancialDtoInner}
|
|
36
36
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
37
37
|
*/
|
|
38
|
-
financial:
|
|
38
|
+
financial: WithFinancialDtoInner;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
|
-
* @type {
|
|
41
|
+
* @type {WithSettingsInner}
|
|
42
42
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
43
43
|
*/
|
|
44
|
-
settings:
|
|
44
|
+
settings: WithSettingsInner;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {Array<AccountAddressDto>}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON = exports.IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped = exports.IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON = exports.instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto = void 0;
|
|
17
17
|
var AccountAddressDto_1 = require("./AccountAddressDto");
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var WithFinancialDtoInner_1 = require("./WithFinancialDtoInner");
|
|
19
|
+
var WithSettingsInner_1 = require("./WithSettingsInner");
|
|
20
20
|
/**
|
|
21
21
|
* Check if a given object implements the IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto interface.
|
|
22
22
|
*/
|
|
@@ -41,8 +41,8 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFrom
|
|
|
41
41
|
return {
|
|
42
42
|
'id': json['id'],
|
|
43
43
|
'identifier': json['identifier'],
|
|
44
|
-
'financial': (0,
|
|
45
|
-
'settings': (0,
|
|
44
|
+
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerFromJSON)(json['financial']),
|
|
45
|
+
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
46
46
|
'addresses': (json['addresses'].map(AccountAddressDto_1.AccountAddressDtoFromJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
@@ -57,8 +57,8 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJS
|
|
|
57
57
|
return {
|
|
58
58
|
'id': value.id,
|
|
59
59
|
'identifier': value.identifier,
|
|
60
|
-
'financial': (0,
|
|
61
|
-
'settings': (0,
|
|
60
|
+
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerToJSON)(value.financial),
|
|
61
|
+
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value.settings),
|
|
62
62
|
'addresses': (value.addresses.map(AccountAddressDto_1.AccountAddressDtoToJSON)),
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { WithSettingsInner } from './WithSettingsInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface IntersectionAccountDtoWithSettingsDto {
|
|
|
30
30
|
identifier: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {WithSettingsInner}
|
|
34
34
|
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
35
35
|
*/
|
|
36
|
-
settings:
|
|
36
|
+
settings: WithSettingsInner;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDto interface.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntersectionAccountDtoWithSettingsDtoToJSON = exports.IntersectionAccountDtoWithSettingsDtoFromJSONTyped = exports.IntersectionAccountDtoWithSettingsDtoFromJSON = exports.instanceOfIntersectionAccountDtoWithSettingsDto = void 0;
|
|
17
|
-
var
|
|
17
|
+
var WithSettingsInner_1 = require("./WithSettingsInner");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDto interface.
|
|
20
20
|
*/
|
|
@@ -37,7 +37,7 @@ function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json, ignoreDiscrimi
|
|
|
37
37
|
return {
|
|
38
38
|
'id': json['id'],
|
|
39
39
|
'identifier': json['identifier'],
|
|
40
|
-
'settings': (0,
|
|
40
|
+
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.IntersectionAccountDtoWithSettingsDtoFromJSONTyped = IntersectionAccountDtoWithSettingsDtoFromJSONTyped;
|
|
@@ -51,7 +51,7 @@ function IntersectionAccountDtoWithSettingsDtoToJSON(value) {
|
|
|
51
51
|
return {
|
|
52
52
|
'id': value.id,
|
|
53
53
|
'identifier': value.identifier,
|
|
54
|
-
'settings': (0,
|
|
54
|
+
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value.settings),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
exports.IntersectionAccountDtoWithSettingsDtoToJSON = IntersectionAccountDtoWithSettingsDtoToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 WithFinancialDtoInner
|
|
16
|
+
*/
|
|
17
|
+
export interface WithFinancialDtoInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof WithFinancialDtoInner
|
|
22
|
+
*/
|
|
23
|
+
company: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WithFinancialDtoInner
|
|
28
|
+
*/
|
|
29
|
+
companyName: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WithFinancialDtoInner
|
|
34
|
+
*/
|
|
35
|
+
companyVatNumber: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof WithFinancialDtoInner
|
|
40
|
+
*/
|
|
41
|
+
companyRegistrationNumber: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the WithFinancialDtoInner interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfWithFinancialDtoInner(value: object): boolean;
|
|
47
|
+
export declare function WithFinancialDtoInnerFromJSON(json: any): WithFinancialDtoInner;
|
|
48
|
+
export declare function WithFinancialDtoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithFinancialDtoInner;
|
|
49
|
+
export declare function WithFinancialDtoInnerToJSON(value?: WithFinancialDtoInner | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.WithFinancialDtoInnerToJSON = exports.WithFinancialDtoInnerFromJSONTyped = exports.WithFinancialDtoInnerFromJSON = exports.instanceOfWithFinancialDtoInner = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the WithFinancialDtoInner interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfWithFinancialDtoInner(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "company" in value;
|
|
23
|
+
isInstance = isInstance && "companyName" in value;
|
|
24
|
+
isInstance = isInstance && "companyVatNumber" in value;
|
|
25
|
+
isInstance = isInstance && "companyRegistrationNumber" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfWithFinancialDtoInner = instanceOfWithFinancialDtoInner;
|
|
29
|
+
function WithFinancialDtoInnerFromJSON(json) {
|
|
30
|
+
return WithFinancialDtoInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.WithFinancialDtoInnerFromJSON = WithFinancialDtoInnerFromJSON;
|
|
33
|
+
function WithFinancialDtoInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'company': json['company'],
|
|
39
|
+
'companyName': json['companyName'],
|
|
40
|
+
'companyVatNumber': json['companyVatNumber'],
|
|
41
|
+
'companyRegistrationNumber': json['companyRegistrationNumber'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.WithFinancialDtoInnerFromJSONTyped = WithFinancialDtoInnerFromJSONTyped;
|
|
45
|
+
function WithFinancialDtoInnerToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'company': value.company,
|
|
54
|
+
'companyName': value.companyName,
|
|
55
|
+
'companyVatNumber': value.companyVatNumber,
|
|
56
|
+
'companyRegistrationNumber': value.companyRegistrationNumber,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.WithFinancialDtoInnerToJSON = WithFinancialDtoInnerToJSON;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 WithSettingsInner
|
|
17
|
+
*/
|
|
18
|
+
export interface WithSettingsInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MoneyDto}
|
|
22
|
+
* @memberof WithSettingsInner
|
|
23
|
+
*/
|
|
24
|
+
defaultStartingOffer: MoneyDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the WithSettingsInner interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfWithSettingsInner(value: object): boolean;
|
|
30
|
+
export declare function WithSettingsInnerFromJSON(json: any): WithSettingsInner;
|
|
31
|
+
export declare function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithSettingsInner;
|
|
32
|
+
export declare function WithSettingsInnerToJSON(value?: WithSettingsInner | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.WithSettingsInnerToJSON = exports.WithSettingsInnerFromJSONTyped = exports.WithSettingsInnerFromJSON = exports.instanceOfWithSettingsInner = void 0;
|
|
17
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the WithSettingsInner interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfWithSettingsInner(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "defaultStartingOffer" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfWithSettingsInner = instanceOfWithSettingsInner;
|
|
27
|
+
function WithSettingsInnerFromJSON(json) {
|
|
28
|
+
return WithSettingsInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.WithSettingsInnerFromJSON = WithSettingsInnerFromJSON;
|
|
31
|
+
function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.WithSettingsInnerFromJSONTyped = WithSettingsInnerFromJSONTyped;
|
|
40
|
+
function WithSettingsInnerToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value.defaultStartingOffer),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.WithSettingsInnerToJSON = WithSettingsInnerToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -10,10 +10,8 @@ export * from './DomainDto';
|
|
|
10
10
|
export * from './ImportDomainsDto';
|
|
11
11
|
export * from './IntersectionAccountDtoWithAddressDto';
|
|
12
12
|
export * from './IntersectionAccountDtoWithFinancialDto';
|
|
13
|
-
export * from './IntersectionAccountDtoWithFinancialDtoFinancial';
|
|
14
13
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
15
14
|
export * from './IntersectionAccountDtoWithSettingsDto';
|
|
16
|
-
export * from './IntersectionAccountDtoWithSettingsDtoSettings';
|
|
17
15
|
export * from './LeadDto';
|
|
18
16
|
export * from './List200Response';
|
|
19
17
|
export * from './List400Response';
|
|
@@ -31,3 +29,5 @@ export * from './TokenDto';
|
|
|
31
29
|
export * from './UpdateDomainInput';
|
|
32
30
|
export * from './UpdateSettings401Response';
|
|
33
31
|
export * from './UpdateSettings429Response';
|
|
32
|
+
export * from './WithFinancialDtoInner';
|
|
33
|
+
export * from './WithSettingsInner';
|
package/dist/models/index.js
CHANGED
|
@@ -28,10 +28,8 @@ __exportStar(require("./DomainDto"), exports);
|
|
|
28
28
|
__exportStar(require("./ImportDomainsDto"), exports);
|
|
29
29
|
__exportStar(require("./IntersectionAccountDtoWithAddressDto"), exports);
|
|
30
30
|
__exportStar(require("./IntersectionAccountDtoWithFinancialDto"), exports);
|
|
31
|
-
__exportStar(require("./IntersectionAccountDtoWithFinancialDtoFinancial"), exports);
|
|
32
31
|
__exportStar(require("./IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto"), exports);
|
|
33
32
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDto"), exports);
|
|
34
|
-
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoSettings"), exports);
|
|
35
33
|
__exportStar(require("./LeadDto"), exports);
|
|
36
34
|
__exportStar(require("./List200Response"), exports);
|
|
37
35
|
__exportStar(require("./List400Response"), exports);
|
|
@@ -49,3 +47,5 @@ __exportStar(require("./TokenDto"), exports);
|
|
|
49
47
|
__exportStar(require("./UpdateDomainInput"), exports);
|
|
50
48
|
__exportStar(require("./UpdateSettings401Response"), exports);
|
|
51
49
|
__exportStar(require("./UpdateSettings429Response"), exports);
|
|
50
|
+
__exportStar(require("./WithFinancialDtoInner"), exports);
|
|
51
|
+
__exportStar(require("./WithSettingsInner"), exports);
|
package/package.json
CHANGED
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
WithFinancialDtoInnerFromJSON,
|
|
19
|
+
WithFinancialDtoInnerFromJSONTyped,
|
|
20
|
+
WithFinancialDtoInnerToJSON,
|
|
21
|
+
} from './WithFinancialDtoInner';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -40,10 +40,10 @@ export interface IntersectionAccountDtoWithFinancialDto {
|
|
|
40
40
|
identifier: string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {
|
|
43
|
+
* @type {WithFinancialDtoInner}
|
|
44
44
|
* @memberof IntersectionAccountDtoWithFinancialDto
|
|
45
45
|
*/
|
|
46
|
-
financial:
|
|
46
|
+
financial: WithFinancialDtoInner;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -70,7 +70,7 @@ export function IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json: any, i
|
|
|
70
70
|
|
|
71
71
|
'id': json['id'],
|
|
72
72
|
'identifier': json['identifier'],
|
|
73
|
-
'financial':
|
|
73
|
+
'financial': WithFinancialDtoInnerFromJSON(json['financial']),
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -85,7 +85,7 @@ export function IntersectionAccountDtoWithFinancialDtoToJSON(value?: Intersectio
|
|
|
85
85
|
|
|
86
86
|
'id': value.id,
|
|
87
87
|
'identifier': value.identifier,
|
|
88
|
-
'financial':
|
|
88
|
+
'financial': WithFinancialDtoInnerToJSON(value.financial),
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -30,19 +30,19 @@ export interface IntersectionAccountDtoWithFinancialDtoFinancial {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
32
32
|
*/
|
|
33
|
-
companyName?: string;
|
|
33
|
+
companyName?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
38
38
|
*/
|
|
39
|
-
companyVatNumber?: string;
|
|
39
|
+
companyVatNumber?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
44
44
|
*/
|
|
45
|
-
companyRegistrationNumber?: string;
|
|
45
|
+
companyRegistrationNumber?: string | null;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
AccountAddressDtoFromJSONTyped,
|
|
20
20
|
AccountAddressDtoToJSON,
|
|
21
21
|
} from './AccountAddressDto';
|
|
22
|
-
import type {
|
|
22
|
+
import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from './
|
|
28
|
-
import type {
|
|
24
|
+
WithFinancialDtoInnerFromJSON,
|
|
25
|
+
WithFinancialDtoInnerFromJSONTyped,
|
|
26
|
+
WithFinancialDtoInnerToJSON,
|
|
27
|
+
} from './WithFinancialDtoInner';
|
|
28
|
+
import type { WithSettingsInner } from './WithSettingsInner';
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from './
|
|
30
|
+
WithSettingsInnerFromJSON,
|
|
31
|
+
WithSettingsInnerFromJSONTyped,
|
|
32
|
+
WithSettingsInnerToJSON,
|
|
33
|
+
} from './WithSettingsInner';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -52,16 +52,16 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
52
52
|
identifier: string;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
|
-
* @type {
|
|
55
|
+
* @type {WithFinancialDtoInner}
|
|
56
56
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
57
57
|
*/
|
|
58
|
-
financial:
|
|
58
|
+
financial: WithFinancialDtoInner;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {WithSettingsInner}
|
|
62
62
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
63
63
|
*/
|
|
64
|
-
settings:
|
|
64
|
+
settings: WithSettingsInner;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {Array<AccountAddressDto>}
|
|
@@ -96,8 +96,8 @@ export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddress
|
|
|
96
96
|
|
|
97
97
|
'id': json['id'],
|
|
98
98
|
'identifier': json['identifier'],
|
|
99
|
-
'financial':
|
|
100
|
-
'settings':
|
|
99
|
+
'financial': WithFinancialDtoInnerFromJSON(json['financial']),
|
|
100
|
+
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
101
101
|
'addresses': ((json['addresses'] as Array<any>).map(AccountAddressDtoFromJSON)),
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -113,8 +113,8 @@ export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddress
|
|
|
113
113
|
|
|
114
114
|
'id': value.id,
|
|
115
115
|
'identifier': value.identifier,
|
|
116
|
-
'financial':
|
|
117
|
-
'settings':
|
|
116
|
+
'financial': WithFinancialDtoInnerToJSON(value.financial),
|
|
117
|
+
'settings': WithSettingsInnerToJSON(value.settings),
|
|
118
118
|
'addresses': ((value.addresses as Array<any>).map(AccountAddressDtoToJSON)),
|
|
119
119
|
};
|
|
120
120
|
}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { WithSettingsInner } from './WithSettingsInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
WithSettingsInnerFromJSON,
|
|
19
|
+
WithSettingsInnerFromJSONTyped,
|
|
20
|
+
WithSettingsInnerToJSON,
|
|
21
|
+
} from './WithSettingsInner';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -40,10 +40,10 @@ export interface IntersectionAccountDtoWithSettingsDto {
|
|
|
40
40
|
identifier: string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {
|
|
43
|
+
* @type {WithSettingsInner}
|
|
44
44
|
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
45
45
|
*/
|
|
46
|
-
settings:
|
|
46
|
+
settings: WithSettingsInner;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -70,7 +70,7 @@ export function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json: any, ig
|
|
|
70
70
|
|
|
71
71
|
'id': json['id'],
|
|
72
72
|
'identifier': json['identifier'],
|
|
73
|
-
'settings':
|
|
73
|
+
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -85,7 +85,7 @@ export function IntersectionAccountDtoWithSettingsDtoToJSON(value?: Intersection
|
|
|
85
85
|
|
|
86
86
|
'id': value.id,
|
|
87
87
|
'identifier': value.identifier,
|
|
88
|
-
'settings':
|
|
88
|
+
'settings': WithSettingsInnerToJSON(value.settings),
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface WithFinancialDtoInner
|
|
20
|
+
*/
|
|
21
|
+
export interface WithFinancialDtoInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof WithFinancialDtoInner
|
|
26
|
+
*/
|
|
27
|
+
company: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof WithFinancialDtoInner
|
|
32
|
+
*/
|
|
33
|
+
companyName: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof WithFinancialDtoInner
|
|
38
|
+
*/
|
|
39
|
+
companyVatNumber: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof WithFinancialDtoInner
|
|
44
|
+
*/
|
|
45
|
+
companyRegistrationNumber: string | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the WithFinancialDtoInner interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfWithFinancialDtoInner(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "company" in value;
|
|
54
|
+
isInstance = isInstance && "companyName" in value;
|
|
55
|
+
isInstance = isInstance && "companyVatNumber" in value;
|
|
56
|
+
isInstance = isInstance && "companyRegistrationNumber" in value;
|
|
57
|
+
|
|
58
|
+
return isInstance;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function WithFinancialDtoInnerFromJSON(json: any): WithFinancialDtoInner {
|
|
62
|
+
return WithFinancialDtoInnerFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function WithFinancialDtoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithFinancialDtoInner {
|
|
66
|
+
if ((json === undefined) || (json === null)) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'company': json['company'],
|
|
72
|
+
'companyName': json['companyName'],
|
|
73
|
+
'companyVatNumber': json['companyVatNumber'],
|
|
74
|
+
'companyRegistrationNumber': json['companyRegistrationNumber'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function WithFinancialDtoInnerToJSON(value?: WithFinancialDtoInner | null): any {
|
|
79
|
+
if (value === undefined) {
|
|
80
|
+
return undefined;
|
|
81
|
+
}
|
|
82
|
+
if (value === null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'company': value.company,
|
|
88
|
+
'companyName': value.companyName,
|
|
89
|
+
'companyVatNumber': value.companyVatNumber,
|
|
90
|
+
'companyRegistrationNumber': value.companyRegistrationNumber,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
} from './MoneyDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface WithSettingsInner
|
|
27
|
+
*/
|
|
28
|
+
export interface WithSettingsInner {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {MoneyDto}
|
|
32
|
+
* @memberof WithSettingsInner
|
|
33
|
+
*/
|
|
34
|
+
defaultStartingOffer: MoneyDto;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the WithSettingsInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfWithSettingsInner(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
isInstance = isInstance && "defaultStartingOffer" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function WithSettingsInnerFromJSON(json: any): WithSettingsInner {
|
|
48
|
+
return WithSettingsInnerFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithSettingsInner {
|
|
52
|
+
if ((json === undefined) || (json === null)) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'defaultStartingOffer': MoneyDtoFromJSON(json['defaultStartingOffer']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function WithSettingsInnerToJSON(value?: WithSettingsInner | null): any {
|
|
62
|
+
if (value === undefined) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
if (value === null) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'defaultStartingOffer': MoneyDtoToJSON(value.defaultStartingOffer),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -12,10 +12,8 @@ export * from './DomainDto';
|
|
|
12
12
|
export * from './ImportDomainsDto';
|
|
13
13
|
export * from './IntersectionAccountDtoWithAddressDto';
|
|
14
14
|
export * from './IntersectionAccountDtoWithFinancialDto';
|
|
15
|
-
export * from './IntersectionAccountDtoWithFinancialDtoFinancial';
|
|
16
15
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
17
16
|
export * from './IntersectionAccountDtoWithSettingsDto';
|
|
18
|
-
export * from './IntersectionAccountDtoWithSettingsDtoSettings';
|
|
19
17
|
export * from './LeadDto';
|
|
20
18
|
export * from './List200Response';
|
|
21
19
|
export * from './List400Response';
|
|
@@ -33,3 +31,5 @@ export * from './TokenDto';
|
|
|
33
31
|
export * from './UpdateDomainInput';
|
|
34
32
|
export * from './UpdateSettings401Response';
|
|
35
33
|
export * from './UpdateSettings429Response';
|
|
34
|
+
export * from './WithFinancialDtoInner';
|
|
35
|
+
export * from './WithSettingsInner';
|