@iblai/iblai-api 3.35.3-core → 3.35.4-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/index.cjs.js +13134 -3071
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +13128 -3072
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +13134 -3071
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +80 -1
- package/dist/types/models/AWSTenantLaunchRequest.d.ts +20 -0
- package/dist/types/models/ActivateUserFreeTrial.d.ts +11 -0
- package/dist/types/models/App.d.ts +10 -0
- package/dist/types/models/AppleSubscriptionStatusRequest.d.ts +3 -0
- package/dist/types/models/AppleSubscriptionStatusView.d.ts +3 -0
- package/dist/types/models/AppleVerifyTransactionId.d.ts +3 -0
- package/dist/types/models/AssociateAccountResponse.d.ts +5 -0
- package/dist/types/models/AssociateAppleAccount.d.ts +3 -0
- package/dist/types/models/AuthToken.d.ts +10 -0
- package/dist/types/models/BaseErrorResponse.d.ts +5 -0
- package/dist/types/models/BaseResponse.d.ts +5 -0
- package/dist/types/models/CeleryHeartbeat.d.ts +5 -0
- package/dist/types/models/CeleryHeartbeatFail.d.ts +5 -0
- package/dist/types/models/CeleryHeartbeatFailStatusEnum.d.ts +8 -0
- package/dist/types/models/CeleryHeartbeatStatusEnum.d.ts +8 -0
- package/dist/types/models/DesiredRole.d.ts +4 -0
- package/dist/types/models/EdxSignalReceiverRequest.d.ts +4 -0
- package/dist/types/models/GCPTenantLaunchRequest.d.ts +24 -0
- package/dist/types/models/GooglePayAccountResponse.d.ts +15 -0
- package/dist/types/models/GooglePayAccountResponseStatusEnum.d.ts +8 -0
- package/dist/types/models/GooglePayVerifyToken.d.ts +6 -0
- package/dist/types/models/ItemTypeEnum.d.ts +18 -0
- package/dist/types/models/LauncherViewPostRequest.d.ts +9 -0
- package/dist/types/models/ManagerAuthToken.d.ts +13 -0
- package/dist/types/models/MediaResource.d.ts +71 -0
- package/dist/types/models/MediaTypeEnum.d.ts +14 -0
- package/dist/types/models/ModeEnum.d.ts +10 -0
- package/dist/types/models/Notification.d.ts +2 -2
- package/dist/types/models/{StatusEnum.d.ts → NotificationStatusEnum.d.ts} +1 -1
- package/dist/types/models/OnboardingStatusUpdate.d.ts +7 -0
- package/dist/types/models/PaginatedUserAppList.d.ts +7 -0
- package/dist/types/models/PatchedMediaResource.d.ts +71 -0
- package/dist/types/models/PatchedNotification.d.ts +2 -2
- package/dist/types/models/Platform.d.ts +29 -0
- package/dist/types/models/PlatformApiKey.d.ts +30 -0
- package/dist/types/models/PlatformList.d.ts +29 -0
- package/dist/types/models/PlatformListStatusEnum.d.ts +22 -0
- package/dist/types/models/PlatformUpdatePostRequest.d.ts +9 -0
- package/dist/types/models/ReportedRole.d.ts +4 -0
- package/dist/types/models/Resource.d.ts +22 -0
- package/dist/types/models/ResourceCreateUpdate.d.ts +42 -0
- package/dist/types/models/Role.d.ts +7 -0
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +54 -0
- package/dist/types/models/StripeCheckoutSessionResponse.d.ts +6 -0
- package/dist/types/models/StripeCustomerPortalRequest.d.ts +3 -0
- package/dist/types/models/StripeCustomerPortalResponse.d.ts +3 -0
- package/dist/types/models/StripeLocalProduct.d.ts +8 -0
- package/dist/types/models/StripeSubscriptionRenewalRequest.d.ts +4 -0
- package/dist/types/models/StripeSubscriptionRenewalResponse.d.ts +3 -0
- package/dist/types/models/TenantLaunchError.d.ts +10 -0
- package/dist/types/models/TenantLaunchFailed.d.ts +15 -0
- package/dist/types/models/TenantLaunchRequest.d.ts +16 -0
- package/dist/types/models/TenantLaunchResponse.d.ts +15 -0
- package/dist/types/models/TokenProxyInput.d.ts +21 -0
- package/dist/types/models/TokenProxyOutput.d.ts +7 -0
- package/dist/types/models/TokenProxyOutputSerializerData.d.ts +20 -0
- package/dist/types/models/TokenProxyUser.d.ts +25 -0
- package/dist/types/models/UserApp.d.ts +27 -0
- package/dist/types/models/UserDeleteAPIError.d.ts +3 -0
- package/dist/types/models/UserDeleteAPIRequest.d.ts +3 -0
- package/dist/types/models/UserDeleteAPIResponse.d.ts +3 -0
- package/dist/types/models/UserPlatformLink.d.ts +17 -0
- package/dist/types/models/UserPlatformManagementListViewGetResponse.d.ts +6 -0
- package/dist/types/models/UserPlatformViewPostRequest.d.ts +8 -0
- package/dist/types/models/UserProxyBulkRequest.d.ts +3 -0
- package/dist/types/models/UserProxyGetResponse.d.ts +8 -0
- package/dist/types/models/UserProxyPostRequest.d.ts +7 -0
- package/dist/types/models/UserProxyPostResponse.d.ts +8 -0
- package/dist/types/models/UserSearchViewGetResponse.d.ts +6 -0
- package/dist/types/models/VerifyGCPMarketPlaceFailedResponse.d.ts +11 -0
- package/dist/types/models/VerifyGCPMarketPlaceRequest.d.ts +3 -0
- package/dist/types/models/VerifyGCPMarketPlaceResponse.d.ts +11 -0
- package/dist/types/models/WatchedVideosPerCourse.d.ts +8 -0
- package/dist/types/models/WatchedVideosPerCourseData.d.ts +18 -0
- package/dist/types/models/WhitelistedDomain.d.ts +4 -0
- package/dist/types/services/CatalogService.d.ts +6904 -0
- package/dist/types/services/CoreService.d.ts +442 -0
- package/dist/types/services/FeaturesService.d.ts +75 -0
- package/dist/types/services/MediaResourcesService.d.ts +112 -0
- package/dist/types/services/PlatformService.d.ts +314 -0
- package/dist/types/services/ProvidersService.d.ts +142 -0
- package/dist/types/services/ProvisionService.d.ts +14 -0
- package/dist/types/services/RolesService.d.ts +57 -0
- package/dist/types/services/ServiceService.d.ts +170 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +80 -1
- package/src/models/AWSTenantLaunchRequest.ts +25 -0
- package/src/models/ActivateUserFreeTrial.ts +16 -0
- package/src/models/App.ts +15 -0
- package/src/models/AppleSubscriptionStatusRequest.ts +8 -0
- package/src/models/AppleSubscriptionStatusView.ts +8 -0
- package/src/models/AppleVerifyTransactionId.ts +8 -0
- package/src/models/AssociateAccountResponse.ts +10 -0
- package/src/models/AssociateAppleAccount.ts +8 -0
- package/src/models/AuthToken.ts +15 -0
- package/src/models/BaseErrorResponse.ts +10 -0
- package/src/models/BaseResponse.ts +10 -0
- package/src/models/CeleryHeartbeat.ts +10 -0
- package/src/models/CeleryHeartbeatFail.ts +10 -0
- package/src/models/CeleryHeartbeatFailStatusEnum.ts +12 -0
- package/src/models/CeleryHeartbeatStatusEnum.ts +12 -0
- package/src/models/DesiredRole.ts +9 -0
- package/src/models/EdxSignalReceiverRequest.ts +9 -0
- package/src/models/GCPTenantLaunchRequest.ts +29 -0
- package/src/models/GooglePayAccountResponse.ts +20 -0
- package/src/models/GooglePayAccountResponseStatusEnum.ts +12 -0
- package/src/models/GooglePayVerifyToken.ts +11 -0
- package/src/models/ItemTypeEnum.ts +22 -0
- package/src/models/LauncherViewPostRequest.ts +14 -0
- package/src/models/ManagerAuthToken.ts +18 -0
- package/src/models/MediaResource.ts +76 -0
- package/src/models/MediaTypeEnum.ts +18 -0
- package/src/models/ModeEnum.ts +14 -0
- package/src/models/Notification.ts +2 -2
- package/src/models/{StatusEnum.ts → NotificationStatusEnum.ts} +1 -1
- package/src/models/OnboardingStatusUpdate.ts +12 -0
- package/src/models/PaginatedUserAppList.ts +12 -0
- package/src/models/PatchedMediaResource.ts +76 -0
- package/src/models/PatchedNotification.ts +2 -2
- package/src/models/Platform.ts +34 -0
- package/src/models/PlatformApiKey.ts +35 -0
- package/src/models/PlatformList.ts +34 -0
- package/src/models/PlatformListStatusEnum.ts +26 -0
- package/src/models/PlatformUpdatePostRequest.ts +14 -0
- package/src/models/ReportedRole.ts +9 -0
- package/src/models/Resource.ts +27 -0
- package/src/models/ResourceCreateUpdate.ts +47 -0
- package/src/models/Role.ts +12 -0
- package/src/models/StripeCheckoutSessionRequest.ts +59 -0
- package/src/models/StripeCheckoutSessionResponse.ts +11 -0
- package/src/models/StripeCustomerPortalRequest.ts +8 -0
- package/src/models/StripeCustomerPortalResponse.ts +8 -0
- package/src/models/StripeLocalProduct.ts +13 -0
- package/src/models/StripeSubscriptionRenewalRequest.ts +9 -0
- package/src/models/StripeSubscriptionRenewalResponse.ts +8 -0
- package/src/models/TenantLaunchError.ts +15 -0
- package/src/models/TenantLaunchFailed.ts +20 -0
- package/src/models/TenantLaunchRequest.ts +21 -0
- package/src/models/TenantLaunchResponse.ts +20 -0
- package/src/models/TokenProxyInput.ts +26 -0
- package/src/models/TokenProxyOutput.ts +12 -0
- package/src/models/TokenProxyOutputSerializerData.ts +25 -0
- package/src/models/TokenProxyUser.ts +30 -0
- package/src/models/UserApp.ts +32 -0
- package/src/models/UserDeleteAPIError.ts +8 -0
- package/src/models/UserDeleteAPIRequest.ts +8 -0
- package/src/models/UserDeleteAPIResponse.ts +8 -0
- package/src/models/UserPlatformLink.ts +22 -0
- package/src/models/UserPlatformManagementListViewGetResponse.ts +11 -0
- package/src/models/UserPlatformViewPostRequest.ts +13 -0
- package/src/models/UserProxyBulkRequest.ts +8 -0
- package/src/models/UserProxyGetResponse.ts +13 -0
- package/src/models/UserProxyPostRequest.ts +12 -0
- package/src/models/UserProxyPostResponse.ts +13 -0
- package/src/models/UserSearchViewGetResponse.ts +11 -0
- package/src/models/VerifyGCPMarketPlaceFailedResponse.ts +16 -0
- package/src/models/VerifyGCPMarketPlaceRequest.ts +8 -0
- package/src/models/VerifyGCPMarketPlaceResponse.ts +16 -0
- package/src/models/WatchedVideosPerCourse.ts +13 -0
- package/src/models/WatchedVideosPerCourseData.ts +23 -0
- package/src/models/WhitelistedDomain.ts +9 -0
- package/src/services/CatalogService.ts +7769 -0
- package/src/services/CoreService.ts +792 -1
- package/src/services/FeaturesService.ts +126 -0
- package/src/services/MediaResourcesService.ts +319 -0
- package/src/services/PlatformService.ts +582 -0
- package/src/services/ProvidersService.ts +271 -0
- package/src/services/ProvisionService.ts +30 -0
- package/src/services/RolesService.ts +87 -0
- package/src/services/ServiceService.ts +320 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ModeEnum } from './ModeEnum';
|
|
6
|
+
/**
|
|
7
|
+
* Serializer for Stripe checkout session creation requests.
|
|
8
|
+
*/
|
|
9
|
+
export type StripeCheckoutSessionRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Product SKU
|
|
12
|
+
*/
|
|
13
|
+
sku?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Alternative to SKU
|
|
16
|
+
*/
|
|
17
|
+
product?: string;
|
|
18
|
+
/**
|
|
19
|
+
* URL to redirect after successful payment
|
|
20
|
+
*/
|
|
21
|
+
success_url: string;
|
|
22
|
+
/**
|
|
23
|
+
* URL to redirect if checkout cancelled
|
|
24
|
+
*/
|
|
25
|
+
cancel_url: string;
|
|
26
|
+
/**
|
|
27
|
+
* Checkout mode
|
|
28
|
+
*
|
|
29
|
+
* * `subscription` - subscription
|
|
30
|
+
* * `payment` - payment
|
|
31
|
+
* * `setup` - setup
|
|
32
|
+
*/
|
|
33
|
+
mode?: ModeEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to use metered billing
|
|
36
|
+
*/
|
|
37
|
+
metered?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Subscription quantity
|
|
40
|
+
*/
|
|
41
|
+
quantity?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Coupon code to apply
|
|
44
|
+
*/
|
|
45
|
+
coupon?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Enable free trial
|
|
48
|
+
*/
|
|
49
|
+
is_free_trial?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Trial period in days
|
|
52
|
+
*/
|
|
53
|
+
trial_days?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Skip card collection for trial
|
|
56
|
+
*/
|
|
57
|
+
skip_card?: boolean;
|
|
58
|
+
};
|
|
59
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Stripe checkout session serialized response
|
|
7
|
+
*/
|
|
8
|
+
export type StripeCheckoutSessionResponse = {
|
|
9
|
+
redirect_to: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StripeLocalProduct = {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string | null;
|
|
8
|
+
readonly price: string;
|
|
9
|
+
stripe_product_id?: string | null;
|
|
10
|
+
sku: string;
|
|
11
|
+
readonly platform: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* An unexpected error occurred during launch process
|
|
7
|
+
*/
|
|
8
|
+
export type TenantLaunchError = {
|
|
9
|
+
success?: boolean;
|
|
10
|
+
message: any;
|
|
11
|
+
data?: any;
|
|
12
|
+
id?: string;
|
|
13
|
+
timestamp?: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Launch process started but could not complete
|
|
7
|
+
*/
|
|
8
|
+
export type TenantLaunchFailed = {
|
|
9
|
+
success?: boolean;
|
|
10
|
+
message: any;
|
|
11
|
+
data?: any;
|
|
12
|
+
id?: string;
|
|
13
|
+
timestamp?: string;
|
|
14
|
+
org: string;
|
|
15
|
+
lms_url: string;
|
|
16
|
+
cms_url: string;
|
|
17
|
+
portal_url: string;
|
|
18
|
+
edx_role: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type TenantLaunchRequest = {
|
|
6
|
+
username: string;
|
|
7
|
+
email: string;
|
|
8
|
+
firstname?: string;
|
|
9
|
+
lastname?: string;
|
|
10
|
+
password?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization name
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Unique key for the organization
|
|
17
|
+
*/
|
|
18
|
+
key: string;
|
|
19
|
+
ignore_user_exists?: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Launch process completed successfully
|
|
7
|
+
*/
|
|
8
|
+
export type TenantLaunchResponse = {
|
|
9
|
+
success?: boolean;
|
|
10
|
+
message: any;
|
|
11
|
+
data?: any;
|
|
12
|
+
id?: string;
|
|
13
|
+
timestamp?: string;
|
|
14
|
+
org: string;
|
|
15
|
+
lms_url: string;
|
|
16
|
+
cms_url: string;
|
|
17
|
+
portal_url: string;
|
|
18
|
+
edx_role: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for TokenProxyView POST request input data
|
|
7
|
+
*/
|
|
8
|
+
export type TokenProxyInput = {
|
|
9
|
+
/**
|
|
10
|
+
* Edx User ID
|
|
11
|
+
*/
|
|
12
|
+
user_id?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Edx Username
|
|
15
|
+
*/
|
|
16
|
+
username?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Edx Email
|
|
19
|
+
*/
|
|
20
|
+
email?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Platform key axd token should belong to
|
|
23
|
+
*/
|
|
24
|
+
platform_key: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { TokenProxyOutputSerializerData } from './TokenProxyOutputSerializerData';
|
|
6
|
+
/**
|
|
7
|
+
* The SPA expects this outer data key so we need to create an extra layer
|
|
8
|
+
*/
|
|
9
|
+
export type TokenProxyOutput = {
|
|
10
|
+
data: TokenProxyOutputSerializerData;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AuthToken } from './AuthToken';
|
|
6
|
+
import type { ManagerAuthToken } from './ManagerAuthToken';
|
|
7
|
+
import type { TokenProxyUser } from './TokenProxyUser';
|
|
8
|
+
/**
|
|
9
|
+
* Core data for Response
|
|
10
|
+
*/
|
|
11
|
+
export type TokenProxyOutputSerializerData = {
|
|
12
|
+
/**
|
|
13
|
+
* User details
|
|
14
|
+
*/
|
|
15
|
+
user: TokenProxyUser;
|
|
16
|
+
/**
|
|
17
|
+
* Axd Token details
|
|
18
|
+
*/
|
|
19
|
+
axd_token: AuthToken;
|
|
20
|
+
/**
|
|
21
|
+
* DM Token details
|
|
22
|
+
*/
|
|
23
|
+
dm_token: ManagerAuthToken;
|
|
24
|
+
};
|
|
25
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for User model for TokenProxyOutputSerializerData
|
|
7
|
+
*/
|
|
8
|
+
export type TokenProxyUser = {
|
|
9
|
+
/**
|
|
10
|
+
* Edx User ID
|
|
11
|
+
*/
|
|
12
|
+
user_id: number;
|
|
13
|
+
/**
|
|
14
|
+
* User's Edx Email
|
|
15
|
+
*/
|
|
16
|
+
user_email: string;
|
|
17
|
+
/**
|
|
18
|
+
* Username
|
|
19
|
+
*/
|
|
20
|
+
user_nicename: string;
|
|
21
|
+
/**
|
|
22
|
+
* User's display name
|
|
23
|
+
*/
|
|
24
|
+
user_display_name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Edx Full Name
|
|
27
|
+
*/
|
|
28
|
+
readonly user_fullname: string;
|
|
29
|
+
};
|
|
30
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { App } from './App';
|
|
6
|
+
import type { Platform } from './Platform';
|
|
7
|
+
export type UserApp = {
|
|
8
|
+
readonly id: number;
|
|
9
|
+
/**
|
|
10
|
+
* The app details
|
|
11
|
+
*/
|
|
12
|
+
app: App;
|
|
13
|
+
/**
|
|
14
|
+
* The platform details
|
|
15
|
+
*/
|
|
16
|
+
readonly platform: Platform;
|
|
17
|
+
/**
|
|
18
|
+
* The subscription details, would contain identifier, active, created_on, last_updated
|
|
19
|
+
*/
|
|
20
|
+
readonly subscription: Record<string, any> | null;
|
|
21
|
+
provider: string;
|
|
22
|
+
readonly is_admin: boolean;
|
|
23
|
+
readonly is_active: boolean;
|
|
24
|
+
metadata?: any;
|
|
25
|
+
onboarding_completed?: boolean;
|
|
26
|
+
free_trial_started?: boolean;
|
|
27
|
+
free_trial_expired?: boolean;
|
|
28
|
+
has_active_subscription?: boolean;
|
|
29
|
+
readonly created_at: string;
|
|
30
|
+
readonly updated_at: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserPlatformLink = {
|
|
6
|
+
user_id: number;
|
|
7
|
+
username: string;
|
|
8
|
+
email: string;
|
|
9
|
+
user_active: boolean;
|
|
10
|
+
key: string;
|
|
11
|
+
org: string;
|
|
12
|
+
lms_url: string;
|
|
13
|
+
cms_url: string;
|
|
14
|
+
portal_url: string;
|
|
15
|
+
is_admin?: boolean;
|
|
16
|
+
is_staff?: boolean;
|
|
17
|
+
added_on?: string | null;
|
|
18
|
+
expired_on?: string | null;
|
|
19
|
+
readonly public: string;
|
|
20
|
+
active?: boolean;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserPlatformManagementListViewGetResponse = {
|
|
6
|
+
count: number;
|
|
7
|
+
next_page: number;
|
|
8
|
+
previous_page: number;
|
|
9
|
+
results: Array<Record<string, any>>;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserPlatformViewPostRequest = {
|
|
6
|
+
user_id: number;
|
|
7
|
+
platform_key: string;
|
|
8
|
+
added_on?: string;
|
|
9
|
+
expired_on?: string;
|
|
10
|
+
is_admin?: boolean;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserProxyGetResponse = {
|
|
6
|
+
user_id: number;
|
|
7
|
+
username: string;
|
|
8
|
+
email: string;
|
|
9
|
+
active: boolean;
|
|
10
|
+
edx_data: any;
|
|
11
|
+
data: any;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserProxyPostRequest = {
|
|
6
|
+
user_id: number;
|
|
7
|
+
username: string;
|
|
8
|
+
email: string;
|
|
9
|
+
edx_data: any;
|
|
10
|
+
data: any;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserProxyPostResponse = {
|
|
6
|
+
user_id: number;
|
|
7
|
+
username: string;
|
|
8
|
+
email: string;
|
|
9
|
+
active: boolean;
|
|
10
|
+
edx_data: any;
|
|
11
|
+
data: any;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UserSearchViewGetResponse = {
|
|
6
|
+
count: number;
|
|
7
|
+
next_page: number;
|
|
8
|
+
previous_page: number;
|
|
9
|
+
results: Array<Record<string, any>>;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type VerifyGCPMarketPlaceFailedResponse = {
|
|
6
|
+
sub?: string;
|
|
7
|
+
aud?: string;
|
|
8
|
+
iat?: string;
|
|
9
|
+
exp?: string;
|
|
10
|
+
google?: Record<string, any>;
|
|
11
|
+
iss?: string;
|
|
12
|
+
readonly redirect_to: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
success?: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type VerifyGCPMarketPlaceResponse = {
|
|
6
|
+
sub?: string;
|
|
7
|
+
aud?: string;
|
|
8
|
+
iat?: string;
|
|
9
|
+
exp?: string;
|
|
10
|
+
google?: Record<string, any>;
|
|
11
|
+
iss?: string;
|
|
12
|
+
readonly redirect_to: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
success?: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { WatchedVideosPerCourseData } from './WatchedVideosPerCourseData';
|
|
6
|
+
export type WatchedVideosPerCourse = {
|
|
7
|
+
data?: Array<WatchedVideosPerCourseData>;
|
|
8
|
+
/**
|
|
9
|
+
* Total videos Watched for all rows
|
|
10
|
+
*/
|
|
11
|
+
total?: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type WatchedVideosPerCourseData = {
|
|
6
|
+
/**
|
|
7
|
+
* Edx Course ID
|
|
8
|
+
*/
|
|
9
|
+
course_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Course Name
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Number of watched videos
|
|
16
|
+
*/
|
|
17
|
+
count: number;
|
|
18
|
+
/**
|
|
19
|
+
* Percentage ...
|
|
20
|
+
*/
|
|
21
|
+
percentage: number;
|
|
22
|
+
};
|
|
23
|
+
|