@factorialco/api-client 4.0.0-beta.2027010124 → 4.0.0-beta.2027010126

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.
@@ -804,6 +804,18 @@ export type AttendanceEditTimesheetRequest = {
804
804
  * Id of the clock-out work area within the workplace
805
805
  */
806
806
  clock_out_work_area_id?: string;
807
+ /**
808
+ * Id of the employee's project assignment the work is logged on once approved
809
+ */
810
+ project_worker_id?: string;
811
+ /**
812
+ * Id of the project phase the work is logged on once approved
813
+ */
814
+ subproject_id?: string;
815
+ /**
816
+ * Id of the project task the work is logged on once approved
817
+ */
818
+ project_task_id?: string;
807
819
  };
808
820
  export type AttendanceEstimatedTime = {
809
821
  date: string;
@@ -3245,13 +3257,17 @@ export type EmployeesEmployee = {
3245
3257
  */
3246
3258
  legal_entity_id?: string;
3247
3259
  /**
3248
- * location id of the employee, references to locations/locations.
3260
+ * Default workplace ID of the employee. References locations/locations.
3249
3261
  */
3250
3262
  location_id: string;
3251
3263
  /**
3252
3264
  * Default work area ID for the employee at the default workplace. References locations/work_areas.
3253
3265
  */
3254
3266
  default_work_area_id?: string;
3267
+ /**
3268
+ * All assigned workplace IDs, including the default workplace assignment. References locations/locations. Returned when include_locations=true; otherwise null.
3269
+ */
3270
+ location_ids?: Array<string>;
3255
3271
  /**
3256
3272
  * creation date of the employee.
3257
3273
  */
@@ -5730,6 +5746,28 @@ export type JobCatalogNode = {
5730
5746
  */
5731
5747
  job_catalog_title?: string;
5732
5748
  };
5749
+ export type LocationsEmployeesLocation = {
5750
+ /**
5751
+ * The assignment ID, which differs from the workplace ID.
5752
+ */
5753
+ id?: string;
5754
+ /**
5755
+ * The ID of the assigned workplace.
5756
+ */
5757
+ location_id: string;
5758
+ /**
5759
+ * The ID of the employee assigned to the workplace.
5760
+ */
5761
+ employee_id: string;
5762
+ /**
5763
+ * Whether this assignment is the employee's default workplace. Use set_as_default to change it.
5764
+ */
5765
+ is_default: boolean;
5766
+ /**
5767
+ * The IDs of the employee's work area assignments within this workplace.
5768
+ */
5769
+ employees_location_work_area_ids: Array<string>;
5770
+ };
5733
5771
  export type LocationsLocation = {
5734
5772
  /**
5735
5773
  * Unique identifier of the workplace
@@ -6600,7 +6638,7 @@ export type PerformanceReviewProcess = {
6600
6638
  /**
6601
6639
  * Missing or invalid information to be able to start the review process
6602
6640
  */
6603
- start_validation_errors: 'missing_deadline' | 'invalid_deadline' | 'missing_title' | 'missing_target_strategy' | 'missing_target_strategy_members' | 'missing_reviewer_strategy' | 'missing_questions' | 'missing_potential_reviewers' | 'invalid_section_weights_sum';
6641
+ start_validation_errors: 'missing_deadline' | 'invalid_deadline' | 'missing_title' | 'missing_target_strategy' | 'missing_target_strategy_members' | 'missing_reviewer_strategy' | 'missing_questions' | 'missing_potential_reviewers' | 'invalid_section_weights_sum' | 'missing_participant_goals' | 'goals_unavailable';
6604
6642
  /**
6605
6643
  * Whether the review process is archived or not
6606
6644
  */
@@ -14564,6 +14602,18 @@ export type PostApi20270101ResourcesAttendanceEditTimesheetRequestsData = {
14564
14602
  * Id of the clock-out work area within the workplace.
14565
14603
  */
14566
14604
  clock_out_work_area_id?: string;
14605
+ /**
14606
+ * Id of the employee's project assignment to log the work on once the request is approved.
14607
+ */
14608
+ project_worker_id?: string;
14609
+ /**
14610
+ * Id of the project phase, with project_worker_id.
14611
+ */
14612
+ subproject_id?: string;
14613
+ /**
14614
+ * Id of the project task, with project_worker_id.
14615
+ */
14616
+ project_task_id?: string;
14567
14617
  };
14568
14618
  path?: never;
14569
14619
  query?: never;
@@ -14820,6 +14870,18 @@ export type PutApi20270101ResourcesAttendanceEditTimesheetRequestsByIdData = {
14820
14870
  * Id of the clock-out work area within the workplace.
14821
14871
  */
14822
14872
  clock_out_work_area_id?: string;
14873
+ /**
14874
+ * Id of the employee's project assignment to log the work on once the request is approved.
14875
+ */
14876
+ project_worker_id?: string;
14877
+ /**
14878
+ * Id of the project phase, with project_worker_id.
14879
+ */
14880
+ subproject_id?: string;
14881
+ /**
14882
+ * Id of the project task, with project_worker_id.
14883
+ */
14884
+ project_task_id?: string;
14823
14885
  };
14824
14886
  path: {
14825
14887
  /**
@@ -26403,6 +26465,10 @@ export type GetApi20270101ResourcesEmployeesEmployeesData = {
26403
26465
  * filter by employee name.
26404
26466
  */
26405
26467
  full_text_name?: string;
26468
+ /**
26469
+ * Include all assigned workplace IDs in location_ids. Defaults to false, which returns null for that field.
26470
+ */
26471
+ include_locations?: boolean;
26406
26472
  /**
26407
26473
  * Filter employees by their latest update timestamp (`updated_at`), on or after this date. Only the date is considered; any time component is ignored (matching starts at 00:00:00 of the given date). Note: `updated_at` only stores the most recent update, so an employee updated multiple times is matched solely by its latest update, not by earlier ones.
26408
26474
  */
@@ -35560,6 +35626,374 @@ export type GetApi20270101ResourcesJobCatalogTreeNodesResponses = {
35560
35626
  };
35561
35627
  };
35562
35628
  export type GetApi20270101ResourcesJobCatalogTreeNodesResponse = GetApi20270101ResourcesJobCatalogTreeNodesResponses[keyof GetApi20270101ResourcesJobCatalogTreeNodesResponses];
35629
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsData = {
35630
+ body?: never;
35631
+ path?: never;
35632
+ query?: {
35633
+ /**
35634
+ * Filter by assignment IDs, which differ from workplace IDs.
35635
+ */
35636
+ 'ids[]'?: Array<string>;
35637
+ /**
35638
+ * Filter by employee IDs.
35639
+ */
35640
+ 'employee_ids[]'?: Array<string>;
35641
+ /**
35642
+ * Filter by workplace IDs.
35643
+ */
35644
+ 'location_ids[]'?: Array<string>;
35645
+ };
35646
+ url: '/api/2027-01-01/resources/locations/employees_locations';
35647
+ };
35648
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsErrors = {
35649
+ /**
35650
+ * Bad Request (malformed_request)
35651
+ */
35652
+ 400: ErrorResponse;
35653
+ /**
35654
+ * Unauthorized (unauthorized)
35655
+ */
35656
+ 401: ErrorResponse;
35657
+ /**
35658
+ * Payment Required (payment_required)
35659
+ */
35660
+ 402: ErrorResponse;
35661
+ /**
35662
+ * Forbidden (forbidden)
35663
+ */
35664
+ 403: ErrorResponse;
35665
+ /**
35666
+ * Not Found (missing_resource)
35667
+ */
35668
+ 404: ErrorResponse;
35669
+ /**
35670
+ * Conflict (invalid_state)
35671
+ */
35672
+ 409: ErrorResponse;
35673
+ /**
35674
+ * Gone
35675
+ */
35676
+ 410: ErrorResponse;
35677
+ /**
35678
+ * Unprocessable Entity (default, validation_failed)
35679
+ */
35680
+ 422: ErrorResponse;
35681
+ /**
35682
+ * Precondition Required
35683
+ */
35684
+ 428: ErrorResponse;
35685
+ /**
35686
+ * Internal Server Error
35687
+ */
35688
+ 500: ErrorResponse;
35689
+ /**
35690
+ * Bad Gateway (malformed_resource)
35691
+ */
35692
+ 502: ErrorResponse;
35693
+ /**
35694
+ * Gateway Timeout (service_unreachable)
35695
+ */
35696
+ 504: ErrorResponse;
35697
+ };
35698
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsError = GetApi20270101ResourcesLocationsEmployeesLocationsErrors[keyof GetApi20270101ResourcesLocationsEmployeesLocationsErrors];
35699
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsResponses = {
35700
+ /**
35701
+ * OK
35702
+ */
35703
+ 200: {
35704
+ data?: Array<LocationsEmployeesLocation>;
35705
+ meta?: PagedIndexMeta;
35706
+ };
35707
+ };
35708
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsResponse = GetApi20270101ResourcesLocationsEmployeesLocationsResponses[keyof GetApi20270101ResourcesLocationsEmployeesLocationsResponses];
35709
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsByIdData = {
35710
+ body?: never;
35711
+ path: {
35712
+ /**
35713
+ * Filter by assignment IDs, which differ from workplace IDs.
35714
+ */
35715
+ id: string;
35716
+ };
35717
+ query?: never;
35718
+ url: '/api/2027-01-01/resources/locations/employees_locations/{id}';
35719
+ };
35720
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsByIdErrors = {
35721
+ /**
35722
+ * Bad Request (malformed_request)
35723
+ */
35724
+ 400: ErrorResponse;
35725
+ /**
35726
+ * Unauthorized (unauthorized)
35727
+ */
35728
+ 401: ErrorResponse;
35729
+ /**
35730
+ * Payment Required (payment_required)
35731
+ */
35732
+ 402: ErrorResponse;
35733
+ /**
35734
+ * Forbidden (forbidden)
35735
+ */
35736
+ 403: ErrorResponse;
35737
+ /**
35738
+ * Not Found (missing_resource)
35739
+ */
35740
+ 404: ErrorResponse;
35741
+ /**
35742
+ * Conflict (invalid_state)
35743
+ */
35744
+ 409: ErrorResponse;
35745
+ /**
35746
+ * Gone
35747
+ */
35748
+ 410: ErrorResponse;
35749
+ /**
35750
+ * Unprocessable Entity (default, validation_failed)
35751
+ */
35752
+ 422: ErrorResponse;
35753
+ /**
35754
+ * Precondition Required
35755
+ */
35756
+ 428: ErrorResponse;
35757
+ /**
35758
+ * Internal Server Error
35759
+ */
35760
+ 500: ErrorResponse;
35761
+ /**
35762
+ * Bad Gateway (malformed_resource)
35763
+ */
35764
+ 502: ErrorResponse;
35765
+ /**
35766
+ * Gateway Timeout (service_unreachable)
35767
+ */
35768
+ 504: ErrorResponse;
35769
+ };
35770
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsByIdError = GetApi20270101ResourcesLocationsEmployeesLocationsByIdErrors[keyof GetApi20270101ResourcesLocationsEmployeesLocationsByIdErrors];
35771
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsByIdResponses = {
35772
+ /**
35773
+ * OK
35774
+ */
35775
+ 200: LocationsEmployeesLocation;
35776
+ };
35777
+ export type GetApi20270101ResourcesLocationsEmployeesLocationsByIdResponse = GetApi20270101ResourcesLocationsEmployeesLocationsByIdResponses[keyof GetApi20270101ResourcesLocationsEmployeesLocationsByIdResponses];
35778
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignData = {
35779
+ body?: {
35780
+ /**
35781
+ * The ID of the employee whose workplaces will be replaced.
35782
+ */
35783
+ employee_id: string;
35784
+ /**
35785
+ * The complete list of workplace IDs to retain, including the current default workplace.
35786
+ */
35787
+ location_ids: Array<string>;
35788
+ };
35789
+ path?: never;
35790
+ query?: never;
35791
+ url: '/api/2027-01-01/resources/locations/employees_locations/bulk_assign';
35792
+ };
35793
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignErrors = {
35794
+ /**
35795
+ * Bad Request (malformed_request)
35796
+ */
35797
+ 400: ErrorResponse;
35798
+ /**
35799
+ * Unauthorized (unauthorized)
35800
+ */
35801
+ 401: ErrorResponse;
35802
+ /**
35803
+ * Payment Required (payment_required)
35804
+ */
35805
+ 402: ErrorResponse;
35806
+ /**
35807
+ * Forbidden (forbidden)
35808
+ */
35809
+ 403: ErrorResponse;
35810
+ /**
35811
+ * Not Found (missing_resource)
35812
+ */
35813
+ 404: ErrorResponse;
35814
+ /**
35815
+ * Conflict (invalid_state)
35816
+ */
35817
+ 409: ErrorResponse;
35818
+ /**
35819
+ * Gone
35820
+ */
35821
+ 410: ErrorResponse;
35822
+ /**
35823
+ * Unprocessable Entity (default, validation_failed)
35824
+ */
35825
+ 422: ErrorResponse;
35826
+ /**
35827
+ * Precondition Required
35828
+ */
35829
+ 428: ErrorResponse;
35830
+ /**
35831
+ * Internal Server Error
35832
+ */
35833
+ 500: ErrorResponse;
35834
+ /**
35835
+ * Bad Gateway (malformed_resource)
35836
+ */
35837
+ 502: ErrorResponse;
35838
+ /**
35839
+ * Gateway Timeout (service_unreachable)
35840
+ */
35841
+ 504: ErrorResponse;
35842
+ };
35843
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignError = PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignErrors[keyof PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignErrors];
35844
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignResponses = {
35845
+ /**
35846
+ * OK
35847
+ */
35848
+ 200: Array<LocationsEmployeesLocation>;
35849
+ };
35850
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignResponse = PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignResponses[keyof PostApi20270101ResourcesLocationsEmployeesLocationsBulkAssignResponses];
35851
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultData = {
35852
+ body?: {
35853
+ /**
35854
+ * The assignment ID to make default, rather than the workplace ID.
35855
+ */
35856
+ employees_location_id: string;
35857
+ /**
35858
+ * An optional work area assignment ID that belongs to this workplace assignment.
35859
+ */
35860
+ employee_location_work_area_id?: string;
35861
+ };
35862
+ path?: never;
35863
+ query?: never;
35864
+ url: '/api/2027-01-01/resources/locations/employees_locations/set_as_default';
35865
+ };
35866
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultErrors = {
35867
+ /**
35868
+ * Bad Request (malformed_request)
35869
+ */
35870
+ 400: ErrorResponse;
35871
+ /**
35872
+ * Unauthorized (unauthorized)
35873
+ */
35874
+ 401: ErrorResponse;
35875
+ /**
35876
+ * Payment Required (payment_required)
35877
+ */
35878
+ 402: ErrorResponse;
35879
+ /**
35880
+ * Forbidden (forbidden)
35881
+ */
35882
+ 403: ErrorResponse;
35883
+ /**
35884
+ * Not Found (missing_resource)
35885
+ */
35886
+ 404: ErrorResponse;
35887
+ /**
35888
+ * Conflict (invalid_state)
35889
+ */
35890
+ 409: ErrorResponse;
35891
+ /**
35892
+ * Gone
35893
+ */
35894
+ 410: ErrorResponse;
35895
+ /**
35896
+ * Unprocessable Entity (default, validation_failed)
35897
+ */
35898
+ 422: ErrorResponse;
35899
+ /**
35900
+ * Precondition Required
35901
+ */
35902
+ 428: ErrorResponse;
35903
+ /**
35904
+ * Internal Server Error
35905
+ */
35906
+ 500: ErrorResponse;
35907
+ /**
35908
+ * Bad Gateway (malformed_resource)
35909
+ */
35910
+ 502: ErrorResponse;
35911
+ /**
35912
+ * Gateway Timeout (service_unreachable)
35913
+ */
35914
+ 504: ErrorResponse;
35915
+ };
35916
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultError = PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultErrors[keyof PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultErrors];
35917
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultResponses = {
35918
+ /**
35919
+ * OK
35920
+ */
35921
+ 200: LocationsEmployeesLocation;
35922
+ };
35923
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultResponse = PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultResponses[keyof PostApi20270101ResourcesLocationsEmployeesLocationsSetAsDefaultResponses];
35924
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsUnassignData = {
35925
+ body?: {
35926
+ /**
35927
+ * The ID of the employee assigned to the workplace.
35928
+ */
35929
+ employee_id: string;
35930
+ /**
35931
+ * The workplace ID to remove, rather than its assignment ID.
35932
+ */
35933
+ location_id: string;
35934
+ };
35935
+ path?: never;
35936
+ query?: never;
35937
+ url: '/api/2027-01-01/resources/locations/employees_locations/unassign';
35938
+ };
35939
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsUnassignErrors = {
35940
+ /**
35941
+ * Bad Request (malformed_request)
35942
+ */
35943
+ 400: ErrorResponse;
35944
+ /**
35945
+ * Unauthorized (unauthorized)
35946
+ */
35947
+ 401: ErrorResponse;
35948
+ /**
35949
+ * Payment Required (payment_required)
35950
+ */
35951
+ 402: ErrorResponse;
35952
+ /**
35953
+ * Forbidden (forbidden)
35954
+ */
35955
+ 403: ErrorResponse;
35956
+ /**
35957
+ * Not Found (missing_resource)
35958
+ */
35959
+ 404: ErrorResponse;
35960
+ /**
35961
+ * Conflict (invalid_state)
35962
+ */
35963
+ 409: ErrorResponse;
35964
+ /**
35965
+ * Gone
35966
+ */
35967
+ 410: ErrorResponse;
35968
+ /**
35969
+ * Unprocessable Entity (default, validation_failed)
35970
+ */
35971
+ 422: ErrorResponse;
35972
+ /**
35973
+ * Precondition Required
35974
+ */
35975
+ 428: ErrorResponse;
35976
+ /**
35977
+ * Internal Server Error
35978
+ */
35979
+ 500: ErrorResponse;
35980
+ /**
35981
+ * Bad Gateway (malformed_resource)
35982
+ */
35983
+ 502: ErrorResponse;
35984
+ /**
35985
+ * Gateway Timeout (service_unreachable)
35986
+ */
35987
+ 504: ErrorResponse;
35988
+ };
35989
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsUnassignError = PostApi20270101ResourcesLocationsEmployeesLocationsUnassignErrors[keyof PostApi20270101ResourcesLocationsEmployeesLocationsUnassignErrors];
35990
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsUnassignResponses = {
35991
+ /**
35992
+ * OK
35993
+ */
35994
+ 200: LocationsEmployeesLocation;
35995
+ };
35996
+ export type PostApi20270101ResourcesLocationsEmployeesLocationsUnassignResponse = PostApi20270101ResourcesLocationsEmployeesLocationsUnassignResponses[keyof PostApi20270101ResourcesLocationsEmployeesLocationsUnassignResponses];
35563
35997
  export type GetApi20270101ResourcesLocationsLocationsData = {
35564
35998
  body?: never;
35565
35999
  path?: never;
@@ -38195,11 +38629,11 @@ export type GetApi20270101ResourcesPayrollIntegrationsBaseCodesData = {
38195
38629
  */
38196
38630
  'integrations[]': 'a3innuva' | 'a3nom' | 'adp_france' | 'agenda' | 'paierh' | 'yeap_paierh' | 'silae' | 'sage100' | 'datev' | 'datev_api' | 'datev_lug_api' | 'datev_lauds' | 'team_system' | 'zucchetti' | 'gispaghe' | 'job_sistemi';
38197
38631
  /**
38198
- * Related object ID. Used together with codeable_type
38632
+ * Related object ID. Combine it with codeable_type, as ids of different types can match
38199
38633
  */
38200
38634
  codeable_id?: string;
38201
38635
  /**
38202
- * Related object type. Used together with codeable_id
38636
+ * Related object type
38203
38637
  */
38204
38638
  codeable_type?: string;
38205
38639
  };
@@ -50829,6 +51263,107 @@ export type PostApi20270101ResourcesShiftManagementShiftsBulkDeleteResponses = {
50829
51263
  200: Array<ShiftManagementShift>;
50830
51264
  };
50831
51265
  export type PostApi20270101ResourcesShiftManagementShiftsBulkDeleteResponse = PostApi20270101ResourcesShiftManagementShiftsBulkDeleteResponses[keyof PostApi20270101ResourcesShiftManagementShiftsBulkDeleteResponses];
51266
+ export type PostApi20270101ResourcesShiftManagementShiftsPublishData = {
51267
+ body?: {
51268
+ /**
51269
+ * First day to publish. Shifts starting on or after this day, in the shift's local time, are included
51270
+ */
51271
+ start_date: string;
51272
+ /**
51273
+ * Last day to publish, inclusive. Shifts starting on or before this day, in the shift's local time, are included. The range can span up to 31 days
51274
+ */
51275
+ end_date: string;
51276
+ /**
51277
+ * Publishes only the shifts of these employees. An empty list publishes nothing. If not provided, publishes the shifts of every employee whose shifts you can manage
51278
+ */
51279
+ employee_ids?: Array<string>;
51280
+ /**
51281
+ * Publishes only the shifts of employees assigned to these locations. An empty list publishes nothing
51282
+ */
51283
+ location_ids?: Array<string>;
51284
+ /**
51285
+ * Publishes only the shifts of employees in these teams. An empty list publishes nothing
51286
+ */
51287
+ team_ids?: Array<string>;
51288
+ /**
51289
+ * Publishes only the shifts of employees in these legal entities. An empty list publishes nothing
51290
+ */
51291
+ legal_entity_ids?: Array<string>;
51292
+ /**
51293
+ * Publishes only these draft shifts. Each draft must start within the date range and match the other filters, otherwise nothing is published and the 422 error lists the shifts that do not. Ids of shifts you cannot access fail the request with a 400 that does not list them. Ids of shifts that are already published are accepted and left as they are, even if they fall outside the dates and filters, so a retried request succeeds. Rest days are not published when shift_ids is provided. If not provided, every draft shift and rest day in the range is published, including the ones created from the shifts planner
51294
+ */
51295
+ shift_ids?: Array<string>;
51296
+ /**
51297
+ * When true, employees with a conflicting shift in the range are left out and everything else is published. Their shifts and rest days stay in draft and are not returned. When false, a single conflict stops the whole publish
51298
+ */
51299
+ skip_conflicts?: boolean;
51300
+ /**
51301
+ * When true, notifies the employees whose shifts were published
51302
+ */
51303
+ send_notifications?: boolean;
51304
+ };
51305
+ path?: never;
51306
+ query?: never;
51307
+ url: '/api/2027-01-01/resources/shift_management/shifts/publish';
51308
+ };
51309
+ export type PostApi20270101ResourcesShiftManagementShiftsPublishErrors = {
51310
+ /**
51311
+ * Bad Request (malformed_request)
51312
+ */
51313
+ 400: ErrorResponse;
51314
+ /**
51315
+ * Unauthorized (unauthorized)
51316
+ */
51317
+ 401: ErrorResponse;
51318
+ /**
51319
+ * Payment Required (payment_required)
51320
+ */
51321
+ 402: ErrorResponse;
51322
+ /**
51323
+ * Forbidden (forbidden)
51324
+ */
51325
+ 403: ErrorResponse;
51326
+ /**
51327
+ * Not Found (missing_resource)
51328
+ */
51329
+ 404: ErrorResponse;
51330
+ /**
51331
+ * Conflict (invalid_state)
51332
+ */
51333
+ 409: ErrorResponse;
51334
+ /**
51335
+ * Gone
51336
+ */
51337
+ 410: ErrorResponse;
51338
+ /**
51339
+ * Unprocessable Entity (default, validation_failed)
51340
+ */
51341
+ 422: ErrorResponse;
51342
+ /**
51343
+ * Precondition Required
51344
+ */
51345
+ 428: ErrorResponse;
51346
+ /**
51347
+ * Internal Server Error
51348
+ */
51349
+ 500: ErrorResponse;
51350
+ /**
51351
+ * Bad Gateway (malformed_resource)
51352
+ */
51353
+ 502: ErrorResponse;
51354
+ /**
51355
+ * Gateway Timeout (service_unreachable)
51356
+ */
51357
+ 504: ErrorResponse;
51358
+ };
51359
+ export type PostApi20270101ResourcesShiftManagementShiftsPublishError = PostApi20270101ResourcesShiftManagementShiftsPublishErrors[keyof PostApi20270101ResourcesShiftManagementShiftsPublishErrors];
51360
+ export type PostApi20270101ResourcesShiftManagementShiftsPublishResponses = {
51361
+ /**
51362
+ * OK
51363
+ */
51364
+ 200: Array<ShiftManagementShift>;
51365
+ };
51366
+ export type PostApi20270101ResourcesShiftManagementShiftsPublishResponse = PostApi20270101ResourcesShiftManagementShiftsPublishResponses[keyof PostApi20270101ResourcesShiftManagementShiftsPublishResponses];
50832
51367
  export type GetApi20270101ResourcesTasksTasksData = {
50833
51368
  body?: never;
50834
51369
  path?: never;