@iblai/iblai-api 3.45.8-core → 3.45.9-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 +355 -467
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +355 -467
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +355 -467
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +10 -1
- package/dist/types/models/CatalogAutoIncrementResponse.d.ts +11 -11
- package/dist/types/models/CourseReviewPaginatedResponse.d.ts +18 -0
- package/dist/types/models/CourseReviewRequest.d.ts +37 -0
- package/dist/types/models/CourseReviewResponse.d.ts +40 -0
- package/dist/types/models/PaginatedSkill.d.ts +7 -0
- package/dist/types/models/ProgramEnrollmentSearchResponse.d.ts +22 -0
- package/dist/types/models/ProgramMetadataRequest.d.ts +29 -0
- package/dist/types/models/ProgramMetadataResponse.d.ts +29 -0
- package/dist/types/models/ProgramReview.d.ts +41 -0
- package/dist/types/models/ProgramReviewPaginatedResponse.d.ts +22 -0
- package/dist/types/models/ProgramReviewRequest.d.ts +37 -0
- package/dist/types/services/CatalogService.d.ts +168 -458
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +10 -1
- package/src/models/CatalogAutoIncrementResponse.ts +11 -11
- package/src/models/CourseReviewPaginatedResponse.ts +23 -0
- package/src/models/CourseReviewRequest.ts +42 -0
- package/src/models/CourseReviewResponse.ts +45 -0
- package/src/models/PaginatedSkill.ts +12 -0
- package/src/models/ProgramEnrollmentSearchResponse.ts +27 -0
- package/src/models/ProgramMetadataRequest.ts +34 -0
- package/src/models/ProgramMetadataResponse.ts +34 -0
- package/src/models/ProgramReview.ts +46 -0
- package/src/models/ProgramReviewPaginatedResponse.ts +27 -0
- package/src/models/ProgramReviewRequest.ts +42 -0
- package/src/services/CatalogService.ts +3415 -3417
- package/dist/types/models/CourseEligibilityCheckResponse.d.ts +0 -25
- package/src/models/CourseEligibilityCheckResponse.ts +0 -30
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -70,7 +70,6 @@ export type { CourseCompletionSummaryDataOvertime } from './models/CourseComplet
|
|
|
70
70
|
export type { CourseCompletionSummaryOvertime } from './models/CourseCompletionSummaryOvertime';
|
|
71
71
|
export type { CourseCreateUpdate } from './models/CourseCreateUpdate';
|
|
72
72
|
export type { CourseDeleteResponse } from './models/CourseDeleteResponse';
|
|
73
|
-
export type { CourseEligibilityCheckResponse } from './models/CourseEligibilityCheckResponse';
|
|
74
73
|
export type { CourseEnrollmentSearchResponse } from './models/CourseEnrollmentSearchResponse';
|
|
75
74
|
export type { CourseGradeDetailBlock } from './models/CourseGradeDetailBlock';
|
|
76
75
|
export type { CourseGradeDetailSubSection } from './models/CourseGradeDetailSubSection';
|
|
@@ -94,6 +93,9 @@ export type { CourseMetadataSearchRequest } from './models/CourseMetadataSearchR
|
|
|
94
93
|
export type { CourseMetadataUpdateRequest } from './models/CourseMetadataUpdateRequest';
|
|
95
94
|
export type { CoursePoint } from './models/CoursePoint';
|
|
96
95
|
export type { CourseReviewInfoResponse } from './models/CourseReviewInfoResponse';
|
|
96
|
+
export type { CourseReviewPaginatedResponse } from './models/CourseReviewPaginatedResponse';
|
|
97
|
+
export type { CourseReviewRequest } from './models/CourseReviewRequest';
|
|
98
|
+
export type { CourseReviewResponse } from './models/CourseReviewResponse';
|
|
97
99
|
export type { CourseSkill } from './models/CourseSkill';
|
|
98
100
|
export type { CourseSkillPointInfoRequest } from './models/CourseSkillPointInfoRequest';
|
|
99
101
|
export type { CourseSkillPointInfoResponse } from './models/CourseSkillPointInfoResponse';
|
|
@@ -178,6 +180,7 @@ export type { PaginatedProgramLicense } from './models/PaginatedProgramLicense';
|
|
|
178
180
|
export type { PaginatedProgramLicenseAssignment } from './models/PaginatedProgramLicenseAssignment';
|
|
179
181
|
export type { PaginatedProgramLicenseGroupAssignment } from './models/PaginatedProgramLicenseGroupAssignment';
|
|
180
182
|
export type { PaginatedProgramSuggestion } from './models/PaginatedProgramSuggestion';
|
|
183
|
+
export type { PaginatedSkill } from './models/PaginatedSkill';
|
|
181
184
|
export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
|
|
182
185
|
export type { PaginatedUserLicense } from './models/PaginatedUserLicense';
|
|
183
186
|
export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicenseAssignment';
|
|
@@ -248,6 +251,7 @@ export type { ProgramCreateUpdateRequest } from './models/ProgramCreateUpdateReq
|
|
|
248
251
|
export type { ProgramDeleteResponse } from './models/ProgramDeleteResponse';
|
|
249
252
|
export type { ProgramEnrollment } from './models/ProgramEnrollment';
|
|
250
253
|
export type { ProgramEnrollmentPlus } from './models/ProgramEnrollmentPlus';
|
|
254
|
+
export type { ProgramEnrollmentSearchResponse } from './models/ProgramEnrollmentSearchResponse';
|
|
251
255
|
export type { ProgramGroupSuggestionCreate } from './models/ProgramGroupSuggestionCreate';
|
|
252
256
|
export type { ProgramGroupSuggestionDetail } from './models/ProgramGroupSuggestionDetail';
|
|
253
257
|
export type { ProgramInvitationCreate } from './models/ProgramInvitationCreate';
|
|
@@ -260,7 +264,12 @@ export type { ProgramLicenseDetail } from './models/ProgramLicenseDetail';
|
|
|
260
264
|
export type { ProgramLicenseGroupAssignmentCreate } from './models/ProgramLicenseGroupAssignmentCreate';
|
|
261
265
|
export type { ProgramLicenseGroupAssignmentDetail } from './models/ProgramLicenseGroupAssignmentDetail';
|
|
262
266
|
export type { ProgramLicenseUpdateDetail } from './models/ProgramLicenseUpdateDetail';
|
|
267
|
+
export type { ProgramMetadataRequest } from './models/ProgramMetadataRequest';
|
|
268
|
+
export type { ProgramMetadataResponse } from './models/ProgramMetadataResponse';
|
|
269
|
+
export type { ProgramReview } from './models/ProgramReview';
|
|
263
270
|
export type { ProgramReviewInfoResponse } from './models/ProgramReviewInfoResponse';
|
|
271
|
+
export type { ProgramReviewPaginatedResponse } from './models/ProgramReviewPaginatedResponse';
|
|
272
|
+
export type { ProgramReviewRequest } from './models/ProgramReviewRequest';
|
|
264
273
|
export type { ProgramSearch } from './models/ProgramSearch';
|
|
265
274
|
export type { ProgramSuggestionBulkCreate } from './models/ProgramSuggestionBulkCreate';
|
|
266
275
|
export type { ProgramSuggestionCreate } from './models/ProgramSuggestionCreate';
|
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Response serializer for CatalogAutoIncrementView GET endpoint.
|
|
7
7
|
*/
|
|
8
8
|
export type CatalogAutoIncrementResponse = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Current course auto-increment number
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
course_number: number;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Current item auto-increment number
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
item_number?: number;
|
|
17
17
|
/**
|
|
18
|
-
* Current
|
|
18
|
+
* Current program auto-increment number
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
program_number?: number;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Platform organization
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
org: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Platform key
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
key: string;
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Paginated response serializer for CourseReviewQueryView GET endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type CourseReviewPaginatedResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* Total number of reviews
|
|
11
|
+
*/
|
|
12
|
+
count: number;
|
|
13
|
+
/**
|
|
14
|
+
* Next page number
|
|
15
|
+
*/
|
|
16
|
+
next_page: number | null;
|
|
17
|
+
/**
|
|
18
|
+
* Previous page number
|
|
19
|
+
*/
|
|
20
|
+
previous_page: number | null;
|
|
21
|
+
results: Array<Record<string, any>>;
|
|
22
|
+
};
|
|
23
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Request serializer for CourseReviewUpdateView POST endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type CourseReviewRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The course ID to review
|
|
11
|
+
*/
|
|
12
|
+
course_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* The username of the reviewer
|
|
15
|
+
*/
|
|
16
|
+
username: string;
|
|
17
|
+
/**
|
|
18
|
+
* The user ID of the reviewer (alternative to username)
|
|
19
|
+
*/
|
|
20
|
+
user_id?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The rating value (typically 1-5)
|
|
23
|
+
*/
|
|
24
|
+
rating?: number | null;
|
|
25
|
+
/**
|
|
26
|
+
* The review title
|
|
27
|
+
*/
|
|
28
|
+
title?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The review content/text
|
|
31
|
+
*/
|
|
32
|
+
content?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the review is visible
|
|
35
|
+
*/
|
|
36
|
+
visible?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Additional review metadata
|
|
39
|
+
*/
|
|
40
|
+
metadata?: any;
|
|
41
|
+
};
|
|
42
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Response serializer for CourseReviewQueryView GET endpoint.
|
|
7
|
+
* Matches the actual structure returned by review.to_json()
|
|
8
|
+
*/
|
|
9
|
+
export type CourseReviewResponse = {
|
|
10
|
+
/**
|
|
11
|
+
* User ID of the reviewer
|
|
12
|
+
*/
|
|
13
|
+
user_id: number;
|
|
14
|
+
course_id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Username of the reviewer
|
|
17
|
+
*/
|
|
18
|
+
username: string;
|
|
19
|
+
/**
|
|
20
|
+
* Review content
|
|
21
|
+
*/
|
|
22
|
+
content: string;
|
|
23
|
+
/**
|
|
24
|
+
* Review rating
|
|
25
|
+
*/
|
|
26
|
+
rating: number | null;
|
|
27
|
+
/**
|
|
28
|
+
* Review title
|
|
29
|
+
*/
|
|
30
|
+
title: string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether review is visible
|
|
33
|
+
*/
|
|
34
|
+
visible: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Review creation date
|
|
37
|
+
*/
|
|
38
|
+
created: string;
|
|
39
|
+
/**
|
|
40
|
+
* Review modification date
|
|
41
|
+
*/
|
|
42
|
+
modified: string;
|
|
43
|
+
metadata: any;
|
|
44
|
+
};
|
|
45
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Skill } from './Skill';
|
|
6
|
+
export type PaginatedSkill = {
|
|
7
|
+
next_page: string;
|
|
8
|
+
previous_page: string;
|
|
9
|
+
readonly results: Array<Skill>;
|
|
10
|
+
readonly count: number;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ProgramEnrollmentPlus } from './ProgramEnrollmentPlus';
|
|
6
|
+
/**
|
|
7
|
+
* Response serializer for ProgramEnrollmentSearchView GET endpoint.
|
|
8
|
+
*/
|
|
9
|
+
export type ProgramEnrollmentSearchResponse = {
|
|
10
|
+
/**
|
|
11
|
+
* List of program enrollments
|
|
12
|
+
*/
|
|
13
|
+
results: Array<ProgramEnrollmentPlus>;
|
|
14
|
+
/**
|
|
15
|
+
* Total number of reviews
|
|
16
|
+
*/
|
|
17
|
+
count: number;
|
|
18
|
+
/**
|
|
19
|
+
* Next page number
|
|
20
|
+
*/
|
|
21
|
+
next_page: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Previous page number
|
|
24
|
+
*/
|
|
25
|
+
previous_page: number | null;
|
|
26
|
+
};
|
|
27
|
+
|
|
@@ -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
|
+
* Request serializer for ProgramMetadataView POST endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type ProgramMetadataRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The unique identifier for the program
|
|
11
|
+
*/
|
|
12
|
+
program_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* The organization associated with the program
|
|
15
|
+
*/
|
|
16
|
+
org?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Platform key identifier (alternative to org)
|
|
19
|
+
*/
|
|
20
|
+
platform_key?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Program key (alternative to program_id + org)
|
|
23
|
+
*/
|
|
24
|
+
program_key?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Metadata to update for the program
|
|
27
|
+
*/
|
|
28
|
+
metadata: Record<string, any>;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to update existing metadata
|
|
31
|
+
*/
|
|
32
|
+
update?: boolean;
|
|
33
|
+
};
|
|
34
|
+
|
|
@@ -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
|
+
* Response serializer for ProgramMetadataView GET endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type ProgramMetadataResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* Program name
|
|
11
|
+
*/
|
|
12
|
+
name?: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Program description
|
|
15
|
+
*/
|
|
16
|
+
description?: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the program is enabled
|
|
19
|
+
*/
|
|
20
|
+
enabled?: boolean | null;
|
|
21
|
+
/**
|
|
22
|
+
* Program slug
|
|
23
|
+
*/
|
|
24
|
+
slug?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* List of associated skills
|
|
27
|
+
*/
|
|
28
|
+
skills?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Platform key
|
|
31
|
+
*/
|
|
32
|
+
platform_key?: string | null;
|
|
33
|
+
};
|
|
34
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for program review data.
|
|
7
|
+
*/
|
|
8
|
+
export type ProgramReview = {
|
|
9
|
+
/**
|
|
10
|
+
* The user identifier
|
|
11
|
+
*/
|
|
12
|
+
user_id: number;
|
|
13
|
+
/**
|
|
14
|
+
* The username of the reviewer
|
|
15
|
+
*/
|
|
16
|
+
username: string;
|
|
17
|
+
/**
|
|
18
|
+
* Review content/text
|
|
19
|
+
*/
|
|
20
|
+
content: string;
|
|
21
|
+
/**
|
|
22
|
+
* Rating value (typically 1-5)
|
|
23
|
+
*/
|
|
24
|
+
rating: number | null;
|
|
25
|
+
/**
|
|
26
|
+
* Review title
|
|
27
|
+
*/
|
|
28
|
+
title: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the review is visible
|
|
31
|
+
*/
|
|
32
|
+
visible: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Date when review was created
|
|
35
|
+
*/
|
|
36
|
+
created: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Date when review was last modified
|
|
39
|
+
*/
|
|
40
|
+
modified: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The program key identifier
|
|
43
|
+
*/
|
|
44
|
+
program_key: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ProgramReview } from './ProgramReview';
|
|
6
|
+
/**
|
|
7
|
+
* Paginated response serializer for ProgramReviewQueryView GET endpoint.
|
|
8
|
+
*/
|
|
9
|
+
export type ProgramReviewPaginatedResponse = {
|
|
10
|
+
/**
|
|
11
|
+
* Total number of reviews
|
|
12
|
+
*/
|
|
13
|
+
count: number;
|
|
14
|
+
/**
|
|
15
|
+
* Next page number
|
|
16
|
+
*/
|
|
17
|
+
next_page: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* Previous page number
|
|
20
|
+
*/
|
|
21
|
+
previous_page: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* List of program reviews
|
|
24
|
+
*/
|
|
25
|
+
results: Array<ProgramReview>;
|
|
26
|
+
};
|
|
27
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Request serializer for ProgramReviewUpdateView POST endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type ProgramReviewRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The program key to review (format: program-v1:org+program_id)
|
|
11
|
+
*/
|
|
12
|
+
program_key: string;
|
|
13
|
+
/**
|
|
14
|
+
* The username of the reviewer
|
|
15
|
+
*/
|
|
16
|
+
username: string;
|
|
17
|
+
/**
|
|
18
|
+
* The user ID of the reviewer (alternative to username)
|
|
19
|
+
*/
|
|
20
|
+
user_id?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The rating value (typically 1-5)
|
|
23
|
+
*/
|
|
24
|
+
rating?: number | null;
|
|
25
|
+
/**
|
|
26
|
+
* The review title
|
|
27
|
+
*/
|
|
28
|
+
title?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The review content/text
|
|
31
|
+
*/
|
|
32
|
+
content?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the review is visible
|
|
35
|
+
*/
|
|
36
|
+
visible?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Additional review metadata
|
|
39
|
+
*/
|
|
40
|
+
metadata?: any;
|
|
41
|
+
};
|
|
42
|
+
|