@randock/nameshift-api-client 0.0.311 → 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.
@@ -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.311
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.311 --save
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
- 0c28e53b9d8f4f78c4a00ae06fee14d8201eb765eaa244817679d0de72e297a3c0cf021de84625e0b497f78fc9386599
47
+ 841a77f51c233112561312bd670db2432fa4b6e790164db9862c0eab19c2fa447fe28b8b0098dbdd6da5e10854af73af
@@ -97,6 +97,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
97
97
  readonly SEO_METRICS: "SEO_METRICS";
98
98
  readonly BANK_PAYOUTS: "BANK_PAYOUTS";
99
99
  readonly ZERO_COMMISSION: "ZERO_COMMISSION";
100
+ readonly COMMISSION_7_5: "COMMISSION_7_5";
100
101
  readonly LEAD_PRICE_NEGOTIATOR_AI_AGENT: "LEAD_PRICE_NEGOTIATOR_AI_AGENT";
101
102
  readonly AFFILIATE_PROGRAM: "AFFILIATE_PROGRAM";
102
103
  readonly DOMAIN_AFFILIATE_PROGRAM: "DOMAIN_AFFILIATE_PROGRAM";
@@ -34,6 +34,7 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
34
34
  SEO_METRICS: 'SEO_METRICS',
35
35
  BANK_PAYOUTS: 'BANK_PAYOUTS',
36
36
  ZERO_COMMISSION: 'ZERO_COMMISSION',
37
+ COMMISSION_7_5: 'COMMISSION_7_5',
37
38
  LEAD_PRICE_NEGOTIATOR_AI_AGENT: 'LEAD_PRICE_NEGOTIATOR_AI_AGENT',
38
39
  AFFILIATE_PROGRAM: 'AFFILIATE_PROGRAM',
39
40
  DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
