@iblai/iblai-api 4.328.1-core → 4.329.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.
- package/dist/index.cjs.js +281 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +282 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +281 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +6 -0
- package/dist/types/models/PatchedPlacementAssessmentUpdate.d.ts +13 -0
- package/dist/types/models/PlacementAssessment.d.ts +13 -0
- package/dist/types/models/PlacementCourseAssignmentCreate.d.ts +10 -0
- package/dist/types/models/PlacementProgramAssignmentCreate.d.ts +10 -0
- package/dist/types/models/PlacementRecordCreate.d.ts +9 -0
- package/dist/types/models/PlatformApplicationPlacementItem.d.ts +3 -4
- package/dist/types/models/SourceEnum.d.ts +10 -0
- package/dist/types/services/CatalogService.d.ts +149 -0
- package/package.json +1 -1
- package/sdk_schema.yml +545 -9
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +6 -0
- package/src/models/PatchedPlacementAssessmentUpdate.ts +18 -0
- package/src/models/PlacementAssessment.ts +18 -0
- package/src/models/PlacementCourseAssignmentCreate.ts +15 -0
- package/src/models/PlacementProgramAssignmentCreate.ts +15 -0
- package/src/models/PlacementRecordCreate.ts +14 -0
- package/src/models/PlatformApplicationPlacementItem.ts +3 -4
- package/src/models/SourceEnum.ts +14 -0
- package/src/services/CatalogService.ts +326 -0
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.
|
|
4
|
+
version: 4.329.0-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -13494,6 +13494,434 @@ paths:
|
|
|
13494
13494
|
description: ''
|
|
13495
13495
|
'400':
|
|
13496
13496
|
description: No response body
|
|
13497
|
+
/api/catalog/placements/assessments/:
|
|
13498
|
+
get:
|
|
13499
|
+
operationId: catalog_placements_assessments_retrieve
|
|
13500
|
+
description: 'A platform''s placement assessments (#2280): list and create.'
|
|
13501
|
+
tags:
|
|
13502
|
+
- catalog
|
|
13503
|
+
security:
|
|
13504
|
+
- PlatformApiKeyAuthentication: []
|
|
13505
|
+
responses:
|
|
13506
|
+
'200':
|
|
13507
|
+
description: Assessments for the platform
|
|
13508
|
+
post:
|
|
13509
|
+
operationId: catalog_placements_assessments_create
|
|
13510
|
+
description: 'A platform''s placement assessments (#2280): list and create.'
|
|
13511
|
+
tags:
|
|
13512
|
+
- catalog
|
|
13513
|
+
requestBody:
|
|
13514
|
+
content:
|
|
13515
|
+
application/json:
|
|
13516
|
+
schema:
|
|
13517
|
+
$ref: '#/components/schemas/PlacementAssessment'
|
|
13518
|
+
application/scim+json:
|
|
13519
|
+
schema:
|
|
13520
|
+
$ref: '#/components/schemas/PlacementAssessment'
|
|
13521
|
+
application/x-www-form-urlencoded:
|
|
13522
|
+
schema:
|
|
13523
|
+
$ref: '#/components/schemas/PlacementAssessment'
|
|
13524
|
+
multipart/form-data:
|
|
13525
|
+
schema:
|
|
13526
|
+
$ref: '#/components/schemas/PlacementAssessment'
|
|
13527
|
+
'*/*':
|
|
13528
|
+
schema:
|
|
13529
|
+
$ref: '#/components/schemas/PlacementAssessment'
|
|
13530
|
+
required: true
|
|
13531
|
+
security:
|
|
13532
|
+
- PlatformApiKeyAuthentication: []
|
|
13533
|
+
responses:
|
|
13534
|
+
'201':
|
|
13535
|
+
description: Assessment created
|
|
13536
|
+
/api/catalog/placements/assessments/{assessment_id}/:
|
|
13537
|
+
get:
|
|
13538
|
+
operationId: catalog_placements_assessments_retrieve_2
|
|
13539
|
+
description: 'A single placement assessment: view, edit, or delete.'
|
|
13540
|
+
parameters:
|
|
13541
|
+
- in: path
|
|
13542
|
+
name: assessment_id
|
|
13543
|
+
schema:
|
|
13544
|
+
type: string
|
|
13545
|
+
pattern: ^\d+$
|
|
13546
|
+
required: true
|
|
13547
|
+
tags:
|
|
13548
|
+
- catalog
|
|
13549
|
+
security:
|
|
13550
|
+
- PlatformApiKeyAuthentication: []
|
|
13551
|
+
responses:
|
|
13552
|
+
'200':
|
|
13553
|
+
description: Assessment
|
|
13554
|
+
patch:
|
|
13555
|
+
operationId: catalog_placements_assessments_partial_update
|
|
13556
|
+
description: 'A single placement assessment: view, edit, or delete.'
|
|
13557
|
+
parameters:
|
|
13558
|
+
- in: path
|
|
13559
|
+
name: assessment_id
|
|
13560
|
+
schema:
|
|
13561
|
+
type: string
|
|
13562
|
+
pattern: ^\d+$
|
|
13563
|
+
required: true
|
|
13564
|
+
tags:
|
|
13565
|
+
- catalog
|
|
13566
|
+
requestBody:
|
|
13567
|
+
content:
|
|
13568
|
+
application/json:
|
|
13569
|
+
schema:
|
|
13570
|
+
$ref: '#/components/schemas/PatchedPlacementAssessmentUpdate'
|
|
13571
|
+
application/scim+json:
|
|
13572
|
+
schema:
|
|
13573
|
+
$ref: '#/components/schemas/PatchedPlacementAssessmentUpdate'
|
|
13574
|
+
application/x-www-form-urlencoded:
|
|
13575
|
+
schema:
|
|
13576
|
+
$ref: '#/components/schemas/PatchedPlacementAssessmentUpdate'
|
|
13577
|
+
multipart/form-data:
|
|
13578
|
+
schema:
|
|
13579
|
+
$ref: '#/components/schemas/PatchedPlacementAssessmentUpdate'
|
|
13580
|
+
'*/*':
|
|
13581
|
+
schema:
|
|
13582
|
+
$ref: '#/components/schemas/PatchedPlacementAssessmentUpdate'
|
|
13583
|
+
security:
|
|
13584
|
+
- PlatformApiKeyAuthentication: []
|
|
13585
|
+
responses:
|
|
13586
|
+
'200':
|
|
13587
|
+
description: Assessment updated
|
|
13588
|
+
delete:
|
|
13589
|
+
operationId: catalog_placements_assessments_destroy
|
|
13590
|
+
description: 'A single placement assessment: view, edit, or delete.'
|
|
13591
|
+
parameters:
|
|
13592
|
+
- in: path
|
|
13593
|
+
name: assessment_id
|
|
13594
|
+
schema:
|
|
13595
|
+
type: string
|
|
13596
|
+
pattern: ^\d+$
|
|
13597
|
+
required: true
|
|
13598
|
+
tags:
|
|
13599
|
+
- catalog
|
|
13600
|
+
security:
|
|
13601
|
+
- PlatformApiKeyAuthentication: []
|
|
13602
|
+
responses:
|
|
13603
|
+
'204':
|
|
13604
|
+
description: Assessment deleted
|
|
13605
|
+
/api/catalog/placements/course-assignments/:
|
|
13606
|
+
get:
|
|
13607
|
+
operationId: catalog_placements_course_assignments_retrieve
|
|
13608
|
+
description: |-
|
|
13609
|
+
Course assignments on a platform (#2280): list (optionally by user), and
|
|
13610
|
+
grant a course to a user. Each grant issues a ``CourseInvitation`` the
|
|
13611
|
+
existing pipeline enrolls.
|
|
13612
|
+
parameters:
|
|
13613
|
+
- in: query
|
|
13614
|
+
name: platform_key
|
|
13615
|
+
schema:
|
|
13616
|
+
type: string
|
|
13617
|
+
minLength: 1
|
|
13618
|
+
required: true
|
|
13619
|
+
- in: query
|
|
13620
|
+
name: user_id
|
|
13621
|
+
schema:
|
|
13622
|
+
type: integer
|
|
13623
|
+
tags:
|
|
13624
|
+
- catalog
|
|
13625
|
+
security:
|
|
13626
|
+
- PlatformApiKeyAuthentication: []
|
|
13627
|
+
responses:
|
|
13628
|
+
'200':
|
|
13629
|
+
description: Course assignments
|
|
13630
|
+
post:
|
|
13631
|
+
operationId: catalog_placements_course_assignments_create
|
|
13632
|
+
description: |-
|
|
13633
|
+
Course assignments on a platform (#2280): list (optionally by user), and
|
|
13634
|
+
grant a course to a user. Each grant issues a ``CourseInvitation`` the
|
|
13635
|
+
existing pipeline enrolls.
|
|
13636
|
+
parameters:
|
|
13637
|
+
- in: query
|
|
13638
|
+
name: platform_key
|
|
13639
|
+
schema:
|
|
13640
|
+
type: string
|
|
13641
|
+
minLength: 1
|
|
13642
|
+
required: true
|
|
13643
|
+
- in: query
|
|
13644
|
+
name: user_id
|
|
13645
|
+
schema:
|
|
13646
|
+
type: integer
|
|
13647
|
+
tags:
|
|
13648
|
+
- catalog
|
|
13649
|
+
requestBody:
|
|
13650
|
+
content:
|
|
13651
|
+
application/json:
|
|
13652
|
+
schema:
|
|
13653
|
+
$ref: '#/components/schemas/PlacementCourseAssignmentCreate'
|
|
13654
|
+
application/scim+json:
|
|
13655
|
+
schema:
|
|
13656
|
+
$ref: '#/components/schemas/PlacementCourseAssignmentCreate'
|
|
13657
|
+
application/x-www-form-urlencoded:
|
|
13658
|
+
schema:
|
|
13659
|
+
$ref: '#/components/schemas/PlacementCourseAssignmentCreate'
|
|
13660
|
+
multipart/form-data:
|
|
13661
|
+
schema:
|
|
13662
|
+
$ref: '#/components/schemas/PlacementCourseAssignmentCreate'
|
|
13663
|
+
'*/*':
|
|
13664
|
+
schema:
|
|
13665
|
+
$ref: '#/components/schemas/PlacementCourseAssignmentCreate'
|
|
13666
|
+
required: true
|
|
13667
|
+
security:
|
|
13668
|
+
- PlatformApiKeyAuthentication: []
|
|
13669
|
+
responses:
|
|
13670
|
+
'201':
|
|
13671
|
+
description: Course assigned
|
|
13672
|
+
/api/catalog/placements/course-assignments/{assignment_id}/:
|
|
13673
|
+
delete:
|
|
13674
|
+
operationId: catalog_placements_course_assignments_destroy
|
|
13675
|
+
description: |-
|
|
13676
|
+
Remove one course assignment: deactivate the record and cancel its
|
|
13677
|
+
invitation when the student has not yet enrolled through it.
|
|
13678
|
+
parameters:
|
|
13679
|
+
- in: path
|
|
13680
|
+
name: assignment_id
|
|
13681
|
+
schema:
|
|
13682
|
+
type: string
|
|
13683
|
+
pattern: ^\d+$
|
|
13684
|
+
required: true
|
|
13685
|
+
tags:
|
|
13686
|
+
- catalog
|
|
13687
|
+
security:
|
|
13688
|
+
- PlatformApiKeyAuthentication: []
|
|
13689
|
+
responses:
|
|
13690
|
+
'204':
|
|
13691
|
+
description: Assignment removed
|
|
13692
|
+
/api/catalog/placements/program-assignments/:
|
|
13693
|
+
get:
|
|
13694
|
+
operationId: catalog_placements_program_assignments_retrieve
|
|
13695
|
+
description: |-
|
|
13696
|
+
Program assignments on a platform (#2280): list (optionally by user), and
|
|
13697
|
+
grant a program to a user. Each grant issues a ``ProgramInvitation``.
|
|
13698
|
+
parameters:
|
|
13699
|
+
- in: query
|
|
13700
|
+
name: platform_key
|
|
13701
|
+
schema:
|
|
13702
|
+
type: string
|
|
13703
|
+
minLength: 1
|
|
13704
|
+
required: true
|
|
13705
|
+
- in: query
|
|
13706
|
+
name: user_id
|
|
13707
|
+
schema:
|
|
13708
|
+
type: integer
|
|
13709
|
+
tags:
|
|
13710
|
+
- catalog
|
|
13711
|
+
security:
|
|
13712
|
+
- PlatformApiKeyAuthentication: []
|
|
13713
|
+
responses:
|
|
13714
|
+
'200':
|
|
13715
|
+
description: Program assignments
|
|
13716
|
+
post:
|
|
13717
|
+
operationId: catalog_placements_program_assignments_create
|
|
13718
|
+
description: |-
|
|
13719
|
+
Program assignments on a platform (#2280): list (optionally by user), and
|
|
13720
|
+
grant a program to a user. Each grant issues a ``ProgramInvitation``.
|
|
13721
|
+
parameters:
|
|
13722
|
+
- in: query
|
|
13723
|
+
name: platform_key
|
|
13724
|
+
schema:
|
|
13725
|
+
type: string
|
|
13726
|
+
minLength: 1
|
|
13727
|
+
required: true
|
|
13728
|
+
- in: query
|
|
13729
|
+
name: user_id
|
|
13730
|
+
schema:
|
|
13731
|
+
type: integer
|
|
13732
|
+
tags:
|
|
13733
|
+
- catalog
|
|
13734
|
+
requestBody:
|
|
13735
|
+
content:
|
|
13736
|
+
application/json:
|
|
13737
|
+
schema:
|
|
13738
|
+
$ref: '#/components/schemas/PlacementProgramAssignmentCreate'
|
|
13739
|
+
application/scim+json:
|
|
13740
|
+
schema:
|
|
13741
|
+
$ref: '#/components/schemas/PlacementProgramAssignmentCreate'
|
|
13742
|
+
application/x-www-form-urlencoded:
|
|
13743
|
+
schema:
|
|
13744
|
+
$ref: '#/components/schemas/PlacementProgramAssignmentCreate'
|
|
13745
|
+
multipart/form-data:
|
|
13746
|
+
schema:
|
|
13747
|
+
$ref: '#/components/schemas/PlacementProgramAssignmentCreate'
|
|
13748
|
+
'*/*':
|
|
13749
|
+
schema:
|
|
13750
|
+
$ref: '#/components/schemas/PlacementProgramAssignmentCreate'
|
|
13751
|
+
required: true
|
|
13752
|
+
security:
|
|
13753
|
+
- PlatformApiKeyAuthentication: []
|
|
13754
|
+
responses:
|
|
13755
|
+
'201':
|
|
13756
|
+
description: Program assigned
|
|
13757
|
+
/api/catalog/placements/program-assignments/{assignment_id}/:
|
|
13758
|
+
delete:
|
|
13759
|
+
operationId: catalog_placements_program_assignments_destroy
|
|
13760
|
+
description: |-
|
|
13761
|
+
Remove one program assignment: deactivate the record and cancel its
|
|
13762
|
+
invitation when the student has not yet enrolled through it.
|
|
13763
|
+
parameters:
|
|
13764
|
+
- in: path
|
|
13765
|
+
name: assignment_id
|
|
13766
|
+
schema:
|
|
13767
|
+
type: string
|
|
13768
|
+
pattern: ^\d+$
|
|
13769
|
+
required: true
|
|
13770
|
+
tags:
|
|
13771
|
+
- catalog
|
|
13772
|
+
security:
|
|
13773
|
+
- PlatformApiKeyAuthentication: []
|
|
13774
|
+
responses:
|
|
13775
|
+
'204':
|
|
13776
|
+
description: Assignment removed
|
|
13777
|
+
/api/catalog/placements/records/:
|
|
13778
|
+
get:
|
|
13779
|
+
operationId: catalog_placements_records_retrieve
|
|
13780
|
+
description: |-
|
|
13781
|
+
Placement records on a platform (#2280): list (filter by user, assessment,
|
|
13782
|
+
or status), and assign a configured assessment to a user.
|
|
13783
|
+
parameters:
|
|
13784
|
+
- in: query
|
|
13785
|
+
name: assessment_id
|
|
13786
|
+
schema:
|
|
13787
|
+
type: integer
|
|
13788
|
+
- in: query
|
|
13789
|
+
name: platform_key
|
|
13790
|
+
schema:
|
|
13791
|
+
type: string
|
|
13792
|
+
minLength: 1
|
|
13793
|
+
required: true
|
|
13794
|
+
- in: query
|
|
13795
|
+
name: status
|
|
13796
|
+
schema:
|
|
13797
|
+
enum:
|
|
13798
|
+
- not_assigned
|
|
13799
|
+
- assigned
|
|
13800
|
+
- started
|
|
13801
|
+
- completed
|
|
13802
|
+
- reviewed
|
|
13803
|
+
- confirmed
|
|
13804
|
+
type: string
|
|
13805
|
+
minLength: 1
|
|
13806
|
+
description: |-
|
|
13807
|
+
* `not_assigned` - not_assigned
|
|
13808
|
+
* `assigned` - assigned
|
|
13809
|
+
* `started` - started
|
|
13810
|
+
* `completed` - completed
|
|
13811
|
+
* `reviewed` - reviewed
|
|
13812
|
+
* `confirmed` - confirmed
|
|
13813
|
+
- in: query
|
|
13814
|
+
name: user_id
|
|
13815
|
+
schema:
|
|
13816
|
+
type: integer
|
|
13817
|
+
tags:
|
|
13818
|
+
- catalog
|
|
13819
|
+
security:
|
|
13820
|
+
- PlatformApiKeyAuthentication: []
|
|
13821
|
+
responses:
|
|
13822
|
+
'200':
|
|
13823
|
+
description: Placement records
|
|
13824
|
+
post:
|
|
13825
|
+
operationId: catalog_placements_records_create
|
|
13826
|
+
description: |-
|
|
13827
|
+
Placement records on a platform (#2280): list (filter by user, assessment,
|
|
13828
|
+
or status), and assign a configured assessment to a user.
|
|
13829
|
+
parameters:
|
|
13830
|
+
- in: query
|
|
13831
|
+
name: assessment_id
|
|
13832
|
+
schema:
|
|
13833
|
+
type: integer
|
|
13834
|
+
- in: query
|
|
13835
|
+
name: platform_key
|
|
13836
|
+
schema:
|
|
13837
|
+
type: string
|
|
13838
|
+
minLength: 1
|
|
13839
|
+
required: true
|
|
13840
|
+
- in: query
|
|
13841
|
+
name: status
|
|
13842
|
+
schema:
|
|
13843
|
+
enum:
|
|
13844
|
+
- not_assigned
|
|
13845
|
+
- assigned
|
|
13846
|
+
- started
|
|
13847
|
+
- completed
|
|
13848
|
+
- reviewed
|
|
13849
|
+
- confirmed
|
|
13850
|
+
type: string
|
|
13851
|
+
minLength: 1
|
|
13852
|
+
description: |-
|
|
13853
|
+
* `not_assigned` - not_assigned
|
|
13854
|
+
* `assigned` - assigned
|
|
13855
|
+
* `started` - started
|
|
13856
|
+
* `completed` - completed
|
|
13857
|
+
* `reviewed` - reviewed
|
|
13858
|
+
* `confirmed` - confirmed
|
|
13859
|
+
- in: query
|
|
13860
|
+
name: user_id
|
|
13861
|
+
schema:
|
|
13862
|
+
type: integer
|
|
13863
|
+
tags:
|
|
13864
|
+
- catalog
|
|
13865
|
+
requestBody:
|
|
13866
|
+
content:
|
|
13867
|
+
application/json:
|
|
13868
|
+
schema:
|
|
13869
|
+
$ref: '#/components/schemas/PlacementRecordCreate'
|
|
13870
|
+
application/scim+json:
|
|
13871
|
+
schema:
|
|
13872
|
+
$ref: '#/components/schemas/PlacementRecordCreate'
|
|
13873
|
+
application/x-www-form-urlencoded:
|
|
13874
|
+
schema:
|
|
13875
|
+
$ref: '#/components/schemas/PlacementRecordCreate'
|
|
13876
|
+
multipart/form-data:
|
|
13877
|
+
schema:
|
|
13878
|
+
$ref: '#/components/schemas/PlacementRecordCreate'
|
|
13879
|
+
'*/*':
|
|
13880
|
+
schema:
|
|
13881
|
+
$ref: '#/components/schemas/PlacementRecordCreate'
|
|
13882
|
+
required: true
|
|
13883
|
+
security:
|
|
13884
|
+
- PlatformApiKeyAuthentication: []
|
|
13885
|
+
responses:
|
|
13886
|
+
'201':
|
|
13887
|
+
description: Placement assigned
|
|
13888
|
+
/api/catalog/placements/records/{record_id}/:
|
|
13889
|
+
patch:
|
|
13890
|
+
operationId: catalog_placements_records_partial_update
|
|
13891
|
+
description: |-
|
|
13892
|
+
Advance a single placement record: status, the agent's result, an admin
|
|
13893
|
+
override, or a note.
|
|
13894
|
+
parameters:
|
|
13895
|
+
- in: path
|
|
13896
|
+
name: record_id
|
|
13897
|
+
schema:
|
|
13898
|
+
type: string
|
|
13899
|
+
pattern: ^\d+$
|
|
13900
|
+
required: true
|
|
13901
|
+
tags:
|
|
13902
|
+
- catalog
|
|
13903
|
+
requestBody:
|
|
13904
|
+
content:
|
|
13905
|
+
application/json:
|
|
13906
|
+
schema:
|
|
13907
|
+
$ref: '#/components/schemas/PatchedPlatformApplicationPlacementUpdate'
|
|
13908
|
+
application/scim+json:
|
|
13909
|
+
schema:
|
|
13910
|
+
$ref: '#/components/schemas/PatchedPlatformApplicationPlacementUpdate'
|
|
13911
|
+
application/x-www-form-urlencoded:
|
|
13912
|
+
schema:
|
|
13913
|
+
$ref: '#/components/schemas/PatchedPlatformApplicationPlacementUpdate'
|
|
13914
|
+
multipart/form-data:
|
|
13915
|
+
schema:
|
|
13916
|
+
$ref: '#/components/schemas/PatchedPlatformApplicationPlacementUpdate'
|
|
13917
|
+
'*/*':
|
|
13918
|
+
schema:
|
|
13919
|
+
$ref: '#/components/schemas/PatchedPlatformApplicationPlacementUpdate'
|
|
13920
|
+
security:
|
|
13921
|
+
- PlatformApiKeyAuthentication: []
|
|
13922
|
+
responses:
|
|
13923
|
+
'200':
|
|
13924
|
+
description: Record updated
|
|
13497
13925
|
/api/catalog/programs/:
|
|
13498
13926
|
get:
|
|
13499
13927
|
operationId: catalog_programs_list
|
|
@@ -52192,6 +52620,27 @@ components:
|
|
|
52192
52620
|
type: string
|
|
52193
52621
|
format: date-time
|
|
52194
52622
|
readOnly: true
|
|
52623
|
+
PatchedPlacementAssessmentUpdate:
|
|
52624
|
+
type: object
|
|
52625
|
+
description: 'Update body: every field optional; at least one must be present.'
|
|
52626
|
+
properties:
|
|
52627
|
+
name:
|
|
52628
|
+
type: string
|
|
52629
|
+
maxLength: 255
|
|
52630
|
+
source:
|
|
52631
|
+
$ref: '#/components/schemas/SourceEnum'
|
|
52632
|
+
agent_unique_id:
|
|
52633
|
+
type: string
|
|
52634
|
+
maxLength: 255
|
|
52635
|
+
agent_label:
|
|
52636
|
+
type: string
|
|
52637
|
+
maxLength: 255
|
|
52638
|
+
subject:
|
|
52639
|
+
type: string
|
|
52640
|
+
maxLength: 255
|
|
52641
|
+
config: {}
|
|
52642
|
+
enabled:
|
|
52643
|
+
type: boolean
|
|
52195
52644
|
PatchedPlatformApiKey:
|
|
52196
52645
|
type: object
|
|
52197
52646
|
description: Serializer for PlatformApiKey's
|
|
@@ -52296,6 +52745,7 @@ components:
|
|
|
52296
52745
|
override: {}
|
|
52297
52746
|
session_id:
|
|
52298
52747
|
type: string
|
|
52748
|
+
maxLength: 64
|
|
52299
52749
|
note:
|
|
52300
52750
|
type: string
|
|
52301
52751
|
PatchedPlatformApplicationUpdate:
|
|
@@ -53934,6 +54384,83 @@ components:
|
|
|
53934
54384
|
- name
|
|
53935
54385
|
- pipeline
|
|
53936
54386
|
- updated_at
|
|
54387
|
+
PlacementAssessment:
|
|
54388
|
+
type: object
|
|
54389
|
+
description: Create body for a placement assessment (platform configuration).
|
|
54390
|
+
properties:
|
|
54391
|
+
name:
|
|
54392
|
+
type: string
|
|
54393
|
+
maxLength: 255
|
|
54394
|
+
source:
|
|
54395
|
+
$ref: '#/components/schemas/SourceEnum'
|
|
54396
|
+
agent_unique_id:
|
|
54397
|
+
type: string
|
|
54398
|
+
maxLength: 255
|
|
54399
|
+
agent_label:
|
|
54400
|
+
type: string
|
|
54401
|
+
maxLength: 255
|
|
54402
|
+
subject:
|
|
54403
|
+
type: string
|
|
54404
|
+
maxLength: 255
|
|
54405
|
+
config: {}
|
|
54406
|
+
enabled:
|
|
54407
|
+
type: boolean
|
|
54408
|
+
required:
|
|
54409
|
+
- name
|
|
54410
|
+
PlacementCourseAssignmentCreate:
|
|
54411
|
+
type: object
|
|
54412
|
+
description: Grant one course to a platform user, optionally linked to a placement.
|
|
54413
|
+
properties:
|
|
54414
|
+
user_id:
|
|
54415
|
+
type: integer
|
|
54416
|
+
course_id:
|
|
54417
|
+
type: string
|
|
54418
|
+
started:
|
|
54419
|
+
type: string
|
|
54420
|
+
format: date-time
|
|
54421
|
+
expired:
|
|
54422
|
+
type: string
|
|
54423
|
+
format: date-time
|
|
54424
|
+
placement_id:
|
|
54425
|
+
type: integer
|
|
54426
|
+
required:
|
|
54427
|
+
- course_id
|
|
54428
|
+
- user_id
|
|
54429
|
+
PlacementProgramAssignmentCreate:
|
|
54430
|
+
type: object
|
|
54431
|
+
description: Grant one program to a platform user, optionally linked to a placement.
|
|
54432
|
+
properties:
|
|
54433
|
+
user_id:
|
|
54434
|
+
type: integer
|
|
54435
|
+
program_key:
|
|
54436
|
+
type: string
|
|
54437
|
+
started:
|
|
54438
|
+
type: string
|
|
54439
|
+
format: date-time
|
|
54440
|
+
expired:
|
|
54441
|
+
type: string
|
|
54442
|
+
format: date-time
|
|
54443
|
+
placement_id:
|
|
54444
|
+
type: integer
|
|
54445
|
+
required:
|
|
54446
|
+
- program_key
|
|
54447
|
+
- user_id
|
|
54448
|
+
PlacementRecordCreate:
|
|
54449
|
+
type: object
|
|
54450
|
+
description: Assign a configured assessment to a platform user (no application).
|
|
54451
|
+
properties:
|
|
54452
|
+
user_id:
|
|
54453
|
+
type: integer
|
|
54454
|
+
assessment_id:
|
|
54455
|
+
type: integer
|
|
54456
|
+
session_id:
|
|
54457
|
+
type: string
|
|
54458
|
+
maxLength: 64
|
|
54459
|
+
note:
|
|
54460
|
+
type: string
|
|
54461
|
+
required:
|
|
54462
|
+
- assessment_id
|
|
54463
|
+
- user_id
|
|
53937
54464
|
Platform:
|
|
53938
54465
|
type: object
|
|
53939
54466
|
description: 'Note: Create and update operations deprecated.'
|
|
@@ -54912,23 +55439,22 @@ components:
|
|
|
54912
55439
|
- placements
|
|
54913
55440
|
PlatformApplicationPlacementItem:
|
|
54914
55441
|
type: object
|
|
54915
|
-
description:
|
|
55442
|
+
description: |-
|
|
55443
|
+
One placement assignment: which candidate, which configured assessment.
|
|
55444
|
+
The agent and subject come from the assessment, snapshotted onto the record.
|
|
54916
55445
|
properties:
|
|
54917
55446
|
candidate_id:
|
|
54918
55447
|
type: integer
|
|
54919
|
-
|
|
54920
|
-
type:
|
|
54921
|
-
mentor_label:
|
|
54922
|
-
type: string
|
|
54923
|
-
label:
|
|
54924
|
-
type: string
|
|
55448
|
+
assessment_id:
|
|
55449
|
+
type: integer
|
|
54925
55450
|
session_id:
|
|
54926
55451
|
type: string
|
|
55452
|
+
maxLength: 64
|
|
54927
55453
|
note:
|
|
54928
55454
|
type: string
|
|
54929
55455
|
required:
|
|
55456
|
+
- assessment_id
|
|
54930
55457
|
- candidate_id
|
|
54931
|
-
- mentor_unique_id
|
|
54932
55458
|
PlatformApplicationPlacementUpdateStatusEnum:
|
|
54933
55459
|
enum:
|
|
54934
55460
|
- not_assigned
|
|
@@ -58813,6 +59339,16 @@ components:
|
|
|
58813
59339
|
- desired
|
|
58814
59340
|
- reported
|
|
58815
59341
|
- total
|
|
59342
|
+
SourceEnum:
|
|
59343
|
+
enum:
|
|
59344
|
+
- agent
|
|
59345
|
+
- manual
|
|
59346
|
+
- external
|
|
59347
|
+
type: string
|
|
59348
|
+
description: |-
|
|
59349
|
+
* `agent` - agent
|
|
59350
|
+
* `manual` - manual
|
|
59351
|
+
* `external` - external
|
|
58816
59352
|
Spa:
|
|
58817
59353
|
type: object
|
|
58818
59354
|
description: Serializer for SPA (Single Page Application)
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -315,6 +315,7 @@ export type { PatchedOrganization } from './models/PatchedOrganization';
|
|
|
315
315
|
export type { PatchedPerson } from './models/PatchedPerson';
|
|
316
316
|
export type { PatchedPipeline } from './models/PatchedPipeline';
|
|
317
317
|
export type { PatchedPipelineStage } from './models/PatchedPipelineStage';
|
|
318
|
+
export type { PatchedPlacementAssessmentUpdate } from './models/PatchedPlacementAssessmentUpdate';
|
|
318
319
|
export type { PatchedPlatformApiKey } from './models/PatchedPlatformApiKey';
|
|
319
320
|
export type { PatchedPlatformApplicationFormUpdate } from './models/PatchedPlatformApplicationFormUpdate';
|
|
320
321
|
export type { PatchedPlatformApplicationNote } from './models/PatchedPlatformApplicationNote';
|
|
@@ -382,6 +383,10 @@ export type { PersonMergeRequest } from './models/PersonMergeRequest';
|
|
|
382
383
|
export type { PersonMergeResponse } from './models/PersonMergeResponse';
|
|
383
384
|
export type { Pipeline } from './models/Pipeline';
|
|
384
385
|
export type { PipelineStage } from './models/PipelineStage';
|
|
386
|
+
export type { PlacementAssessment } from './models/PlacementAssessment';
|
|
387
|
+
export type { PlacementCourseAssignmentCreate } from './models/PlacementCourseAssignmentCreate';
|
|
388
|
+
export type { PlacementProgramAssignmentCreate } from './models/PlacementProgramAssignmentCreate';
|
|
389
|
+
export type { PlacementRecordCreate } from './models/PlacementRecordCreate';
|
|
385
390
|
export type { Platform } from './models/Platform';
|
|
386
391
|
export type { PlatformApiKey } from './models/PlatformApiKey';
|
|
387
392
|
export { PlatformApiKeyModeEnum } from './models/PlatformApiKeyModeEnum';
|
|
@@ -529,6 +534,7 @@ export type { SkillInfo } from './models/SkillInfo';
|
|
|
529
534
|
export type { SkillsDetail } from './models/SkillsDetail';
|
|
530
535
|
export type { SkillsMetric } from './models/SkillsMetric';
|
|
531
536
|
export type { SkillThreshold } from './models/SkillThreshold';
|
|
537
|
+
export { SourceEnum } from './models/SourceEnum';
|
|
532
538
|
export type { Spa } from './models/Spa';
|
|
533
539
|
export { StateEnum } from './models/StateEnum';
|
|
534
540
|
export { Status0e3Enum } from './models/Status0e3Enum';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SourceEnum } from './SourceEnum';
|
|
6
|
+
/**
|
|
7
|
+
* Update body: every field optional; at least one must be present.
|
|
8
|
+
*/
|
|
9
|
+
export type PatchedPlacementAssessmentUpdate = {
|
|
10
|
+
name?: string;
|
|
11
|
+
source?: SourceEnum;
|
|
12
|
+
agent_unique_id?: string;
|
|
13
|
+
agent_label?: string;
|
|
14
|
+
subject?: string;
|
|
15
|
+
config?: any;
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SourceEnum } from './SourceEnum';
|
|
6
|
+
/**
|
|
7
|
+
* Create body for a placement assessment (platform configuration).
|
|
8
|
+
*/
|
|
9
|
+
export type PlacementAssessment = {
|
|
10
|
+
name: string;
|
|
11
|
+
source?: SourceEnum;
|
|
12
|
+
agent_unique_id?: string;
|
|
13
|
+
agent_label?: string;
|
|
14
|
+
subject?: string;
|
|
15
|
+
config?: any;
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Grant one course to a platform user, optionally linked to a placement.
|
|
7
|
+
*/
|
|
8
|
+
export type PlacementCourseAssignmentCreate = {
|
|
9
|
+
user_id: number;
|
|
10
|
+
course_id: string;
|
|
11
|
+
started?: string;
|
|
12
|
+
expired?: string;
|
|
13
|
+
placement_id?: number;
|
|
14
|
+
};
|
|
15
|
+
|