@iblai/iblai-api 4.112.2-ai → 4.112.3-ai
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 +7 -7
- package/dist/index.esm.js +7 -7
- package/dist/index.umd.js +7 -7
- package/dist/types/models/BulkPlatformInvitationCreate.d.ts +1 -1
- package/dist/types/models/PlatformInvitationCreate.d.ts +27 -0
- package/dist/types/models/ProgramInvitationCreate.d.ts +13 -1
- package/dist/types/services/CatalogService.d.ts +18 -18
- package/package.json +1 -1
- package/sdk_schema.yml +65 -21
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/BulkPlatformInvitationCreate.ts +1 -1
- package/src/models/PlatformInvitationCreate.ts +27 -0
- package/src/models/ProgramInvitationCreate.ts +13 -1
- package/src/services/CatalogService.ts +18 -18
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.112.
|
|
113
|
+
VERSION: '4.112.3-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -27566,7 +27566,6 @@ class CatalogService {
|
|
|
27566
27566
|
active,
|
|
27567
27567
|
courseId,
|
|
27568
27568
|
email,
|
|
27569
|
-
key,
|
|
27570
27569
|
org,
|
|
27571
27570
|
page,
|
|
27572
27571
|
pageSize,
|
|
@@ -27584,7 +27583,6 @@ class CatalogService {
|
|
|
27584
27583
|
'active': active,
|
|
27585
27584
|
'course_id': courseId,
|
|
27586
27585
|
'email': email,
|
|
27587
|
-
'key': key,
|
|
27588
27586
|
'org': org,
|
|
27589
27587
|
'page': page,
|
|
27590
27588
|
'page_size': pageSize,
|
|
@@ -27613,7 +27611,6 @@ class CatalogService {
|
|
|
27613
27611
|
active,
|
|
27614
27612
|
courseId,
|
|
27615
27613
|
email,
|
|
27616
|
-
key,
|
|
27617
27614
|
org,
|
|
27618
27615
|
page,
|
|
27619
27616
|
pageSize,
|
|
@@ -27631,7 +27628,6 @@ class CatalogService {
|
|
|
27631
27628
|
'active': active,
|
|
27632
27629
|
'course_id': courseId,
|
|
27633
27630
|
'email': email,
|
|
27634
|
-
'key': key,
|
|
27635
27631
|
'org': org,
|
|
27636
27632
|
'page': page,
|
|
27637
27633
|
'page_size': pageSize,
|
|
@@ -27662,7 +27658,6 @@ class CatalogService {
|
|
|
27662
27658
|
active,
|
|
27663
27659
|
courseId,
|
|
27664
27660
|
email,
|
|
27665
|
-
key,
|
|
27666
27661
|
org,
|
|
27667
27662
|
page,
|
|
27668
27663
|
pageSize,
|
|
@@ -27680,7 +27675,6 @@ class CatalogService {
|
|
|
27680
27675
|
'active': active,
|
|
27681
27676
|
'course_id': courseId,
|
|
27682
27677
|
'email': email,
|
|
27683
|
-
'key': key,
|
|
27684
27678
|
'org': org,
|
|
27685
27679
|
'page': page,
|
|
27686
27680
|
'page_size': pageSize,
|
|
@@ -28178,6 +28172,7 @@ class CatalogService {
|
|
|
28178
28172
|
org,
|
|
28179
28173
|
page,
|
|
28180
28174
|
pageSize,
|
|
28175
|
+
platformKey,
|
|
28181
28176
|
programKey,
|
|
28182
28177
|
sort = '-id',
|
|
28183
28178
|
source,
|
|
@@ -28193,6 +28188,7 @@ class CatalogService {
|
|
|
28193
28188
|
'org': org,
|
|
28194
28189
|
'page': page,
|
|
28195
28190
|
'page_size': pageSize,
|
|
28191
|
+
'platform_key': platformKey,
|
|
28196
28192
|
'program_key': programKey,
|
|
28197
28193
|
'sort': sort,
|
|
28198
28194
|
'source': source,
|
|
@@ -28300,6 +28296,7 @@ class CatalogService {
|
|
|
28300
28296
|
org,
|
|
28301
28297
|
page,
|
|
28302
28298
|
pageSize,
|
|
28299
|
+
platformKey,
|
|
28303
28300
|
programKey,
|
|
28304
28301
|
sort = '-id',
|
|
28305
28302
|
source,
|
|
@@ -28315,6 +28312,7 @@ class CatalogService {
|
|
|
28315
28312
|
'org': org,
|
|
28316
28313
|
'page': page,
|
|
28317
28314
|
'page_size': pageSize,
|
|
28315
|
+
'platform_key': platformKey,
|
|
28318
28316
|
'program_key': programKey,
|
|
28319
28317
|
'sort': sort,
|
|
28320
28318
|
'source': source,
|
|
@@ -28343,6 +28341,7 @@ class CatalogService {
|
|
|
28343
28341
|
org,
|
|
28344
28342
|
page,
|
|
28345
28343
|
pageSize,
|
|
28344
|
+
platformKey,
|
|
28346
28345
|
programKey,
|
|
28347
28346
|
sort = '-id',
|
|
28348
28347
|
source,
|
|
@@ -28358,6 +28357,7 @@ class CatalogService {
|
|
|
28358
28357
|
'org': org,
|
|
28359
28358
|
'page': page,
|
|
28360
28359
|
'page_size': pageSize,
|
|
28360
|
+
'platform_key': platformKey,
|
|
28361
28361
|
'program_key': programKey,
|
|
28362
28362
|
'sort': sort,
|
|
28363
28363
|
'source': source,
|
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.112.
|
|
111
|
+
VERSION: '4.112.3-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -27564,7 +27564,6 @@ class CatalogService {
|
|
|
27564
27564
|
active,
|
|
27565
27565
|
courseId,
|
|
27566
27566
|
email,
|
|
27567
|
-
key,
|
|
27568
27567
|
org,
|
|
27569
27568
|
page,
|
|
27570
27569
|
pageSize,
|
|
@@ -27582,7 +27581,6 @@ class CatalogService {
|
|
|
27582
27581
|
'active': active,
|
|
27583
27582
|
'course_id': courseId,
|
|
27584
27583
|
'email': email,
|
|
27585
|
-
'key': key,
|
|
27586
27584
|
'org': org,
|
|
27587
27585
|
'page': page,
|
|
27588
27586
|
'page_size': pageSize,
|
|
@@ -27611,7 +27609,6 @@ class CatalogService {
|
|
|
27611
27609
|
active,
|
|
27612
27610
|
courseId,
|
|
27613
27611
|
email,
|
|
27614
|
-
key,
|
|
27615
27612
|
org,
|
|
27616
27613
|
page,
|
|
27617
27614
|
pageSize,
|
|
@@ -27629,7 +27626,6 @@ class CatalogService {
|
|
|
27629
27626
|
'active': active,
|
|
27630
27627
|
'course_id': courseId,
|
|
27631
27628
|
'email': email,
|
|
27632
|
-
'key': key,
|
|
27633
27629
|
'org': org,
|
|
27634
27630
|
'page': page,
|
|
27635
27631
|
'page_size': pageSize,
|
|
@@ -27660,7 +27656,6 @@ class CatalogService {
|
|
|
27660
27656
|
active,
|
|
27661
27657
|
courseId,
|
|
27662
27658
|
email,
|
|
27663
|
-
key,
|
|
27664
27659
|
org,
|
|
27665
27660
|
page,
|
|
27666
27661
|
pageSize,
|
|
@@ -27678,7 +27673,6 @@ class CatalogService {
|
|
|
27678
27673
|
'active': active,
|
|
27679
27674
|
'course_id': courseId,
|
|
27680
27675
|
'email': email,
|
|
27681
|
-
'key': key,
|
|
27682
27676
|
'org': org,
|
|
27683
27677
|
'page': page,
|
|
27684
27678
|
'page_size': pageSize,
|
|
@@ -28176,6 +28170,7 @@ class CatalogService {
|
|
|
28176
28170
|
org,
|
|
28177
28171
|
page,
|
|
28178
28172
|
pageSize,
|
|
28173
|
+
platformKey,
|
|
28179
28174
|
programKey,
|
|
28180
28175
|
sort = '-id',
|
|
28181
28176
|
source,
|
|
@@ -28191,6 +28186,7 @@ class CatalogService {
|
|
|
28191
28186
|
'org': org,
|
|
28192
28187
|
'page': page,
|
|
28193
28188
|
'page_size': pageSize,
|
|
28189
|
+
'platform_key': platformKey,
|
|
28194
28190
|
'program_key': programKey,
|
|
28195
28191
|
'sort': sort,
|
|
28196
28192
|
'source': source,
|
|
@@ -28298,6 +28294,7 @@ class CatalogService {
|
|
|
28298
28294
|
org,
|
|
28299
28295
|
page,
|
|
28300
28296
|
pageSize,
|
|
28297
|
+
platformKey,
|
|
28301
28298
|
programKey,
|
|
28302
28299
|
sort = '-id',
|
|
28303
28300
|
source,
|
|
@@ -28313,6 +28310,7 @@ class CatalogService {
|
|
|
28313
28310
|
'org': org,
|
|
28314
28311
|
'page': page,
|
|
28315
28312
|
'page_size': pageSize,
|
|
28313
|
+
'platform_key': platformKey,
|
|
28316
28314
|
'program_key': programKey,
|
|
28317
28315
|
'sort': sort,
|
|
28318
28316
|
'source': source,
|
|
@@ -28341,6 +28339,7 @@ class CatalogService {
|
|
|
28341
28339
|
org,
|
|
28342
28340
|
page,
|
|
28343
28341
|
pageSize,
|
|
28342
|
+
platformKey,
|
|
28344
28343
|
programKey,
|
|
28345
28344
|
sort = '-id',
|
|
28346
28345
|
source,
|
|
@@ -28356,6 +28355,7 @@ class CatalogService {
|
|
|
28356
28355
|
'org': org,
|
|
28357
28356
|
'page': page,
|
|
28358
28357
|
'page_size': pageSize,
|
|
28358
|
+
'platform_key': platformKey,
|
|
28359
28359
|
'program_key': programKey,
|
|
28360
28360
|
'sort': sort,
|
|
28361
28361
|
'source': source,
|
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.112.
|
|
117
|
+
VERSION: '4.112.3-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -27570,7 +27570,6 @@
|
|
|
27570
27570
|
active,
|
|
27571
27571
|
courseId,
|
|
27572
27572
|
email,
|
|
27573
|
-
key,
|
|
27574
27573
|
org,
|
|
27575
27574
|
page,
|
|
27576
27575
|
pageSize,
|
|
@@ -27588,7 +27587,6 @@
|
|
|
27588
27587
|
'active': active,
|
|
27589
27588
|
'course_id': courseId,
|
|
27590
27589
|
'email': email,
|
|
27591
|
-
'key': key,
|
|
27592
27590
|
'org': org,
|
|
27593
27591
|
'page': page,
|
|
27594
27592
|
'page_size': pageSize,
|
|
@@ -27617,7 +27615,6 @@
|
|
|
27617
27615
|
active,
|
|
27618
27616
|
courseId,
|
|
27619
27617
|
email,
|
|
27620
|
-
key,
|
|
27621
27618
|
org,
|
|
27622
27619
|
page,
|
|
27623
27620
|
pageSize,
|
|
@@ -27635,7 +27632,6 @@
|
|
|
27635
27632
|
'active': active,
|
|
27636
27633
|
'course_id': courseId,
|
|
27637
27634
|
'email': email,
|
|
27638
|
-
'key': key,
|
|
27639
27635
|
'org': org,
|
|
27640
27636
|
'page': page,
|
|
27641
27637
|
'page_size': pageSize,
|
|
@@ -27666,7 +27662,6 @@
|
|
|
27666
27662
|
active,
|
|
27667
27663
|
courseId,
|
|
27668
27664
|
email,
|
|
27669
|
-
key,
|
|
27670
27665
|
org,
|
|
27671
27666
|
page,
|
|
27672
27667
|
pageSize,
|
|
@@ -27684,7 +27679,6 @@
|
|
|
27684
27679
|
'active': active,
|
|
27685
27680
|
'course_id': courseId,
|
|
27686
27681
|
'email': email,
|
|
27687
|
-
'key': key,
|
|
27688
27682
|
'org': org,
|
|
27689
27683
|
'page': page,
|
|
27690
27684
|
'page_size': pageSize,
|
|
@@ -28182,6 +28176,7 @@
|
|
|
28182
28176
|
org,
|
|
28183
28177
|
page,
|
|
28184
28178
|
pageSize,
|
|
28179
|
+
platformKey,
|
|
28185
28180
|
programKey,
|
|
28186
28181
|
sort = '-id',
|
|
28187
28182
|
source,
|
|
@@ -28197,6 +28192,7 @@
|
|
|
28197
28192
|
'org': org,
|
|
28198
28193
|
'page': page,
|
|
28199
28194
|
'page_size': pageSize,
|
|
28195
|
+
'platform_key': platformKey,
|
|
28200
28196
|
'program_key': programKey,
|
|
28201
28197
|
'sort': sort,
|
|
28202
28198
|
'source': source,
|
|
@@ -28304,6 +28300,7 @@
|
|
|
28304
28300
|
org,
|
|
28305
28301
|
page,
|
|
28306
28302
|
pageSize,
|
|
28303
|
+
platformKey,
|
|
28307
28304
|
programKey,
|
|
28308
28305
|
sort = '-id',
|
|
28309
28306
|
source,
|
|
@@ -28319,6 +28316,7 @@
|
|
|
28319
28316
|
'org': org,
|
|
28320
28317
|
'page': page,
|
|
28321
28318
|
'page_size': pageSize,
|
|
28319
|
+
'platform_key': platformKey,
|
|
28322
28320
|
'program_key': programKey,
|
|
28323
28321
|
'sort': sort,
|
|
28324
28322
|
'source': source,
|
|
@@ -28347,6 +28345,7 @@
|
|
|
28347
28345
|
org,
|
|
28348
28346
|
page,
|
|
28349
28347
|
pageSize,
|
|
28348
|
+
platformKey,
|
|
28350
28349
|
programKey,
|
|
28351
28350
|
sort = '-id',
|
|
28352
28351
|
source,
|
|
@@ -28362,6 +28361,7 @@
|
|
|
28362
28361
|
'org': org,
|
|
28363
28362
|
'page': page,
|
|
28364
28363
|
'page_size': pageSize,
|
|
28364
|
+
'platform_key': platformKey,
|
|
28365
28365
|
'program_key': programKey,
|
|
28366
28366
|
'sort': sort,
|
|
28367
28367
|
'source': source,
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Request serializer for PlatformInvitationView POST endpoint
|
|
3
|
+
*
|
|
4
|
+
* Supports new CSV format fields:
|
|
5
|
+
* - company_name (optional): Company name for the invited user
|
|
6
|
+
* - first_name (new): First name of the invited user
|
|
7
|
+
* - last_name (new): Last name of the invited user
|
|
8
|
+
* - group (new): Name of the UserGroup to assign the user to
|
|
9
|
+
* - department_admin_email (optional): Email of department admin (for validation)
|
|
3
10
|
*/
|
|
4
11
|
export type PlatformInvitationCreate = {
|
|
5
12
|
/**
|
|
@@ -38,4 +45,24 @@ export type PlatformInvitationCreate = {
|
|
|
38
45
|
* Additional metadata for the invitation
|
|
39
46
|
*/
|
|
40
47
|
metadata?: Record<string, any>;
|
|
48
|
+
/**
|
|
49
|
+
* Company name for the invited user
|
|
50
|
+
*/
|
|
51
|
+
company_name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* First name of the invited user
|
|
54
|
+
*/
|
|
55
|
+
first_name?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Last name of the invited user
|
|
58
|
+
*/
|
|
59
|
+
last_name?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Name of the UserGroup to assign the user to
|
|
62
|
+
*/
|
|
63
|
+
group?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Email of department admin (for validation when group is specified)
|
|
66
|
+
*/
|
|
67
|
+
department_admin_email?: string;
|
|
41
68
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Request serializer for ProgramInvitationView POST endpoint
|
|
2
|
+
* Request serializer for ProgramInvitationView POST endpoint.
|
|
3
|
+
*
|
|
4
|
+
* Supports CSV date fields for enrollment_config:
|
|
5
|
+
* - program_access_start_date: Maps to enrollment_config['started']
|
|
6
|
+
* - program_access_expiration_date: Maps to enrollment_config['expired']
|
|
3
7
|
*/
|
|
4
8
|
export type ProgramInvitationCreate = {
|
|
5
9
|
/**
|
|
@@ -42,4 +46,12 @@ export type ProgramInvitationCreate = {
|
|
|
42
46
|
* Enrollment configuration (dates, etc.)
|
|
43
47
|
*/
|
|
44
48
|
enrollment_config?: Record<string, any>;
|
|
49
|
+
/**
|
|
50
|
+
* Program access start date (maps to enrollment_config['started'])
|
|
51
|
+
*/
|
|
52
|
+
program_access_start_date?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Program access expiration date (maps to enrollment_config['expired'])
|
|
55
|
+
*/
|
|
56
|
+
program_access_expiration_date?: string | null;
|
|
45
57
|
};
|
|
@@ -1111,7 +1111,7 @@ export declare class CatalogService {
|
|
|
1111
1111
|
* @returns PaginatedCourseInvitation
|
|
1112
1112
|
* @throws ApiError
|
|
1113
1113
|
*/
|
|
1114
|
-
static catalogInvitationsCourseRetrieve({ active, courseId, email,
|
|
1114
|
+
static catalogInvitationsCourseRetrieve({ active, courseId, email, org, page, pageSize, platformKey, platformOrg, sort, source, username, verbose, }: {
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Filter by active status
|
|
1117
1117
|
*/
|
|
@@ -1124,10 +1124,6 @@ export declare class CatalogService {
|
|
|
1124
1124
|
* Filter by user email
|
|
1125
1125
|
*/
|
|
1126
1126
|
email?: string;
|
|
1127
|
-
/**
|
|
1128
|
-
* Alternative filter by platform key
|
|
1129
|
-
*/
|
|
1130
|
-
key?: string;
|
|
1131
1127
|
/**
|
|
1132
1128
|
* Alternative filter by platform organization
|
|
1133
1129
|
*/
|
|
@@ -1170,7 +1166,7 @@ export declare class CatalogService {
|
|
|
1170
1166
|
* @returns CourseInvitationDetail
|
|
1171
1167
|
* @throws ApiError
|
|
1172
1168
|
*/
|
|
1173
|
-
static catalogInvitationsCourseCreate({ requestBody, active, courseId, email,
|
|
1169
|
+
static catalogInvitationsCourseCreate({ requestBody, active, courseId, email, org, page, pageSize, platformKey, platformOrg, sort, source, username, verbose, }: {
|
|
1174
1170
|
requestBody: CourseInvitationCreate;
|
|
1175
1171
|
/**
|
|
1176
1172
|
* Filter by active status
|
|
@@ -1184,10 +1180,6 @@ export declare class CatalogService {
|
|
|
1184
1180
|
* Filter by user email
|
|
1185
1181
|
*/
|
|
1186
1182
|
email?: string;
|
|
1187
|
-
/**
|
|
1188
|
-
* Alternative filter by platform key
|
|
1189
|
-
*/
|
|
1190
|
-
key?: string;
|
|
1191
1183
|
/**
|
|
1192
1184
|
* Alternative filter by platform organization
|
|
1193
1185
|
*/
|
|
@@ -1230,7 +1222,7 @@ export declare class CatalogService {
|
|
|
1230
1222
|
* @returns any Invitation successfully deleted
|
|
1231
1223
|
* @throws ApiError
|
|
1232
1224
|
*/
|
|
1233
|
-
static catalogInvitationsCourseDestroy({ active, courseId, email,
|
|
1225
|
+
static catalogInvitationsCourseDestroy({ active, courseId, email, org, page, pageSize, platformKey, platformOrg, sort, source, username, verbose, }: {
|
|
1234
1226
|
/**
|
|
1235
1227
|
* Filter by active status
|
|
1236
1228
|
*/
|
|
@@ -1243,10 +1235,6 @@ export declare class CatalogService {
|
|
|
1243
1235
|
* Filter by user email
|
|
1244
1236
|
*/
|
|
1245
1237
|
email?: string;
|
|
1246
|
-
/**
|
|
1247
|
-
* Alternative filter by platform key
|
|
1248
|
-
*/
|
|
1249
|
-
key?: string;
|
|
1250
1238
|
/**
|
|
1251
1239
|
* Alternative filter by platform organization
|
|
1252
1240
|
*/
|
|
@@ -1682,7 +1670,7 @@ export declare class CatalogService {
|
|
|
1682
1670
|
* @returns PaginatedProgramInvitation
|
|
1683
1671
|
* @throws ApiError
|
|
1684
1672
|
*/
|
|
1685
|
-
static catalogInvitationsProgramRetrieve({ active, email, org, page, pageSize, programKey, sort, source, username, verbose, }: {
|
|
1673
|
+
static catalogInvitationsProgramRetrieve({ active, email, org, page, pageSize, platformKey, programKey, sort, source, username, verbose, }: {
|
|
1686
1674
|
/**
|
|
1687
1675
|
* Filter by active status
|
|
1688
1676
|
*/
|
|
@@ -1703,6 +1691,10 @@ export declare class CatalogService {
|
|
|
1703
1691
|
* Number of results per page
|
|
1704
1692
|
*/
|
|
1705
1693
|
pageSize?: number;
|
|
1694
|
+
/**
|
|
1695
|
+
* Filter by platform key
|
|
1696
|
+
*/
|
|
1697
|
+
platformKey?: string;
|
|
1706
1698
|
/**
|
|
1707
1699
|
* Filter by program key
|
|
1708
1700
|
*/
|
|
@@ -1810,7 +1802,7 @@ export declare class CatalogService {
|
|
|
1810
1802
|
* @returns ProgramInvitationDetail
|
|
1811
1803
|
* @throws ApiError
|
|
1812
1804
|
*/
|
|
1813
|
-
static catalogInvitationsProgramCreate({ requestBody, active, email, org, page, pageSize, programKey, sort, source, username, verbose, }: {
|
|
1805
|
+
static catalogInvitationsProgramCreate({ requestBody, active, email, org, page, pageSize, platformKey, programKey, sort, source, username, verbose, }: {
|
|
1814
1806
|
requestBody: ProgramInvitationCreate;
|
|
1815
1807
|
/**
|
|
1816
1808
|
* Filter by active status
|
|
@@ -1832,6 +1824,10 @@ export declare class CatalogService {
|
|
|
1832
1824
|
* Number of results per page
|
|
1833
1825
|
*/
|
|
1834
1826
|
pageSize?: number;
|
|
1827
|
+
/**
|
|
1828
|
+
* Filter by platform key
|
|
1829
|
+
*/
|
|
1830
|
+
platformKey?: string;
|
|
1835
1831
|
/**
|
|
1836
1832
|
* Filter by program key
|
|
1837
1833
|
*/
|
|
@@ -1858,7 +1854,7 @@ export declare class CatalogService {
|
|
|
1858
1854
|
* @returns any Invitation successfully deleted
|
|
1859
1855
|
* @throws ApiError
|
|
1860
1856
|
*/
|
|
1861
|
-
static catalogInvitationsProgramDestroy({ active, email, org, page, pageSize, programKey, sort, source, username, verbose, }: {
|
|
1857
|
+
static catalogInvitationsProgramDestroy({ active, email, org, page, pageSize, platformKey, programKey, sort, source, username, verbose, }: {
|
|
1862
1858
|
/**
|
|
1863
1859
|
* Filter by active status
|
|
1864
1860
|
*/
|
|
@@ -1879,6 +1875,10 @@ export declare class CatalogService {
|
|
|
1879
1875
|
* Number of results per page
|
|
1880
1876
|
*/
|
|
1881
1877
|
pageSize?: number;
|
|
1878
|
+
/**
|
|
1879
|
+
* Filter by platform key
|
|
1880
|
+
*/
|
|
1881
|
+
platformKey?: string;
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Filter by program key
|
|
1884
1884
|
*/
|
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.112.
|
|
4
|
+
version: 4.112.3-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -40910,12 +40910,6 @@ paths:
|
|
|
40910
40910
|
type: string
|
|
40911
40911
|
minLength: 1
|
|
40912
40912
|
description: Filter by user email
|
|
40913
|
-
- in: query
|
|
40914
|
-
name: key
|
|
40915
|
-
schema:
|
|
40916
|
-
type: string
|
|
40917
|
-
minLength: 1
|
|
40918
|
-
description: Alternative filter by platform key
|
|
40919
40913
|
- in: query
|
|
40920
40914
|
name: org
|
|
40921
40915
|
schema:
|
|
@@ -41008,12 +41002,6 @@ paths:
|
|
|
41008
41002
|
type: string
|
|
41009
41003
|
minLength: 1
|
|
41010
41004
|
description: Filter by user email
|
|
41011
|
-
- in: query
|
|
41012
|
-
name: key
|
|
41013
|
-
schema:
|
|
41014
|
-
type: string
|
|
41015
|
-
minLength: 1
|
|
41016
|
-
description: Alternative filter by platform key
|
|
41017
41005
|
- in: query
|
|
41018
41006
|
name: org
|
|
41019
41007
|
schema:
|
|
@@ -41126,12 +41114,6 @@ paths:
|
|
|
41126
41114
|
type: string
|
|
41127
41115
|
minLength: 1
|
|
41128
41116
|
description: Filter by user email
|
|
41129
|
-
- in: query
|
|
41130
|
-
name: key
|
|
41131
|
-
schema:
|
|
41132
|
-
type: string
|
|
41133
|
-
minLength: 1
|
|
41134
|
-
description: Alternative filter by platform key
|
|
41135
41117
|
- in: query
|
|
41136
41118
|
name: org
|
|
41137
41119
|
schema:
|
|
@@ -41963,6 +41945,12 @@ paths:
|
|
|
41963
41945
|
schema:
|
|
41964
41946
|
type: integer
|
|
41965
41947
|
description: Number of results per page
|
|
41948
|
+
- in: query
|
|
41949
|
+
name: platform_key
|
|
41950
|
+
schema:
|
|
41951
|
+
type: string
|
|
41952
|
+
minLength: 1
|
|
41953
|
+
description: Filter by platform key
|
|
41966
41954
|
- in: query
|
|
41967
41955
|
name: program_key
|
|
41968
41956
|
schema:
|
|
@@ -42125,6 +42113,12 @@ paths:
|
|
|
42125
42113
|
schema:
|
|
42126
42114
|
type: integer
|
|
42127
42115
|
description: Number of results per page
|
|
42116
|
+
- in: query
|
|
42117
|
+
name: platform_key
|
|
42118
|
+
schema:
|
|
42119
|
+
type: string
|
|
42120
|
+
minLength: 1
|
|
42121
|
+
description: Filter by platform key
|
|
42128
42122
|
- in: query
|
|
42129
42123
|
name: program_key
|
|
42130
42124
|
schema:
|
|
@@ -42225,6 +42219,12 @@ paths:
|
|
|
42225
42219
|
schema:
|
|
42226
42220
|
type: integer
|
|
42227
42221
|
description: Number of results per page
|
|
42222
|
+
- in: query
|
|
42223
|
+
name: platform_key
|
|
42224
|
+
schema:
|
|
42225
|
+
type: string
|
|
42226
|
+
minLength: 1
|
|
42227
|
+
description: Filter by platform key
|
|
42228
42228
|
- in: query
|
|
42229
42229
|
name: program_key
|
|
42230
42230
|
schema:
|
|
@@ -70856,6 +70856,7 @@ components:
|
|
|
70856
70856
|
description: The platform key for permission validation
|
|
70857
70857
|
required:
|
|
70858
70858
|
- invitation_data
|
|
70859
|
+
- platform_key
|
|
70859
70860
|
BulkPlatformInvitationResponse:
|
|
70860
70861
|
type: object
|
|
70861
70862
|
description: Response serializer for bulk invitation creation
|
|
@@ -85049,7 +85050,15 @@ components:
|
|
|
85049
85050
|
- platform_name
|
|
85050
85051
|
PlatformInvitationCreate:
|
|
85051
85052
|
type: object
|
|
85052
|
-
description:
|
|
85053
|
+
description: |-
|
|
85054
|
+
Request serializer for PlatformInvitationView POST endpoint
|
|
85055
|
+
|
|
85056
|
+
Supports new CSV format fields:
|
|
85057
|
+
- company_name (optional): Company name for the invited user
|
|
85058
|
+
- first_name (new): First name of the invited user
|
|
85059
|
+
- last_name (new): Last name of the invited user
|
|
85060
|
+
- group (new): Name of the UserGroup to assign the user to
|
|
85061
|
+
- department_admin_email (optional): Email of department admin (for validation)
|
|
85053
85062
|
properties:
|
|
85054
85063
|
platform_key:
|
|
85055
85064
|
type: string
|
|
@@ -85084,6 +85093,26 @@ components:
|
|
|
85084
85093
|
type: object
|
|
85085
85094
|
additionalProperties: {}
|
|
85086
85095
|
description: Additional metadata for the invitation
|
|
85096
|
+
company_name:
|
|
85097
|
+
type: string
|
|
85098
|
+
description: Company name for the invited user
|
|
85099
|
+
maxLength: 255
|
|
85100
|
+
first_name:
|
|
85101
|
+
type: string
|
|
85102
|
+
description: First name of the invited user
|
|
85103
|
+
maxLength: 255
|
|
85104
|
+
last_name:
|
|
85105
|
+
type: string
|
|
85106
|
+
description: Last name of the invited user
|
|
85107
|
+
maxLength: 255
|
|
85108
|
+
group:
|
|
85109
|
+
type: string
|
|
85110
|
+
description: Name of the UserGroup to assign the user to
|
|
85111
|
+
maxLength: 255
|
|
85112
|
+
department_admin_email:
|
|
85113
|
+
type: string
|
|
85114
|
+
format: email
|
|
85115
|
+
description: Email of department admin (for validation when group is specified)
|
|
85087
85116
|
required:
|
|
85088
85117
|
- platform_key
|
|
85089
85118
|
PlatformInvitationDetail:
|
|
@@ -86248,7 +86277,12 @@ components:
|
|
|
86248
86277
|
- visible
|
|
86249
86278
|
ProgramInvitationCreate:
|
|
86250
86279
|
type: object
|
|
86251
|
-
description:
|
|
86280
|
+
description: |-
|
|
86281
|
+
Request serializer for ProgramInvitationView POST endpoint.
|
|
86282
|
+
|
|
86283
|
+
Supports CSV date fields for enrollment_config:
|
|
86284
|
+
- program_access_start_date: Maps to enrollment_config['started']
|
|
86285
|
+
- program_access_expiration_date: Maps to enrollment_config['expired']
|
|
86252
86286
|
properties:
|
|
86253
86287
|
program_key:
|
|
86254
86288
|
type: string
|
|
@@ -86287,6 +86321,16 @@ components:
|
|
|
86287
86321
|
type: object
|
|
86288
86322
|
additionalProperties: {}
|
|
86289
86323
|
description: Enrollment configuration (dates, etc.)
|
|
86324
|
+
program_access_start_date:
|
|
86325
|
+
type: string
|
|
86326
|
+
format: date-time
|
|
86327
|
+
nullable: true
|
|
86328
|
+
description: Program access start date (maps to enrollment_config['started'])
|
|
86329
|
+
program_access_expiration_date:
|
|
86330
|
+
type: string
|
|
86331
|
+
format: date-time
|
|
86332
|
+
nullable: true
|
|
86333
|
+
description: Program access expiration date (maps to enrollment_config['expired'])
|
|
86290
86334
|
required:
|
|
86291
86335
|
- program_key
|
|
86292
86336
|
ProgramInvitationDetail:
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
6
|
* Request serializer for PlatformInvitationView POST endpoint
|
|
7
|
+
*
|
|
8
|
+
* Supports new CSV format fields:
|
|
9
|
+
* - company_name (optional): Company name for the invited user
|
|
10
|
+
* - first_name (new): First name of the invited user
|
|
11
|
+
* - last_name (new): Last name of the invited user
|
|
12
|
+
* - group (new): Name of the UserGroup to assign the user to
|
|
13
|
+
* - department_admin_email (optional): Email of department admin (for validation)
|
|
7
14
|
*/
|
|
8
15
|
export type PlatformInvitationCreate = {
|
|
9
16
|
/**
|
|
@@ -42,5 +49,25 @@ export type PlatformInvitationCreate = {
|
|
|
42
49
|
* Additional metadata for the invitation
|
|
43
50
|
*/
|
|
44
51
|
metadata?: Record<string, any>;
|
|
52
|
+
/**
|
|
53
|
+
* Company name for the invited user
|
|
54
|
+
*/
|
|
55
|
+
company_name?: string;
|
|
56
|
+
/**
|
|
57
|
+
* First name of the invited user
|
|
58
|
+
*/
|
|
59
|
+
first_name?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Last name of the invited user
|
|
62
|
+
*/
|
|
63
|
+
last_name?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Name of the UserGroup to assign the user to
|
|
66
|
+
*/
|
|
67
|
+
group?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Email of department admin (for validation when group is specified)
|
|
70
|
+
*/
|
|
71
|
+
department_admin_email?: string;
|
|
45
72
|
};
|
|
46
73
|
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
|
-
* Request serializer for ProgramInvitationView POST endpoint
|
|
6
|
+
* Request serializer for ProgramInvitationView POST endpoint.
|
|
7
|
+
*
|
|
8
|
+
* Supports CSV date fields for enrollment_config:
|
|
9
|
+
* - program_access_start_date: Maps to enrollment_config['started']
|
|
10
|
+
* - program_access_expiration_date: Maps to enrollment_config['expired']
|
|
7
11
|
*/
|
|
8
12
|
export type ProgramInvitationCreate = {
|
|
9
13
|
/**
|
|
@@ -46,5 +50,13 @@ export type ProgramInvitationCreate = {
|
|
|
46
50
|
* Enrollment configuration (dates, etc.)
|
|
47
51
|
*/
|
|
48
52
|
enrollment_config?: Record<string, any>;
|
|
53
|
+
/**
|
|
54
|
+
* Program access start date (maps to enrollment_config['started'])
|
|
55
|
+
*/
|
|
56
|
+
program_access_start_date?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Program access expiration date (maps to enrollment_config['expired'])
|
|
59
|
+
*/
|
|
60
|
+
program_access_expiration_date?: string | null;
|
|
49
61
|
};
|
|
50
62
|
|
|
@@ -1741,7 +1741,6 @@ export class CatalogService {
|
|
|
1741
1741
|
active,
|
|
1742
1742
|
courseId,
|
|
1743
1743
|
email,
|
|
1744
|
-
key,
|
|
1745
1744
|
org,
|
|
1746
1745
|
page,
|
|
1747
1746
|
pageSize,
|
|
@@ -1764,10 +1763,6 @@ export class CatalogService {
|
|
|
1764
1763
|
* Filter by user email
|
|
1765
1764
|
*/
|
|
1766
1765
|
email?: string,
|
|
1767
|
-
/**
|
|
1768
|
-
* Alternative filter by platform key
|
|
1769
|
-
*/
|
|
1770
|
-
key?: string,
|
|
1771
1766
|
/**
|
|
1772
1767
|
* Alternative filter by platform organization
|
|
1773
1768
|
*/
|
|
@@ -1812,7 +1807,6 @@ export class CatalogService {
|
|
|
1812
1807
|
'active': active,
|
|
1813
1808
|
'course_id': courseId,
|
|
1814
1809
|
'email': email,
|
|
1815
|
-
'key': key,
|
|
1816
1810
|
'org': org,
|
|
1817
1811
|
'page': page,
|
|
1818
1812
|
'page_size': pageSize,
|
|
@@ -1841,7 +1835,6 @@ export class CatalogService {
|
|
|
1841
1835
|
active,
|
|
1842
1836
|
courseId,
|
|
1843
1837
|
email,
|
|
1844
|
-
key,
|
|
1845
1838
|
org,
|
|
1846
1839
|
page,
|
|
1847
1840
|
pageSize,
|
|
@@ -1865,10 +1858,6 @@ export class CatalogService {
|
|
|
1865
1858
|
* Filter by user email
|
|
1866
1859
|
*/
|
|
1867
1860
|
email?: string,
|
|
1868
|
-
/**
|
|
1869
|
-
* Alternative filter by platform key
|
|
1870
|
-
*/
|
|
1871
|
-
key?: string,
|
|
1872
1861
|
/**
|
|
1873
1862
|
* Alternative filter by platform organization
|
|
1874
1863
|
*/
|
|
@@ -1913,7 +1902,6 @@ export class CatalogService {
|
|
|
1913
1902
|
'active': active,
|
|
1914
1903
|
'course_id': courseId,
|
|
1915
1904
|
'email': email,
|
|
1916
|
-
'key': key,
|
|
1917
1905
|
'org': org,
|
|
1918
1906
|
'page': page,
|
|
1919
1907
|
'page_size': pageSize,
|
|
@@ -1944,7 +1932,6 @@ export class CatalogService {
|
|
|
1944
1932
|
active,
|
|
1945
1933
|
courseId,
|
|
1946
1934
|
email,
|
|
1947
|
-
key,
|
|
1948
1935
|
org,
|
|
1949
1936
|
page,
|
|
1950
1937
|
pageSize,
|
|
@@ -1967,10 +1954,6 @@ export class CatalogService {
|
|
|
1967
1954
|
* Filter by user email
|
|
1968
1955
|
*/
|
|
1969
1956
|
email?: string,
|
|
1970
|
-
/**
|
|
1971
|
-
* Alternative filter by platform key
|
|
1972
|
-
*/
|
|
1973
|
-
key?: string,
|
|
1974
1957
|
/**
|
|
1975
1958
|
* Alternative filter by platform organization
|
|
1976
1959
|
*/
|
|
@@ -2015,7 +1998,6 @@ export class CatalogService {
|
|
|
2015
1998
|
'active': active,
|
|
2016
1999
|
'course_id': courseId,
|
|
2017
2000
|
'email': email,
|
|
2018
|
-
'key': key,
|
|
2019
2001
|
'org': org,
|
|
2020
2002
|
'page': page,
|
|
2021
2003
|
'page_size': pageSize,
|
|
@@ -2654,6 +2636,7 @@ export class CatalogService {
|
|
|
2654
2636
|
org,
|
|
2655
2637
|
page,
|
|
2656
2638
|
pageSize,
|
|
2639
|
+
platformKey,
|
|
2657
2640
|
programKey,
|
|
2658
2641
|
sort = '-id',
|
|
2659
2642
|
source,
|
|
@@ -2680,6 +2663,10 @@ export class CatalogService {
|
|
|
2680
2663
|
* Number of results per page
|
|
2681
2664
|
*/
|
|
2682
2665
|
pageSize?: number,
|
|
2666
|
+
/**
|
|
2667
|
+
* Filter by platform key
|
|
2668
|
+
*/
|
|
2669
|
+
platformKey?: string,
|
|
2683
2670
|
/**
|
|
2684
2671
|
* Filter by program key
|
|
2685
2672
|
*/
|
|
@@ -2710,6 +2697,7 @@ export class CatalogService {
|
|
|
2710
2697
|
'org': org,
|
|
2711
2698
|
'page': page,
|
|
2712
2699
|
'page_size': pageSize,
|
|
2700
|
+
'platform_key': platformKey,
|
|
2713
2701
|
'program_key': programKey,
|
|
2714
2702
|
'sort': sort,
|
|
2715
2703
|
'source': source,
|
|
@@ -2817,6 +2805,7 @@ export class CatalogService {
|
|
|
2817
2805
|
org,
|
|
2818
2806
|
page,
|
|
2819
2807
|
pageSize,
|
|
2808
|
+
platformKey,
|
|
2820
2809
|
programKey,
|
|
2821
2810
|
sort = '-id',
|
|
2822
2811
|
source,
|
|
@@ -2844,6 +2833,10 @@ export class CatalogService {
|
|
|
2844
2833
|
* Number of results per page
|
|
2845
2834
|
*/
|
|
2846
2835
|
pageSize?: number,
|
|
2836
|
+
/**
|
|
2837
|
+
* Filter by platform key
|
|
2838
|
+
*/
|
|
2839
|
+
platformKey?: string,
|
|
2847
2840
|
/**
|
|
2848
2841
|
* Filter by program key
|
|
2849
2842
|
*/
|
|
@@ -2874,6 +2867,7 @@ export class CatalogService {
|
|
|
2874
2867
|
'org': org,
|
|
2875
2868
|
'page': page,
|
|
2876
2869
|
'page_size': pageSize,
|
|
2870
|
+
'platform_key': platformKey,
|
|
2877
2871
|
'program_key': programKey,
|
|
2878
2872
|
'sort': sort,
|
|
2879
2873
|
'source': source,
|
|
@@ -2902,6 +2896,7 @@ export class CatalogService {
|
|
|
2902
2896
|
org,
|
|
2903
2897
|
page,
|
|
2904
2898
|
pageSize,
|
|
2899
|
+
platformKey,
|
|
2905
2900
|
programKey,
|
|
2906
2901
|
sort = '-id',
|
|
2907
2902
|
source,
|
|
@@ -2928,6 +2923,10 @@ export class CatalogService {
|
|
|
2928
2923
|
* Number of results per page
|
|
2929
2924
|
*/
|
|
2930
2925
|
pageSize?: number,
|
|
2926
|
+
/**
|
|
2927
|
+
* Filter by platform key
|
|
2928
|
+
*/
|
|
2929
|
+
platformKey?: string,
|
|
2931
2930
|
/**
|
|
2932
2931
|
* Filter by program key
|
|
2933
2932
|
*/
|
|
@@ -2958,6 +2957,7 @@ export class CatalogService {
|
|
|
2958
2957
|
'org': org,
|
|
2959
2958
|
'page': page,
|
|
2960
2959
|
'page_size': pageSize,
|
|
2960
|
+
'platform_key': platformKey,
|
|
2961
2961
|
'program_key': programKey,
|
|
2962
2962
|
'sort': sort,
|
|
2963
2963
|
'source': source,
|