@iblai/iblai-api 4.112.2-core → 4.112.3-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.112.2-core',
113
+ VERSION: '4.112.3-core',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -5746,7 +5746,6 @@ class CatalogService {
5746
5746
  active,
5747
5747
  courseId,
5748
5748
  email,
5749
- key,
5750
5749
  org,
5751
5750
  page,
5752
5751
  pageSize,
@@ -5764,7 +5763,6 @@ class CatalogService {
5764
5763
  'active': active,
5765
5764
  'course_id': courseId,
5766
5765
  'email': email,
5767
- 'key': key,
5768
5766
  'org': org,
5769
5767
  'page': page,
5770
5768
  'page_size': pageSize,
@@ -5793,7 +5791,6 @@ class CatalogService {
5793
5791
  active,
5794
5792
  courseId,
5795
5793
  email,
5796
- key,
5797
5794
  org,
5798
5795
  page,
5799
5796
  pageSize,
@@ -5811,7 +5808,6 @@ class CatalogService {
5811
5808
  'active': active,
5812
5809
  'course_id': courseId,
5813
5810
  'email': email,
5814
- 'key': key,
5815
5811
  'org': org,
5816
5812
  'page': page,
5817
5813
  'page_size': pageSize,
@@ -5842,7 +5838,6 @@ class CatalogService {
5842
5838
  active,
5843
5839
  courseId,
5844
5840
  email,
5845
- key,
5846
5841
  org,
5847
5842
  page,
5848
5843
  pageSize,
@@ -5860,7 +5855,6 @@ class CatalogService {
5860
5855
  'active': active,
5861
5856
  'course_id': courseId,
5862
5857
  'email': email,
5863
- 'key': key,
5864
5858
  'org': org,
5865
5859
  'page': page,
5866
5860
  'page_size': pageSize,
@@ -6358,6 +6352,7 @@ class CatalogService {
6358
6352
  org,
6359
6353
  page,
6360
6354
  pageSize,
6355
+ platformKey,
6361
6356
  programKey,
6362
6357
  sort = '-id',
6363
6358
  source,
@@ -6373,6 +6368,7 @@ class CatalogService {
6373
6368
  'org': org,
6374
6369
  'page': page,
6375
6370
  'page_size': pageSize,
6371
+ 'platform_key': platformKey,
6376
6372
  'program_key': programKey,
6377
6373
  'sort': sort,
6378
6374
  'source': source,
@@ -6480,6 +6476,7 @@ class CatalogService {
6480
6476
  org,
6481
6477
  page,
6482
6478
  pageSize,
6479
+ platformKey,
6483
6480
  programKey,
6484
6481
  sort = '-id',
6485
6482
  source,
@@ -6495,6 +6492,7 @@ class CatalogService {
6495
6492
  'org': org,
6496
6493
  'page': page,
6497
6494
  'page_size': pageSize,
6495
+ 'platform_key': platformKey,
6498
6496
  'program_key': programKey,
6499
6497
  'sort': sort,
6500
6498
  'source': source,
@@ -6523,6 +6521,7 @@ class CatalogService {
6523
6521
  org,
6524
6522
  page,
6525
6523
  pageSize,
6524
+ platformKey,
6526
6525
  programKey,
6527
6526
  sort = '-id',
6528
6527
  source,
@@ -6538,6 +6537,7 @@ class CatalogService {
6538
6537
  'org': org,
6539
6538
  'page': page,
6540
6539
  'page_size': pageSize,
6540
+ 'platform_key': platformKey,
6541
6541
  'program_key': programKey,
6542
6542
  'sort': sort,
6543
6543
  '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.2-core',
111
+ VERSION: '4.112.3-core',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -5744,7 +5744,6 @@ class CatalogService {
5744
5744
  active,
5745
5745
  courseId,
5746
5746
  email,
5747
- key,
5748
5747
  org,
5749
5748
  page,
5750
5749
  pageSize,
@@ -5762,7 +5761,6 @@ class CatalogService {
5762
5761
  'active': active,
5763
5762
  'course_id': courseId,
5764
5763
  'email': email,
5765
- 'key': key,
5766
5764
  'org': org,
5767
5765
  'page': page,
5768
5766
  'page_size': pageSize,
@@ -5791,7 +5789,6 @@ class CatalogService {
5791
5789
  active,
5792
5790
  courseId,
5793
5791
  email,
5794
- key,
5795
5792
  org,
5796
5793
  page,
5797
5794
  pageSize,
@@ -5809,7 +5806,6 @@ class CatalogService {
5809
5806
  'active': active,
5810
5807
  'course_id': courseId,
5811
5808
  'email': email,
5812
- 'key': key,
5813
5809
  'org': org,
5814
5810
  'page': page,
5815
5811
  'page_size': pageSize,
@@ -5840,7 +5836,6 @@ class CatalogService {
5840
5836
  active,
5841
5837
  courseId,
5842
5838
  email,
5843
- key,
5844
5839
  org,
5845
5840
  page,
5846
5841
  pageSize,
@@ -5858,7 +5853,6 @@ class CatalogService {
5858
5853
  'active': active,
5859
5854
  'course_id': courseId,
5860
5855
  'email': email,
5861
- 'key': key,
5862
5856
  'org': org,
5863
5857
  'page': page,
5864
5858
  'page_size': pageSize,
@@ -6356,6 +6350,7 @@ class CatalogService {
6356
6350
  org,
6357
6351
  page,
6358
6352
  pageSize,
6353
+ platformKey,
6359
6354
  programKey,
6360
6355
  sort = '-id',
6361
6356
  source,
@@ -6371,6 +6366,7 @@ class CatalogService {
6371
6366
  'org': org,
6372
6367
  'page': page,
6373
6368
  'page_size': pageSize,
6369
+ 'platform_key': platformKey,
6374
6370
  'program_key': programKey,
6375
6371
  'sort': sort,
6376
6372
  'source': source,
@@ -6478,6 +6474,7 @@ class CatalogService {
6478
6474
  org,
6479
6475
  page,
6480
6476
  pageSize,
6477
+ platformKey,
6481
6478
  programKey,
6482
6479
  sort = '-id',
6483
6480
  source,
@@ -6493,6 +6490,7 @@ class CatalogService {
6493
6490
  'org': org,
6494
6491
  'page': page,
6495
6492
  'page_size': pageSize,
6493
+ 'platform_key': platformKey,
6496
6494
  'program_key': programKey,
6497
6495
  'sort': sort,
6498
6496
  'source': source,
@@ -6521,6 +6519,7 @@ class CatalogService {
6521
6519
  org,
6522
6520
  page,
6523
6521
  pageSize,
6522
+ platformKey,
6524
6523
  programKey,
6525
6524
  sort = '-id',
6526
6525
  source,
@@ -6536,6 +6535,7 @@ class CatalogService {
6536
6535
  'org': org,
6537
6536
  'page': page,
6538
6537
  'page_size': pageSize,
6538
+ 'platform_key': platformKey,
6539
6539
  'program_key': programKey,
6540
6540
  'sort': sort,
6541
6541
  '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.2-core',
117
+ VERSION: '4.112.3-core',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -5750,7 +5750,6 @@
5750
5750
  active,
5751
5751
  courseId,
5752
5752
  email,
5753
- key,
5754
5753
  org,
5755
5754
  page,
5756
5755
  pageSize,
@@ -5768,7 +5767,6 @@
5768
5767
  'active': active,
5769
5768
  'course_id': courseId,
5770
5769
  'email': email,
5771
- 'key': key,
5772
5770
  'org': org,
5773
5771
  'page': page,
5774
5772
  'page_size': pageSize,
@@ -5797,7 +5795,6 @@
5797
5795
  active,
5798
5796
  courseId,
5799
5797
  email,
5800
- key,
5801
5798
  org,
5802
5799
  page,
5803
5800
  pageSize,
@@ -5815,7 +5812,6 @@
5815
5812
  'active': active,
5816
5813
  'course_id': courseId,
5817
5814
  'email': email,
5818
- 'key': key,
5819
5815
  'org': org,
5820
5816
  'page': page,
5821
5817
  'page_size': pageSize,
@@ -5846,7 +5842,6 @@
5846
5842
  active,
5847
5843
  courseId,
5848
5844
  email,
5849
- key,
5850
5845
  org,
5851
5846
  page,
5852
5847
  pageSize,
@@ -5864,7 +5859,6 @@
5864
5859
  'active': active,
5865
5860
  'course_id': courseId,
5866
5861
  'email': email,
5867
- 'key': key,
5868
5862
  'org': org,
5869
5863
  'page': page,
5870
5864
  'page_size': pageSize,
@@ -6362,6 +6356,7 @@
6362
6356
  org,
6363
6357
  page,
6364
6358
  pageSize,
6359
+ platformKey,
6365
6360
  programKey,
6366
6361
  sort = '-id',
6367
6362
  source,
@@ -6377,6 +6372,7 @@
6377
6372
  'org': org,
6378
6373
  'page': page,
6379
6374
  'page_size': pageSize,
6375
+ 'platform_key': platformKey,
6380
6376
  'program_key': programKey,
6381
6377
  'sort': sort,
6382
6378
  'source': source,
@@ -6484,6 +6480,7 @@
6484
6480
  org,
6485
6481
  page,
6486
6482
  pageSize,
6483
+ platformKey,
6487
6484
  programKey,
6488
6485
  sort = '-id',
6489
6486
  source,
@@ -6499,6 +6496,7 @@
6499
6496
  'org': org,
6500
6497
  'page': page,
6501
6498
  'page_size': pageSize,
6499
+ 'platform_key': platformKey,
6502
6500
  'program_key': programKey,
6503
6501
  'sort': sort,
6504
6502
  'source': source,
@@ -6527,6 +6525,7 @@
6527
6525
  org,
6528
6526
  page,
6529
6527
  pageSize,
6528
+ platformKey,
6530
6529
  programKey,
6531
6530
  sort = '-id',
6532
6531
  source,
@@ -6542,6 +6541,7 @@
6542
6541
  'org': org,
6543
6542
  'page': page,
6544
6543
  'page_size': pageSize,
6544
+ 'platform_key': platformKey,
6545
6545
  'program_key': programKey,
6546
6546
  'sort': sort,
6547
6547
  'source': source,
@@ -10,5 +10,5 @@ export type BulkPlatformInvitationCreate = {
10
10
  /**
11
11
  * The platform key for permission validation
12
12
  */
13
- platform_key?: string;
13
+ platform_key: string;
14
14
  };
@@ -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, key, org, page, pageSize, platformKey, platformOrg, sort, source, username, verbose, }: {
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, key, org, page, pageSize, platformKey, platformOrg, sort, source, username, verbose, }: {
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, key, org, page, pageSize, platformKey, platformOrg, sort, source, username, verbose, }: {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.112.2-core",
3
+ "version": "4.112.3-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.112.2-core
4
+ version: 4.112.3-core
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/analytics/content/:
@@ -4282,12 +4282,6 @@ paths:
4282
4282
  type: string
4283
4283
  minLength: 1
4284
4284
  description: Filter by user email
4285
- - in: query
4286
- name: key
4287
- schema:
4288
- type: string
4289
- minLength: 1
4290
- description: Alternative filter by platform key
4291
4285
  - in: query
4292
4286
  name: org
4293
4287
  schema:
@@ -4380,12 +4374,6 @@ paths:
4380
4374
  type: string
4381
4375
  minLength: 1
4382
4376
  description: Filter by user email
4383
- - in: query
4384
- name: key
4385
- schema:
4386
- type: string
4387
- minLength: 1
4388
- description: Alternative filter by platform key
4389
4377
  - in: query
4390
4378
  name: org
4391
4379
  schema:
@@ -4498,12 +4486,6 @@ paths:
4498
4486
  type: string
4499
4487
  minLength: 1
4500
4488
  description: Filter by user email
4501
- - in: query
4502
- name: key
4503
- schema:
4504
- type: string
4505
- minLength: 1
4506
- description: Alternative filter by platform key
4507
4489
  - in: query
4508
4490
  name: org
4509
4491
  schema:
@@ -5335,6 +5317,12 @@ paths:
5335
5317
  schema:
5336
5318
  type: integer
5337
5319
  description: Number of results per page
5320
+ - in: query
5321
+ name: platform_key
5322
+ schema:
5323
+ type: string
5324
+ minLength: 1
5325
+ description: Filter by platform key
5338
5326
  - in: query
5339
5327
  name: program_key
5340
5328
  schema:
@@ -5497,6 +5485,12 @@ paths:
5497
5485
  schema:
5498
5486
  type: integer
5499
5487
  description: Number of results per page
5488
+ - in: query
5489
+ name: platform_key
5490
+ schema:
5491
+ type: string
5492
+ minLength: 1
5493
+ description: Filter by platform key
5500
5494
  - in: query
5501
5495
  name: program_key
5502
5496
  schema:
@@ -5597,6 +5591,12 @@ paths:
5597
5591
  schema:
5598
5592
  type: integer
5599
5593
  description: Number of results per page
5594
+ - in: query
5595
+ name: platform_key
5596
+ schema:
5597
+ type: string
5598
+ minLength: 1
5599
+ description: Filter by platform key
5600
5600
  - in: query
5601
5601
  name: program_key
5602
5602
  schema:
@@ -32488,6 +32488,7 @@ components:
32488
32488
  description: The platform key for permission validation
32489
32489
  required:
32490
32490
  - invitation_data
32491
+ - platform_key
32491
32492
  BulkPlatformInvitationResponse:
32492
32493
  type: object
32493
32494
  description: Response serializer for bulk invitation creation
@@ -39285,7 +39286,15 @@ components:
39285
39286
  - platform_name
39286
39287
  PlatformInvitationCreate:
39287
39288
  type: object
39288
- description: Request serializer for PlatformInvitationView POST endpoint
39289
+ description: |-
39290
+ Request serializer for PlatformInvitationView POST endpoint
39291
+
39292
+ Supports new CSV format fields:
39293
+ - company_name (optional): Company name for the invited user
39294
+ - first_name (new): First name of the invited user
39295
+ - last_name (new): Last name of the invited user
39296
+ - group (new): Name of the UserGroup to assign the user to
39297
+ - department_admin_email (optional): Email of department admin (for validation)
39289
39298
  properties:
39290
39299
  platform_key:
39291
39300
  type: string
@@ -39320,6 +39329,26 @@ components:
39320
39329
  type: object
39321
39330
  additionalProperties: {}
39322
39331
  description: Additional metadata for the invitation
39332
+ company_name:
39333
+ type: string
39334
+ description: Company name for the invited user
39335
+ maxLength: 255
39336
+ first_name:
39337
+ type: string
39338
+ description: First name of the invited user
39339
+ maxLength: 255
39340
+ last_name:
39341
+ type: string
39342
+ description: Last name of the invited user
39343
+ maxLength: 255
39344
+ group:
39345
+ type: string
39346
+ description: Name of the UserGroup to assign the user to
39347
+ maxLength: 255
39348
+ department_admin_email:
39349
+ type: string
39350
+ format: email
39351
+ description: Email of department admin (for validation when group is specified)
39323
39352
  required:
39324
39353
  - platform_key
39325
39354
  PlatformInvitationDetail:
@@ -40356,7 +40385,12 @@ components:
40356
40385
  - visible
40357
40386
  ProgramInvitationCreate:
40358
40387
  type: object
40359
- description: Request serializer for ProgramInvitationView POST endpoint
40388
+ description: |-
40389
+ Request serializer for ProgramInvitationView POST endpoint.
40390
+
40391
+ Supports CSV date fields for enrollment_config:
40392
+ - program_access_start_date: Maps to enrollment_config['started']
40393
+ - program_access_expiration_date: Maps to enrollment_config['expired']
40360
40394
  properties:
40361
40395
  program_key:
40362
40396
  type: string
@@ -40395,6 +40429,16 @@ components:
40395
40429
  type: object
40396
40430
  additionalProperties: {}
40397
40431
  description: Enrollment configuration (dates, etc.)
40432
+ program_access_start_date:
40433
+ type: string
40434
+ format: date-time
40435
+ nullable: true
40436
+ description: Program access start date (maps to enrollment_config['started'])
40437
+ program_access_expiration_date:
40438
+ type: string
40439
+ format: date-time
40440
+ nullable: true
40441
+ description: Program access expiration date (maps to enrollment_config['expired'])
40398
40442
  required:
40399
40443
  - program_key
40400
40444
  ProgramInvitationDetail:
@@ -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.112.2-core',
24
+ VERSION: '4.112.3-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -14,6 +14,6 @@ export type BulkPlatformInvitationCreate = {
14
14
  /**
15
15
  * The platform key for permission validation
16
16
  */
17
- platform_key?: string;
17
+ platform_key: string;
18
18
  };
19
19
 
@@ -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,