@iblai/iblai-api 4.29.0-core → 4.30.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.
Files changed (35) hide show
  1. package/dist/index.cjs.js +223 -213
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +223 -213
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +223 -213
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +11 -0
  8. package/dist/types/models/SCIMAddress.d.ts +33 -0
  9. package/dist/types/models/SCIMDepartment.d.ts +26 -0
  10. package/dist/types/models/SCIMEmail.d.ts +17 -0
  11. package/dist/types/models/SCIMEnterpriseUser.d.ts +29 -0
  12. package/dist/types/models/SCIMGroup.d.ts +38 -0
  13. package/dist/types/models/SCIMMeta.d.ts +25 -0
  14. package/dist/types/models/SCIMName.d.ts +17 -0
  15. package/dist/types/models/SCIMPhoneNumber.d.ts +13 -0
  16. package/dist/types/models/SCIMUserCreateRequest.d.ts +110 -0
  17. package/dist/types/models/SCIMUserListResponse.d.ts +17 -0
  18. package/dist/types/models/SCIMUserResponse.d.ts +41 -0
  19. package/dist/types/services/ScimService.d.ts +165 -162
  20. package/package.json +1 -1
  21. package/sdk_schema.yml +1326 -192
  22. package/src/core/OpenAPI.ts +1 -1
  23. package/src/index.ts +11 -0
  24. package/src/models/SCIMAddress.ts +38 -0
  25. package/src/models/SCIMDepartment.ts +31 -0
  26. package/src/models/SCIMEmail.ts +22 -0
  27. package/src/models/SCIMEnterpriseUser.ts +34 -0
  28. package/src/models/SCIMGroup.ts +43 -0
  29. package/src/models/SCIMMeta.ts +30 -0
  30. package/src/models/SCIMName.ts +22 -0
  31. package/src/models/SCIMPhoneNumber.ts +18 -0
  32. package/src/models/SCIMUserCreateRequest.ts +115 -0
  33. package/src/models/SCIMUserListResponse.ts +22 -0
  34. package/src/models/SCIMUserResponse.ts +46 -0
  35. package/src/services/ScimService.ts +270 -249
@@ -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.29.0-core',
24
+ VERSION: '4.30.0-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -314,6 +314,17 @@ export type { ResourceDeleteResponse } from './models/ResourceDeleteResponse';
314
314
  export type { ResourcePoint } from './models/ResourcePoint';
315
315
  export type { Role } from './models/Role';
316
316
  export type { RoleCreateUpdateRequest } from './models/RoleCreateUpdateRequest';
317
+ export type { SCIMAddress } from './models/SCIMAddress';
318
+ export type { SCIMDepartment } from './models/SCIMDepartment';
319
+ export type { SCIMEmail } from './models/SCIMEmail';
320
+ export type { SCIMEnterpriseUser } from './models/SCIMEnterpriseUser';
321
+ export type { SCIMGroup } from './models/SCIMGroup';
322
+ export type { SCIMMeta } from './models/SCIMMeta';
323
+ export type { SCIMName } from './models/SCIMName';
324
+ export type { SCIMPhoneNumber } from './models/SCIMPhoneNumber';
325
+ export type { SCIMUserCreateRequest } from './models/SCIMUserCreateRequest';
326
+ export type { SCIMUserListResponse } from './models/SCIMUserListResponse';
327
+ export type { SCIMUserResponse } from './models/SCIMUserResponse';
317
328
  export type { SendNotification } from './models/SendNotification';
318
329
  export type { SendResponse } from './models/SendResponse';
319
330
  export type { SetStudentLLMAccess } from './models/SetStudentLLMAccess';
