@randock/nameshift-api-client 0.0.312 → 0.0.313
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 +1 -1
- package/README.md +3 -3
- package/dist/models/IntersectionListAccountDtoWithAccountCommissionDto.d.ts +143 -0
- package/dist/models/{ListAccountDto.js → IntersectionListAccountDtoWithAccountCommissionDto.js} +21 -17
- package/dist/models/ListAccounts200Response.d.ts +3 -3
- package/dist/models/ListAccounts200Response.js +3 -3
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/models/{ListAccountDto.ts → IntersectionListAccountDtoWithAccountCommissionDto.ts} +42 -33
- package/src/models/ListAccounts200Response.ts +10 -10
- package/src/models/index.ts +1 -1
- package/dist/models/ListAccountDto.d.ts +0 -137
package/.openapi-generator/FILES
CHANGED
|
@@ -160,6 +160,7 @@ src/models/IntersectionDomainDtoWithSeoMetricsDto.ts
|
|
|
160
160
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
|
|
161
161
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts
|
|
162
162
|
src/models/IntersectionLeadDtoWithListFieldsDto.ts
|
|
163
|
+
src/models/IntersectionListAccountDtoWithAccountCommissionDto.ts
|
|
163
164
|
src/models/IntersectionTaskListTaskDto.ts
|
|
164
165
|
src/models/InvoiceDomainDto.ts
|
|
165
166
|
src/models/InvoiceDto.ts
|
|
@@ -188,7 +189,6 @@ src/models/List200Response.ts
|
|
|
188
189
|
src/models/List200Response1.ts
|
|
189
190
|
src/models/List200Response2.ts
|
|
190
191
|
src/models/List200Response3.ts
|
|
191
|
-
src/models/ListAccountDto.ts
|
|
192
192
|
src/models/ListAccountMetricsDto.ts
|
|
193
193
|
src/models/ListAccountUserDto.ts
|
|
194
194
|
src/models/ListAccounts200Response.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.313
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.313 --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
|
-
|
|
47
|
+
841a77f51c233112561312bd670db2432fa4b6e790164db9862c0eab19c2fa447fe28b8b0098dbdd6da5e10854af73af
|
|
@@ -0,0 +1,143 @@
|
|
|
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 { ListAccountMetricsDto } from './ListAccountMetricsDto';
|
|
13
|
+
import type { ListAccountUserDto } from './ListAccountUserDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface IntersectionListAccountDtoWithAccountCommissionDto
|
|
18
|
+
*/
|
|
19
|
+
export interface IntersectionListAccountDtoWithAccountCommissionDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
30
|
+
*/
|
|
31
|
+
alias: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
36
|
+
*/
|
|
37
|
+
aliasVerified: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
42
|
+
*/
|
|
43
|
+
onboardingProvider: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
48
|
+
*/
|
|
49
|
+
onboardingStatus: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
54
|
+
*/
|
|
55
|
+
payoutProvider: IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
60
|
+
*/
|
|
61
|
+
affiliateId: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
66
|
+
*/
|
|
67
|
+
identifier: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
72
|
+
*/
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
78
|
+
*/
|
|
79
|
+
name: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
84
|
+
*/
|
|
85
|
+
type: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {ListAccountMetricsDto}
|
|
89
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
90
|
+
*/
|
|
91
|
+
metrics: ListAccountMetricsDto;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {Date}
|
|
95
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
96
|
+
*/
|
|
97
|
+
lastOnline: Date;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<ListAccountUserDto>}
|
|
101
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
102
|
+
*/
|
|
103
|
+
users: Array<ListAccountUserDto>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
108
|
+
*/
|
|
109
|
+
commissionPercentage: number;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export declare const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum: {
|
|
115
|
+
readonly STRIPE: "stripe";
|
|
116
|
+
readonly SUMSUB: "sumsub";
|
|
117
|
+
};
|
|
118
|
+
export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum];
|
|
119
|
+
/**
|
|
120
|
+
* @export
|
|
121
|
+
*/
|
|
122
|
+
export declare const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum: {
|
|
123
|
+
readonly PENDING: "pending";
|
|
124
|
+
readonly ACTIVE: "active";
|
|
125
|
+
readonly REJECTED: "rejected";
|
|
126
|
+
};
|
|
127
|
+
export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum];
|
|
128
|
+
/**
|
|
129
|
+
* @export
|
|
130
|
+
*/
|
|
131
|
+
export declare const IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum: {
|
|
132
|
+
readonly STRIPE: "stripe";
|
|
133
|
+
readonly BANK_ACCOUNT: "bank_account";
|
|
134
|
+
};
|
|
135
|
+
export type IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum];
|
|
136
|
+
/**
|
|
137
|
+
* Check if a given object implements the IntersectionListAccountDtoWithAccountCommissionDto interface.
|
|
138
|
+
*/
|
|
139
|
+
export declare function instanceOfIntersectionListAccountDtoWithAccountCommissionDto(value: object): value is IntersectionListAccountDtoWithAccountCommissionDto;
|
|
140
|
+
export declare function IntersectionListAccountDtoWithAccountCommissionDtoFromJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto;
|
|
141
|
+
export declare function IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionListAccountDtoWithAccountCommissionDto;
|
|
142
|
+
export declare function IntersectionListAccountDtoWithAccountCommissionDtoToJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto;
|
|
143
|
+
export declare function IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(value?: IntersectionListAccountDtoWithAccountCommissionDto | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{ListAccountDto.js → IntersectionListAccountDtoWithAccountCommissionDto.js}
RENAMED
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = exports.IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = exports.IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = void 0;
|
|
17
|
+
exports.instanceOfIntersectionListAccountDtoWithAccountCommissionDto = instanceOfIntersectionListAccountDtoWithAccountCommissionDto;
|
|
18
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoFromJSON = IntersectionListAccountDtoWithAccountCommissionDtoFromJSON;
|
|
19
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped = IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped;
|
|
20
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoToJSON = IntersectionListAccountDtoWithAccountCommissionDtoToJSON;
|
|
21
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped = IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped;
|
|
22
22
|
var ListAccountMetricsDto_1 = require("./ListAccountMetricsDto");
|
|
23
23
|
var ListAccountUserDto_1 = require("./ListAccountUserDto");
|
|
24
24
|
/**
|
|
25
25
|
* @export
|
|
26
26
|
*/
|
|
27
|
-
exports.
|
|
27
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = {
|
|
28
28
|
STRIPE: 'stripe',
|
|
29
29
|
SUMSUB: 'sumsub'
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* @export
|
|
33
33
|
*/
|
|
34
|
-
exports.
|
|
34
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = {
|
|
35
35
|
PENDING: 'pending',
|
|
36
36
|
ACTIVE: 'active',
|
|
37
37
|
REJECTED: 'rejected'
|
|
@@ -39,14 +39,14 @@ exports.ListAccountDtoOnboardingStatusEnum = {
|
|
|
39
39
|
/**
|
|
40
40
|
* @export
|
|
41
41
|
*/
|
|
42
|
-
exports.
|
|
42
|
+
exports.IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = {
|
|
43
43
|
STRIPE: 'stripe',
|
|
44
44
|
BANK_ACCOUNT: 'bank_account'
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
|
-
* Check if a given object implements the
|
|
47
|
+
* Check if a given object implements the IntersectionListAccountDtoWithAccountCommissionDto interface.
|
|
48
48
|
*/
|
|
49
|
-
function
|
|
49
|
+
function instanceOfIntersectionListAccountDtoWithAccountCommissionDto(value) {
|
|
50
50
|
if (!('id' in value) || value['id'] === undefined)
|
|
51
51
|
return false;
|
|
52
52
|
if (!('alias' in value) || value['alias'] === undefined)
|
|
@@ -75,12 +75,14 @@ function instanceOfListAccountDto(value) {
|
|
|
75
75
|
return false;
|
|
76
76
|
if (!('users' in value) || value['users'] === undefined)
|
|
77
77
|
return false;
|
|
78
|
+
if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined)
|
|
79
|
+
return false;
|
|
78
80
|
return true;
|
|
79
81
|
}
|
|
80
|
-
function
|
|
81
|
-
return
|
|
82
|
+
function IntersectionListAccountDtoWithAccountCommissionDtoFromJSON(json) {
|
|
83
|
+
return IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json, false);
|
|
82
84
|
}
|
|
83
|
-
function
|
|
85
|
+
function IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
84
86
|
if (json == null) {
|
|
85
87
|
return json;
|
|
86
88
|
}
|
|
@@ -99,12 +101,13 @@ function ListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
99
101
|
'metrics': (0, ListAccountMetricsDto_1.ListAccountMetricsDtoFromJSON)(json['metrics']),
|
|
100
102
|
'lastOnline': (new Date(json['lastOnline'])),
|
|
101
103
|
'users': (json['users'].map(ListAccountUserDto_1.ListAccountUserDtoFromJSON)),
|
|
104
|
+
'commissionPercentage': json['commissionPercentage'],
|
|
102
105
|
};
|
|
103
106
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
107
|
+
function IntersectionListAccountDtoWithAccountCommissionDtoToJSON(json) {
|
|
108
|
+
return IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(json, false);
|
|
106
109
|
}
|
|
107
|
-
function
|
|
110
|
+
function IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
108
111
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
109
112
|
if (value == null) {
|
|
110
113
|
return value;
|
|
@@ -124,5 +127,6 @@ function ListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
124
127
|
'metrics': (0, ListAccountMetricsDto_1.ListAccountMetricsDtoToJSON)(value['metrics']),
|
|
125
128
|
'lastOnline': ((value['lastOnline']).toISOString()),
|
|
126
129
|
'users': (value['users'].map(ListAccountUserDto_1.ListAccountUserDtoToJSON)),
|
|
130
|
+
'commissionPercentage': value['commissionPercentage'],
|
|
127
131
|
};
|
|
128
132
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionListAccountDtoWithAccountCommissionDto } from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface ListAccounts200Response {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<IntersectionListAccountDtoWithAccountCommissionDto>}
|
|
24
24
|
* @memberof ListAccounts200Response
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<IntersectionListAccountDtoWithAccountCommissionDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.ListAccounts200ResponseFromJSONTyped = ListAccounts200ResponseFromJSONTy
|
|
|
19
19
|
exports.ListAccounts200ResponseToJSON = ListAccounts200ResponseToJSON;
|
|
20
20
|
exports.ListAccounts200ResponseToJSONTyped = ListAccounts200ResponseToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var IntersectionListAccountDtoWithAccountCommissionDto_1 = require("./IntersectionListAccountDtoWithAccountCommissionDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the ListAccounts200Response interface.
|
|
@@ -41,7 +41,7 @@ function ListAccounts200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(IntersectionListAccountDtoWithAccountCommissionDto_1.IntersectionListAccountDtoWithAccountCommissionDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function ListAccounts200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(IntersectionListAccountDtoWithAccountCommissionDto_1.IntersectionListAccountDtoWithAccountCommissionDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export * from './IntersectionDomainDtoWithSeoMetricsDto';
|
|
|
131
131
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
132
132
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
133
133
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
134
|
+
export * from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
134
135
|
export * from './IntersectionTaskListTaskDto';
|
|
135
136
|
export * from './InvoiceDomainDto';
|
|
136
137
|
export * from './InvoiceDto';
|
|
@@ -159,7 +160,6 @@ export * from './List200Response';
|
|
|
159
160
|
export * from './List200Response1';
|
|
160
161
|
export * from './List200Response2';
|
|
161
162
|
export * from './List200Response3';
|
|
162
|
-
export * from './ListAccountDto';
|
|
163
163
|
export * from './ListAccountMetricsDto';
|
|
164
164
|
export * from './ListAccountUserDto';
|
|
165
165
|
export * from './ListAccounts200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -149,6 +149,7 @@ __exportStar(require("./IntersectionDomainDtoWithSeoMetricsDto"), exports);
|
|
|
149
149
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
|
|
150
150
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto"), exports);
|
|
151
151
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
|
|
152
|
+
__exportStar(require("./IntersectionListAccountDtoWithAccountCommissionDto"), exports);
|
|
152
153
|
__exportStar(require("./IntersectionTaskListTaskDto"), exports);
|
|
153
154
|
__exportStar(require("./InvoiceDomainDto"), exports);
|
|
154
155
|
__exportStar(require("./InvoiceDto"), exports);
|
|
@@ -177,7 +178,6 @@ __exportStar(require("./List200Response"), exports);
|
|
|
177
178
|
__exportStar(require("./List200Response1"), exports);
|
|
178
179
|
__exportStar(require("./List200Response2"), exports);
|
|
179
180
|
__exportStar(require("./List200Response3"), exports);
|
|
180
|
-
__exportStar(require("./ListAccountDto"), exports);
|
|
181
181
|
__exportStar(require("./ListAccountMetricsDto"), exports);
|
|
182
182
|
__exportStar(require("./ListAccountUserDto"), exports);
|
|
183
183
|
__exportStar(require("./ListAccounts200Response"), exports);
|
package/package.json
CHANGED
package/src/models/{ListAccountDto.ts → IntersectionListAccountDtoWithAccountCommissionDto.ts}
RENAMED
|
@@ -31,129 +31,135 @@ import {
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
|
-
* @interface
|
|
34
|
+
* @interface IntersectionListAccountDtoWithAccountCommissionDto
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface IntersectionListAccountDtoWithAccountCommissionDto {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
41
41
|
*/
|
|
42
42
|
id: string;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
47
47
|
*/
|
|
48
48
|
alias: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {boolean}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
53
53
|
*/
|
|
54
54
|
aliasVerified: boolean;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
59
59
|
*/
|
|
60
|
-
onboardingProvider:
|
|
60
|
+
onboardingProvider: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
65
65
|
*/
|
|
66
|
-
onboardingStatus:
|
|
66
|
+
onboardingStatus: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
71
71
|
*/
|
|
72
|
-
payoutProvider:
|
|
72
|
+
payoutProvider: IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {string}
|
|
76
|
-
* @memberof
|
|
76
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
77
77
|
*/
|
|
78
78
|
affiliateId: string | null;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
82
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
83
83
|
*/
|
|
84
84
|
identifier: string;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {Date}
|
|
88
|
-
* @memberof
|
|
88
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
89
89
|
*/
|
|
90
90
|
createdAt: Date;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
94
|
-
* @memberof
|
|
94
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
95
95
|
*/
|
|
96
96
|
name: string | null;
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
99
|
* @type {string}
|
|
100
|
-
* @memberof
|
|
100
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
101
101
|
*/
|
|
102
102
|
type: string | null;
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
105
|
* @type {ListAccountMetricsDto}
|
|
106
|
-
* @memberof
|
|
106
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
107
107
|
*/
|
|
108
108
|
metrics: ListAccountMetricsDto;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
111
|
* @type {Date}
|
|
112
|
-
* @memberof
|
|
112
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
113
113
|
*/
|
|
114
114
|
lastOnline: Date;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @type {Array<ListAccountUserDto>}
|
|
118
|
-
* @memberof
|
|
118
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
119
119
|
*/
|
|
120
120
|
users: Array<ListAccountUserDto>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
125
|
+
*/
|
|
126
|
+
commissionPercentage: number;
|
|
121
127
|
}
|
|
122
128
|
|
|
123
129
|
|
|
124
130
|
/**
|
|
125
131
|
* @export
|
|
126
132
|
*/
|
|
127
|
-
export const
|
|
133
|
+
export const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = {
|
|
128
134
|
STRIPE: 'stripe',
|
|
129
135
|
SUMSUB: 'sumsub'
|
|
130
136
|
} as const;
|
|
131
|
-
export type
|
|
137
|
+
export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum];
|
|
132
138
|
|
|
133
139
|
/**
|
|
134
140
|
* @export
|
|
135
141
|
*/
|
|
136
|
-
export const
|
|
142
|
+
export const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = {
|
|
137
143
|
PENDING: 'pending',
|
|
138
144
|
ACTIVE: 'active',
|
|
139
145
|
REJECTED: 'rejected'
|
|
140
146
|
} as const;
|
|
141
|
-
export type
|
|
147
|
+
export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum];
|
|
142
148
|
|
|
143
149
|
/**
|
|
144
150
|
* @export
|
|
145
151
|
*/
|
|
146
|
-
export const
|
|
152
|
+
export const IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = {
|
|
147
153
|
STRIPE: 'stripe',
|
|
148
154
|
BANK_ACCOUNT: 'bank_account'
|
|
149
155
|
} as const;
|
|
150
|
-
export type
|
|
156
|
+
export type IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum];
|
|
151
157
|
|
|
152
158
|
|
|
153
159
|
/**
|
|
154
|
-
* Check if a given object implements the
|
|
160
|
+
* Check if a given object implements the IntersectionListAccountDtoWithAccountCommissionDto interface.
|
|
155
161
|
*/
|
|
156
|
-
export function
|
|
162
|
+
export function instanceOfIntersectionListAccountDtoWithAccountCommissionDto(value: object): value is IntersectionListAccountDtoWithAccountCommissionDto {
|
|
157
163
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
158
164
|
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
159
165
|
if (!('aliasVerified' in value) || value['aliasVerified'] === undefined) return false;
|
|
@@ -168,14 +174,15 @@ export function instanceOfListAccountDto(value: object): value is ListAccountDto
|
|
|
168
174
|
if (!('metrics' in value) || value['metrics'] === undefined) return false;
|
|
169
175
|
if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
|
|
170
176
|
if (!('users' in value) || value['users'] === undefined) return false;
|
|
177
|
+
if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined) return false;
|
|
171
178
|
return true;
|
|
172
179
|
}
|
|
173
180
|
|
|
174
|
-
export function
|
|
175
|
-
return
|
|
181
|
+
export function IntersectionListAccountDtoWithAccountCommissionDtoFromJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto {
|
|
182
|
+
return IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json, false);
|
|
176
183
|
}
|
|
177
184
|
|
|
178
|
-
export function
|
|
185
|
+
export function IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionListAccountDtoWithAccountCommissionDto {
|
|
179
186
|
if (json == null) {
|
|
180
187
|
return json;
|
|
181
188
|
}
|
|
@@ -195,14 +202,15 @@ export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
195
202
|
'metrics': ListAccountMetricsDtoFromJSON(json['metrics']),
|
|
196
203
|
'lastOnline': (new Date(json['lastOnline'])),
|
|
197
204
|
'users': ((json['users'] as Array<any>).map(ListAccountUserDtoFromJSON)),
|
|
205
|
+
'commissionPercentage': json['commissionPercentage'],
|
|
198
206
|
};
|
|
199
207
|
}
|
|
200
208
|
|
|
201
|
-
export function
|
|
202
|
-
return
|
|
209
|
+
export function IntersectionListAccountDtoWithAccountCommissionDtoToJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto {
|
|
210
|
+
return IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(json, false);
|
|
203
211
|
}
|
|
204
212
|
|
|
205
|
-
export function
|
|
213
|
+
export function IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(value?: IntersectionListAccountDtoWithAccountCommissionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
206
214
|
if (value == null) {
|
|
207
215
|
return value;
|
|
208
216
|
}
|
|
@@ -223,6 +231,7 @@ export function ListAccountDtoToJSONTyped(value?: ListAccountDto | null, ignoreD
|
|
|
223
231
|
'metrics': ListAccountMetricsDtoToJSON(value['metrics']),
|
|
224
232
|
'lastOnline': ((value['lastOnline']).toISOString()),
|
|
225
233
|
'users': ((value['users'] as Array<any>).map(ListAccountUserDtoToJSON)),
|
|
234
|
+
'commissionPercentage': value['commissionPercentage'],
|
|
226
235
|
};
|
|
227
236
|
}
|
|
228
237
|
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { IntersectionListAccountDtoWithAccountCommissionDto } from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
IntersectionListAccountDtoWithAccountCommissionDtoFromJSON,
|
|
26
|
+
IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped,
|
|
27
|
+
IntersectionListAccountDtoWithAccountCommissionDtoToJSON,
|
|
28
|
+
IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped,
|
|
29
|
+
} from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface ListAccounts200Response {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<IntersectionListAccountDtoWithAccountCommissionDto>}
|
|
47
47
|
* @memberof ListAccounts200Response
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<IntersectionListAccountDtoWithAccountCommissionDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function ListAccounts200ResponseFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(IntersectionListAccountDtoWithAccountCommissionDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function ListAccounts200ResponseToJSONTyped(value?: ListAccounts200Respon
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(IntersectionListAccountDtoWithAccountCommissionDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
package/src/models/index.ts
CHANGED
|
@@ -133,6 +133,7 @@ export * from './IntersectionDomainDtoWithSeoMetricsDto';
|
|
|
133
133
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
134
134
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
135
135
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
136
|
+
export * from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
136
137
|
export * from './IntersectionTaskListTaskDto';
|
|
137
138
|
export * from './InvoiceDomainDto';
|
|
138
139
|
export * from './InvoiceDto';
|
|
@@ -161,7 +162,6 @@ export * from './List200Response';
|
|
|
161
162
|
export * from './List200Response1';
|
|
162
163
|
export * from './List200Response2';
|
|
163
164
|
export * from './List200Response3';
|
|
164
|
-
export * from './ListAccountDto';
|
|
165
165
|
export * from './ListAccountMetricsDto';
|
|
166
166
|
export * from './ListAccountUserDto';
|
|
167
167
|
export * from './ListAccounts200Response';
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nameshift
|
|
3
|
-
* Nameshift API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ListAccountMetricsDto } from './ListAccountMetricsDto';
|
|
13
|
-
import type { ListAccountUserDto } from './ListAccountUserDto';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ListAccountDto
|
|
18
|
-
*/
|
|
19
|
-
export interface ListAccountDto {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ListAccountDto
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ListAccountDto
|
|
30
|
-
*/
|
|
31
|
-
alias: string | null;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @memberof ListAccountDto
|
|
36
|
-
*/
|
|
37
|
-
aliasVerified: boolean;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ListAccountDto
|
|
42
|
-
*/
|
|
43
|
-
onboardingProvider: ListAccountDtoOnboardingProviderEnum;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ListAccountDto
|
|
48
|
-
*/
|
|
49
|
-
onboardingStatus: ListAccountDtoOnboardingStatusEnum;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ListAccountDto
|
|
54
|
-
*/
|
|
55
|
-
payoutProvider: ListAccountDtoPayoutProviderEnum;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof ListAccountDto
|
|
60
|
-
*/
|
|
61
|
-
affiliateId: string | null;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ListAccountDto
|
|
66
|
-
*/
|
|
67
|
-
identifier: string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Date}
|
|
71
|
-
* @memberof ListAccountDto
|
|
72
|
-
*/
|
|
73
|
-
createdAt: Date;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof ListAccountDto
|
|
78
|
-
*/
|
|
79
|
-
name: string | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof ListAccountDto
|
|
84
|
-
*/
|
|
85
|
-
type: string | null;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {ListAccountMetricsDto}
|
|
89
|
-
* @memberof ListAccountDto
|
|
90
|
-
*/
|
|
91
|
-
metrics: ListAccountMetricsDto;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {Date}
|
|
95
|
-
* @memberof ListAccountDto
|
|
96
|
-
*/
|
|
97
|
-
lastOnline: Date;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Array<ListAccountUserDto>}
|
|
101
|
-
* @memberof ListAccountDto
|
|
102
|
-
*/
|
|
103
|
-
users: Array<ListAccountUserDto>;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* @export
|
|
107
|
-
*/
|
|
108
|
-
export declare const ListAccountDtoOnboardingProviderEnum: {
|
|
109
|
-
readonly STRIPE: "stripe";
|
|
110
|
-
readonly SUMSUB: "sumsub";
|
|
111
|
-
};
|
|
112
|
-
export type ListAccountDtoOnboardingProviderEnum = typeof ListAccountDtoOnboardingProviderEnum[keyof typeof ListAccountDtoOnboardingProviderEnum];
|
|
113
|
-
/**
|
|
114
|
-
* @export
|
|
115
|
-
*/
|
|
116
|
-
export declare const ListAccountDtoOnboardingStatusEnum: {
|
|
117
|
-
readonly PENDING: "pending";
|
|
118
|
-
readonly ACTIVE: "active";
|
|
119
|
-
readonly REJECTED: "rejected";
|
|
120
|
-
};
|
|
121
|
-
export type ListAccountDtoOnboardingStatusEnum = typeof ListAccountDtoOnboardingStatusEnum[keyof typeof ListAccountDtoOnboardingStatusEnum];
|
|
122
|
-
/**
|
|
123
|
-
* @export
|
|
124
|
-
*/
|
|
125
|
-
export declare const ListAccountDtoPayoutProviderEnum: {
|
|
126
|
-
readonly STRIPE: "stripe";
|
|
127
|
-
readonly BANK_ACCOUNT: "bank_account";
|
|
128
|
-
};
|
|
129
|
-
export type ListAccountDtoPayoutProviderEnum = typeof ListAccountDtoPayoutProviderEnum[keyof typeof ListAccountDtoPayoutProviderEnum];
|
|
130
|
-
/**
|
|
131
|
-
* Check if a given object implements the ListAccountDto interface.
|
|
132
|
-
*/
|
|
133
|
-
export declare function instanceOfListAccountDto(value: object): value is ListAccountDto;
|
|
134
|
-
export declare function ListAccountDtoFromJSON(json: any): ListAccountDto;
|
|
135
|
-
export declare function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountDto;
|
|
136
|
-
export declare function ListAccountDtoToJSON(json: any): ListAccountDto;
|
|
137
|
-
export declare function ListAccountDtoToJSONTyped(value?: ListAccountDto | null, ignoreDiscriminator?: boolean): any;
|