@iblai/iblai-api 4.124.0-test4-core → 4.125.0-test-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
package/dist/index.esm.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Request serializer for CourseInvitationView POST endpoint
|
|
2
|
+
* Request serializer for CourseInvitationView POST endpoint.
|
|
3
|
+
*
|
|
4
|
+
* Supports CSV date fields for enrollment_config:
|
|
5
|
+
* - course_access_start_date: Maps to enrollment_config['started']
|
|
6
|
+
* - course_access_expiration_date: Maps to enrollment_config['expired']
|
|
3
7
|
*/
|
|
4
8
|
export type CourseInvitationCreate = {
|
|
5
9
|
/**
|
|
@@ -38,4 +42,16 @@ export type CourseInvitationCreate = {
|
|
|
38
42
|
* Additional metadata for the invitation
|
|
39
43
|
*/
|
|
40
44
|
metadata?: Record<string, any>;
|
|
45
|
+
/**
|
|
46
|
+
* Enrollment configuration (dates, etc.)
|
|
47
|
+
*/
|
|
48
|
+
enrollment_config?: Record<string, any>;
|
|
49
|
+
/**
|
|
50
|
+
* Course access start date (maps to enrollment_config['started'])
|
|
51
|
+
*/
|
|
52
|
+
course_access_start_date?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Course access expiration date (maps to enrollment_config['expired'])
|
|
55
|
+
*/
|
|
56
|
+
course_access_expiration_date?: string | null;
|
|
41
57
|
};
|
package/package.json
CHANGED
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.
|
|
4
|
+
version: 4.125.0-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -34699,7 +34699,12 @@ components:
|
|
|
34699
34699
|
- visible
|
|
34700
34700
|
CourseInvitationCreate:
|
|
34701
34701
|
type: object
|
|
34702
|
-
description:
|
|
34702
|
+
description: |-
|
|
34703
|
+
Request serializer for CourseInvitationView POST endpoint.
|
|
34704
|
+
|
|
34705
|
+
Supports CSV date fields for enrollment_config:
|
|
34706
|
+
- course_access_start_date: Maps to enrollment_config['started']
|
|
34707
|
+
- course_access_expiration_date: Maps to enrollment_config['expired']
|
|
34703
34708
|
properties:
|
|
34704
34709
|
course_id:
|
|
34705
34710
|
type: string
|
|
@@ -34734,6 +34739,20 @@ components:
|
|
|
34734
34739
|
type: object
|
|
34735
34740
|
additionalProperties: {}
|
|
34736
34741
|
description: Additional metadata for the invitation
|
|
34742
|
+
enrollment_config:
|
|
34743
|
+
type: object
|
|
34744
|
+
additionalProperties: {}
|
|
34745
|
+
description: Enrollment configuration (dates, etc.)
|
|
34746
|
+
course_access_start_date:
|
|
34747
|
+
type: string
|
|
34748
|
+
format: date-time
|
|
34749
|
+
nullable: true
|
|
34750
|
+
description: Course access start date (maps to enrollment_config['started'])
|
|
34751
|
+
course_access_expiration_date:
|
|
34752
|
+
type: string
|
|
34753
|
+
format: date-time
|
|
34754
|
+
nullable: true
|
|
34755
|
+
description: Course access expiration date (maps to enrollment_config['expired'])
|
|
34737
34756
|
required:
|
|
34738
34757
|
- course_id
|
|
34739
34758
|
CourseInvitationDetail:
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
|
-
* Request serializer for CourseInvitationView POST endpoint
|
|
6
|
+
* Request serializer for CourseInvitationView POST endpoint.
|
|
7
|
+
*
|
|
8
|
+
* Supports CSV date fields for enrollment_config:
|
|
9
|
+
* - course_access_start_date: Maps to enrollment_config['started']
|
|
10
|
+
* - course_access_expiration_date: Maps to enrollment_config['expired']
|
|
7
11
|
*/
|
|
8
12
|
export type CourseInvitationCreate = {
|
|
9
13
|
/**
|
|
@@ -42,5 +46,17 @@ export type CourseInvitationCreate = {
|
|
|
42
46
|
* Additional metadata for the invitation
|
|
43
47
|
*/
|
|
44
48
|
metadata?: Record<string, any>;
|
|
49
|
+
/**
|
|
50
|
+
* Enrollment configuration (dates, etc.)
|
|
51
|
+
*/
|
|
52
|
+
enrollment_config?: Record<string, any>;
|
|
53
|
+
/**
|
|
54
|
+
* Course access start date (maps to enrollment_config['started'])
|
|
55
|
+
*/
|
|
56
|
+
course_access_start_date?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Course access expiration date (maps to enrollment_config['expired'])
|
|
59
|
+
*/
|
|
60
|
+
course_access_expiration_date?: string | null;
|
|
45
61
|
};
|
|
46
62
|
|