@iblai/iblai-api 4.496.0-core → 4.497.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/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.496.0-core',
113
+ VERSION: '4.497.0-core',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -27211,7 +27211,7 @@ class MediaService {
27211
27211
  });
27212
27212
  }
27213
27213
  /**
27214
- * Get media resources for a specific item. The item_type determines which resources are returned based on the provided item_id.
27214
+ * Get media resources attached to one course, unit or resource, including combined associations that carry that ID.
27215
27215
  * @returns any Successfully retrieved media resources for item
27216
27216
  * @throws ApiError
27217
27217
  */
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.496.0-core',
111
+ VERSION: '4.497.0-core',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -27209,7 +27209,7 @@ class MediaService {
27209
27209
  });
27210
27210
  }
27211
27211
  /**
27212
- * Get media resources for a specific item. The item_type determines which resources are returned based on the provided item_id.
27212
+ * Get media resources attached to one course, unit or resource, including combined associations that carry that ID.
27213
27213
  * @returns any Successfully retrieved media resources for item
27214
27214
  * @throws ApiError
27215
27215
  */
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.496.0-core',
117
+ VERSION: '4.497.0-core',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -27215,7 +27215,7 @@
27215
27215
  });
27216
27216
  }
27217
27217
  /**
27218
- * Get media resources for a specific item. The item_type determines which resources are returned based on the provided item_id.
27218
+ * Get media resources attached to one course, unit or resource, including combined associations that carry that ID.
27219
27219
  * @returns any Successfully retrieved media resources for item
27220
27220
  * @throws ApiError
27221
27221
  */
@@ -216,7 +216,7 @@ export declare class MediaService {
216
216
  unitId?: string;
217
217
  }): CancelablePromise<any>;
218
218
  /**
219
- * Get media resources for a specific item. The item_type determines which resources are returned based on the provided item_id.
219
+ * Get media resources attached to one course, unit or resource, including combined associations that carry that ID.
220
220
  * @returns any Successfully retrieved media resources for item
221
221
  * @throws ApiError
222
222
  */
@@ -226,9 +226,9 @@ export declare class MediaService {
226
226
  */
227
227
  itemId: string;
228
228
  /**
229
- * Type of item. Valid values: course, unit, resource, course_unit, course_resource, unit_resource, all
229
+ * Which ID item_id is: course, unit or resource
230
230
  */
231
- itemType: 'all' | 'course' | 'course_resource' | 'course_unit' | 'resource' | 'unit' | 'unit_resource';
231
+ itemType: 'course' | 'resource' | 'unit';
232
232
  /**
233
233
  * Organization identifier
234
234
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.496.0-core",
3
+ "version": "4.497.0-core",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.496.0-core
4
+ version: 4.497.0-core
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/analytics/content/:
@@ -36572,8 +36572,8 @@ paths:
36572
36572
  /api/media/orgs/{org}/users/{user_id}/media/media-resources/by_item/:
36573
36573
  get:
36574
36574
  operationId: media_orgs_users_media_media_resources_by_item_retrieve
36575
- description: Get media resources for a specific item. The item_type determines
36576
- which resources are returned based on the provided item_id.
36575
+ description: Get media resources attached to one course, unit or resource, including
36576
+ combined associations that carry that ID.
36577
36577
  parameters:
36578
36578
  - in: query
36579
36579
  name: course_id
@@ -36591,15 +36591,10 @@ paths:
36591
36591
  schema:
36592
36592
  type: string
36593
36593
  enum:
36594
- - all
36595
36594
  - course
36596
- - course_resource
36597
- - course_unit
36598
36595
  - resource
36599
36596
  - unit
36600
- - unit_resource
36601
- description: 'Type of item. Valid values: course, unit, resource, course_unit,
36602
- course_resource, unit_resource, all'
36597
+ description: 'Which ID item_id is: course, unit or resource'
36603
36598
  required: true
36604
36599
  - in: path
36605
36600
  name: org
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.496.0-core',
24
+ VERSION: '4.497.0-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -375,7 +375,7 @@ export class MediaService {
375
375
  });
376
376
  }
377
377
  /**
378
- * Get media resources for a specific item. The item_type determines which resources are returned based on the provided item_id.
378
+ * Get media resources attached to one course, unit or resource, including combined associations that carry that ID.
379
379
  * @returns any Successfully retrieved media resources for item
380
380
  * @throws ApiError
381
381
  */
@@ -393,9 +393,9 @@ export class MediaService {
393
393
  */
394
394
  itemId: string,
395
395
  /**
396
- * Type of item. Valid values: course, unit, resource, course_unit, course_resource, unit_resource, all
396
+ * Which ID item_id is: course, unit or resource
397
397
  */
398
- itemType: 'all' | 'course' | 'course_resource' | 'course_unit' | 'resource' | 'unit' | 'unit_resource',
398
+ itemType: 'course' | 'resource' | 'unit',
399
399
  /**
400
400
  * Organization identifier
401
401
  */