@iblai/iblai-api 4.190.1-core → 4.191.0-core
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/dist/types/index.d.ts +1 -0
- package/dist/types/models/ItemTypeCommission.d.ts +17 -0
- package/dist/types/models/StripeConnectStatus.d.ts +2 -1
- package/package.json +1 -1
- package/sdk_schema.yml +21 -2
- package/src/index.ts +1 -0
- package/src/models/ItemTypeCommission.ts +22 -0
- package/src/models/StripeConnectStatus.ts +2 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -160,6 +160,7 @@ export type { Issuer } from './models/Issuer';
|
|
|
160
160
|
export type { IssuerAuthority } from './models/IssuerAuthority';
|
|
161
161
|
export type { ItemAccessCheckResponse } from './models/ItemAccessCheckResponse';
|
|
162
162
|
export { ItemAccessCheckResponseItemTypeEnum } from './models/ItemAccessCheckResponseItemTypeEnum';
|
|
163
|
+
export type { ItemTypeCommission } from './models/ItemTypeCommission';
|
|
163
164
|
export type { LauncherViewPostRequest } from './models/LauncherViewPostRequest';
|
|
164
165
|
export type { LearnerAnalyticsResponse } from './models/LearnerAnalyticsResponse';
|
|
165
166
|
export type { LearnerAnalyticsResult } from './models/LearnerAnalyticsResult';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Commission percentages keyed by item type.
|
|
3
|
+
*/
|
|
4
|
+
export type ItemTypeCommission = {
|
|
5
|
+
/**
|
|
6
|
+
* Commission percentage for mentor sales
|
|
7
|
+
*/
|
|
8
|
+
mentor: number;
|
|
9
|
+
/**
|
|
10
|
+
* Commission percentage for course sales
|
|
11
|
+
*/
|
|
12
|
+
course: number;
|
|
13
|
+
/**
|
|
14
|
+
* Commission percentage for program sales
|
|
15
|
+
*/
|
|
16
|
+
program: number;
|
|
17
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ItemTypeCommission } from './ItemTypeCommission';
|
|
1
2
|
/**
|
|
2
3
|
* Serializer for Connect account status.
|
|
3
4
|
*/
|
|
@@ -8,6 +9,6 @@ export type StripeConnectStatus = {
|
|
|
8
9
|
charges_enabled?: boolean;
|
|
9
10
|
payouts_enabled?: boolean;
|
|
10
11
|
details_submitted?: boolean;
|
|
11
|
-
commission_percent?:
|
|
12
|
+
commission_percent?: ItemTypeCommission;
|
|
12
13
|
is_ready_for_payments?: boolean;
|
|
13
14
|
};
|
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -37419,6 +37419,26 @@ components:
|
|
|
37419
37419
|
* `mentor` - mentor
|
|
37420
37420
|
* `course` - course
|
|
37421
37421
|
* `program` - program
|
|
37422
|
+
ItemTypeCommission:
|
|
37423
|
+
type: object
|
|
37424
|
+
description: Commission percentages keyed by item type.
|
|
37425
|
+
properties:
|
|
37426
|
+
mentor:
|
|
37427
|
+
type: number
|
|
37428
|
+
format: double
|
|
37429
|
+
description: Commission percentage for mentor sales
|
|
37430
|
+
course:
|
|
37431
|
+
type: number
|
|
37432
|
+
format: double
|
|
37433
|
+
description: Commission percentage for course sales
|
|
37434
|
+
program:
|
|
37435
|
+
type: number
|
|
37436
|
+
format: double
|
|
37437
|
+
description: Commission percentage for program sales
|
|
37438
|
+
required:
|
|
37439
|
+
- course
|
|
37440
|
+
- mentor
|
|
37441
|
+
- program
|
|
37422
37442
|
LauncherViewPostRequest:
|
|
37423
37443
|
type: object
|
|
37424
37444
|
properties:
|
|
@@ -45240,8 +45260,7 @@ components:
|
|
|
45240
45260
|
details_submitted:
|
|
45241
45261
|
type: boolean
|
|
45242
45262
|
commission_percent:
|
|
45243
|
-
|
|
45244
|
-
additionalProperties: {}
|
|
45263
|
+
$ref: '#/components/schemas/ItemTypeCommission'
|
|
45245
45264
|
is_ready_for_payments:
|
|
45246
45265
|
type: boolean
|
|
45247
45266
|
required:
|
package/src/index.ts
CHANGED
|
@@ -165,6 +165,7 @@ export type { Issuer } from './models/Issuer';
|
|
|
165
165
|
export type { IssuerAuthority } from './models/IssuerAuthority';
|
|
166
166
|
export type { ItemAccessCheckResponse } from './models/ItemAccessCheckResponse';
|
|
167
167
|
export { ItemAccessCheckResponseItemTypeEnum } from './models/ItemAccessCheckResponseItemTypeEnum';
|
|
168
|
+
export type { ItemTypeCommission } from './models/ItemTypeCommission';
|
|
168
169
|
export type { LauncherViewPostRequest } from './models/LauncherViewPostRequest';
|
|
169
170
|
export type { LearnerAnalyticsResponse } from './models/LearnerAnalyticsResponse';
|
|
170
171
|
export type { LearnerAnalyticsResult } from './models/LearnerAnalyticsResult';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Commission percentages keyed by item type.
|
|
7
|
+
*/
|
|
8
|
+
export type ItemTypeCommission = {
|
|
9
|
+
/**
|
|
10
|
+
* Commission percentage for mentor sales
|
|
11
|
+
*/
|
|
12
|
+
mentor: number;
|
|
13
|
+
/**
|
|
14
|
+
* Commission percentage for course sales
|
|
15
|
+
*/
|
|
16
|
+
course: number;
|
|
17
|
+
/**
|
|
18
|
+
* Commission percentage for program sales
|
|
19
|
+
*/
|
|
20
|
+
program: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { ItemTypeCommission } from './ItemTypeCommission';
|
|
5
6
|
/**
|
|
6
7
|
* Serializer for Connect account status.
|
|
7
8
|
*/
|
|
@@ -12,7 +13,7 @@ export type StripeConnectStatus = {
|
|
|
12
13
|
charges_enabled?: boolean;
|
|
13
14
|
payouts_enabled?: boolean;
|
|
14
15
|
details_submitted?: boolean;
|
|
15
|
-
commission_percent?:
|
|
16
|
+
commission_percent?: ItemTypeCommission;
|
|
16
17
|
is_ready_for_payments?: boolean;
|
|
17
18
|
};
|
|
18
19
|
|