@randock/nameshift-api-client 0.0.91 → 0.0.93
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 +5 -6
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +10 -11
- package/dist/apis/AccountsApi.js +27 -30
- package/dist/apis/StripePublicApi.d.ts +28 -0
- package/dist/apis/StripePublicApi.js +124 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountDto.d.ts +7 -0
- package/dist/models/AccountDto.js +5 -0
- package/dist/models/AccountPaymentProviderSessionDto.d.ts +31 -0
- package/dist/models/AccountPaymentProviderSessionDto.js +46 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
- package/dist/models/BuyerLeadListItemDto.js +4 -0
- package/dist/models/CreateAccountPaymentProviderInput.d.ts +31 -0
- package/dist/models/CreateAccountPaymentProviderInput.js +46 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +69 -0
- package/dist/models/{IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js → IntersectionAccountDtoWithSettingsDto.js} +14 -19
- package/dist/models/PaymentProviderDto.d.ts +45 -0
- package/dist/models/PaymentProviderDto.js +58 -0
- package/dist/models/index.d.ts +4 -6
- package/dist/models/index.js +4 -6
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +44 -54
- package/src/apis/AccountsPublicApi.ts +0 -3
- package/src/apis/AdminApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/BuyersPublicApi.ts +0 -3
- package/src/apis/DashboardApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/LeadsApi.ts +0 -3
- package/src/apis/LeadsPublicApi.ts +0 -3
- package/src/apis/OrdersPublicApi.ts +0 -3
- package/src/apis/StripePublicApi.ts +70 -0
- package/src/apis/UsersApi.ts +0 -3
- package/src/apis/UsersPublicApi.ts +0 -3
- package/src/apis/index.ts +1 -0
- package/src/models/AccountDto.ts +16 -0
- package/src/models/AccountPaymentProviderSessionDto.ts +61 -0
- package/src/models/BuyerLeadListItemDto.ts +9 -0
- package/src/models/CreateAccountPaymentProviderInput.ts +61 -0
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +128 -0
- package/src/models/PaymentProviderDto.ts +81 -0
- package/src/models/index.ts +4 -6
- package/dist/models/AccountAddressDto.d.ts +0 -68
- package/dist/models/AccountAddressDto.js +0 -71
- package/dist/models/AccountAddressInput.d.ts +0 -68
- package/dist/models/AccountAddressInput.js +0 -71
- package/dist/models/AccountFinancialInput.d.ts +0 -49
- package/dist/models/AccountFinancialInput.js +0 -58
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +0 -76
- package/dist/models/ThrottlerException.d.ts +0 -43
- package/dist/models/ThrottlerException.js +0 -54
- package/dist/models/WithFinancialDtoInner.d.ts +0 -49
- package/dist/models/WithFinancialDtoInner.js +0 -58
- package/src/models/AccountAddressDto.ts +0 -115
- package/src/models/AccountAddressInput.ts +0 -115
- package/src/models/AccountFinancialInput.ts +0 -88
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +0 -143
- package/src/models/ThrottlerException.ts +0 -79
- package/src/models/WithFinancialDtoInner.ts +0 -88
|
@@ -1,58 +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.instanceOfWithFinancialDtoInner = instanceOfWithFinancialDtoInner;
|
|
17
|
-
exports.WithFinancialDtoInnerFromJSON = WithFinancialDtoInnerFromJSON;
|
|
18
|
-
exports.WithFinancialDtoInnerFromJSONTyped = WithFinancialDtoInnerFromJSONTyped;
|
|
19
|
-
exports.WithFinancialDtoInnerToJSON = WithFinancialDtoInnerToJSON;
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the WithFinancialDtoInner interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfWithFinancialDtoInner(value) {
|
|
24
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('companyRegistrationNumber' in value) || value['companyRegistrationNumber'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function WithFinancialDtoInnerFromJSON(json) {
|
|
35
|
-
return WithFinancialDtoInnerFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function WithFinancialDtoInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'company': json['company'],
|
|
43
|
-
'companyName': json['companyName'],
|
|
44
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
45
|
-
'companyRegistrationNumber': json['companyRegistrationNumber'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
function WithFinancialDtoInnerToJSON(value) {
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'company': value['company'],
|
|
54
|
-
'companyName': value['companyName'],
|
|
55
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
56
|
-
'companyRegistrationNumber': value['companyRegistrationNumber'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
@@ -1,115 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AccountAddressDto
|
|
20
|
-
*/
|
|
21
|
-
export interface AccountAddressDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AccountAddressDto
|
|
26
|
-
*/
|
|
27
|
-
type: AccountAddressDtoTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AccountAddressDto
|
|
32
|
-
*/
|
|
33
|
-
address: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AccountAddressDto
|
|
38
|
-
*/
|
|
39
|
-
postalCode: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AccountAddressDto
|
|
44
|
-
*/
|
|
45
|
-
city: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AccountAddressDto
|
|
50
|
-
*/
|
|
51
|
-
state?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof AccountAddressDto
|
|
56
|
-
*/
|
|
57
|
-
country: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export const AccountAddressDtoTypeEnum = {
|
|
65
|
-
BILLING: 'billing'
|
|
66
|
-
} as const;
|
|
67
|
-
export type AccountAddressDtoTypeEnum = typeof AccountAddressDtoTypeEnum[keyof typeof AccountAddressDtoTypeEnum];
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the AccountAddressDto interface.
|
|
72
|
-
*/
|
|
73
|
-
export function instanceOfAccountAddressDto(value: object): value is AccountAddressDto {
|
|
74
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
75
|
-
if (!('address' in value) || value['address'] === undefined) return false;
|
|
76
|
-
if (!('postalCode' in value) || value['postalCode'] === undefined) return false;
|
|
77
|
-
if (!('city' in value) || value['city'] === undefined) return false;
|
|
78
|
-
if (!('country' in value) || value['country'] === undefined) return false;
|
|
79
|
-
return true;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function AccountAddressDtoFromJSON(json: any): AccountAddressDto {
|
|
83
|
-
return AccountAddressDtoFromJSONTyped(json, false);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function AccountAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressDto {
|
|
87
|
-
if (json == null) {
|
|
88
|
-
return json;
|
|
89
|
-
}
|
|
90
|
-
return {
|
|
91
|
-
|
|
92
|
-
'type': json['type'],
|
|
93
|
-
'address': json['address'],
|
|
94
|
-
'postalCode': json['postalCode'],
|
|
95
|
-
'city': json['city'],
|
|
96
|
-
'state': json['state'] == null ? undefined : json['state'],
|
|
97
|
-
'country': json['country'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export function AccountAddressDtoToJSON(value?: AccountAddressDto | null): any {
|
|
102
|
-
if (value == null) {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
return {
|
|
106
|
-
|
|
107
|
-
'type': value['type'],
|
|
108
|
-
'address': value['address'],
|
|
109
|
-
'postalCode': value['postalCode'],
|
|
110
|
-
'city': value['city'],
|
|
111
|
-
'state': value['state'],
|
|
112
|
-
'country': value['country'],
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
|
|
@@ -1,115 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AccountAddressInput
|
|
20
|
-
*/
|
|
21
|
-
export interface AccountAddressInput {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AccountAddressInput
|
|
26
|
-
*/
|
|
27
|
-
type: AccountAddressInputTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AccountAddressInput
|
|
32
|
-
*/
|
|
33
|
-
address: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AccountAddressInput
|
|
38
|
-
*/
|
|
39
|
-
postalCode: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AccountAddressInput
|
|
44
|
-
*/
|
|
45
|
-
city: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AccountAddressInput
|
|
50
|
-
*/
|
|
51
|
-
state?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof AccountAddressInput
|
|
56
|
-
*/
|
|
57
|
-
country: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export const AccountAddressInputTypeEnum = {
|
|
65
|
-
BILLING: 'billing'
|
|
66
|
-
} as const;
|
|
67
|
-
export type AccountAddressInputTypeEnum = typeof AccountAddressInputTypeEnum[keyof typeof AccountAddressInputTypeEnum];
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the AccountAddressInput interface.
|
|
72
|
-
*/
|
|
73
|
-
export function instanceOfAccountAddressInput(value: object): value is AccountAddressInput {
|
|
74
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
75
|
-
if (!('address' in value) || value['address'] === undefined) return false;
|
|
76
|
-
if (!('postalCode' in value) || value['postalCode'] === undefined) return false;
|
|
77
|
-
if (!('city' in value) || value['city'] === undefined) return false;
|
|
78
|
-
if (!('country' in value) || value['country'] === undefined) return false;
|
|
79
|
-
return true;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function AccountAddressInputFromJSON(json: any): AccountAddressInput {
|
|
83
|
-
return AccountAddressInputFromJSONTyped(json, false);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function AccountAddressInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressInput {
|
|
87
|
-
if (json == null) {
|
|
88
|
-
return json;
|
|
89
|
-
}
|
|
90
|
-
return {
|
|
91
|
-
|
|
92
|
-
'type': json['type'],
|
|
93
|
-
'address': json['address'],
|
|
94
|
-
'postalCode': json['postalCode'],
|
|
95
|
-
'city': json['city'],
|
|
96
|
-
'state': json['state'] == null ? undefined : json['state'],
|
|
97
|
-
'country': json['country'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export function AccountAddressInputToJSON(value?: AccountAddressInput | null): any {
|
|
102
|
-
if (value == null) {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
return {
|
|
106
|
-
|
|
107
|
-
'type': value['type'],
|
|
108
|
-
'address': value['address'],
|
|
109
|
-
'postalCode': value['postalCode'],
|
|
110
|
-
'city': value['city'],
|
|
111
|
-
'state': value['state'],
|
|
112
|
-
'country': value['country'],
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
|
|
@@ -1,88 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AccountFinancialInput
|
|
20
|
-
*/
|
|
21
|
-
export interface AccountFinancialInput {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AccountFinancialInput
|
|
26
|
-
*/
|
|
27
|
-
companyName: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AccountFinancialInput
|
|
32
|
-
*/
|
|
33
|
-
companyVatNumber: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AccountFinancialInput
|
|
38
|
-
*/
|
|
39
|
-
companyRegistrationNumber: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof AccountFinancialInput
|
|
44
|
-
*/
|
|
45
|
-
company: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the AccountFinancialInput interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfAccountFinancialInput(value: object): value is AccountFinancialInput {
|
|
52
|
-
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
53
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
54
|
-
if (!('companyRegistrationNumber' in value) || value['companyRegistrationNumber'] === undefined) return false;
|
|
55
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function AccountFinancialInputFromJSON(json: any): AccountFinancialInput {
|
|
60
|
-
return AccountFinancialInputFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function AccountFinancialInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountFinancialInput {
|
|
64
|
-
if (json == null) {
|
|
65
|
-
return json;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'companyName': json['companyName'],
|
|
70
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
71
|
-
'companyRegistrationNumber': json['companyRegistrationNumber'],
|
|
72
|
-
'company': json['company'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function AccountFinancialInputToJSON(value?: AccountFinancialInput | null): any {
|
|
77
|
-
if (value == null) {
|
|
78
|
-
return value;
|
|
79
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
|
|
82
|
-
'companyName': value['companyName'],
|
|
83
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
84
|
-
'companyRegistrationNumber': value['companyRegistrationNumber'],
|
|
85
|
-
'company': value['company'],
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
|
|
@@ -1,143 +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 { WithSettingsInner } from './WithSettingsInner';
|
|
17
|
-
import {
|
|
18
|
-
WithSettingsInnerFromJSON,
|
|
19
|
-
WithSettingsInnerFromJSONTyped,
|
|
20
|
-
WithSettingsInnerToJSON,
|
|
21
|
-
} from './WithSettingsInner';
|
|
22
|
-
import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
|
|
23
|
-
import {
|
|
24
|
-
WithFinancialDtoInnerFromJSON,
|
|
25
|
-
WithFinancialDtoInnerFromJSONTyped,
|
|
26
|
-
WithFinancialDtoInnerToJSON,
|
|
27
|
-
} from './WithFinancialDtoInner';
|
|
28
|
-
import type { AccountAddressDto } from './AccountAddressDto';
|
|
29
|
-
import {
|
|
30
|
-
AccountAddressDtoFromJSON,
|
|
31
|
-
AccountAddressDtoFromJSONTyped,
|
|
32
|
-
AccountAddressDtoToJSON,
|
|
33
|
-
} from './AccountAddressDto';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
39
|
-
*/
|
|
40
|
-
export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
45
|
-
*/
|
|
46
|
-
id: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
51
|
-
*/
|
|
52
|
-
identifier: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
57
|
-
*/
|
|
58
|
-
name: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
63
|
-
*/
|
|
64
|
-
activeDomainTransfersNumber: number;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
69
|
-
*/
|
|
70
|
-
activeLeadsNumber: number;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {WithFinancialDtoInner}
|
|
74
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
75
|
-
*/
|
|
76
|
-
financial: WithFinancialDtoInner;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {WithSettingsInner}
|
|
80
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
81
|
-
*/
|
|
82
|
-
settings: WithSettingsInner;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Array<AccountAddressDto>}
|
|
86
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
87
|
-
*/
|
|
88
|
-
addresses: Array<AccountAddressDto>;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Check if a given object implements the IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto interface.
|
|
93
|
-
*/
|
|
94
|
-
export function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto(value: object): value is IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto {
|
|
95
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
96
|
-
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
97
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
98
|
-
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
|
|
99
|
-
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
|
|
100
|
-
if (!('financial' in value) || value['financial'] === undefined) return false;
|
|
101
|
-
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
102
|
-
if (!('addresses' in value) || value['addresses'] === undefined) return false;
|
|
103
|
-
return true;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON(json: any): IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto {
|
|
107
|
-
return IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto {
|
|
111
|
-
if (json == null) {
|
|
112
|
-
return json;
|
|
113
|
-
}
|
|
114
|
-
return {
|
|
115
|
-
|
|
116
|
-
'id': json['id'],
|
|
117
|
-
'identifier': json['identifier'],
|
|
118
|
-
'name': json['name'],
|
|
119
|
-
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
120
|
-
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
121
|
-
'financial': WithFinancialDtoInnerFromJSON(json['financial']),
|
|
122
|
-
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
123
|
-
'addresses': ((json['addresses'] as Array<any>).map(AccountAddressDtoFromJSON)),
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON(value?: IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto | null): any {
|
|
128
|
-
if (value == null) {
|
|
129
|
-
return value;
|
|
130
|
-
}
|
|
131
|
-
return {
|
|
132
|
-
|
|
133
|
-
'id': value['id'],
|
|
134
|
-
'identifier': value['identifier'],
|
|
135
|
-
'name': value['name'],
|
|
136
|
-
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
137
|
-
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
138
|
-
'financial': WithFinancialDtoInnerToJSON(value['financial']),
|
|
139
|
-
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
140
|
-
'addresses': ((value['addresses'] as Array<any>).map(AccountAddressDtoToJSON)),
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
|
|
@@ -1,79 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ThrottlerException
|
|
20
|
-
*/
|
|
21
|
-
export interface ThrottlerException {
|
|
22
|
-
/**
|
|
23
|
-
* Exception name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ThrottlerException
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* http status code
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof ThrottlerException
|
|
32
|
-
*/
|
|
33
|
-
statusCode: number;
|
|
34
|
-
/**
|
|
35
|
-
* error message
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ThrottlerException
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the ThrottlerException interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfThrottlerException(value: object): value is ThrottlerException {
|
|
46
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
-
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
48
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ThrottlerExceptionFromJSON(json: any): ThrottlerException {
|
|
53
|
-
return ThrottlerExceptionFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ThrottlerExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThrottlerException {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'statusCode': json['statusCode'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function ThrottlerExceptionToJSON(value?: ThrottlerException | null): any {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'name': value['name'],
|
|
75
|
-
'statusCode': value['statusCode'],
|
|
76
|
-
'message': value['message'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
@@ -1,88 +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
|
-
/**
|
|
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): value is WithFinancialDtoInner {
|
|
52
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
53
|
-
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
54
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
55
|
-
if (!('companyRegistrationNumber' in value) || value['companyRegistrationNumber'] === undefined) return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function WithFinancialDtoInnerFromJSON(json: any): WithFinancialDtoInner {
|
|
60
|
-
return WithFinancialDtoInnerFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function WithFinancialDtoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithFinancialDtoInner {
|
|
64
|
-
if (json == null) {
|
|
65
|
-
return json;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'company': json['company'],
|
|
70
|
-
'companyName': json['companyName'],
|
|
71
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
72
|
-
'companyRegistrationNumber': json['companyRegistrationNumber'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function WithFinancialDtoInnerToJSON(value?: WithFinancialDtoInner | null): any {
|
|
77
|
-
if (value == null) {
|
|
78
|
-
return value;
|
|
79
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
|
|
82
|
-
'company': value['company'],
|
|
83
|
-
'companyName': value['companyName'],
|
|
84
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
85
|
-
'companyRegistrationNumber': value['companyRegistrationNumber'],
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
|