@dsptch-work/api-client 0.33.0 → 0.34.0

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.
@@ -241,7 +241,7 @@ export type Problem = {
241
241
  *
242
242
  * **Version Overlap**
243
243
  *
244
- * The write conflicts with what is already recorded for the resource — another version occupies the same span, or the write contradicts the resource's recorded identity. Re-read the current state and retry on top of it.
244
+ * The write collides with another version of the same resource — another version occupies the same span, or the write contradicts the identity the resource's versions record. Re-read the current state and retry on top of it.
245
245
  *
246
246
  * ## 412
247
247
  *
@@ -508,6 +508,301 @@ export type DirectUploadResponseObject = {
508
508
  };
509
509
  };
510
510
  };
511
+ /**
512
+ * A competence standard owned by your company. Content lives on named revisions, not a valid-time history. current_version_id is the active revision and draft_version_id is the in-progress revision; either is null when absent.
513
+ */
514
+ export type CompetencyStandardResponseObject = {
515
+ /**
516
+ * ID of the standard.
517
+ */
518
+ id: string;
519
+ /**
520
+ * Name of the standard, unique within the company.
521
+ */
522
+ name: string;
523
+ /**
524
+ * ID of the department this standard is filed under; null when it is company-wide.
525
+ */
526
+ companies_department_id: string | null;
527
+ /**
528
+ * When the standard was archived; null while it is in the working catalog.
529
+ */
530
+ archived_at: string | null;
531
+ /**
532
+ * ID of the active revision; null when no revision has been promoted.
533
+ */
534
+ current_version_id: string | null;
535
+ /**
536
+ * ID of the draft revision; null when no draft is open.
537
+ */
538
+ draft_version_id: string | null;
539
+ /**
540
+ * When the standard was created.
541
+ */
542
+ created_at: string;
543
+ /**
544
+ * When the standard was last updated.
545
+ */
546
+ updated_at: string;
547
+ };
548
+ /**
549
+ * Archive a competence standard. The body takes no fields; send an empty object or no body. Archiving an archived standard returns it unchanged.
550
+ */
551
+ export type CompetencyStandardArchiveParameters = {
552
+ [key: string]: never;
553
+ };
554
+ /**
555
+ * Create a competence standard. Revision 1 is opened as a draft. sort_order and revision are server-assigned and are not accepted.
556
+ */
557
+ export type CompetencyStandardParameters = {
558
+ /**
559
+ * Name of the standard, unique within the company. Required.
560
+ */
561
+ name: string;
562
+ /**
563
+ * ID of the department this standard is filed under; optional, null to leave it company-wide.
564
+ */
565
+ companies_department_id?: string | null;
566
+ };
567
+ /**
568
+ * Update a competence standard's name or department. Send only the fields to change. Revisions are not edited here.
569
+ */
570
+ export type CompetencyStandardUpdateParameters = {
571
+ /**
572
+ * Name of the standard, unique within the company. Omit to leave it unchanged.
573
+ */
574
+ name?: string;
575
+ /**
576
+ * ID of the department this standard is filed under; omit to leave it unchanged, or send null to clear it.
577
+ */
578
+ companies_department_id?: string | null;
579
+ };
580
+ /**
581
+ * One named revision of a competence standard. revision is a positive integer and status is draft, active, or superseded. This is not a temporal history entry.
582
+ */
583
+ export type CompetencyStandardVersionResponseObject = {
584
+ /**
585
+ * ID of the revision.
586
+ */
587
+ id: string;
588
+ /**
589
+ * ID of the standard this revision belongs to.
590
+ */
591
+ competencies_standard_id: string;
592
+ /**
593
+ * Positive integer revision number, assigned when the revision is cut. Revision 1 is created with the standard.
594
+ */
595
+ revision: number;
596
+ /**
597
+ * Lifecycle of this revision: draft, active, or superseded. At most one draft and one active revision exist per standard.
598
+ */
599
+ status: 'draft' | 'active' | 'superseded';
600
+ /**
601
+ * Notes recorded when this revision was cut; null when unset.
602
+ */
603
+ change_notes: string | null;
604
+ /**
605
+ * ID of the admin or safety manager who promoted this revision; null while it is a draft.
606
+ */
607
+ approved_by_user_id: string | null;
608
+ /**
609
+ * When this revision was promoted; null while it is a draft.
610
+ */
611
+ approved_at: string | null;
612
+ /**
613
+ * Whether this revision has a controlled PDF attached. The file is not copied when a new revision is cut, and the bytes are not served by this API.
614
+ */
615
+ controlled_pdf_attached: boolean;
616
+ /**
617
+ * When the revision was created.
618
+ */
619
+ created_at: string;
620
+ /**
621
+ * When the revision was last updated.
622
+ */
623
+ updated_at: string;
624
+ };
625
+ /**
626
+ * Notes for a new draft revision, or a replacement of the notes on an existing draft. Cutting a revision copies the active level, key-activity, and criterion tree and does not copy the controlled PDF.
627
+ */
628
+ export type CompetencyStandardVersionParameters = {
629
+ /**
630
+ * Notes for this draft; optional, null to clear.
631
+ */
632
+ change_notes?: string | null;
633
+ };
634
+ /**
635
+ * Promote a draft revision to active. A user key promotes as its user and must omit approved_by_user_id. A company key must name an admin or safety manager.
636
+ */
637
+ export type CompetencyStandardVersionPromotionParameters = {
638
+ /**
639
+ * ID of the admin or safety manager who approves the promotion. Required for a company key. A user key that sends it is refused.
640
+ */
641
+ approved_by_user_id?: string;
642
+ };
643
+ /**
644
+ * A proficiency tier on one standard revision. sort_order is the durable tier qualifications record, and it is server-assigned.
645
+ */
646
+ export type CompetencyLevelResponseObject = {
647
+ /**
648
+ * ID of the level.
649
+ */
650
+ id: string;
651
+ /**
652
+ * ID of the revision this level belongs to.
653
+ */
654
+ competencies_standard_version_id: string;
655
+ /**
656
+ * Zero-based position of this level among its siblings. The first level is 0. Qualifications store this number, not the level id.
657
+ */
658
+ sort_order: number;
659
+ /**
660
+ * Name of the tier; null when unset.
661
+ */
662
+ name: string | null;
663
+ /**
664
+ * Description of the tier; null when unset.
665
+ */
666
+ description: string | null;
667
+ /**
668
+ * When the level was created.
669
+ */
670
+ created_at: string;
671
+ /**
672
+ * When the level was last updated.
673
+ */
674
+ updated_at: string;
675
+ };
676
+ /**
677
+ * Create or update a level on a draft revision. sort_order is server-assigned and is rejected if sent.
678
+ */
679
+ export type CompetencyLevelParameters = {
680
+ /**
681
+ * Name of the tier; optional, null to clear.
682
+ */
683
+ name?: string | null;
684
+ /**
685
+ * Description of the tier; optional, null to clear.
686
+ */
687
+ description?: string | null;
688
+ };
689
+ /**
690
+ * A task on a level. Catalog text is editable only while the parent revision is a draft. sort_order is server-assigned.
691
+ */
692
+ export type CompetencyKeyActivityResponseObject = {
693
+ /**
694
+ * ID of the key activity.
695
+ */
696
+ id: string;
697
+ /**
698
+ * ID of the level this key activity belongs to.
699
+ */
700
+ competencies_level_id: string;
701
+ /**
702
+ * Zero-based position among sibling key activities. Server-assigned.
703
+ */
704
+ sort_order: number;
705
+ /**
706
+ * Display number of the task; null when unset.
707
+ */
708
+ number: string | null;
709
+ /**
710
+ * Title of the task; null when unset.
711
+ */
712
+ title: string | null;
713
+ /**
714
+ * Notes for assessors; null when unset.
715
+ */
716
+ notes: string | null;
717
+ /**
718
+ * When the key activity was created.
719
+ */
720
+ created_at: string;
721
+ /**
722
+ * When the key activity was last updated.
723
+ */
724
+ updated_at: string;
725
+ };
726
+ /**
727
+ * Create or update a key activity on a draft revision. sort_order is server-assigned and is rejected if sent.
728
+ */
729
+ export type CompetencyKeyActivityParameters = {
730
+ /**
731
+ * Display number of the task; optional, null to clear.
732
+ */
733
+ number?: string | null;
734
+ /**
735
+ * Title of the task; optional, null to clear.
736
+ */
737
+ title?: string | null;
738
+ /**
739
+ * Notes for assessors; optional, null to clear.
740
+ */
741
+ notes?: string | null;
742
+ };
743
+ /**
744
+ * One evidence criterion on a key activity. Editable only while the parent revision is a draft. sort_order is server-assigned.
745
+ */
746
+ export type CompetencyCriterionResponseObject = {
747
+ /**
748
+ * ID of the criterion.
749
+ */
750
+ id: string;
751
+ /**
752
+ * ID of the key activity this criterion belongs to.
753
+ */
754
+ competencies_key_activity_id: string;
755
+ /**
756
+ * Zero-based position among sibling criteria. Server-assigned.
757
+ */
758
+ sort_order: number;
759
+ /**
760
+ * Display number of the criterion; null when unset.
761
+ */
762
+ number: string | null;
763
+ /**
764
+ * Criterion text; null when unset.
765
+ */
766
+ body: string | null;
767
+ /**
768
+ * Guidance on what evidence satisfies the criterion; null when unset.
769
+ */
770
+ evidence_note: string | null;
771
+ /**
772
+ * When the criterion was created.
773
+ */
774
+ created_at: string;
775
+ /**
776
+ * When the criterion was last updated.
777
+ */
778
+ updated_at: string;
779
+ };
780
+ /**
781
+ * Create or update a criterion on a draft revision. sort_order is server-assigned and is rejected if sent.
782
+ */
783
+ export type CompetencyCriterionParameters = {
784
+ /**
785
+ * Display number of the criterion; optional, null to clear.
786
+ */
787
+ number?: string | null;
788
+ /**
789
+ * Criterion text; optional, null to clear.
790
+ */
791
+ body?: string | null;
792
+ /**
793
+ * Guidance on what evidence satisfies the criterion; optional, null to clear.
794
+ */
795
+ evidence_note?: string | null;
796
+ };
797
+ /**
798
+ * Swap a draft catalog row with its neighbor. The row cannot move past either end of the list.
799
+ */
800
+ export type CompetencySortOrderMoveParameters = {
801
+ /**
802
+ * Which neighbor to swap with: up or down. Required.
803
+ */
804
+ direction: 'up' | 'down';
805
+ };
511
806
  /**
512
807
  * One assessor-registry grant for one standard. Department scope is informational. revoked_at is null while the grant is active.
513
808
  */
