@iblai/iblai-api 4.378.2-core → 4.378.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.
@@ -1097,14 +1097,17 @@ export declare class CatalogService {
1097
1097
  * 500 Internal Server Error: If an unexpected error occurs
1098
1098
  *
1099
1099
  * Access Control:
1100
- * - Requires IsDMAdmin, IsEdxUserReadOnly, or IsPlatformAdminOfUserReadOnly permission
1100
+ * - Requires IsDMAdmin, IsEdxUserReadOnly, IsPlatformAdminOfUserReadOnly,
1101
+ * or IsWatcherOfUserReadOnly permission
1101
1102
  * - Users can view their own enrollments
1102
1103
  * - Platform admins can view enrollments for users in their platform
1104
+ * - Watchers can view enrollments for a user they watch, scoped to the
1105
+ * queried user and platform
1103
1106
  * - DM admins can view all enrollments
1104
1107
  * @returns CourseEnrollmentSearchResponse
1105
1108
  * @throws ApiError
1106
1109
  */
1107
- static catalogEnrollmentCoursesSearchRetrieve({ courseId, courseName, email, includeDefaultPlatform, org, page, pageSize, platformKey, slug, sort, userId, username, }: {
1110
+ static catalogEnrollmentCoursesSearchRetrieve({ courseId, courseName, email, includeDefaultPlatform, key, org, page, pageSize, platformKey, platformOrg, slug, sort, userId, username, }: {
1108
1111
  /**
1109
1112
  * Filter enrollments by course ID
1110
1113
  */
@@ -1121,6 +1124,10 @@ export declare class CatalogService {
1121
1124
  * Include enrollments from default platform
1122
1125
  */
1123
1126
  includeDefaultPlatform?: boolean;
1127
+ /**
1128
+ * Alias of platform_key
1129
+ */
1130
+ key?: string;
1124
1131
  /**
1125
1132
  * Filter enrollments by organization
1126
1133
  */
@@ -1137,6 +1144,10 @@ export declare class CatalogService {
1137
1144
  * Filter enrollments by platform key
1138
1145
  */
1139
1146
  platformKey?: string;
1147
+ /**
1148
+ * Alias of org
1149
+ */
1150
+ platformOrg?: string;
1140
1151
  /**
1141
1152
  * Filter enrollments by course slug
1142
1153
  */
@@ -1159,7 +1170,7 @@ export declare class CatalogService {
1159
1170
  * @returns PathwayEnrollmentPlus
1160
1171
  * @throws ApiError
1161
1172
  */
1162
- static catalogEnrollmentPathwaysRetrieve({ active, includeDefaultPlatform, includeMetadata, org, pathwayId, pathwayKey, pathwayUuid, platformKey, slug, userId, username, }: {
1173
+ static catalogEnrollmentPathwaysRetrieve({ active, includeDefaultPlatform, includeMetadata, key, org, pathwayId, pathwayKey, pathwayUuid, platformKey, platformOrg, slug, userId, username, }: {
1163
1174
  /**
1164
1175
  * Whether the enrollment should be active
1165
1176
  */
@@ -1172,6 +1183,10 @@ export declare class CatalogService {
1172
1183
  * Include metadata in the response
1173
1184
  */
1174
1185
  includeMetadata?: boolean;
1186
+ /**
1187
+ * Alias of platform_key
1188
+ */
1189
+ key?: string;
1175
1190
  /**
1176
1191
  * Organization for the pathway
1177
1192
  */
@@ -1192,6 +1207,10 @@ export declare class CatalogService {
1192
1207
  * Platform key for the pathway
1193
1208
  */
1194
1209
  platformKey?: string;
1210
+ /**
1211
+ * Alias of org
1212
+ */
1213
+ platformOrg?: string;
1195
1214
  /**
1196
1215
  * Pathway slug for enrollment
1197
1216
  */
@@ -1210,7 +1229,7 @@ export declare class CatalogService {
1210
1229
  * @returns PathwayEnrollment
1211
1230
  * @throws ApiError
1212
1231
  */
1213
- static catalogEnrollmentPathwaysCreate({ active, includeDefaultPlatform, includeMetadata, org, pathwayId, pathwayKey, pathwayUuid, platformKey, slug, userId, username, requestBody, }: {
1232
+ static catalogEnrollmentPathwaysCreate({ active, includeDefaultPlatform, includeMetadata, key, org, pathwayId, pathwayKey, pathwayUuid, platformKey, platformOrg, slug, userId, username, requestBody, }: {
1214
1233
  /**
1215
1234
  * Whether the enrollment should be active
1216
1235
  */
@@ -1223,6 +1242,10 @@ export declare class CatalogService {
1223
1242
  * Include metadata in the response
1224
1243
  */
1225
1244
  includeMetadata?: boolean;
1245
+ /**
1246
+ * Alias of platform_key
1247
+ */
1248
+ key?: string;
1226
1249
  /**
1227
1250
  * Organization for the pathway
1228
1251
  */
@@ -1243,6 +1266,10 @@ export declare class CatalogService {
1243
1266
  * Platform key for the pathway
1244
1267
  */
1245
1268
  platformKey?: string;
1269
+ /**
1270
+ * Alias of org
1271
+ */
1272
+ platformOrg?: string;
1246
1273
  /**
1247
1274
  * Pathway slug for enrollment
1248
1275
  */
@@ -1262,7 +1289,7 @@ export declare class CatalogService {
1262
1289
  * @returns PathwayEnrollment
1263
1290
  * @throws ApiError
1264
1291
  */
1265
- static catalogEnrollmentPathwaysDestroy({ active, includeDefaultPlatform, includeMetadata, org, pathwayId, pathwayKey, pathwayUuid, platformKey, slug, userId, username, }: {
1292
+ static catalogEnrollmentPathwaysDestroy({ active, includeDefaultPlatform, includeMetadata, key, org, pathwayId, pathwayKey, pathwayUuid, platformKey, platformOrg, slug, userId, username, }: {
1266
1293
  /**
1267
1294
  * Whether the enrollment should be active
1268
1295
  */
@@ -1275,6 +1302,10 @@ export declare class CatalogService {
1275
1302
  * Include metadata in the response
1276
1303
  */
1277
1304
  includeMetadata?: boolean;
1305
+ /**
1306
+ * Alias of platform_key
1307
+ */
1308
+ key?: string;
1278
1309
  /**
1279
1310
  * Organization for the pathway
1280
1311
  */
@@ -1295,6 +1326,10 @@ export declare class CatalogService {
1295
1326
  * Platform key for the pathway
1296
1327
  */
1297
1328
  platformKey?: string;
1329
+ /**
1330
+ * Alias of org
1331
+ */
1332
+ platformOrg?: string;
1298
1333
  /**
1299
1334
  * Pathway slug for enrollment
1300
1335
  */
@@ -1398,7 +1433,7 @@ export declare class CatalogService {
1398
1433
  * @returns ProgramEnrollmentPlus
1399
1434
  * @throws ApiError
1400
1435
  */
1401
- static catalogEnrollmentProgramsRetrieve({ active, expired, ignoreExpiration, includeDefaultPlatform, includeMetadata, org, platformKey, programId, programKey, programType, slug, started, userId, username, }: {
1436
+ static catalogEnrollmentProgramsRetrieve({ active, expired, ignoreExpiration, includeDefaultPlatform, includeMetadata, key, org, platformKey, platformOrg, programId, programKey, programType, slug, started, userId, username, }: {
1402
1437
  /**
1403
1438
  * Whether the enrollment should be active
1404
1439
  */
@@ -1419,6 +1454,10 @@ export declare class CatalogService {
1419
1454
  * Include metadata in the response
1420
1455
  */
1421
1456
  includeMetadata?: boolean;
1457
+ /**
1458
+ * Alias of platform_key
1459
+ */
1460
+ key?: string;
1422
1461
  /**
1423
1462
  * Organization for the program
1424
1463
  */
@@ -1427,6 +1466,10 @@ export declare class CatalogService {
1427
1466
  * Platform key for the program
1428
1467
  */
1429
1468
  platformKey?: string;
1469
+ /**
1470
+ * Alias of org
1471
+ */
1472
+ platformOrg?: string;
1430
1473
  /**
1431
1474
  * Program ID for enrollment
1432
1475
  */
@@ -1461,7 +1504,7 @@ export declare class CatalogService {
1461
1504
  * @returns ProgramEnrollment
1462
1505
  * @throws ApiError
1463
1506
  */
1464
- static catalogEnrollmentProgramsCreate({ active, expired, ignoreExpiration, includeDefaultPlatform, includeMetadata, org, platformKey, programId, programKey, programType, slug, started, userId, username, requestBody, }: {
1507
+ static catalogEnrollmentProgramsCreate({ active, expired, ignoreExpiration, includeDefaultPlatform, includeMetadata, key, org, platformKey, platformOrg, programId, programKey, programType, slug, started, userId, username, requestBody, }: {
1465
1508
  /**
1466
1509
  * Whether the enrollment should be active
1467
1510
  */
@@ -1482,6 +1525,10 @@ export declare class CatalogService {
1482
1525
  * Include metadata in the response
1483
1526
  */
1484
1527
  includeMetadata?: boolean;
1528
+ /**
1529
+ * Alias of platform_key
1530
+ */
1531
+ key?: string;
1485
1532
  /**
1486
1533
  * Organization for the program
1487
1534
  */
@@ -1490,6 +1537,10 @@ export declare class CatalogService {
1490
1537
  * Platform key for the program
1491
1538
  */
1492
1539
  platformKey?: string;
1540
+ /**
1541
+ * Alias of org
1542
+ */
1543
+ platformOrg?: string;
1493
1544
  /**
1494
1545
  * Program ID for enrollment
1495
1546
  */
@@ -1525,7 +1576,7 @@ export declare class CatalogService {
1525
1576
  * @returns ProgramEnrollment
1526
1577
  * @throws ApiError
1527
1578
  */
1528
- static catalogEnrollmentProgramsDestroy({ active, expired, ignoreExpiration, includeDefaultPlatform, includeMetadata, org, platformKey, programId, programKey, programType, slug, started, userId, username, }: {
1579
+ static catalogEnrollmentProgramsDestroy({ active, expired, ignoreExpiration, includeDefaultPlatform, includeMetadata, key, org, platformKey, platformOrg, programId, programKey, programType, slug, started, userId, username, }: {
1529
1580
  /**
1530
1581
  * Whether the enrollment should be active
1531
1582
  */
@@ -1546,6 +1597,10 @@ export declare class CatalogService {
1546
1597
  * Include metadata in the response
1547
1598
  */
1548
1599
  includeMetadata?: boolean;
1600
+ /**
1601
+ * Alias of platform_key
1602
+ */
1603
+ key?: string;
1549
1604
  /**
1550
1605
  * Organization for the program
1551
1606
  */
@@ -1554,6 +1609,10 @@ export declare class CatalogService {
1554
1609
  * Platform key for the program
1555
1610
  */
1556
1611
  platformKey?: string;
1612
+ /**
1613
+ * Alias of org
1614
+ */
1615
+ platformOrg?: string;
1557
1616
  /**
1558
1617
  * Program ID for enrollment
1559
1618
  */
@@ -1588,11 +1647,15 @@ export declare class CatalogService {
1588
1647
  * @returns ProgramEnrollmentSearchResponse
1589
1648
  * @throws ApiError
1590
1649
  */
1591
- static catalogEnrollmentProgramsSearchRetrieve({ includeDefaultPlatform, org, page, pageSize, platformKey, programId, programType, slug, sort, userId, username, }: {
1650
+ static catalogEnrollmentProgramsSearchRetrieve({ includeDefaultPlatform, key, org, page, pageSize, platformKey, platformOrg, programId, programType, slug, sort, userId, username, }: {
1592
1651
  /**
1593
1652
  * Include enrollments from default platform
1594
1653
  */
1595
1654
  includeDefaultPlatform?: boolean;
1655
+ /**
1656
+ * Alias of platform_key
1657
+ */
1658
+ key?: string;
1596
1659
  /**
1597
1660
  * Filter enrollments by organization
1598
1661
  */
@@ -1609,6 +1672,10 @@ export declare class CatalogService {
1609
1672
  * Filter enrollments by platform key
1610
1673
  */
1611
1674
  platformKey?: string;
1675
+ /**
1676
+ * Alias of org
1677
+ */
1678
+ platformOrg?: string;
1612
1679
  /**
1613
1680
  * Filter enrollments by program ID
1614
1681
  */
@@ -4400,15 +4467,23 @@ export declare class CatalogService {
4400
4467
  * @returns Pathway
4401
4468
  * @throws ApiError
4402
4469
  */
4403
- static catalogPathwaysList({ itemId, name, pathwayId, pathwayUuid, platformKey, slug, userId, username, visible, }: {
4470
+ static catalogPathwaysList({ itemId, key, name, org, pathwayId, pathwayUuid, platformKey, platformOrg, slug, userId, username, visible, }: {
4404
4471
  /**
4405
4472
  * Item ID associated with the pathway
4406
4473
  */
4407
4474
  itemId?: string;
4475
+ /**
4476
+ * Alias of platform_key
4477
+ */
4478
+ key?: string;
4408
4479
  /**
4409
4480
  * Pathway name
4410
4481
  */
4411
4482
  name?: string;
4483
+ /**
4484
+ * Platform organization
4485
+ */
4486
+ org?: string;
4412
4487
  /**
4413
4488
  * Pathway ID
4414
4489
  */
@@ -4421,6 +4496,10 @@ export declare class CatalogService {
4421
4496
  * Platform key
4422
4497
  */
4423
4498
  platformKey?: string;
4499
+ /**
4500
+ * Alias of org
4501
+ */
4502
+ platformOrg?: string;
4424
4503
  /**
4425
4504
  * Pathway slug (case-insensitive)
4426
4505
  */
@@ -4443,16 +4522,24 @@ export declare class CatalogService {
4443
4522
  * @returns Pathway
4444
4523
  * @throws ApiError
4445
4524
  */
4446
- static catalogPathwaysCreate({ requestBody, itemId, name, pathwayId, pathwayUuid, platformKey, slug, userId, username, visible, }: {
4525
+ static catalogPathwaysCreate({ requestBody, itemId, key, name, org, pathwayId, pathwayUuid, platformKey, platformOrg, slug, userId, username, visible, }: {
4447
4526
  requestBody: PathwayCreateUpdateRequest;
4448
4527
  /**
4449
4528
  * Item ID associated with the pathway
4450
4529
  */
4451
4530
  itemId?: string;
4531
+ /**
4532
+ * Alias of platform_key
4533
+ */
4534
+ key?: string;
4452
4535
  /**
4453
4536
  * Pathway name
4454
4537
  */
4455
4538
  name?: string;
4539
+ /**
4540
+ * Platform organization
4541
+ */
4542
+ org?: string;
4456
4543
  /**
4457
4544
  * Pathway ID
4458
4545
  */
@@ -4465,6 +4552,10 @@ export declare class CatalogService {
4465
4552
  * Platform key
4466
4553
  */
4467
4554
  platformKey?: string;
4555
+ /**
4556
+ * Alias of org
4557
+ */
4558
+ platformOrg?: string;
4468
4559
  /**
4469
4560
  * Pathway slug (case-insensitive)
4470
4561
  */
@@ -4487,7 +4578,7 @@ export declare class CatalogService {
4487
4578
  * @returns PathwayDeleteResponse
4488
4579
  * @throws ApiError
4489
4580
  */
4490
- static catalogPathwaysDestroy({ pathwayId, userId, itemId, name, pathwayUuid, platformKey, slug, username, visible, }: {
4581
+ static catalogPathwaysDestroy({ pathwayId, userId, itemId, key, name, org, pathwayUuid, platformKey, platformOrg, slug, username, visible, }: {
4491
4582
  /**
4492
4583
  * Pathway ID to delete
4493
4584
  */
@@ -4500,10 +4591,18 @@ export declare class CatalogService {
4500
4591
  * Item ID associated with the pathway
4501
4592
  */
4502
4593
  itemId?: string;
4594
+ /**
4595
+ * Alias of platform_key
4596
+ */
4597
+ key?: string;
4503
4598
  /**
4504
4599
  * Pathway name
4505
4600
  */
4506
4601
  name?: string;
4602
+ /**
4603
+ * Platform organization
4604
+ */
4605
+ org?: string;
4507
4606
  /**
4508
4607
  * Pathway UUID
4509
4608
  */
@@ -4512,6 +4611,10 @@ export declare class CatalogService {
4512
4611
  * Platform key
4513
4612
  */
4514
4613
  platformKey?: string;
4614
+ /**
4615
+ * Alias of org
4616
+ */
4617
+ platformOrg?: string;
4515
4618
  /**
4516
4619
  * Pathway slug (case-insensitive)
4517
4620
  */
@@ -77,6 +77,7 @@ import type { UserPlatformSelfLinkResponse } from '../models/UserPlatformSelfLin
77
77
  import type { UserPlatformViewPostRequest } from '../models/UserPlatformViewPostRequest';
78
78
  import type { UserPolicyUpdate } from '../models/UserPolicyUpdate';
79
79
  import type { UserPolicyUpdateResponse } from '../models/UserPolicyUpdateResponse';
80
+ import type { UserProfileSummary } from '../models/UserProfileSummary';
80
81
  import type { UserProxyBulkRequest } from '../models/UserProxyBulkRequest';
81
82
  import type { UserProxyGetResponse } from '../models/UserProxyGetResponse';
82
83
  import type { UserProxyPostRequest } from '../models/UserProxyPostRequest';
@@ -1907,6 +1908,25 @@ export declare class CoreService {
1907
1908
  static coreUsersPlatformsSelfLinkCreate({ requestBody, }: {
1908
1909
  requestBody: UserPlatformSelfLinkRequest;
1909
1910
  }): CancelablePromise<UserPlatformSelfLinkResponse>;
1911
+ /**
1912
+ * Read a user's profile fields, for a viewer authorized to see them.
1913
+ *
1914
+ * This is not a public endpoint: access is controlled by the permission set
1915
+ * (the user themselves, a platform admin over them, a DM admin, or a watcher
1916
+ * of the user). It returns only the allowlist (see
1917
+ * UserProfileSummarySerializer): profile-card fields plus email, and no other
1918
+ * account PII. It does not reach edX. Profile
1919
+ * metadata is a single global record per user, so no platform scopes the
1920
+ * returned fields; the platform is used only to resolve the watcher
1921
+ * relationship. Read only.
1922
+ * @returns UserProfileSummary
1923
+ * @throws ApiError
1924
+ */
1925
+ static coreUsersProfileSummaryRetrieve({ email, platformKey, userId, username, }: {
1926
+ email?: string;
1927
+ platformKey?: string;
1928
+ username?: string;
1929
+ }): CancelablePromise<UserProfileSummary>;
1910
1930
  /**
1911
1931
  * Retrieve proxy user information by user_id
1912
1932
  * @returns UserProxyGetResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.378.2-core",
3
+ "version": "4.378.3-core",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",