@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.
Files changed (178) hide show
  1. package/dist/index.cjs.js +13134 -3071
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +13128 -3072
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +13134 -3071
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +80 -1
  8. package/dist/types/models/AWSTenantLaunchRequest.d.ts +20 -0
  9. package/dist/types/models/ActivateUserFreeTrial.d.ts +11 -0
  10. package/dist/types/models/App.d.ts +10 -0
  11. package/dist/types/models/AppleSubscriptionStatusRequest.d.ts +3 -0
  12. package/dist/types/models/AppleSubscriptionStatusView.d.ts +3 -0
  13. package/dist/types/models/AppleVerifyTransactionId.d.ts +3 -0
  14. package/dist/types/models/AssociateAccountResponse.d.ts +5 -0
  15. package/dist/types/models/AssociateAppleAccount.d.ts +3 -0
  16. package/dist/types/models/AuthToken.d.ts +10 -0
  17. package/dist/types/models/BaseErrorResponse.d.ts +5 -0
  18. package/dist/types/models/BaseResponse.d.ts +5 -0
  19. package/dist/types/models/CeleryHeartbeat.d.ts +5 -0
  20. package/dist/types/models/CeleryHeartbeatFail.d.ts +5 -0
  21. package/dist/types/models/CeleryHeartbeatFailStatusEnum.d.ts +8 -0
  22. package/dist/types/models/CeleryHeartbeatStatusEnum.d.ts +8 -0
  23. package/dist/types/models/DesiredRole.d.ts +4 -0
  24. package/dist/types/models/EdxSignalReceiverRequest.d.ts +4 -0
  25. package/dist/types/models/GCPTenantLaunchRequest.d.ts +24 -0
  26. package/dist/types/models/GooglePayAccountResponse.d.ts +15 -0
  27. package/dist/types/models/GooglePayAccountResponseStatusEnum.d.ts +8 -0
  28. package/dist/types/models/GooglePayVerifyToken.d.ts +6 -0
  29. package/dist/types/models/ItemTypeEnum.d.ts +18 -0
  30. package/dist/types/models/LauncherViewPostRequest.d.ts +9 -0
  31. package/dist/types/models/ManagerAuthToken.d.ts +13 -0
  32. package/dist/types/models/MediaResource.d.ts +71 -0
  33. package/dist/types/models/MediaTypeEnum.d.ts +14 -0
  34. package/dist/types/models/ModeEnum.d.ts +10 -0
  35. package/dist/types/models/Notification.d.ts +2 -2
  36. package/dist/types/models/{StatusEnum.d.ts → NotificationStatusEnum.d.ts} +1 -1
  37. package/dist/types/models/OnboardingStatusUpdate.d.ts +7 -0
  38. package/dist/types/models/PaginatedUserAppList.d.ts +7 -0
  39. package/dist/types/models/PatchedMediaResource.d.ts +71 -0
  40. package/dist/types/models/PatchedNotification.d.ts +2 -2
  41. package/dist/types/models/Platform.d.ts +29 -0
  42. package/dist/types/models/PlatformApiKey.d.ts +30 -0
  43. package/dist/types/models/PlatformList.d.ts +29 -0
  44. package/dist/types/models/PlatformListStatusEnum.d.ts +22 -0
  45. package/dist/types/models/PlatformUpdatePostRequest.d.ts +9 -0
  46. package/dist/types/models/ReportedRole.d.ts +4 -0
  47. package/dist/types/models/Resource.d.ts +22 -0
  48. package/dist/types/models/ResourceCreateUpdate.d.ts +42 -0
  49. package/dist/types/models/Role.d.ts +7 -0
  50. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +54 -0
  51. package/dist/types/models/StripeCheckoutSessionResponse.d.ts +6 -0
  52. package/dist/types/models/StripeCustomerPortalRequest.d.ts +3 -0
  53. package/dist/types/models/StripeCustomerPortalResponse.d.ts +3 -0
  54. package/dist/types/models/StripeLocalProduct.d.ts +8 -0
  55. package/dist/types/models/StripeSubscriptionRenewalRequest.d.ts +4 -0
  56. package/dist/types/models/StripeSubscriptionRenewalResponse.d.ts +3 -0
  57. package/dist/types/models/TenantLaunchError.d.ts +10 -0
  58. package/dist/types/models/TenantLaunchFailed.d.ts +15 -0
  59. package/dist/types/models/TenantLaunchRequest.d.ts +16 -0
  60. package/dist/types/models/TenantLaunchResponse.d.ts +15 -0
  61. package/dist/types/models/TokenProxyInput.d.ts +21 -0
  62. package/dist/types/models/TokenProxyOutput.d.ts +7 -0
  63. package/dist/types/models/TokenProxyOutputSerializerData.d.ts +20 -0
  64. package/dist/types/models/TokenProxyUser.d.ts +25 -0
  65. package/dist/types/models/UserApp.d.ts +27 -0
  66. package/dist/types/models/UserDeleteAPIError.d.ts +3 -0
  67. package/dist/types/models/UserDeleteAPIRequest.d.ts +3 -0
  68. package/dist/types/models/UserDeleteAPIResponse.d.ts +3 -0
  69. package/dist/types/models/UserPlatformLink.d.ts +17 -0
  70. package/dist/types/models/UserPlatformManagementListViewGetResponse.d.ts +6 -0
  71. package/dist/types/models/UserPlatformViewPostRequest.d.ts +8 -0
  72. package/dist/types/models/UserProxyBulkRequest.d.ts +3 -0
  73. package/dist/types/models/UserProxyGetResponse.d.ts +8 -0
  74. package/dist/types/models/UserProxyPostRequest.d.ts +7 -0
  75. package/dist/types/models/UserProxyPostResponse.d.ts +8 -0
  76. package/dist/types/models/UserSearchViewGetResponse.d.ts +6 -0
  77. package/dist/types/models/VerifyGCPMarketPlaceFailedResponse.d.ts +11 -0
  78. package/dist/types/models/VerifyGCPMarketPlaceRequest.d.ts +3 -0
  79. package/dist/types/models/VerifyGCPMarketPlaceResponse.d.ts +11 -0
  80. package/dist/types/models/WatchedVideosPerCourse.d.ts +8 -0
  81. package/dist/types/models/WatchedVideosPerCourseData.d.ts +18 -0
  82. package/dist/types/models/WhitelistedDomain.d.ts +4 -0
  83. package/dist/types/services/CatalogService.d.ts +6904 -0
  84. package/dist/types/services/CoreService.d.ts +442 -0
  85. package/dist/types/services/FeaturesService.d.ts +75 -0
  86. package/dist/types/services/MediaResourcesService.d.ts +112 -0
  87. package/dist/types/services/PlatformService.d.ts +314 -0
  88. package/dist/types/services/ProvidersService.d.ts +142 -0
  89. package/dist/types/services/ProvisionService.d.ts +14 -0
  90. package/dist/types/services/RolesService.d.ts +57 -0
  91. package/dist/types/services/ServiceService.d.ts +170 -0
  92. package/package.json +1 -1
  93. package/src/core/OpenAPI.ts +1 -1
  94. package/src/index.ts +80 -1
  95. package/src/models/AWSTenantLaunchRequest.ts +25 -0
  96. package/src/models/ActivateUserFreeTrial.ts +16 -0
  97. package/src/models/App.ts +15 -0
  98. package/src/models/AppleSubscriptionStatusRequest.ts +8 -0
  99. package/src/models/AppleSubscriptionStatusView.ts +8 -0
  100. package/src/models/AppleVerifyTransactionId.ts +8 -0
  101. package/src/models/AssociateAccountResponse.ts +10 -0
  102. package/src/models/AssociateAppleAccount.ts +8 -0
  103. package/src/models/AuthToken.ts +15 -0
  104. package/src/models/BaseErrorResponse.ts +10 -0
  105. package/src/models/BaseResponse.ts +10 -0
  106. package/src/models/CeleryHeartbeat.ts +10 -0
  107. package/src/models/CeleryHeartbeatFail.ts +10 -0
  108. package/src/models/CeleryHeartbeatFailStatusEnum.ts +12 -0
  109. package/src/models/CeleryHeartbeatStatusEnum.ts +12 -0
  110. package/src/models/DesiredRole.ts +9 -0
  111. package/src/models/EdxSignalReceiverRequest.ts +9 -0
  112. package/src/models/GCPTenantLaunchRequest.ts +29 -0
  113. package/src/models/GooglePayAccountResponse.ts +20 -0
  114. package/src/models/GooglePayAccountResponseStatusEnum.ts +12 -0
  115. package/src/models/GooglePayVerifyToken.ts +11 -0
  116. package/src/models/ItemTypeEnum.ts +22 -0
  117. package/src/models/LauncherViewPostRequest.ts +14 -0
  118. package/src/models/ManagerAuthToken.ts +18 -0
  119. package/src/models/MediaResource.ts +76 -0
  120. package/src/models/MediaTypeEnum.ts +18 -0
  121. package/src/models/ModeEnum.ts +14 -0
  122. package/src/models/Notification.ts +2 -2
  123. package/src/models/{StatusEnum.ts → NotificationStatusEnum.ts} +1 -1
  124. package/src/models/OnboardingStatusUpdate.ts +12 -0
  125. package/src/models/PaginatedUserAppList.ts +12 -0
  126. package/src/models/PatchedMediaResource.ts +76 -0
  127. package/src/models/PatchedNotification.ts +2 -2
  128. package/src/models/Platform.ts +34 -0
  129. package/src/models/PlatformApiKey.ts +35 -0
  130. package/src/models/PlatformList.ts +34 -0
  131. package/src/models/PlatformListStatusEnum.ts +26 -0
  132. package/src/models/PlatformUpdatePostRequest.ts +14 -0
  133. package/src/models/ReportedRole.ts +9 -0
  134. package/src/models/Resource.ts +27 -0
  135. package/src/models/ResourceCreateUpdate.ts +47 -0
  136. package/src/models/Role.ts +12 -0
  137. package/src/models/StripeCheckoutSessionRequest.ts +59 -0
  138. package/src/models/StripeCheckoutSessionResponse.ts +11 -0
  139. package/src/models/StripeCustomerPortalRequest.ts +8 -0
  140. package/src/models/StripeCustomerPortalResponse.ts +8 -0
  141. package/src/models/StripeLocalProduct.ts +13 -0
  142. package/src/models/StripeSubscriptionRenewalRequest.ts +9 -0
  143. package/src/models/StripeSubscriptionRenewalResponse.ts +8 -0
  144. package/src/models/TenantLaunchError.ts +15 -0
  145. package/src/models/TenantLaunchFailed.ts +20 -0
  146. package/src/models/TenantLaunchRequest.ts +21 -0
  147. package/src/models/TenantLaunchResponse.ts +20 -0
  148. package/src/models/TokenProxyInput.ts +26 -0
  149. package/src/models/TokenProxyOutput.ts +12 -0
  150. package/src/models/TokenProxyOutputSerializerData.ts +25 -0
  151. package/src/models/TokenProxyUser.ts +30 -0
  152. package/src/models/UserApp.ts +32 -0
  153. package/src/models/UserDeleteAPIError.ts +8 -0
  154. package/src/models/UserDeleteAPIRequest.ts +8 -0
  155. package/src/models/UserDeleteAPIResponse.ts +8 -0
  156. package/src/models/UserPlatformLink.ts +22 -0
  157. package/src/models/UserPlatformManagementListViewGetResponse.ts +11 -0
  158. package/src/models/UserPlatformViewPostRequest.ts +13 -0
  159. package/src/models/UserProxyBulkRequest.ts +8 -0
  160. package/src/models/UserProxyGetResponse.ts +13 -0
  161. package/src/models/UserProxyPostRequest.ts +12 -0
  162. package/src/models/UserProxyPostResponse.ts +13 -0
  163. package/src/models/UserSearchViewGetResponse.ts +11 -0
  164. package/src/models/VerifyGCPMarketPlaceFailedResponse.ts +16 -0
  165. package/src/models/VerifyGCPMarketPlaceRequest.ts +8 -0
  166. package/src/models/VerifyGCPMarketPlaceResponse.ts +16 -0
  167. package/src/models/WatchedVideosPerCourse.ts +13 -0
  168. package/src/models/WatchedVideosPerCourseData.ts +23 -0
  169. package/src/models/WhitelistedDomain.ts +9 -0
  170. package/src/services/CatalogService.ts +7769 -0
  171. package/src/services/CoreService.ts +792 -1
  172. package/src/services/FeaturesService.ts +126 -0
  173. package/src/services/MediaResourcesService.ts +319 -0
  174. package/src/services/PlatformService.ts +582 -0
  175. package/src/services/ProvidersService.ts +271 -0
  176. package/src/services/ProvisionService.ts +30 -0
  177. package/src/services/RolesService.ts +87 -0
  178. package/src/services/ServiceService.ts +320 -0