@@ -3774,7 +4069,7 @@ export type PwaCompanyUserDetailsParameters = {
3774
4069
  /**
3775
4070
  * Worker race for demographic reporting, as an array of codes (e.g. CAUCASIAN, AFRICAN_AMERICAN, ASIAN, NATIVE_AMERICAN, OTHER, NOT_SPECIFIED).
3776
4071
  */
3777
- race?: Array<'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER'> | null;
4072
+ race?: Array<'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER'>;
3778
4073
  /**
3779
4074
  * Worker sex for demographic reporting: one of female, male, non_binary, or not_specified.
3780
4075
  */
@@ -3822,11 +4117,11 @@ export type PwaCompanyUserDetailsParameters = {
3822
4117
  /**
3823
4118
  * Illinois SHINES Equity Eligible Person (EEP) qualifiers for the worker, as an array of codes (e.g. eep_program_completed, foster_care, formerly_incarcerated). See the schema enum for the full set.
3824
4119
  */
3825
- il_shines_eep_qualifiers?: Array<'eep_program_completed' | 'foster_care' | 'formerly_incarcerated' | 'equity_investment_eligible_community' | 'self_registered_or_unknown'> | null;
4120
+ il_shines_eep_qualifiers?: Array<'eep_program_completed' | 'foster_care' | 'formerly_incarcerated' | 'equity_investment_eligible_community' | 'self_registered_or_unknown'>;
3826
4121
  /**
3827
4122
  * Illinois SHINES workforce-program participation, as an array of program codes (e.g. solar_training_pipeline_program, craft_apprenticeship_program). See the schema enum for the full set.
3828
4123
  */
3829
- il_shines_other_programs?: Array<'solar_training_pipeline_program' | 'craft_apprenticeship_program' | 'multi_cultural_jobs_program' | 'clean_jobs_workforce_network_program' | 'illinois_climate_works_prep_apprenticeship_program' | 'returning_residents_clean_jobs_training_program' | 'other'> | null;
4124
+ il_shines_other_programs?: Array<'solar_training_pipeline_program' | 'craft_apprenticeship_program' | 'multi_cultural_jobs_program' | 'clean_jobs_workforce_network_program' | 'illinois_climate_works_prep_apprenticeship_program' | 'returning_residents_clean_jobs_training_program' | 'other'>;
3830
4125
  /**
3831
4126
  * Oregon BOLI workweek schedule: five_eight (five eight-hour days) or four_ten (four ten-hour days).
3832
4127
  */
@@ -3834,7 +4129,7 @@ export type PwaCompanyUserDetailsParameters = {
3834
4129
  /**
3835
4130
  * Oregon BOLI race classification, as an array of codes (e.g. white, asian, hispanic_or_latino, black_or_african_american).
3836
4131
  */
3837
- or_boli_race?: Array<'american_indian_or_alaska_native' | 'asian' | 'hispanic_or_latino' | 'black_or_african_american' | 'native_hawaiian_or_pacific_islander' | 'white' | 'portuguese_or_brazilian'> | null;
4132
+ or_boli_race?: Array<'american_indian_or_alaska_native' | 'asian' | 'hispanic_or_latino' | 'black_or_african_american' | 'native_hawaiian_or_pacific_islander' | 'white' | 'portuguese_or_brazilian'>;
3838
4133
  };
3839
4134
  /**
3840
4135
  * Update a worker's PWA compliance details. The company is taken from the API key. Every field is optional — send only what changes, and omitted fields are left unchanged. The company/user pair is fixed at creation.
@@ -3863,7 +4158,7 @@ export type PwaCompanyUserDetailsUpdateParameters = {
3863
4158
  /**
3864
4159
  * Worker race for demographic reporting, as an array of codes (e.g. CAUCASIAN, AFRICAN_AMERICAN, ASIAN, NATIVE_AMERICAN, OTHER, NOT_SPECIFIED).
3865
4160
  */
3866
- race?: Array<'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER'> | null;
4161
+ race?: Array<'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER'>;
3867
4162
  /**
3868
4163
  * Worker sex for demographic reporting: one of female, male, non_binary, or not_specified.
3869
4164
  */
@@ -3911,11 +4206,11 @@ export type PwaCompanyUserDetailsUpdateParameters = {
3911
4206
  /**
3912
4207
  * Illinois SHINES Equity Eligible Person (EEP) qualifiers for the worker, as an array of codes (e.g. eep_program_completed, foster_care, formerly_incarcerated). See the schema enum for the full set.
3913
4208
  */
3914
- il_shines_eep_qualifiers?: Array<'eep_program_completed' | 'foster_care' | 'formerly_incarcerated' | 'equity_investment_eligible_community' | 'self_registered_or_unknown'> | null;
4209
+ il_shines_eep_qualifiers?: Array<'eep_program_completed' | 'foster_care' | 'formerly_incarcerated' | 'equity_investment_eligible_community' | 'self_registered_or_unknown'>;
3915
4210
  /**
3916
4211
  * Illinois SHINES workforce-program participation, as an array of program codes (e.g. solar_training_pipeline_program, craft_apprenticeship_program). See the schema enum for the full set.
3917
4212
  */
3918
- il_shines_other_programs?: Array<'solar_training_pipeline_program' | 'craft_apprenticeship_program' | 'multi_cultural_jobs_program' | 'clean_jobs_workforce_network_program' | 'illinois_climate_works_prep_apprenticeship_program' | 'returning_residents_clean_jobs_training_program' | 'other'> | null;
4213
+ il_shines_other_programs?: Array<'solar_training_pipeline_program' | 'craft_apprenticeship_program' | 'multi_cultural_jobs_program' | 'clean_jobs_workforce_network_program' | 'illinois_climate_works_prep_apprenticeship_program' | 'returning_residents_clean_jobs_training_program' | 'other'>;
3919
4214
  /**
3920
4215
  * Oregon BOLI workweek schedule: five_eight (five eight-hour days) or four_ten (four ten-hour days).
3921
4216
  */
@@ -3923,7 +4218,7 @@ export type PwaCompanyUserDetailsUpdateParameters = {
3923
4218
  /**
3924
4219
  * Oregon BOLI race classification, as an array of codes (e.g. white, asian, hispanic_or_latino, black_or_african_american).
3925
4220
  */
3926
- or_boli_race?: Array<'american_indian_or_alaska_native' | 'asian' | 'hispanic_or_latino' | 'black_or_african_american' | 'native_hawaiian_or_pacific_islander' | 'white' | 'portuguese_or_brazilian'> | null;
4221
+ or_boli_race?: Array<'american_indian_or_alaska_native' | 'asian' | 'hispanic_or_latino' | 'black_or_african_american' | 'native_hawaiian_or_pacific_islander' | 'white' | 'portuguese_or_brazilian'>;
3927
4222
  };
3928
4223
  /**
3929
4224
  * A craft grouping used for prevailing-wage / apprenticeship (PWA) compliance — the unit an apprenticeship ratio is measured against. Owned by either a project (pooling the craft across the project's jobs) or a standalone job, never both.
@@ -4326,9 +4621,9 @@ export type JobParameters = {
4326
4621
  */
4327
4622
  requested_by_company_id?: string;
4328
4623
  /**
4329
- * Complete desired set of manager user ID strings. Omit or send null to preserve the set; send an empty array to clear it. Other non-array values or non-string members return 422 before any job or relationship is saved.
4624
+ * Complete desired set of unique nonblank manager user IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any job or relationship is saved.
4330
4625
  */
4331
- manager_user_ids?: Array<string> | null;
4626
+ manager_user_ids?: Array<string>;
4332
4627
  /**
4333
4628
  * Purchase order number for the job; null when unset.
4334
4629
  */
@@ -4379,9 +4674,9 @@ export type JobParameters = {
4379
4674
  */
4380
4675
  allow_customer_access?: boolean;
4381
4676
  /**
4382
- * Complete desired set of timecode ID strings. Omit or send null to preserve the set; send an empty array to clear it. Other non-array values or non-string members return 422 before any job or relationship is saved.
4677
+ * Complete desired set of unique nonblank timecode IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any job or relationship is saved.
4383
4678
  */
4384
- timekeeping_timecode_ids?: Array<string> | null;
4679
+ timekeeping_timecode_ids?: Array<string>;
4385
4680
  /**
4386
4681
  * Whether the feature-allocation selector is shown for this job; null when unset.
4387
4682
  */
@@ -5152,11 +5447,11 @@ export type UserParameters = ({
5152
5447
  /**
5153
5448
  * Worker race for demographic reporting, as an array of codes such as CAUCASIAN, AFRICAN_AMERICAN, ASIAN, NATIVE_AMERICAN, OTHER, and NOT_SPECIFIED.
5154
5449
  */
5155
- race?: Array<string> | null;
5450
+ race?: Array<'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER'>;
5156
5451
  /**
5157
5452
  * Worker sex for demographic reporting: one of female, male, non_binary, or not_specified.
5158
5453
  */
5159
- sex?: string | null;
5454
+ sex?: 'female' | 'male' | 'non_binary' | 'not_specified' | null;
5160
5455
  /**
5161
5456
  * Local business license number, when a jurisdiction requires it on certified payroll.
5162
5457
  */
@@ -5169,26 +5464,26 @@ export type UserParameters = ({
5169
5464
  * Worker's driver's license number (stored encrypted).
5170
5465
  */
5171
5466
  drivers_license_number?: string | null;
5467
+ /**
5468
+ * Worker Social Security Number (nine digits, stored encrypted), required on certified payroll in some jurisdictions.
5469
+ */
5470
+ ssn?: string | null;
5172
5471
  /**
5173
5472
  * Veteran status per US Census definitions: one of protected_veteran, not_protected_veteran, reserves, guard, or not_specified.
5174
5473
  */
5175
- veteran_status?: string | null;
5474
+ veteran_status?: 'protected_veteran' | 'not_protected_veteran' | 'reserves' | 'guard' | 'not_specified' | null;
5176
5475
  /**
5177
5476
  * Whether the worker is of Hispanic origin per US Census definitions: one of yes, no, or not_specified.
5178
5477
  */
5179
- hispanic_origin?: string | null;
5478
+ hispanic_origin?: 'yes' | 'no' | 'not_specified' | null;
5180
5479
  /**
5181
- * Worker Social Security Number (nine digits, stored encrypted), required on certified payroll in some jurisdictions.
5480
+ * Number of payroll withholding exemptions reported on California DIR certified payroll (eCPR); an integer from 0 to 99.
5182
5481
  */
5183
- ssn?: string | null;
5482
+ ca_dir_withholding_exemptions?: number | null;
5184
5483
  /**
5185
5484
  * Whether the worker has a disability, for demographic reporting.
5186
5485
  */
5187
- disabled?: boolean | null;
5188
- /**
5189
- * Number of payroll withholding exemptions reported on California DIR certified payroll (eCPR); an integer from 0 to 99.
5190
- */
5191
- ca_dir_withholding_exemptions?: number | null;
5486
+ disabled?: boolean;
5192
5487
  /**
5193
5488
  * Illinois DOL race classification for Illinois prevailing-wage reporting, as a single code such as white, black, or hispanic_or_latino. See the schema enum for the full set.
5194
5489
  */
@@ -5200,11 +5495,11 @@ export type UserParameters = ({
5200
5495
  /**
5201
5496
  * Illinois SHINES Equity Eligible Person (EEP) qualifiers for the worker, as an array of codes such as eep_program_completed, foster_care, and formerly_incarcerated.
5202
5497
  */
5203
- il_shines_eep_qualifiers?: Array<'eep_program_completed' | 'foster_care' | 'formerly_incarcerated' | 'equity_investment_eligible_community' | 'self_registered_or_unknown'> | null;
5498
+ il_shines_eep_qualifiers?: Array<'eep_program_completed' | 'foster_care' | 'formerly_incarcerated' | 'equity_investment_eligible_community' | 'self_registered_or_unknown'>;
5204
5499
  /**
5205
5500
  * Illinois SHINES workforce-program participation for the worker, as an array of program codes such as solar_training_pipeline_program and craft_apprenticeship_program.
5206
5501
  */
5207
- il_shines_other_programs?: Array<'solar_training_pipeline_program' | 'craft_apprenticeship_program' | 'multi_cultural_jobs_program' | 'clean_jobs_workforce_network_program' | 'illinois_climate_works_prep_apprenticeship_program' | 'returning_residents_clean_jobs_training_program' | 'other'> | null;
5502
+ il_shines_other_programs?: Array<'solar_training_pipeline_program' | 'craft_apprenticeship_program' | 'multi_cultural_jobs_program' | 'clean_jobs_workforce_network_program' | 'illinois_climate_works_prep_apprenticeship_program' | 'returning_residents_clean_jobs_training_program' | 'other'>;
5208
5503
  /**
5209
5504
  * Oregon BOLI workweek schedule: five_eight (five eight-hour days) or four_ten (four ten-hour days).
5210
5505
  */
@@ -5212,7 +5507,7 @@ export type UserParameters = ({
5212
5507
  /**
5213
5508
  * Oregon BOLI race classification, as an array of codes such as white, asian, hispanic_or_latino, and black_or_african_american.
5214
5509
  */
5215
- or_boli_race?: Array<'american_indian_or_alaska_native' | 'asian' | 'hispanic_or_latino' | 'black_or_african_american' | 'native_hawaiian_or_pacific_islander' | 'white' | 'portuguese_or_brazilian'> | null;
5510
+ or_boli_race?: Array<'american_indian_or_alaska_native' | 'asian' | 'hispanic_or_latino' | 'black_or_african_american' | 'native_hawaiian_or_pacific_islander' | 'white' | 'portuguese_or_brazilian'>;
5216
5511
  } | null;
5217
5512
  };
5218
5513
  /**
@@ -7748,7 +8043,7 @@ export type ProjectParameters = {
7748
8043
  */
7749
8044
  parent_id?: string | null;
7750
8045
  /**
7751
- * Complete desired set of participating company ID strings. Omit to preserve the set; send an empty array to clear it. Null, non-array values, or non-string members return 422 before any project or relationship is saved. Remove a participant's jobs before removing it from this set.
8046
+ * Complete desired set of unique nonblank participating company IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any project or relationship is saved. Remove a participant's jobs before removing it from this set.
7752
8047
  */
7753
8048
  participating_company_ids?: Array<string>;
7754
8049
  /**
@@ -7833,7 +8128,7 @@ export type ProjectUpdateParameters = {
7833
8128
  */
7834
8129
  parent_id?: string | null;
7835
8130
  /**
7836
- * Complete desired set of participating company ID strings. Omit to preserve the set; send an empty array to clear it. Null, non-array values, or non-string members return 422 before any project or relationship is saved. Remove a participant's jobs before removing it from this set.
8131
+ * Complete desired set of unique nonblank participating company IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any project or relationship is saved. Remove a participant's jobs before removing it from this set.
7837
8132
  */
7838
8133
  participating_company_ids?: Array<string>;
7839
8134
  /**
@@ -9927,11 +10222,11 @@ export type PositionResponseObject = {
9927
10222
  skill_level: string | null;
9928
10223
  };
9929
10224
  /**
9930
- * Start of the position's scheduled window (ISO 8601) as stored, the beginning of its first day in the job's tz_name; null when unscheduled.
10225
+ * The position's first day, as a calendar date (`YYYY-MM-DD`) in the job's tz_name; null when unscheduled.
9931
10226
  */
9932
10227
  start_time: string | null;
9933
10228
  /**
9934
- * End of the position's scheduled window (ISO 8601) as stored, the end of its last day in the job's tz_name; null when unscheduled.
10229
+ * The position's last day, as a calendar date (`YYYY-MM-DD`) in the job's tz_name; null when unscheduled.
9935
10230
  */
9936
10231
  end_time: string | null;
9937
10232
  /**
@@ -10026,11 +10321,11 @@ export type PositionParameters = {
10026
10321
  */
10027
10322
  fulfilled_by_user_id?: string | null;
10028
10323
  /**
10029
- * Start of the position's scheduled window (ISO 8601); must fall within the job's schedule. The window covers whole days in the job's tz_name, so it starts at the beginning of this value's day there.
10324
+ * The position's first day, as a calendar date (`YYYY-MM-DD`) in the job's tz_name. Required when the job has a schedule, and must fall within it. A time is refused with `422`. On update, null leaves the stored date unchanged.
10030
10325
  */
10031
10326
  start_time?: string | null;
10032
10327
  /**
10033
- * End of the position's scheduled window (ISO 8601); must be on or after start_time and within the job's schedule. The window ends at the end of this value's day in the job's tz_name.
10328
+ * The position's last day, as a calendar date (`YYYY-MM-DD`) in the job's tz_name. Required when the job has a schedule, and must be on or after start_time and within it. A time is refused with `422`. On update, null leaves the stored date unchanged.
10034
10329
  */
10035
10330
  end_time?: string | null;
10036
10331
  /**
@@ -10066,7 +10361,7 @@ export type PositionParameters = {
10066
10361
  */
10067
10362
  wage_adder_rate_cents?: number | null;
10068
10363
  /**
10069
- * The complete desired set of job wage determination IDs. On PATCH, this replaces the current set; omit the field to leave assignments unchanged. Required federal and regional assignments cannot be removed from a PWA position. Must be an array of ID strings; malformed submitted lists are rejected before any changes are written.
10364
+ * The complete desired set of unique nonblank job wage determination IDs. On PATCH, this replaces the current set; omit the field to leave assignments unchanged. Required federal and regional assignments cannot be removed from a PWA position. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any changes are written.
10070
10365
  */
10071
10366
  job_wage_determination_ids?: Array<string>;
10072
10367
  /**
@@ -10175,7 +10470,7 @@ export type ProductionCompletionUpdateParameters = {
10175
10470
  */
10176
10471
  work_date?: string;
10177
10472
  /**
10178
- * Job positions that performed the work. Omit to preserve the crew; a supplied list replaces it and must retain at least one position.
10473
+ * Unique nonblank IDs of the job positions that performed the work. Omit to preserve the crew; a supplied list replaces it and must retain at least one position. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422.
10179
10474
  */
10180
10475
  position_ids?: Array<string>;
10181
10476
  completable_attributes?: {
@@ -10206,7 +10501,7 @@ export type ProductionCompletionBaseParameters = {
10206
10501
  */
10207
10502
  work_date?: string;
10208
10503
  /**
10209
- * Job positions that performed the work (the crew). At least one is required; on update the list replaces the crew.
10504
+ * Unique nonblank IDs of the job positions that performed the work (the crew). At least one is required; on update the list replaces the crew. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422.
10210
10505
  */
10211
10506
  position_ids?: Array<string>;
10212
10507
  };
@@ -11586,10 +11881,6 @@ export type FederalJobWageDeterminationParameters = {
11586
11881
  * The DOL general wage determination the rates are drawn from — the general decision number plus its revision (e.g. "CA20230001/5"); null when not recorded.
11587
11882
  */
11588
11883
  general_wage_determination?: string | null;
11589
- /**
11590
- * Pay-rate rule package attached to the whole determination family. On create, omit it or send null to leave the family unattached. On update, send null to detach it or omit the key to keep the current attachment. A package belonging to another company is refused.
11591
- */
11592
- pay_rates_rule_package_id?: string | null;
11593
11884
  };
11594
11885
  /**
11595
11886
  * Parameters for creating a Regional (state prevailing-wage) wage determination on a job.
@@ -11623,10 +11914,6 @@ export type RegionalJobWageDeterminationParameters = {
11623
11914
  * Overtime package whose rules govern overtime on work under this determination. This is not a versioned attribute: setting it points every version at that package, not only the one this request writes, and `effective_from` does not date it. Send null to detach, leaving the determination with no overtime package of its own. Omit the key to leave the current attachment alone. A package belonging to another company is refused, and a Federal determination refuses one outright — only a Regional determination carries overtime rules.
11624
11915
  */
11625
11916
  overtime_package_id?: string | null;
11626
- /**
11627
- * Pay-rate rule package attached to the whole determination family. On create, omit it or send null to leave the family unattached. On update, send null to detach it or omit the key to keep the current attachment. A package belonging to another company is refused.
11628
- */
11629
- pay_rates_rule_package_id?: string | null;
11630
11917
  regional_fields?: RegionalWageDeterminationFields;
11631
11918
  };
11632
11919
  /**
@@ -11641,10 +11928,6 @@ export type JobWageDeterminationUpdateParameters = {
11641
11928
  * Overtime package whose rules govern overtime on work under this determination. This is not a versioned attribute: setting it points every version at that package, not only the one this request writes, and `effective_from` does not date it. Send null to detach, leaving the determination with no overtime package of its own. Omit the key to leave the current attachment alone. A package belonging to another company is refused, and a Federal determination refuses one outright — only a Regional determination carries overtime rules.
11642
11929
  */
11643
11930
  overtime_package_id?: string | null;
11644
- /**
11645
- * Pay-rate rule package attached to the whole determination family. On create, omit it or send null to leave the family unattached. On update, send null to detach it or omit the key to keep the current attachment. A package belonging to another company is refused.
11646
- */
11647
- pay_rates_rule_package_id?: string | null;
11648
11931
  /**
11649
11932
  * Human-readable labor classification — the craft or trade this determination sets rates for; the display label, distinct from the machine class code.
11650
11933
  */
@@ -12006,10 +12289,6 @@ export type FederalProjectWageDeterminationParameters = {
12006
12289
  * The DOL general wage determination the rates are drawn from — the general decision number plus its revision (e.g. "CA20230001/5"); null when not recorded.
12007
12290
  */
12008
12291
  general_wage_determination?: string | null;
12009
- /**
12010
- * Pay-rate rule package attached to the whole determination family. On create, omit it or send null to leave the family unattached. A package belonging to another company is refused.
12011
- */
12012
- pay_rates_rule_package_id?: string | null;
12013
12292
  };
12014
12293
  /**
12015
12294
  * Parameters for creating a Regional (state prevailing-wage) wage determination on a project.
@@ -12043,10 +12322,6 @@ export type RegionalProjectWageDeterminationParameters = {
12043
12322
  * Overtime package whose rules govern overtime on work under this determination. This is not a versioned attribute: setting it points every version at that package, not only the one this request writes, and `effective_from` does not date it. Send null to detach, leaving the determination with no overtime package of its own. Omit the key to leave the current attachment alone. A package belonging to another company is refused, and a Federal determination refuses one outright — only a Regional determination carries overtime rules.
12044
12323
  */
12045
12324
  overtime_package_id?: string | null;
12046
- /**
12047
- * Pay-rate rule package attached to the whole determination family. On create, omit it or send null to leave the family unattached. A package belonging to another company is refused.
12048
- */
12049
- pay_rates_rule_package_id?: string | null;
12050
12325
  regional_fields?: RegionalWageDeterminationFields;
12051
12326
  };
12052
12327
  /**
@@ -12061,10 +12336,6 @@ export type ProjectWageDeterminationUpdateParameters = {
12061
12336
  * Overtime package whose rules govern overtime on work under this determination. This is not a versioned attribute: setting it points every version at that package, not only the one this request writes, and `effective_from` does not date it. Send null to detach, leaving the determination with no overtime package of its own. Omit the key to leave the current attachment alone. A package belonging to another company is refused, and a Federal determination refuses one outright — only a Regional determination carries overtime rules.
12062
12337
  */
12063
12338
  overtime_package_id?: string | null;
12064
- /**
12065
- * Pay-rate rule package attached to the whole determination family. On create, omit it or send null to leave the family unattached. On update, send null to detach it or omit the key to keep the current attachment. A package belonging to another company is refused.
12066
- */
12067
- pay_rates_rule_package_id?: string | null;
12068
12339
  /**
12069
12340
  * Human-readable labor classification — the craft or trade this determination sets rates for; the display label, distinct from the machine class code.
12070
12341
  */
@@ -12446,7 +12717,7 @@ export type PayRatesRuleParameters = {
12446
12717
  */
12447
12718
  conditions?: Array<RateRuleCondition>;
12448
12719
  /**
12449
- * Calendar date when the rule begins in the package company's timezone; defaults to today there.
12720
+ * Calendar date when the rule begins in the package's timezone, which is that of the project or job holding the package, else its company's; defaults to today there.
12450
12721
  */
12451
12722
  effective_date?: string;
12452
12723
  };
@@ -12483,7 +12754,7 @@ export type PayRatesRuleScheduledTerminationParameters = {
12483
12754
  effective_date: string;
12484
12755
  };
12485
12756
  /**
12486
- * Schedule a rule recipe change from a company-local effective date.
12757
+ * Schedule a rule recipe change from an effective date in the package's timezone, which is that of the project or job holding the package, else its company's.
12487
12758
  */
12488
12759
  export type PayRatesRuleScheduledChangeParameters = {
12489
12760
  /**
@@ -14486,6 +14757,12 @@ export type AssetsServiceScheduleSyncParameters = {
14486
14757
  */
14487
14758
  performed_by_user_id: string;
14488
14759
  };
14760
+ /**
14761
+ * Archive a competence standard. The body takes no fields; send an empty object or no body. Archiving an archived standard returns it unchanged.
14762
+ */
14763
+ export type CompetencyStandardArchiveParametersWritable = {
14764
+ [key: string]: never;
14765
+ };
14489
14766
  /**
14490
14767
  * Revoke an active grant. The body takes no fields; send an empty object or no body. Revocation sets revoked_at and keeps the row; revoking it again answers 409 authorization_revoked.
14491
14768
  */
@@ -19974,38 +20251,19 @@ export type RevokeAssessorAuthorizationResponses = {
19974
20251
  201: CompetencyAssessorAuthorizationResponseObject;
19975
20252
  };
19976
20253
  export type RevokeAssessorAuthorizationResponse = RevokeAssessorAuthorizationResponses[keyof RevokeAssessorAuthorizationResponses];
19977
- export type ListQualificationsData = {
20254
+ export type ListLevelsData = {
19978
20255
  body?: never;
19979
- path?: never;
20256
+ path: {
20257
+ standard_id: string;
20258
+ version_id: string;
20259
+ };
19980
20260
  query?: {
19981
- /**
19982
- * Standings held by this candidate.
19983
- */
19984
- 'filter[candidate_user_id]'?: string;
19985
- /**
19986
- * Standings against this standard.
19987
- */
19988
- 'filter[competencies_standard_id]'?: string;
19989
- /**
19990
- * Standings at this tier.
19991
- */
19992
- 'filter[level_sort_order]'?: number;
19993
20261
  filter?: string;
19994
20262
  'filter[unexpected]'?: string;
19995
- /**
19996
- * This pagination cursor corresponds to the cursor value found in the response in
19997
- * `meta.page.next_cursor`.
19998
- */
19999
- 'page[cursor]'?: string;
20000
- /**
20001
- * Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
20002
- */
20003
- 'page[limit]'?: number;
20004
- page?: string;
20005
20263
  };
20006
- url: '/api/v1/competencies/qualifications';
20264
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels';
20007
20265
  };
20008
- export type ListQualificationsErrors = {
20266
+ export type ListLevelsErrors = {
20009
20267
  /**
20010
20268
  * Bad Request
20011
20269
  */
@@ -20015,27 +20273,691 @@ export type ListQualificationsErrors = {
20015
20273
  */
20016
20274
  403: Problem;
20017
20275
  };
20018
- export type ListQualificationsError = ListQualificationsErrors[keyof ListQualificationsErrors];
20019
- export type ListQualificationsResponses = {
20276
+ export type ListLevelsError = ListLevelsErrors[keyof ListLevelsErrors];
20277
+ export type ListLevelsResponses = {
20020
20278
  /**
20021
20279
  * Success
20022
20280
  */
20023
20281
  200: {
20024
20282
  meta: Meta;
20025
20283
  links: Links;
20026
- data: Array<CompetencyQualificationResponseObject>;
20284
+ data: Array<CompetencyLevelResponseObject>;
20027
20285
  };
20028
20286
  };
20029
- export type ListQualificationsResponse = ListQualificationsResponses[keyof ListQualificationsResponses];
20287
+ export type ListLevelsResponse = ListLevelsResponses[keyof ListLevelsResponses];
20288
+ export type CreateLevelData = {
20289
+ body?: CompetencyLevelParameters;
20290
+ path: {
20291
+ standard_id: string;
20292
+ version_id: string;
20293
+ };
20294
+ query?: never;
20295
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels';
20296
+ };
20297
+ export type CreateLevelErrors = {
20298
+ /**
20299
+ * Bad Request
20300
+ */
20301
+ 400: Problem;
20302
+ /**
20303
+ * Forbidden
20304
+ */
20305
+ 403: Problem;
20306
+ };
20307
+ export type CreateLevelError = CreateLevelErrors[keyof CreateLevelErrors];
20308
+ export type CreateLevelResponses = {
20309
+ /**
20310
+ * Created
20311
+ */
20312
+ 201: CompetencyLevelResponseObject;
20313
+ };
20314
+ export type CreateLevelResponse = CreateLevelResponses[keyof CreateLevelResponses];
20315
+ export type DeleteLevelData = {
20316
+ body?: never;
20317
+ path: {
20318
+ standard_id: string;
20319
+ version_id: string;
20320
+ id: string;
20321
+ };
20322
+ query?: never;
20323
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{id}';
20324
+ };
20325
+ export type DeleteLevelErrors = {
20326
+ /**
20327
+ * Forbidden
20328
+ */
20329
+ 403: unknown;
20330
+ };
20331
+ export type DeleteLevelResponses = {
20332
+ /**
20333
+ * No Content
20334
+ */
20335
+ 204: void;
20336
+ };
20337
+ export type DeleteLevelResponse = DeleteLevelResponses[keyof DeleteLevelResponses];
20338
+ export type GetLevelData = {
20339
+ body?: never;
20340
+ path: {
20341
+ standard_id: string;
20342
+ version_id: string;
20343
+ id: string;
20344
+ };
20345
+ query?: never;
20346
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{id}';
20347
+ };
20348
+ export type GetLevelErrors = {
20349
+ /**
20350
+ * Forbidden
20351
+ */
20352
+ 403: Problem;
20353
+ /**
20354
+ * Not Found
20355
+ */
20356
+ 404: Problem;
20357
+ };
20358
+ export type GetLevelError = GetLevelErrors[keyof GetLevelErrors];
20359
+ export type GetLevelResponses = {
20360
+ /**
20361
+ * Success
20362
+ */
20363
+ 200: CompetencyLevelResponseObject;
20364
+ };
20365
+ export type GetLevelResponse = GetLevelResponses[keyof GetLevelResponses];
20366
+ export type UpdateLevelData = {
20367
+ body?: CompetencyLevelParameters;
20368
+ path: {
20369
+ standard_id: string;
20370
+ version_id: string;
20371
+ id: string;
20372
+ };
20373
+ query?: never;
20374
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{id}';
20375
+ };
20376
+ export type UpdateLevelErrors = {
20377
+ /**
20378
+ * Bad Request
20379
+ */
20380
+ 400: Problem;
20381
+ /**
20382
+ * Forbidden
20383
+ */
20384
+ 403: Problem;
20385
+ };
20386
+ export type UpdateLevelError = UpdateLevelErrors[keyof UpdateLevelErrors];
20387
+ export type UpdateLevelResponses = {
20388
+ /**
20389
+ * Success
20390
+ */
20391
+ 200: CompetencyLevelResponseObject;
20392
+ };
20393
+ export type UpdateLevelResponse = UpdateLevelResponses[keyof UpdateLevelResponses];
20394
+ export type MoveCompetencyLevelData = {
20395
+ body?: CompetencySortOrderMoveParameters;
20396
+ path: {
20397
+ standard_id: string;
20398
+ version_id: string;
20399
+ level_id: string;
20400
+ };
20401
+ query?: never;
20402
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/move';
20403
+ };
20404
+ export type MoveCompetencyLevelErrors = {
20405
+ /**
20406
+ * Bad Request
20407
+ */
20408
+ 400: Problem;
20409
+ /**
20410
+ * Forbidden
20411
+ */
20412
+ 403: Problem;
20413
+ /**
20414
+ * Unmovable
20415
+ */
20416
+ 422: Problem;
20417
+ };
20418
+ export type MoveCompetencyLevelError = MoveCompetencyLevelErrors[keyof MoveCompetencyLevelErrors];
20419
+ export type MoveCompetencyLevelResponses = {
20420
+ /**
20421
+ * Success
20422
+ */
20423
+ 200: CompetencyLevelResponseObject;
20424
+ };
20425
+ export type MoveCompetencyLevelResponse = MoveCompetencyLevelResponses[keyof MoveCompetencyLevelResponses];
20426
+ export type ListKeyActivitiesData = {
20427
+ body?: never;
20428
+ path: {
20429
+ standard_id: string;
20430
+ version_id: string;
20431
+ level_id: string;
20432
+ };
20433
+ query?: {
20434
+ filter?: string;
20435
+ 'filter[unexpected]'?: string;
20436
+ };
20437
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities';
20438
+ };
20439
+ export type ListKeyActivitiesErrors = {
20440
+ /**
20441
+ * Bad Request
20442
+ */
20443
+ 400: Problem;
20444
+ /**
20445
+ * Forbidden
20446
+ */
20447
+ 403: Problem;
20448
+ };
20449
+ export type ListKeyActivitiesError = ListKeyActivitiesErrors[keyof ListKeyActivitiesErrors];
20450
+ export type ListKeyActivitiesResponses = {
20451
+ /**
20452
+ * Success
20453
+ */
20454
+ 200: {
20455
+ meta: Meta;
20456
+ links: Links;
20457
+ data: Array<CompetencyKeyActivityResponseObject>;
20458
+ };
20459
+ };
20460
+ export type ListKeyActivitiesResponse = ListKeyActivitiesResponses[keyof ListKeyActivitiesResponses];
20461
+ export type CreateKeyActivityData = {
20462
+ body?: CompetencyKeyActivityParameters;
20463
+ path: {
20464
+ standard_id: string;
20465
+ version_id: string;
20466
+ level_id: string;
20467
+ };
20468
+ query?: never;
20469
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities';
20470
+ };
20471
+ export type CreateKeyActivityErrors = {
20472
+ /**
20473
+ * Bad Request
20474
+ */
20475
+ 400: Problem;
20476
+ /**
20477
+ * Forbidden
20478
+ */
20479
+ 403: Problem;
20480
+ };
20481
+ export type CreateKeyActivityError = CreateKeyActivityErrors[keyof CreateKeyActivityErrors];
20482
+ export type CreateKeyActivityResponses = {
20483
+ /**
20484
+ * Created
20485
+ */
20486
+ 201: CompetencyKeyActivityResponseObject;
20487
+ };
20488
+ export type CreateKeyActivityResponse = CreateKeyActivityResponses[keyof CreateKeyActivityResponses];
20489
+ export type DeleteKeyActivityData = {
20490
+ body?: never;
20491
+ path: {
20492
+ standard_id: string;
20493
+ version_id: string;
20494
+ level_id: string;
20495
+ id: string;
20496
+ };
20497
+ query?: never;
20498
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{id}';
20499
+ };
20500
+ export type DeleteKeyActivityErrors = {
20501
+ /**
20502
+ * Forbidden
20503
+ */
20504
+ 403: unknown;
20505
+ };
20506
+ export type DeleteKeyActivityResponses = {
20507
+ /**
20508
+ * No Content
20509
+ */
20510
+ 204: void;
20511
+ };
20512
+ export type DeleteKeyActivityResponse = DeleteKeyActivityResponses[keyof DeleteKeyActivityResponses];
20513
+ export type GetKeyActivityData = {
20514
+ body?: never;
20515
+ path: {
20516
+ standard_id: string;
20517
+ version_id: string;
20518
+ level_id: string;
20519
+ id: string;
20520
+ };
20521
+ query?: never;
20522
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{id}';
20523
+ };
20524
+ export type GetKeyActivityErrors = {
20525
+ /**
20526
+ * Forbidden
20527
+ */
20528
+ 403: Problem;
20529
+ };
20530
+ export type GetKeyActivityError = GetKeyActivityErrors[keyof GetKeyActivityErrors];
20531
+ export type GetKeyActivityResponses = {
20532
+ /**
20533
+ * Success
20534
+ */
20535
+ 200: CompetencyKeyActivityResponseObject;
20536
+ };
20537
+ export type GetKeyActivityResponse = GetKeyActivityResponses[keyof GetKeyActivityResponses];
20538
+ export type UpdateKeyActivityData = {
20539
+ body?: CompetencyKeyActivityParameters;
20540
+ path: {
20541
+ standard_id: string;
20542
+ version_id: string;
20543
+ level_id: string;
20544
+ id: string;
20545
+ };
20546
+ query?: never;
20547
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{id}';
20548
+ };
20549
+ export type UpdateKeyActivityErrors = {
20550
+ /**
20551
+ * Bad Request
20552
+ */
20553
+ 400: Problem;
20554
+ /**
20555
+ * Forbidden
20556
+ */
20557
+ 403: Problem;
20558
+ };
20559
+ export type UpdateKeyActivityError = UpdateKeyActivityErrors[keyof UpdateKeyActivityErrors];
20560
+ export type UpdateKeyActivityResponses = {
20561
+ /**
20562
+ * Success
20563
+ */
20564
+ 200: CompetencyKeyActivityResponseObject;
20565
+ };
20566
+ export type UpdateKeyActivityResponse = UpdateKeyActivityResponses[keyof UpdateKeyActivityResponses];
20567
+ export type MoveCompetencyKeyActivityData = {
20568
+ body?: CompetencySortOrderMoveParameters;
20569
+ path: {
20570
+ standard_id: string;
20571
+ version_id: string;
20572
+ level_id: string;
20573
+ key_activity_id: string;
20574
+ };
20575
+ query?: never;
20576
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/move';
20577
+ };
20578
+ export type MoveCompetencyKeyActivityErrors = {
20579
+ /**
20580
+ * Bad Request
20581
+ */
20582
+ 400: Problem;
20583
+ /**
20584
+ * Forbidden
20585
+ */
20586
+ 403: Problem;
20587
+ /**
20588
+ * Unmovable
20589
+ */
20590
+ 422: Problem;
20591
+ };
20592
+ export type MoveCompetencyKeyActivityError = MoveCompetencyKeyActivityErrors[keyof MoveCompetencyKeyActivityErrors];
20593
+ export type MoveCompetencyKeyActivityResponses = {
20594
+ /**
20595
+ * Success
20596
+ */
20597
+ 200: CompetencyKeyActivityResponseObject;
20598
+ };
20599
+ export type MoveCompetencyKeyActivityResponse = MoveCompetencyKeyActivityResponses[keyof MoveCompetencyKeyActivityResponses];
20600
+ export type ListCriteriaData = {
20601
+ body?: never;
20602
+ path: {
20603
+ standard_id: string;
20604
+ version_id: string;
20605
+ level_id: string;
20606
+ key_activity_id: string;
20607
+ };
20608
+ query?: {
20609
+ filter?: string;
20610
+ 'filter[unexpected]'?: string;
20611
+ };
20612
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/criteria';
20613
+ };
20614
+ export type ListCriteriaErrors = {
20615
+ /**
20616
+ * Bad Request
20617
+ */
20618
+ 400: Problem;
20619
+ /**
20620
+ * Forbidden
20621
+ */
20622
+ 403: Problem;
20623
+ };
20624
+ export type ListCriteriaError = ListCriteriaErrors[keyof ListCriteriaErrors];
20625
+ export type ListCriteriaResponses = {
20626
+ /**
20627
+ * Success
20628
+ */
20629
+ 200: {
20630
+ meta: Meta;
20631
+ links: Links;
20632
+ data: Array<CompetencyCriterionResponseObject>;
20633
+ };
20634
+ };
20635
+ export type ListCriteriaResponse = ListCriteriaResponses[keyof ListCriteriaResponses];
20636
+ export type CreateCriterionData = {
20637
+ body?: CompetencyCriterionParameters;
20638
+ path: {
20639
+ standard_id: string;
20640
+ version_id: string;
20641
+ level_id: string;
20642
+ key_activity_id: string;
20643
+ };
20644
+ query?: never;
20645
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/criteria';
20646
+ };
20647
+ export type CreateCriterionErrors = {
20648
+ /**
20649
+ * Bad Request
20650
+ */
20651
+ 400: Problem;
20652
+ /**
20653
+ * Forbidden
20654
+ */
20655
+ 403: Problem;
20656
+ };
20657
+ export type CreateCriterionError = CreateCriterionErrors[keyof CreateCriterionErrors];
20658
+ export type CreateCriterionResponses = {
20659
+ /**
20660
+ * Created
20661
+ */
20662
+ 201: CompetencyCriterionResponseObject;
20663
+ };
20664
+ export type CreateCriterionResponse = CreateCriterionResponses[keyof CreateCriterionResponses];
20665
+ export type DeleteCriterionData = {
20666
+ body?: never;
20667
+ path: {
20668
+ standard_id: string;
20669
+ version_id: string;
20670
+ level_id: string;
20671
+ key_activity_id: string;
20672
+ id: string;
20673
+ };
20674
+ query?: never;
20675
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/criteria/{id}';
20676
+ };
20677
+ export type DeleteCriterionErrors = {
20678
+ /**
20679
+ * Forbidden
20680
+ */
20681
+ 403: unknown;
20682
+ };
20683
+ export type DeleteCriterionResponses = {
20684
+ /**
20685
+ * No Content
20686
+ */
20687
+ 204: void;
20688
+ };
20689
+ export type DeleteCriterionResponse = DeleteCriterionResponses[keyof DeleteCriterionResponses];
20690
+ export type GetCriterionData = {
20691
+ body?: never;
20692
+ path: {
20693
+ standard_id: string;
20694
+ version_id: string;
20695
+ level_id: string;
20696
+ key_activity_id: string;
20697
+ id: string;
20698
+ };
20699
+ query?: never;
20700
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/criteria/{id}';
20701
+ };
20702
+ export type GetCriterionErrors = {
20703
+ /**
20704
+ * Forbidden
20705
+ */
20706
+ 403: Problem;
20707
+ };
20708
+ export type GetCriterionError = GetCriterionErrors[keyof GetCriterionErrors];
20709
+ export type GetCriterionResponses = {
20710
+ /**
20711
+ * Success
20712
+ */
20713
+ 200: CompetencyCriterionResponseObject;
20714
+ };
20715
+ export type GetCriterionResponse = GetCriterionResponses[keyof GetCriterionResponses];
20716
+ export type UpdateCriterionData = {
20717
+ body?: CompetencyCriterionParameters;
20718
+ path: {
20719
+ standard_id: string;
20720
+ version_id: string;
20721
+ level_id: string;
20722
+ key_activity_id: string;
20723
+ id: string;
20724
+ };
20725
+ query?: never;
20726
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/criteria/{id}';
20727
+ };
20728
+ export type UpdateCriterionErrors = {
20729
+ /**
20730
+ * Bad Request
20731
+ */
20732
+ 400: Problem;
20733
+ /**
20734
+ * Forbidden
20735
+ */
20736
+ 403: Problem;
20737
+ };
20738
+ export type UpdateCriterionError = UpdateCriterionErrors[keyof UpdateCriterionErrors];
20739
+ export type UpdateCriterionResponses = {
20740
+ /**
20741
+ * Success
20742
+ */
20743
+ 200: CompetencyCriterionResponseObject;
20744
+ };
20745
+ export type UpdateCriterionResponse = UpdateCriterionResponses[keyof UpdateCriterionResponses];
20746
+ export type MoveCompetencyCriterionData = {
20747
+ body?: CompetencySortOrderMoveParameters;
20748
+ path: {
20749
+ standard_id: string;
20750
+ version_id: string;
20751
+ level_id: string;
20752
+ key_activity_id: string;
20753
+ criterion_id: string;
20754
+ };
20755
+ query?: never;
20756
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/levels/{level_id}/key_activities/{key_activity_id}/criteria/{criterion_id}/move';
20757
+ };
20758
+ export type MoveCompetencyCriterionErrors = {
20759
+ /**
20760
+ * Bad Request
20761
+ */
20762
+ 400: Problem;
20763
+ /**
20764
+ * Forbidden
20765
+ */
20766
+ 403: Problem;
20767
+ /**
20768
+ * Unmovable
20769
+ */
20770
+ 422: Problem;
20771
+ };
20772
+ export type MoveCompetencyCriterionError = MoveCompetencyCriterionErrors[keyof MoveCompetencyCriterionErrors];
20773
+ export type MoveCompetencyCriterionResponses = {
20774
+ /**
20775
+ * Success
20776
+ */
20777
+ 200: CompetencyCriterionResponseObject;
20778
+ };
20779
+ export type MoveCompetencyCriterionResponse = MoveCompetencyCriterionResponses[keyof MoveCompetencyCriterionResponses];
20780
+ export type ListQualificationsData = {
20781
+ body?: never;
20782
+ path?: never;
20783
+ query?: {
20784
+ /**
20785
+ * Standings held by this candidate.
20786
+ */
20787
+ 'filter[candidate_user_id]'?: string;
20788
+ /**
20789
+ * Standings against this standard.
20790
+ */
20791
+ 'filter[competencies_standard_id]'?: string;
20792
+ /**
20793
+ * Standings at this tier.
20794
+ */
20795
+ 'filter[level_sort_order]'?: number;
20796
+ filter?: string;
20797
+ 'filter[unexpected]'?: string;
20798
+ /**
20799
+ * This pagination cursor corresponds to the cursor value found in the response in
20800
+ * `meta.page.next_cursor`.
20801
+ */
20802
+ 'page[cursor]'?: string;
20803
+ /**
20804
+ * Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
20805
+ */
20806
+ 'page[limit]'?: number;
20807
+ page?: string;
20808
+ };
20809
+ url: '/api/v1/competencies/qualifications';
20810
+ };
20811
+ export type ListQualificationsErrors = {
20812
+ /**
20813
+ * Bad Request
20814
+ */
20815
+ 400: Problem;
20816
+ /**
20817
+ * Forbidden
20818
+ */
20819
+ 403: Problem;
20820
+ };
20821
+ export type ListQualificationsError = ListQualificationsErrors[keyof ListQualificationsErrors];
20822
+ export type ListQualificationsResponses = {
20823
+ /**
20824
+ * Success
20825
+ */
20826
+ 200: {
20827
+ meta: Meta;
20828
+ links: Links;
20829
+ data: Array<CompetencyQualificationResponseObject>;
20830
+ };
20831
+ };
20832
+ export type ListQualificationsResponse = ListQualificationsResponses[keyof ListQualificationsResponses];
20030
20833
  export type GetQualificationData = {
20031
20834
  body?: never;
20032
20835
  path: {
20033
20836
  id: string;
20034
20837
  };
20035
20838
  query?: never;
20036
- url: '/api/v1/competencies/qualifications/{id}';
20839
+ url: '/api/v1/competencies/qualifications/{id}';
20840
+ };
20841
+ export type GetQualificationErrors = {
20842
+ /**
20843
+ * Forbidden
20844
+ */
20845
+ 403: Problem;
20846
+ /**
20847
+ * Not Found
20848
+ */
20849
+ 404: Problem;
20850
+ };
20851
+ export type GetQualificationError = GetQualificationErrors[keyof GetQualificationErrors];
20852
+ export type GetQualificationResponses = {
20853
+ /**
20854
+ * Success
20855
+ */
20856
+ 200: CompetencyQualificationResponseObject;
20857
+ };
20858
+ export type GetQualificationResponse = GetQualificationResponses[keyof GetQualificationResponses];
20859
+ export type ListStandardsData = {
20860
+ body?: never;
20861
+ path?: never;
20862
+ query?: {
20863
+ /**
20864
+ * Case-insensitive substring match on the standard name.
20865
+ */
20866
+ 'filter[name]'?: string;
20867
+ /**
20868
+ * Standards filed under this department.
20869
+ */
20870
+ 'filter[companies_department_id]'?: string;
20871
+ /**
20872
+ * `active` has a promoted revision and is not archived. `draft` has a draft and no active revision. `archived` is archived.
20873
+ */
20874
+ 'filter[catalog_status]'?: 'active' | 'draft' | 'archived';
20875
+ 'filter[created_at][gte]'?: string;
20876
+ 'filter[created_at][lte]'?: string;
20877
+ 'filter[updated_at][gte]'?: string;
20878
+ 'filter[updated_at][lte]'?: string;
20879
+ filter?: string;
20880
+ 'filter[unexpected]'?: string;
20881
+ /**
20882
+ * This pagination cursor corresponds to the cursor value found in the response in
20883
+ * `meta.page.next_cursor`.
20884
+ */
20885
+ 'page[cursor]'?: string;
20886
+ /**
20887
+ * Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
20888
+ */
20889
+ 'page[limit]'?: number;
20890
+ page?: string;
20891
+ };
20892
+ url: '/api/v1/competencies/standards';
20893
+ };
20894
+ export type ListStandardsErrors = {
20895
+ /**
20896
+ * Bad Request
20897
+ */
20898
+ 400: Problem;
20899
+ /**
20900
+ * Forbidden
20901
+ */
20902
+ 403: Problem;
20903
+ /**
20904
+ * Unprocessable Content
20905
+ */
20906
+ 422: Problem;
20907
+ };
20908
+ export type ListStandardsError = ListStandardsErrors[keyof ListStandardsErrors];
20909
+ export type ListStandardsResponses = {
20910
+ /**
20911
+ * Success
20912
+ */
20913
+ 200: {
20914
+ meta: Meta;
20915
+ links: Links;
20916
+ data: Array<CompetencyStandardResponseObject>;
20917
+ };
20918
+ };
20919
+ export type ListStandardsResponse = ListStandardsResponses[keyof ListStandardsResponses];
20920
+ export type CreateStandardData = {
20921
+ body?: CompetencyStandardParameters;
20922
+ path?: never;
20923
+ query?: never;
20924
+ url: '/api/v1/competencies/standards';
20925
+ };
20926
+ export type CreateStandardErrors = {
20927
+ /**
20928
+ * Bad Request
20929
+ */
20930
+ 400: Problem;
20931
+ /**
20932
+ * Forbidden
20933
+ */
20934
+ 403: Problem;
20935
+ /**
20936
+ * Not Found
20937
+ */
20938
+ 404: Problem;
20939
+ /**
20940
+ * Unprocessable Content
20941
+ */
20942
+ 422: Problem;
20943
+ };
20944
+ export type CreateStandardError = CreateStandardErrors[keyof CreateStandardErrors];
20945
+ export type CreateStandardResponses = {
20946
+ /**
20947
+ * Created
20948
+ */
20949
+ 201: CompetencyStandardResponseObject;
20950
+ };
20951
+ export type CreateStandardResponse = CreateStandardResponses[keyof CreateStandardResponses];
20952
+ export type GetStandardData = {
20953
+ body?: never;
20954
+ path: {
20955
+ id: string;
20956
+ };
20957
+ query?: never;
20958
+ url: '/api/v1/competencies/standards/{id}';
20037
20959
  };
20038
- export type GetQualificationErrors = {
20960
+ export type GetStandardErrors = {
20039
20961
  /**
20040
20962
  * Forbidden
20041
20963
  */
@@ -20045,14 +20967,288 @@ export type GetQualificationErrors = {
20045
20967
  */
20046
20968
  404: Problem;
20047
20969
  };
20048
- export type GetQualificationError = GetQualificationErrors[keyof GetQualificationErrors];
20049
- export type GetQualificationResponses = {
20970
+ export type GetStandardError = GetStandardErrors[keyof GetStandardErrors];
20971
+ export type GetStandardResponses = {
20050
20972
  /**
20051
20973
  * Success
20052
20974
  */
20053
- 200: CompetencyQualificationResponseObject;
20975
+ 200: CompetencyStandardResponseObject;
20054
20976
  };
20055
- export type GetQualificationResponse = GetQualificationResponses[keyof GetQualificationResponses];
20977
+ export type GetStandardResponse = GetStandardResponses[keyof GetStandardResponses];
20978
+ export type UpdateStandardData = {
20979
+ body?: CompetencyStandardUpdateParameters;
20980
+ path: {
20981
+ id: string;
20982
+ };
20983
+ query?: never;
20984
+ url: '/api/v1/competencies/standards/{id}';
20985
+ };
20986
+ export type UpdateStandardErrors = {
20987
+ /**
20988
+ * Bad Request
20989
+ */
20990
+ 400: Problem;
20991
+ /**
20992
+ * Forbidden
20993
+ */
20994
+ 403: Problem;
20995
+ /**
20996
+ * Not Found
20997
+ */
20998
+ 404: Problem;
20999
+ };
21000
+ export type UpdateStandardError = UpdateStandardErrors[keyof UpdateStandardErrors];
21001
+ export type UpdateStandardResponses = {
21002
+ /**
21003
+ * Success
21004
+ */
21005
+ 200: CompetencyStandardResponseObject;
21006
+ };
21007
+ export type UpdateStandardResponse = UpdateStandardResponses[keyof UpdateStandardResponses];
21008
+ export type UnarchiveCompetencyStandardData = {
21009
+ body?: never;
21010
+ path: {
21011
+ standard_id: string;
21012
+ };
21013
+ query?: never;
21014
+ url: '/api/v1/competencies/standards/{standard_id}/archive';
21015
+ };
21016
+ export type UnarchiveCompetencyStandardErrors = {
21017
+ /**
21018
+ * Forbidden
21019
+ */
21020
+ 403: Problem;
21021
+ /**
21022
+ * Not Found
21023
+ */
21024
+ 404: Problem;
21025
+ };
21026
+ export type UnarchiveCompetencyStandardError = UnarchiveCompetencyStandardErrors[keyof UnarchiveCompetencyStandardErrors];
21027
+ export type UnarchiveCompetencyStandardResponses = {
21028
+ /**
21029
+ * Success
21030
+ */
21031
+ 200: CompetencyStandardResponseObject;
21032
+ };
21033
+ export type UnarchiveCompetencyStandardResponse = UnarchiveCompetencyStandardResponses[keyof UnarchiveCompetencyStandardResponses];
21034
+ export type ArchiveCompetencyStandardData = {
21035
+ body?: CompetencyStandardArchiveParametersWritable;
21036
+ path: {
21037
+ standard_id: string;
21038
+ };
21039
+ query?: never;
21040
+ url: '/api/v1/competencies/standards/{standard_id}/archive';
21041
+ };
21042
+ export type ArchiveCompetencyStandardErrors = {
21043
+ /**
21044
+ * Bad Request
21045
+ */
21046
+ 400: Problem;
21047
+ /**
21048
+ * Forbidden
21049
+ */
21050
+ 403: Problem;
21051
+ /**
21052
+ * Not Found
21053
+ */
21054
+ 404: Problem;
21055
+ };
21056
+ export type ArchiveCompetencyStandardError = ArchiveCompetencyStandardErrors[keyof ArchiveCompetencyStandardErrors];
21057
+ export type ArchiveCompetencyStandardResponses = {
21058
+ /**
21059
+ * Created
21060
+ */
21061
+ 201: CompetencyStandardResponseObject;
21062
+ };
21063
+ export type ArchiveCompetencyStandardResponse = ArchiveCompetencyStandardResponses[keyof ArchiveCompetencyStandardResponses];
21064
+ export type ListCompetencyStandardVersionsData = {
21065
+ body?: never;
21066
+ path: {
21067
+ standard_id: string;
21068
+ };
21069
+ query?: {
21070
+ /**
21071
+ * Revision status: draft, active, or superseded.
21072
+ */
21073
+ 'filter[status]'?: 'draft' | 'active' | 'superseded';
21074
+ 'filter[created_at][gte]'?: string;
21075
+ 'filter[created_at][lte]'?: string;
21076
+ 'filter[updated_at][gte]'?: string;
21077
+ 'filter[updated_at][lte]'?: string;
21078
+ filter?: string;
21079
+ 'filter[unexpected]'?: string;
21080
+ /**
21081
+ * This pagination cursor corresponds to the cursor value found in the response in
21082
+ * `meta.page.next_cursor`.
21083
+ */
21084
+ 'page[cursor]'?: string;
21085
+ /**
21086
+ * Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
21087
+ */
21088
+ 'page[limit]'?: number;
21089
+ page?: string;
21090
+ };
21091
+ url: '/api/v1/competencies/standards/{standard_id}/versions';
21092
+ };
21093
+ export type ListCompetencyStandardVersionsErrors = {
21094
+ /**
21095
+ * Bad Request
21096
+ */
21097
+ 400: Problem;
21098
+ /**
21099
+ * Forbidden
21100
+ */
21101
+ 403: Problem;
21102
+ /**
21103
+ * Unprocessable Content
21104
+ */
21105
+ 422: Problem;
21106
+ };
21107
+ export type ListCompetencyStandardVersionsError = ListCompetencyStandardVersionsErrors[keyof ListCompetencyStandardVersionsErrors];
21108
+ export type ListCompetencyStandardVersionsResponses = {
21109
+ /**
21110
+ * Success
21111
+ */
21112
+ 200: {
21113
+ meta: Meta;
21114
+ links: Links;
21115
+ data: Array<CompetencyStandardVersionResponseObject>;
21116
+ };
21117
+ };
21118
+ export type ListCompetencyStandardVersionsResponse = ListCompetencyStandardVersionsResponses[keyof ListCompetencyStandardVersionsResponses];
21119
+ export type CreateCompetencyStandardVersionData = {
21120
+ body?: CompetencyStandardVersionParameters;
21121
+ path: {
21122
+ standard_id: string;
21123
+ };
21124
+ query?: never;
21125
+ url: '/api/v1/competencies/standards/{standard_id}/versions';
21126
+ };
21127
+ export type CreateCompetencyStandardVersionErrors = {
21128
+ /**
21129
+ * Bad Request
21130
+ */
21131
+ 400: Problem;
21132
+ /**
21133
+ * Forbidden
21134
+ */
21135
+ 403: Problem;
21136
+ /**
21137
+ * Unprocessable Content
21138
+ */
21139
+ 422: Problem;
21140
+ };
21141
+ export type CreateCompetencyStandardVersionError = CreateCompetencyStandardVersionErrors[keyof CreateCompetencyStandardVersionErrors];
21142
+ export type CreateCompetencyStandardVersionResponses = {
21143
+ /**
21144
+ * Created
21145
+ */
21146
+ 201: CompetencyStandardVersionResponseObject;
21147
+ };
21148
+ export type CreateCompetencyStandardVersionResponse = CreateCompetencyStandardVersionResponses[keyof CreateCompetencyStandardVersionResponses];
21149
+ export type DeleteCompetencyStandardVersionData = {
21150
+ body?: never;
21151
+ path: {
21152
+ standard_id: string;
21153
+ id: string;
21154
+ };
21155
+ query?: never;
21156
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{id}';
21157
+ };
21158
+ export type DeleteCompetencyStandardVersionErrors = {
21159
+ /**
21160
+ * Forbidden
21161
+ */
21162
+ 403: unknown;
21163
+ };
21164
+ export type DeleteCompetencyStandardVersionResponses = {
21165
+ /**
21166
+ * No Content
21167
+ */
21168
+ 204: void;
21169
+ };
21170
+ export type DeleteCompetencyStandardVersionResponse = DeleteCompetencyStandardVersionResponses[keyof DeleteCompetencyStandardVersionResponses];
21171
+ export type GetCompetencyStandardVersionData = {
21172
+ body?: never;
21173
+ path: {
21174
+ standard_id: string;
21175
+ id: string;
21176
+ };
21177
+ query?: never;
21178
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{id}';
21179
+ };
21180
+ export type GetCompetencyStandardVersionErrors = {
21181
+ /**
21182
+ * Forbidden
21183
+ */
21184
+ 403: Problem;
21185
+ /**
21186
+ * Not Found
21187
+ */
21188
+ 404: Problem;
21189
+ };
21190
+ export type GetCompetencyStandardVersionError = GetCompetencyStandardVersionErrors[keyof GetCompetencyStandardVersionErrors];
21191
+ export type GetCompetencyStandardVersionResponses = {
21192
+ /**
21193
+ * Success
21194
+ */
21195
+ 200: CompetencyStandardVersionResponseObject;
21196
+ };
21197
+ export type GetCompetencyStandardVersionResponse = GetCompetencyStandardVersionResponses[keyof GetCompetencyStandardVersionResponses];
21198
+ export type UpdateCompetencyStandardVersionData = {
21199
+ body?: CompetencyStandardVersionParameters;
21200
+ path: {
21201
+ standard_id: string;
21202
+ id: string;
21203
+ };
21204
+ query?: never;
21205
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{id}';
21206
+ };
21207
+ export type UpdateCompetencyStandardVersionErrors = {
21208
+ /**
21209
+ * Bad Request
21210
+ */
21211
+ 400: Problem;
21212
+ /**
21213
+ * Forbidden
21214
+ */
21215
+ 403: Problem;
21216
+ };
21217
+ export type UpdateCompetencyStandardVersionError = UpdateCompetencyStandardVersionErrors[keyof UpdateCompetencyStandardVersionErrors];
21218
+ export type UpdateCompetencyStandardVersionResponses = {
21219
+ /**
21220
+ * Success
21221
+ */
21222
+ 200: CompetencyStandardVersionResponseObject;
21223
+ };
21224
+ export type UpdateCompetencyStandardVersionResponse = UpdateCompetencyStandardVersionResponses[keyof UpdateCompetencyStandardVersionResponses];
21225
+ export type PromoteCompetencyStandardVersionData = {
21226
+ body?: CompetencyStandardVersionPromotionParameters;
21227
+ path: {
21228
+ standard_id: string;
21229
+ version_id: string;
21230
+ };
21231
+ query?: never;
21232
+ url: '/api/v1/competencies/standards/{standard_id}/versions/{version_id}/promotion';
21233
+ };
21234
+ export type PromoteCompetencyStandardVersionErrors = {
21235
+ /**
21236
+ * Bad Request
21237
+ */
21238
+ 400: Problem;
21239
+ /**
21240
+ * Forbidden
21241
+ */
21242
+ 403: Problem;
21243
+ };
21244
+ export type PromoteCompetencyStandardVersionError = PromoteCompetencyStandardVersionErrors[keyof PromoteCompetencyStandardVersionErrors];
21245
+ export type PromoteCompetencyStandardVersionResponses = {
21246
+ /**
21247
+ * Created
21248
+ */
21249
+ 201: CompetencyStandardVersionResponseObject;
21250
+ };
21251
+ export type PromoteCompetencyStandardVersionResponse = PromoteCompetencyStandardVersionResponses[keyof PromoteCompetencyStandardVersionResponses];
20056
21252
  export type ListChecksData = {
20057
21253
  body?: never;
20058
21254
  path?: never;