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

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
+ employees_location_ids?: Array<string>;
3255
3271
  /**
3256
3272
  * creation date of the employee.
3257
3273
  */
@@ -6600,7 +6616,7 @@ export type PerformanceReviewProcess = {
6600
6616
  /**
6601
6617
  * Missing or invalid information to be able to start the review process
6602
6618
  */
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';
6619
+ 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
6620
  /**
6605
6621
  * Whether the review process is archived or not
6606
6622
  */
@@ -14564,6 +14580,18 @@ export type PostApi20270101ResourcesAttendanceEditTimesheetRequestsData = {
14564
14580
  * Id of the clock-out work area within the workplace.
14565
14581
  */
14566
14582
  clock_out_work_area_id?: string;
14583
+ /**
14584
+ * Id of the employee's project assignment to log the work on once the request is approved.
14585
+ */
14586
+ project_worker_id?: string;
14587
+ /**
14588
+ * Id of the project phase, with project_worker_id.
14589
+ */
14590
+ subproject_id?: string;
14591
+ /**
14592
+ * Id of the project task, with project_worker_id.
14593
+ */
14594
+ project_task_id?: string;
14567
14595
  };
14568
14596
  path?: never;
14569
14597
  query?: never;
@@ -14820,6 +14848,18 @@ export type PutApi20270101ResourcesAttendanceEditTimesheetRequestsByIdData = {
14820
14848
  * Id of the clock-out work area within the workplace.
14821
14849
  */
14822
14850
  clock_out_work_area_id?: string;
14851
+ /**
14852
+ * Id of the employee's project assignment to log the work on once the request is approved.
14853
+ */
14854
+ project_worker_id?: string;
14855
+ /**
14856
+ * Id of the project phase, with project_worker_id.
14857
+ */
14858
+ subproject_id?: string;
14859
+ /**
14860
+ * Id of the project task, with project_worker_id.
14861
+ */
14862
+ project_task_id?: string;
14823
14863
  };
14824
14864
  path: {
14825
14865
  /**
@@ -26403,6 +26443,10 @@ export type GetApi20270101ResourcesEmployeesEmployeesData = {
26403
26443
  * filter by employee name.
26404
26444
  */
26405
26445
  full_text_name?: string;
26446
+ /**
26447
+ * Include all assigned workplace IDs in employees_location_ids. Defaults to false, which returns null for that field.
26448
+ */
26449
+ include_locations?: boolean;
26406
26450
  /**
26407
26451
  * 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
26452
  */
@@ -38195,11 +38239,11 @@ export type GetApi20270101ResourcesPayrollIntegrationsBaseCodesData = {
38195
38239
  */
38196
38240
  '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
38241
  /**
38198
- * Related object ID. Used together with codeable_type
38242
+ * Related object ID. Combine it with codeable_type, as ids of different types can match
38199
38243
  */
38200
38244
  codeable_id?: string;
38201
38245
  /**
38202
- * Related object type. Used together with codeable_id
38246
+ * Related object type
38203
38247
  */
38204
38248
  codeable_type?: string;
38205
38249
  };