@@ -0,0 +1,29 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type GCPTenantLaunchRequest = {
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
+ * GCP Marketplace token
22
+ */
23
+ x_gcp_marketplace_token: string;
24
+ /**
25
+ * GCP product to subscribe to
26
+ */
27
+ product_id?: string;
28
+ };
29
+
@@ -0,0 +1,20 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { GooglePayAccountResponseStatusEnum } from './GooglePayAccountResponseStatusEnum';
6
+ export type GooglePayAccountResponse = {
7
+ account_id: string;
8
+ /**
9
+ * The bundle id of the app
10
+ */
11
+ bundle_id?: string;
12
+ status?: GooglePayAccountResponseStatusEnum;
13
+ readonly created_on: string;
14
+ readonly last_updated: string;
15
+ /**
16
+ * edX user ID
17
+ */
18
+ user?: number | null;
19
+ };
20
+
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * * `ACCOUNT_ACTIVE` - Account Active
7
+ * * `ACCOUNT_PENDING` - Account Pending
8
+ */
9
+ export enum GooglePayAccountResponseStatusEnum {
10
+ ACCOUNT_ACTIVE = 'ACCOUNT_ACTIVE',
11
+ ACCOUNT_PENDING = 'ACCOUNT_PENDING',
12
+ }
@@ -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 GooglePayVerifyToken = {
6
+ google_pay_receipt: string;
7
+ bundle_id?: string;
8
+ key?: string;
9
+ name?: string;
10
+ };
11
+
@@ -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
+ * * `course` - Course
7
+ * * `unit` - Unit
8
+ * * `resource` - Resource
9
+ * * `course_unit` - Course and Unit
10
+ * * `course_resource` - Course and Resource
11
+ * * `unit_resource` - Unit and Resource
12
+ * * `all` - Course, Unit, and Resource
13
+ */
14
+ export enum ItemTypeEnum {
15
+ COURSE = 'course',
16
+ UNIT = 'unit',
17
+ RESOURCE = 'resource',
18
+ COURSE_UNIT = 'course_unit',
19
+ COURSE_RESOURCE = 'course_resource',
20
+ UNIT_RESOURCE = 'unit_resource',
21
+ ALL = 'all',
22
+ }
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type LauncherViewPostRequest = {
6
+ user_id: number;
7
+ key: string;
8
+ name?: string;
9
+ org?: string;
10
+ lms_url?: string;
11
+ cms_url?: string;
12
+ portal_url?: string;
13
+ };
14
+
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Manager auth token serializer
7
+ */
8
+ export type ManagerAuthToken = {
9
+ /**
10
+ * Token key
11
+ */
12
+ readonly token: string;
13
+ /**
14
+ * Token expiration
15
+ */
16
+ expires: string;
17
+ };
18
+
@@ -0,0 +1,76 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ItemTypeEnum } from './ItemTypeEnum';
6
+ import type { MediaTypeEnum } from './MediaTypeEnum';
7
+ export type MediaResource = {
8
+ readonly id: number;
9
+ /**
10
+ * Title of the media resource
11
+ */
12
+ title: string;
13
+ /**
14
+ * Description of the media resource
15
+ */
16
+ description?: string | null;
17
+ /**
18
+ * Type of media
19
+ *
20
+ * * `video` - Video
21
+ * * `image` - Image
22
+ * * `document` - Document
23
+ * * `audio` - Audio
24
+ * * `other` - Other
25
+ */
26
+ media_type: MediaTypeEnum;
27
+ /**
28
+ * Type of item this media is associated with
29
+ *
30
+ * * `course` - Course
31
+ * * `unit` - Unit
32
+ * * `resource` - Resource
33
+ * * `course_unit` - Course and Unit
34
+ * * `course_resource` - Course and Resource
35
+ * * `unit_resource` - Unit and Resource
36
+ * * `all` - Course, Unit, and Resource
37
+ */
38
+ readonly item_type: ItemTypeEnum;
39
+ /**
40
+ * ID of the associated course
41
+ */
42
+ course_id?: string | null;
43
+ /**
44
+ * ID of the associated unit
45
+ */
46
+ unit_id?: string | null;
47
+ /**
48
+ * ID of the associated item (resource)
49
+ */
50
+ item_id?: string | null;
51
+ /**
52
+ * The platform this media resource belongs to
53
+ */
54
+ readonly platform: number;
55
+ /**
56
+ * External URL for the media resource
57
+ */
58
+ file_url?: string | null;
59
+ /**
60
+ * Uploaded media file
61
+ */
62
+ file?: string | null;
63
+ /**
64
+ * User who created this media resource
65
+ */
66
+ readonly created_by: number | null;
67
+ /**
68
+ * When this record was created
69
+ */
70
+ readonly created_at: string;
71
+ /**
72
+ * When this record was last updated
73
+ */
74
+ readonly updated_at: string;
75
+ };
76
+
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * * `video` - Video
7
+ * * `image` - Image
8
+ * * `document` - Document
9
+ * * `audio` - Audio
10
+ * * `other` - Other
11
+ */
12
+ export enum MediaTypeEnum {
13
+ VIDEO = 'video',
14
+ IMAGE = 'image',
15
+ DOCUMENT = 'document',
16
+ AUDIO = 'audio',
17
+ OTHER = 'other',
18
+ }
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * * `subscription` - subscription
7
+ * * `payment` - payment
8
+ * * `setup` - setup
9
+ */
10
+ export enum ModeEnum {
11
+ SUBSCRIPTION = 'subscription',
12
+ PAYMENT = 'payment',
13
+ SETUP = 'setup',
14
+ }
@@ -3,13 +3,13 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  import type { BlankEnum } from './BlankEnum';
6
- import type { StatusEnum } from './StatusEnum';
6
+ import type { NotificationStatusEnum } from './NotificationStatusEnum';
7
7
  export type Notification = {
8
8
  readonly id: string;
9
9
  username: string;
10
10
  readonly title: string;
11
11
  readonly body: string;
12
- status?: (StatusEnum | BlankEnum);
12
+ status?: (NotificationStatusEnum | BlankEnum);
13
13
  readonly channel: string | null;
14
14
  context?: any;
15
15
  readonly short_message: string;
@@ -7,7 +7,7 @@
7
7
  * * `UNREAD` - Unread
8
8
  * * `CANCELLED` - Cancelled
9
9
  */
10
- export enum StatusEnum {
10
+ export enum NotificationStatusEnum {
11
11
  READ = 'READ',
12
12
  UNREAD = 'UNREAD',
13
13
  CANCELLED = 'CANCELLED',
@@ -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 OnboardingStatusUpdate = {
6
+ onboarding_completed: boolean;
7
+ /**
8
+ * The app url or name or id
9
+ */
10
+ app: string;
11
+ };
12
+
@@ -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 { UserApp } from './UserApp';
6
+ export type PaginatedUserAppList = {
7
+ count: number;
8
+ next?: string | null;
9
+ previous?: string | null;
10
+ results: Array<UserApp>;
11
+ };
12
+
@@ -0,0 +1,76 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ItemTypeEnum } from './ItemTypeEnum';
6
+ import type { MediaTypeEnum } from './MediaTypeEnum';
7
+ export type PatchedMediaResource = {
8
+ readonly id?: number;
9
+ /**
10
+ * Title of the media resource
11
+ */
12
+ title?: string;
13
+ /**
14
+ * Description of the media resource
15
+ */
16
+ description?: string | null;
17
+ /**
18
+ * Type of media
19
+ *
20
+ * * `video` - Video
21
+ * * `image` - Image
22
+ * * `document` - Document
23
+ * * `audio` - Audio
24
+ * * `other` - Other
25
+ */
26
+ media_type?: MediaTypeEnum;
27
+ /**
28
+ * Type of item this media is associated with
29
+ *
30
+ * * `course` - Course
31
+ * * `unit` - Unit
32
+ * * `resource` - Resource
33
+ * * `course_unit` - Course and Unit
34
+ * * `course_resource` - Course and Resource
35
+ * * `unit_resource` - Unit and Resource
36
+ * * `all` - Course, Unit, and Resource
37
+ */
38
+ readonly item_type?: ItemTypeEnum;
39
+ /**
40
+ * ID of the associated course
41
+ */
42
+ course_id?: string | null;
43
+ /**
44
+ * ID of the associated unit
45
+ */
46
+ unit_id?: string | null;
47
+ /**
48
+ * ID of the associated item (resource)
49
+ */
50
+ item_id?: string | null;
51
+ /**
52
+ * The platform this media resource belongs to
53
+ */
54
+ readonly platform?: number;
55
+ /**
56
+ * External URL for the media resource
57
+ */
58
+ file_url?: string | null;
59
+ /**
60
+ * Uploaded media file
61
+ */
62
+ file?: string | null;
63
+ /**
64
+ * User who created this media resource
65
+ */
66
+ readonly created_by?: number | null;
67
+ /**
68
+ * When this record was created
69
+ */
70
+ readonly created_at?: string;
71
+ /**
72
+ * When this record was last updated
73
+ */
74
+ readonly updated_at?: string;
75
+ };
76
+
@@ -3,13 +3,13 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  import type { BlankEnum } from './BlankEnum';
6
- import type { StatusEnum } from './StatusEnum';
6
+ import type { NotificationStatusEnum } from './NotificationStatusEnum';
7
7
  export type PatchedNotification = {
8
8
  readonly id?: string;
9
9
  username?: string;
10
10
  readonly title?: string;
11
11
  readonly body?: string;
12
- status?: (StatusEnum | BlankEnum);
12
+ status?: (NotificationStatusEnum | BlankEnum);
13
13
  readonly channel?: string | null;
14
14
  context?: any;
15
15
  readonly short_message?: string;
@@ -0,0 +1,34 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Note: Create and update operations deprecated.
7
+ */
8
+ export type Platform = {
9
+ /**
10
+ * The platform key
11
+ */
12
+ key: string;
13
+ /**
14
+ * The name of the platform
15
+ */
16
+ name?: string | null;
17
+ /**
18
+ * The associated edX org code
19
+ */
20
+ org?: string | null;
21
+ /**
22
+ * The LMS URL for the platform
23
+ */
24
+ lms_url?: string | null;
25
+ /**
26
+ * The CMS URL for the platform
27
+ */
28
+ cms_url?: string | null;
29
+ /**
30
+ * The portal URL for the platform
31
+ */
32
+ portal_url?: string | null;
33
+ };
34
+
@@ -0,0 +1,35 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Serializer for PlatformApiKey's
7
+ */
8
+ export type PlatformApiKey = {
9
+ /**
10
+ * Username that created token
11
+ */
12
+ readonly username: string;
13
+ /**
14
+ * Name of the token. Used by the user to identify the token.
15
+ */
16
+ name: string;
17
+ readonly key: string;
18
+ /**
19
+ * The platform key
20
+ */
21
+ platform_key: string;
22
+ /**
23
+ * When token expires
24
+ */
25
+ readonly expires: string;
26
+ /**
27
+ * Optional duration until key expires. Format: [DD] [HH:[MM:]]ss[.uuuuuu]
28
+ */
29
+ expires_in?: string | null;
30
+ /**
31
+ * When token was created
32
+ */
33
+ readonly created: string;
34
+ };
35
+
@@ -0,0 +1,34 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { PlatformListStatusEnum } from './PlatformListStatusEnum';
6
+ export type PlatformList = {
7
+ /**
8
+ * The platform key
9
+ */
10
+ key: string;
11
+ /**
12
+ * The name of the platform
13
+ */
14
+ name?: string | null;
15
+ /**
16
+ * The associated edX org code
17
+ */
18
+ org?: string | null;
19
+ /**
20
+ * The LMS URL for the platform
21
+ */
22
+ lms_url?: string | null;
23
+ /**
24
+ * The CMS URL for the platform
25
+ */
26
+ cms_url?: string | null;
27
+ /**
28
+ * The portal URL for the platform
29
+ */
30
+ portal_url?: string | null;
31
+ status?: PlatformListStatusEnum;
32
+ active?: boolean;
33
+ };
34
+
@@ -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
+ * * `-2` - FAILED
7
+ * * `-1` - TERMINATED
8
+ * * `0` - PENDING
9
+ * * `1` - BUILDING
10
+ * * `2` - RUNNING
11
+ * * `3` - PAUSED
12
+ * * `4` - STOPPING
13
+ * * `5` - STOPPED
14
+ * * `6` - REPAIR
15
+ */
16
+ export enum PlatformListStatusEnum {
17
+ '_-2' = -2,
18
+ '_-1' = -1,
19
+ '_0' = 0,
20
+ '_1' = 1,
21
+ '_2' = 2,
22
+ '_3' = 3,
23
+ '_4' = 4,
24
+ '_5' = 5,
25
+ '_6' = 6,
26
+ }
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type PlatformUpdatePostRequest = {
6
+ user_id: number;
7
+ key: string;
8
+ new_key?: string;
9
+ name?: string;
10
+ lms_url?: string;
11
+ cms_url?: string;
12
+ portal_url?: string;
13
+ };
14
+
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { Role } from './Role';
6
+ export type ReportedRole = {
7
+ roles: Array<Role>;
8
+ };
9
+
@@ -0,0 +1,27 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type Resource = {
6
+ item_id?: string;
7
+ readonly id: number;
8
+ /**
9
+ * The display name of the resource.
10
+ */
11
+ readonly name: string | null;
12
+ /**
13
+ * Resource URL.
14
+ */
15
+ readonly url: string | null;
16
+ /**
17
+ * Resource type.
18
+ */
19
+ readonly resource_type: string | null;
20
+ /**
21
+ * Metadata
22
+ */
23
+ readonly data: any;
24
+ image?: string | null;
25
+ description?: string | null;
26
+ };
27
+
@@ -0,0 +1,47 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ResourceCreateUpdate = {
6
+ /**
7
+ * Resource ID for updates
8
+ */
9
+ id?: number;
10
+ /**
11
+ * User ID of the resource owner
12
+ */
13
+ user_id?: number;
14
+ /**
15
+ * Username of the resource owner
16
+ */
17
+ username?: string;
18
+ /**
19
+ * Type of resource (e.g., video, document)
20
+ */
21
+ resource_type: string;
22
+ /**
23
+ * URL of the resource
24
+ */
25
+ url: string;
26
+ /**
27
+ * Name of the resource
28
+ */
29
+ name: string;
30
+ /**
31
+ * Description of the resource
32
+ */
33
+ description?: string;
34
+ /**
35
+ * List of skill names associated with the resource
36
+ */
37
+ skills?: Array<string>;
38
+ /**
39
+ * Image file
40
+ */
41
+ image?: string;
42
+ /**
43
+ * Additional metadata for the resource
44
+ */
45
+ data?: any;
46
+ };
47
+
@@ -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 Role = {
6
+ readonly id: number;
7
+ /**
8
+ * The display name of the role.
9
+ */
10
+ name?: string | null;
11
+ };
12
+