@@ -0,0 +1,38 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM address object serializer
7
+ */
8
+ export type SCIMAddress = {
9
+ /**
10
+ * Address type (work, home, etc.)
11
+ */
12
+ type: string;
13
+ /**
14
+ * Full formatted address
15
+ */
16
+ formatted: string;
17
+ /**
18
+ * Street address
19
+ */
20
+ streetAddress: string;
21
+ /**
22
+ * City
23
+ */
24
+ locality: string;
25
+ /**
26
+ * State/region
27
+ */
28
+ region: string;
29
+ /**
30
+ * Postal code
31
+ */
32
+ postalCode: string;
33
+ /**
34
+ * Country
35
+ */
36
+ country: string;
37
+ };
38
+
@@ -0,0 +1,31 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SCIMMeta } from './SCIMMeta';
6
+ /**
7
+ * SCIM department serializer
8
+ */
9
+ export type SCIMDepartment = {
10
+ /**
11
+ * SCIM schema identifiers
12
+ */
13
+ schemas?: Array<string>;
14
+ /**
15
+ * Department ID
16
+ */
17
+ id: string;
18
+ /**
19
+ * Department display name
20
+ */
21
+ displayName: string;
22
+ /**
23
+ * Department description
24
+ */
25
+ description?: string;
26
+ /**
27
+ * Resource metadata
28
+ */
29
+ meta?: SCIMMeta;
30
+ };
31
+
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM email object serializer
7
+ */
8
+ export type SCIMEmail = {
9
+ /**
10
+ * Email address
11
+ */
12
+ value: string;
13
+ /**
14
+ * Whether this is the primary email
15
+ */
16
+ primary?: boolean;
17
+ /**
18
+ * Email type (work, home, etc.)
19
+ */
20
+ type?: string;
21
+ };
22
+
@@ -0,0 +1,34 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM enterprise user extension serializer
7
+ */
8
+ export type SCIMEnterpriseUser = {
9
+ /**
10
+ * edX user data
11
+ */
12
+ edxData?: any;
13
+ /**
14
+ * User metadata
15
+ */
16
+ userData?: any;
17
+ /**
18
+ * List of department memberships
19
+ */
20
+ departments?: Array<Record<string, any>>;
21
+ /**
22
+ * List of group memberships
23
+ */
24
+ groups?: Array<Record<string, any>>;
25
+ /**
26
+ * List of RBAC groups the user belongs to
27
+ */
28
+ rbacGroups?: Array<Record<string, any>>;
29
+ /**
30
+ * List of platforms the user has access to
31
+ */
32
+ platforms?: Array<Record<string, any>>;
33
+ };
34
+
@@ -0,0 +1,43 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SCIMMeta } from './SCIMMeta';
6
+ /**
7
+ * SCIM group serializer
8
+ */
9
+ export type SCIMGroup = {
10
+ /**
11
+ * SCIM schema identifiers
12
+ */
13
+ schemas?: Array<string>;
14
+ /**
15
+ * Group ID
16
+ */
17
+ id: string;
18
+ /**
19
+ * Group display name
20
+ */
21
+ displayName: string;
22
+ /**
23
+ * Group description
24
+ */
25
+ description?: string;
26
+ /**
27
+ * Group members
28
+ */
29
+ members?: Array<Record<string, any>>;
30
+ /**
31
+ * Group departments
32
+ */
33
+ departments?: Array<Record<string, any>>;
34
+ /**
35
+ * Resource metadata
36
+ */
37
+ meta?: SCIMMeta;
38
+ /**
39
+ * Additional data
40
+ */
41
+ data?: Record<string, any>;
42
+ };
43
+
@@ -0,0 +1,30 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM meta object serializer
7
+ */
8
+ export type SCIMMeta = {
9
+ /**
10
+ * Resource type
11
+ */
12
+ resourceType?: string;
13
+ /**
14
+ * Creation timestamp
15
+ */
16
+ created?: string;
17
+ /**
18
+ * Last modification timestamp
19
+ */
20
+ lastModified?: string;
21
+ /**
22
+ * Resource version
23
+ */
24
+ version?: string;
25
+ /**
26
+ * Resource location URL
27
+ */
28
+ location?: string;
29
+ };
30
+
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM name object serializer
7
+ */
8
+ export type SCIMName = {
9
+ /**
10
+ * Full formatted name
11
+ */
12
+ formatted: string;
13
+ /**
14
+ * Family/last name
15
+ */
16
+ familyName: string;
17
+ /**
18
+ * Given/first name
19
+ */
20
+ givenName: string;
21
+ };
22
+
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM phone number object serializer
7
+ */
8
+ export type SCIMPhoneNumber = {
9
+ /**
10
+ * Phone number
11
+ */
12
+ value: string;
13
+ /**
14
+ * Phone type (work, home, mobile, etc.)
15
+ */
16
+ type: string;
17
+ };
18
+
@@ -0,0 +1,115 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SCIMAddress } from './SCIMAddress';
6
+ import type { SCIMEmail } from './SCIMEmail';
7
+ import type { SCIMMeta } from './SCIMMeta';
8
+ import type { SCIMName } from './SCIMName';
9
+ import type { SCIMPhoneNumber } from './SCIMPhoneNumber';
10
+ /**
11
+ * SCIM user creation request serializer
12
+ */
13
+ export type SCIMUserCreateRequest = {
14
+ /**
15
+ * SCIM schema identifiers
16
+ */
17
+ schemas?: Array<string>;
18
+ /**
19
+ * Unique username/email for the user
20
+ */
21
+ userName: string;
22
+ /**
23
+ * User's name information
24
+ */
25
+ name: SCIMName;
26
+ /**
27
+ * User's email addresses
28
+ */
29
+ emails: Array<SCIMEmail>;
30
+ /**
31
+ * Whether the user is active
32
+ */
33
+ active?: boolean;
34
+ /**
35
+ * Display name
36
+ */
37
+ displayName?: string;
38
+ /**
39
+ * User locale
40
+ */
41
+ locale?: string;
42
+ /**
43
+ * User timezone
44
+ */
45
+ timezone?: string;
46
+ /**
47
+ * Job title
48
+ */
49
+ title?: string;
50
+ /**
51
+ * Organization
52
+ */
53
+ organization?: string;
54
+ /**
55
+ * Phone numbers
56
+ */
57
+ phoneNumbers?: Array<SCIMPhoneNumber>;
58
+ /**
59
+ * Addresses
60
+ */
61
+ addresses?: Array<SCIMAddress>;
62
+ /**
63
+ * User entitlements
64
+ */
65
+ entitlements?: Array<string>;
66
+ /**
67
+ * User roles
68
+ */
69
+ roles?: Array<string>;
70
+ /**
71
+ * X.509 certificates
72
+ */
73
+ x509Certificates?: Array<string>;
74
+ /**
75
+ * User password
76
+ */
77
+ password?: string;
78
+ /**
79
+ * Authentication provider
80
+ */
81
+ provider?: string;
82
+ /**
83
+ * Third-party authentication UID
84
+ */
85
+ tpaUid?: string;
86
+ /**
87
+ * Whether the user is a staff member
88
+ */
89
+ isStaff?: boolean;
90
+ /**
91
+ * Whether to update existing user
92
+ */
93
+ update?: boolean;
94
+ /**
95
+ * List of platform organizations to link the user to
96
+ */
97
+ platformOrgs?: Array<string>;
98
+ /**
99
+ * List of department IDs to make the user a member of
100
+ */
101
+ departmentIds?: Array<number>;
102
+ /**
103
+ * List of group IDs to add the user to
104
+ */
105
+ groupIds?: Array<number>;
106
+ /**
107
+ * List of RBAC group unique IDs to add the user to
108
+ */
109
+ rbacGroupUniqueIds?: Array<string>;
110
+ /**
111
+ * Resource metadata
112
+ */
113
+ meta?: SCIMMeta;
114
+ };
115
+
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * SCIM user list response serializer
7
+ */
8
+ export type SCIMUserListResponse = {
9
+ /**
10
+ * SCIM schema identifiers
11
+ */
12
+ schemas: Array<string>;
13
+ /**
14
+ * Total number of results
15
+ */
16
+ totalResults: number;
17
+ /**
18
+ * List of user resources
19
+ */
20
+ Resources: Array<Record<string, any>>;
21
+ };
22
+
@@ -0,0 +1,46 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SCIMEmail } from './SCIMEmail';
6
+ import type { SCIMEnterpriseUser } from './SCIMEnterpriseUser';
7
+ import type { SCIMMeta } from './SCIMMeta';
8
+ import type { SCIMName } from './SCIMName';
9
+ /**
10
+ * SCIM user response serializer
11
+ */
12
+ export type SCIMUserResponse = {
13
+ /**
14
+ * SCIM schema identifiers
15
+ */
16
+ schemas: Array<string>;
17
+ /**
18
+ * User ID
19
+ */
20
+ id: string;
21
+ /**
22
+ * Username
23
+ */
24
+ userName: string;
25
+ /**
26
+ * User's name information
27
+ */
28
+ name: SCIMName;
29
+ /**
30
+ * User's email addresses
31
+ */
32
+ emails: Array<SCIMEmail>;
33
+ /**
34
+ * Whether the user is active
35
+ */
36
+ active: boolean;
37
+ /**
38
+ * Enterprise user extension data
39
+ */
40
+ urn_ietf_params_scim_schemas_extension_enterprise_2_0_User: SCIMEnterpriseUser;
41
+ /**
42
+ * Resource metadata
43
+ */
44
+ meta?: SCIMMeta;
45
+ };
46
+