@randock/nameshift-api-client 0.0.92 → 0.0.94
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 +8 -6
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +10 -11
- package/dist/apis/AccountsApi.js +27 -30
- package/dist/apis/OrdersPublicApi.d.ts +12 -1
- package/dist/apis/OrdersPublicApi.js +44 -0
- 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/AddressDto.d.ts +61 -0
- package/dist/models/AddressDto.js +66 -0
- package/dist/models/CreateAccountPaymentProviderInput.d.ts +31 -0
- package/dist/models/CreateAccountPaymentProviderInput.js +46 -0
- package/dist/models/CreateLeadInput.d.ts +0 -6
- package/dist/models/CreateLeadInput.js +0 -4
- package/dist/models/CreateOrderInput.d.ts +0 -30
- package/dist/models/CreateOrderInput.js +0 -20
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +69 -0
- package/dist/models/{IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js → IntersectionAccountDtoWithSettingsDto.js} +14 -19
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +4 -0
- package/dist/models/OrderCheckoutSessionDto.d.ts +31 -0
- package/dist/models/OrderCheckoutSessionDto.js +46 -0
- package/dist/models/OrderDto.d.ts +12 -16
- package/dist/models/OrderDto.js +12 -14
- package/dist/models/OrderListItemDtoBuyerInformation.d.ts +4 -21
- package/dist/models/OrderListItemDtoBuyerInformation.js +3 -14
- package/dist/models/OrderTaxDto.d.ts +44 -0
- package/dist/models/OrderTaxDto.js +55 -0
- package/dist/models/PaymentProviderDto.d.ts +45 -0
- package/dist/models/PaymentProviderDto.js +58 -0
- package/dist/models/PublicLeadBuyerDto.d.ts +0 -6
- package/dist/models/PublicLeadBuyerDto.js +0 -4
- package/dist/models/UpdateLeadInput.d.ts +0 -6
- package/dist/models/UpdateLeadInput.js +0 -4
- package/dist/models/UpdateOrderInput.d.ts +0 -30
- package/dist/models/UpdateOrderInput.js +0 -20
- package/dist/models/index.d.ts +7 -6
- package/dist/models/index.js +7 -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 +40 -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/AddressDto.ts +106 -0
- package/src/models/CreateAccountPaymentProviderInput.ts +61 -0
- package/src/models/CreateLeadInput.ts +0 -9
- package/src/models/CreateOrderInput.ts +0 -45
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +128 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +9 -0
- package/src/models/OrderCheckoutSessionDto.ts +61 -0
- package/src/models/OrderDto.ts +30 -27
- package/src/models/OrderListItemDtoBuyerInformation.ts +12 -32
- package/src/models/OrderTaxDto.ts +86 -0
- package/src/models/PaymentProviderDto.ts +81 -0
- package/src/models/PublicLeadBuyerDto.ts +0 -9
- package/src/models/UpdateLeadInput.ts +0 -9
- package/src/models/UpdateOrderInput.ts +0 -45
- package/src/models/index.ts +7 -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,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
|
-
|