@@ -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;
@@ -13,25 +13,25 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ListAccountDtoPayoutProviderEnum = exports.ListAccountDtoOnboardingStatusEnum = exports.ListAccountDtoOnboardingProviderEnum = void 0;
17
- exports.instanceOfListAccountDto = instanceOfListAccountDto;
18
- exports.ListAccountDtoFromJSON = ListAccountDtoFromJSON;
19
- exports.ListAccountDtoFromJSONTyped = ListAccountDtoFromJSONTyped;
20
- exports.ListAccountDtoToJSON = ListAccountDtoToJSON;
21
- exports.ListAccountDtoToJSONTyped = ListAccountDtoToJSONTyped;
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.ListAccountDtoOnboardingProviderEnum = {
27
+ exports.IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = {
28
28
  STRIPE: 'stripe',
29
29
  SUMSUB: 'sumsub'
30
30
  };
31
31
  /**
32
32
  * @export
33
33
  */
34
- exports.ListAccountDtoOnboardingStatusEnum = {
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.ListAccountDtoPayoutProviderEnum = {
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 ListAccountDto interface.
47
+ * Check if a given object implements the IntersectionListAccountDtoWithAccountCommissionDto interface.
48
48
  */
49
- function instanceOfListAccountDto(value) {
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 ListAccountDtoFromJSON(json) {
81
- return ListAccountDtoFromJSONTyped(json, false);
82
+ function IntersectionListAccountDtoWithAccountCommissionDtoFromJSON(json) {
83
+ return IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json, false);
82
84
  }
83
- function ListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
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 ListAccountDtoToJSON(json) {
105
- return ListAccountDtoToJSONTyped(json, false);
107
+ function IntersectionListAccountDtoWithAccountCommissionDtoToJSON(json) {
108
+ return IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(json, false);
106
109
  }
107
- function ListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
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 { ListAccountDto } from './ListAccountDto';
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<ListAccountDto>}
23
+ * @type {Array<IntersectionListAccountDtoWithAccountCommissionDto>}
24
24
  * @memberof ListAccounts200Response
25
25
  */
26
- data: Array<ListAccountDto>;
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 ListAccountDto_1 = require("./ListAccountDto");
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(ListAccountDto_1.ListAccountDtoFromJSON)),
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(ListAccountDto_1.ListAccountDtoToJSON)),
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
  };
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.311",
3
+ "version": "0.0.313",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -140,6 +140,7 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
140
140
  SEO_METRICS: 'SEO_METRICS',
141
141
  BANK_PAYOUTS: 'BANK_PAYOUTS',
142
142
  ZERO_COMMISSION: 'ZERO_COMMISSION',
143
+ COMMISSION_7_5: 'COMMISSION_7_5',
143
144
  LEAD_PRICE_NEGOTIATOR_AI_AGENT: 'LEAD_PRICE_NEGOTIATOR_AI_AGENT',
144
145
  AFFILIATE_PROGRAM: 'AFFILIATE_PROGRAM',
145
146
  DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
@@ -31,129 +31,135 @@ import {
31
31
  /**
32
32
  *
33
33
  * @export
34
- * @interface ListAccountDto
34
+ * @interface IntersectionListAccountDtoWithAccountCommissionDto
35
35
  */
36
- export interface ListAccountDto {
36
+ export interface IntersectionListAccountDtoWithAccountCommissionDto {
37
37
  /**
38
38
  *
39
39
  * @type {string}
40
- * @memberof ListAccountDto
40
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
41
41
  */
42
42
  id: string;
43
43
  /**
44
44
  *
45
45
  * @type {string}
46
- * @memberof ListAccountDto
46
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
47
47
  */
48
48
  alias: string | null;
49
49
  /**
50
50
  *
51
51
  * @type {boolean}
52
- * @memberof ListAccountDto
52
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
53
53
  */
54
54
  aliasVerified: boolean;
55
55
  /**
56
56
  *
57
57
  * @type {string}
58
- * @memberof ListAccountDto
58
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
59
59
  */
60
- onboardingProvider: ListAccountDtoOnboardingProviderEnum;
60
+ onboardingProvider: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum;
61
61
  /**
62
62
  *
63
63
  * @type {string}
64
- * @memberof ListAccountDto
64
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
65
65
  */
66
- onboardingStatus: ListAccountDtoOnboardingStatusEnum;
66
+ onboardingStatus: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum;
67
67
  /**
68
68
  *
69
69
  * @type {string}
70
- * @memberof ListAccountDto
70
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
71
71
  */
72
- payoutProvider: ListAccountDtoPayoutProviderEnum;
72
+ payoutProvider: IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum;
73
73
  /**
74
74
  *
75
75
  * @type {string}
76
- * @memberof ListAccountDto
76
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
77
77
  */
78
78
  affiliateId: string | null;
79
79
  /**
80
80
  *
81
81
  * @type {string}
82
- * @memberof ListAccountDto
82
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
83
83
  */
84
84
  identifier: string;
85
85
  /**
86
86
  *
87
87
  * @type {Date}
88
- * @memberof ListAccountDto
88
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
89
89
  */
90
90
  createdAt: Date;
91
91
  /**
92
92
  *
93
93
  * @type {string}
94
- * @memberof ListAccountDto
94
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
95
95
  */
96
96
  name: string | null;
97
97
  /**
98
98
  *
99
99
  * @type {string}
100
- * @memberof ListAccountDto
100
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
101
101
  */
102
102
  type: string | null;
103
103
  /**
104
104
  *
105
105
  * @type {ListAccountMetricsDto}
106
- * @memberof ListAccountDto
106
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
107
107
  */
108
108
  metrics: ListAccountMetricsDto;
109
109
  /**
110
110
  *
111
111
  * @type {Date}
112
- * @memberof ListAccountDto
112
+ * @memberof IntersectionListAccountDtoWithAccountCommissionDto
113
113
  */
114
114
  lastOnline: Date;
115
115
  /**
116
116
  *
117
117
  * @type {Array<ListAccountUserDto>}
118
- * @memberof ListAccountDto
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 ListAccountDtoOnboardingProviderEnum = {
133
+ export const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = {
128
134
  STRIPE: 'stripe',
129
135
  SUMSUB: 'sumsub'
130
136
  } as const;
131
- export type ListAccountDtoOnboardingProviderEnum = typeof ListAccountDtoOnboardingProviderEnum[keyof typeof ListAccountDtoOnboardingProviderEnum];
137
+ export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum];
132
138
 
133
139
  /**
134
140
  * @export
135
141
  */
136
- export const ListAccountDtoOnboardingStatusEnum = {
142
+ export const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = {
137
143
  PENDING: 'pending',
138
144
  ACTIVE: 'active',
139
145
  REJECTED: 'rejected'
140
146
  } as const;
141
- export type ListAccountDtoOnboardingStatusEnum = typeof ListAccountDtoOnboardingStatusEnum[keyof typeof ListAccountDtoOnboardingStatusEnum];
147
+ export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum];
142
148
 
143
149
  /**
144
150
  * @export
145
151
  */
146
- export const ListAccountDtoPayoutProviderEnum = {
152
+ export const IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = {
147
153
  STRIPE: 'stripe',
148
154
  BANK_ACCOUNT: 'bank_account'
149
155
  } as const;
150
- export type ListAccountDtoPayoutProviderEnum = typeof ListAccountDtoPayoutProviderEnum[keyof typeof ListAccountDtoPayoutProviderEnum];
156
+ export type IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum];
151
157
 
152
158
 
153
159
  /**
154
- * Check if a given object implements the ListAccountDto interface.
160
+ * Check if a given object implements the IntersectionListAccountDtoWithAccountCommissionDto interface.
155
161
  */
156
- export function instanceOfListAccountDto(value: object): value is ListAccountDto {
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 ListAccountDtoFromJSON(json: any): ListAccountDto {
175
- return ListAccountDtoFromJSONTyped(json, false);
181
+ export function IntersectionListAccountDtoWithAccountCommissionDtoFromJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto {
182
+ return IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json, false);
176
183
  }
177
184
 
178
- export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountDto {
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 ListAccountDtoToJSON(json: any): ListAccountDto {
202
- return ListAccountDtoToJSONTyped(json, false);
209
+ export function IntersectionListAccountDtoWithAccountCommissionDtoToJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto {
210
+ return IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(json, false);
203
211
  }
204
212
 
205
- export function ListAccountDtoToJSONTyped(value?: ListAccountDto | null, ignoreDiscriminator: boolean = false): any {
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 { ListAccountDto } from './ListAccountDto';
23
+ import type { IntersectionListAccountDtoWithAccountCommissionDto } from './IntersectionListAccountDtoWithAccountCommissionDto';
24
24
  import {
25
- ListAccountDtoFromJSON,
26
- ListAccountDtoFromJSONTyped,
27
- ListAccountDtoToJSON,
28
- ListAccountDtoToJSONTyped,
29
- } from './ListAccountDto';
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<ListAccountDto>}
46
+ * @type {Array<IntersectionListAccountDtoWithAccountCommissionDto>}
47
47
  * @memberof ListAccounts200Response
48
48
  */
49
- data: Array<ListAccountDto>;
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(ListAccountDtoFromJSON)),
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(ListAccountDtoToJSON)),
101
+ 'data': ((value['data'] as Array<any>).map(IntersectionListAccountDtoWithAccountCommissionDtoToJSON)),
102
102
  'meta': PaginateResponseMetaToJSON(value['meta']),
103
103
  'links': PaginateResponseLinksToJSON(value['links']),
104
104
  };
@@ -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;