@factorialco/api-client 3.0.0-beta.2026100120 → 3.0.0-beta.2026100122

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.
@@ -5055,19 +5055,19 @@ export type PayrollEmployeesGermanEmployeeDatum = {
5055
5055
  */
5056
5056
  health_insurer_company_number?: string;
5057
5057
  /**
5058
- * Health insurance contribution class
5058
+ * Health insurance contribution class. 0: No contribution (private health insurance or voluntary health insurance as self-payer), 1: General contribution, 3: Reduced contribution, 4: Contribution to agricultural health insurance, 5: Employer's contribution to agricultural health insurance, 6: Flat-rate contribution for marginal employees, 9: Corporate payer
5059
5059
  */
5060
5060
  contribution_class_health_insurance?: number;
5061
5061
  /**
5062
- * Unemployment insurance contribution class
5062
+ * Unemployment insurance contribution class. 0: No contribution, 1: Full contribution, 2: Half contribution
5063
5063
  */
5064
5064
  contribution_class_unemployment_insurance?: number;
5065
5065
  /**
5066
- * Pension insurance contribution class
5066
+ * Pension insurance contribution class. 0: No contribution, 1: Full contribution, 3: Half contribution, 5: Flat-rate contribution for marginal employees
5067
5067
  */
5068
5068
  contribution_class_pension_insurance?: number;
5069
5069
  /**
5070
- * Long-term (nursing) insurance contribution class
5070
+ * Long-term (nursing) insurance contribution class. 0: No contribution, 1: Full contribution, 2: Half contribution
5071
5071
  */
5072
5072
  contribution_class_nursing_insurance?: number;
5073
5073
  /**
@@ -5099,23 +5099,23 @@ export type PayrollEmployeesGermanEmployeeDatum = {
5099
5099
  */
5100
5100
  child_tax_allowance?: number;
5101
5101
  /**
5102
- * Denomination of the employee
5102
+ * Denomination of the employee. ev: Protestant Church Tax, rk: Roman Catholic Church Tax, ak: Old Catholic Church Tax, fa: Free Religious Community Alzey, fb: Free Religious State Community Baden, fg: Free Religious State Community Palatinate, fm: Free Religious Community Mainz, fr: French Reformed (until 12/2015), fs: Free Religious Community Offenbach/Main, ib: Israelite Religious Community Baden, ih: Jewish Cult Tax, il: Israelite Cult Tax of Cult-Entitled Communities, is: Israelite / Jewish Cult Tax, iw: Israelite Religious Community Württemberg, jd: Jewish Cult Tax, jh: Jewish Cult Tax, lt: Evangelical Lutheran (until 12/2015), rf: Evangelical Reformed (until 12/2015), nd: Non-denominational
5103
5103
  */
5104
5104
  denomination?: string;
5105
5105
  /**
5106
- * Denomination of the employee's spouse
5106
+ * Denomination of the employee's spouse. ev: Protestant Church Tax, rk: Roman Catholic Church Tax, ak: Old Catholic Church Tax, fa: Free Religious Community Alzey, fb: Free Religious State Community Baden, fg: Free Religious State Community Palatinate, fm: Free Religious Community Mainz, fr: French Reformed (until 12/2015), fs: Free Religious Community Offenbach/Main, ib: Israelite Religious Community Baden, ih: Jewish Cult Tax, il: Israelite Cult Tax of Cult-Entitled Communities, is: Israelite / Jewish Cult Tax, iw: Israelite Religious Community Württemberg, jd: Jewish Cult Tax, jh: Jewish Cult Tax, lt: Evangelical Lutheran (until 12/2015), rf: Evangelical Reformed (until 12/2015), nd: Non-denominational
5107
5107
  */
5108
5108
  spouses_denomination?: string;
5109
5109
  /**
5110
- * Personnel leasing status of the employee
5110
+ * Personnel leasing status of the employee. 0: such as client data, 1: no, 2: yes
5111
5111
  */
5112
5112
  personnel_leasing?: number;
5113
5113
  /**
5114
- * Highest level of professional training of the employee
5114
+ * Highest level of professional training of the employee. 0: No specification, 1: Without vocational qualification, 2: Completion of recognized vocational training, 3: Master craftsman/technician or equivalent technical school degree, 4: Bachelor, 5: Diploma/Magister/Master/State examination, 6: Doctorate, 9: Qualification unknown
5115
5115
  */
5116
5116
  highest_level_of_professional_training?: number;
5117
5117
  /**
5118
- * Highest level of education of the employee
5118
+ * Highest level of education of the employee. 0: No specification, 1: Without school qualification, 2: Secondary school diploma, 3: Intermediate school diploma or equivalent, 4: High school diploma/vocational diploma, 9: Qualification unknown
5119
5119
  */
5120
5120
  highest_level_of_education?: number;
5121
5121
  };
@@ -7203,7 +7203,13 @@ export type TimeoffLeave = {
7203
7203
  */
7204
7204
  duration_attributes?: string;
7205
7205
  /**
7206
- * Number of days taken for paid leave
7206
+ * Per-day breakdown of the leave's workable and used units, keyed by calendar date. Populated only when the read requests `include_duration_by_day=true`; null otherwise.
7207
+ */
7208
+ duration_by_day_attributes?: {
7209
+ [key: string]: unknown;
7210
+ };
7211
+ /**
7212
+ * Number of days taken for paid leave. Reflects the summed per-day used total when the per-day breakdown is computed; otherwise the leave's calendar-day duration.
7207
7213
  */
7208
7214
  days_taken: number;
7209
7215
  };
@@ -17401,19 +17407,19 @@ export type PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataData = {
17401
17407
  */
17402
17408
  health_insurer_company_number?: string;
17403
17409
  /**
17404
- * Health insurance contribution class
17410
+ * Health insurance contribution class. 0: No contribution (private health insurance or voluntary health insurance as self-payer), 1: General contribution, 3: Reduced contribution, 4: Contribution to agricultural health insurance, 5: Employer's contribution to agricultural health insurance, 6: Flat-rate contribution for marginal employees, 9: Corporate payer
17405
17411
  */
17406
17412
  contribution_class_health_insurance?: number;
17407
17413
  /**
17408
- * Unemployment insurance contribution class
17414
+ * Unemployment insurance contribution class. 0: No contribution, 1: Full contribution, 2: Half contribution
17409
17415
  */
17410
17416
  contribution_class_unemployment_insurance?: number;
17411
17417
  /**
17412
- * Pension insurance contribution class
17418
+ * Pension insurance contribution class. 0: No contribution, 1: Full contribution, 3: Half contribution, 5: Flat-rate contribution for marginal employees
17413
17419
  */
17414
17420
  contribution_class_pension_insurance?: number;
17415
17421
  /**
17416
- * Long-term (nursing) insurance contribution class
17422
+ * Long-term (nursing) insurance contribution class. 0: No contribution, 1: Full contribution, 2: Half contribution
17417
17423
  */
17418
17424
  contribution_class_nursing_insurance?: number;
17419
17425
  /**
@@ -17445,23 +17451,23 @@ export type PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataData = {
17445
17451
  */
17446
17452
  child_tax_allowance?: number;
17447
17453
  /**
17448
- * Denomination of the employee
17454
+ * Denomination of the employee. ev: Protestant Church Tax, rk: Roman Catholic Church Tax, ak: Old Catholic Church Tax, fa: Free Religious Community Alzey, fb: Free Religious State Community Baden, fg: Free Religious State Community Palatinate, fm: Free Religious Community Mainz, fr: French Reformed (until 12/2015), fs: Free Religious Community Offenbach/Main, ib: Israelite Religious Community Baden, ih: Jewish Cult Tax, il: Israelite Cult Tax of Cult-Entitled Communities, is: Israelite / Jewish Cult Tax, iw: Israelite Religious Community Württemberg, jd: Jewish Cult Tax, jh: Jewish Cult Tax, lt: Evangelical Lutheran (until 12/2015), rf: Evangelical Reformed (until 12/2015), nd: Non-denominational
17449
17455
  */
17450
17456
  denomination?: string;
17451
17457
  /**
17452
- * Denomination of the employee's spouse
17458
+ * Denomination of the employee's spouse. ev: Protestant Church Tax, rk: Roman Catholic Church Tax, ak: Old Catholic Church Tax, fa: Free Religious Community Alzey, fb: Free Religious State Community Baden, fg: Free Religious State Community Palatinate, fm: Free Religious Community Mainz, fr: French Reformed (until 12/2015), fs: Free Religious Community Offenbach/Main, ib: Israelite Religious Community Baden, ih: Jewish Cult Tax, il: Israelite Cult Tax of Cult-Entitled Communities, is: Israelite / Jewish Cult Tax, iw: Israelite Religious Community Württemberg, jd: Jewish Cult Tax, jh: Jewish Cult Tax, lt: Evangelical Lutheran (until 12/2015), rf: Evangelical Reformed (until 12/2015), nd: Non-denominational
17453
17459
  */
17454
17460
  spouses_denomination?: string;
17455
17461
  /**
17456
- * Personnel leasing status of the employee
17462
+ * Personnel leasing status of the employee. 0: such as client data, 1: no, 2: yes
17457
17463
  */
17458
17464
  personnel_leasing?: number;
17459
17465
  /**
17460
- * Highest level of professional training of the employee
17466
+ * Highest level of professional training of the employee. 0: No specification, 1: Without vocational qualification, 2: Completion of recognized vocational training, 3: Master craftsman/technician or equivalent technical school degree, 4: Bachelor, 5: Diploma/Magister/Master/State examination, 6: Doctorate, 9: Qualification unknown
17461
17467
  */
17462
17468
  highest_level_of_professional_training?: number;
17463
17469
  /**
17464
- * Highest level of education of the employee
17470
+ * Highest level of education of the employee. 0: No specification, 1: Without school qualification, 2: Secondary school diploma, 3: Intermediate school diploma or equivalent, 4: High school diploma/vocational diploma, 9: Qualification unknown
17465
17471
  */
17466
17472
  highest_level_of_education?: number;
17467
17473
  };
@@ -17517,19 +17523,19 @@ export type PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdData =
17517
17523
  */
17518
17524
  health_insurer_company_number?: string;
17519
17525
  /**
17520
- * Health insurance contribution class
17526
+ * Health insurance contribution class. 0: No contribution (private health insurance or voluntary health insurance as self-payer), 1: General contribution, 3: Reduced contribution, 4: Contribution to agricultural health insurance, 5: Employer's contribution to agricultural health insurance, 6: Flat-rate contribution for marginal employees, 9: Corporate payer
17521
17527
  */
17522
17528
  contribution_class_health_insurance?: number;
17523
17529
  /**
17524
- * Unemployment insurance contribution class
17530
+ * Unemployment insurance contribution class. 0: No contribution, 1: Full contribution, 2: Half contribution
17525
17531
  */
17526
17532
  contribution_class_unemployment_insurance?: number;
17527
17533
  /**
17528
- * Pension insurance contribution class
17534
+ * Pension insurance contribution class. 0: No contribution, 1: Full contribution, 3: Half contribution, 5: Flat-rate contribution for marginal employees
17529
17535
  */
17530
17536
  contribution_class_pension_insurance?: number;
17531
17537
  /**
17532
- * Long-term (nursing) insurance contribution class
17538
+ * Long-term (nursing) insurance contribution class. 0: No contribution, 1: Full contribution, 2: Half contribution
17533
17539
  */
17534
17540
  contribution_class_nursing_insurance?: number;
17535
17541
  /**
@@ -17561,23 +17567,23 @@ export type PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdData =
17561
17567
  */
17562
17568
  child_tax_allowance?: number;
17563
17569
  /**
17564
- * Denomination of the employee
17570
+ * Denomination of the employee. ev: Protestant Church Tax, rk: Roman Catholic Church Tax, ak: Old Catholic Church Tax, fa: Free Religious Community Alzey, fb: Free Religious State Community Baden, fg: Free Religious State Community Palatinate, fm: Free Religious Community Mainz, fr: French Reformed (until 12/2015), fs: Free Religious Community Offenbach/Main, ib: Israelite Religious Community Baden, ih: Jewish Cult Tax, il: Israelite Cult Tax of Cult-Entitled Communities, is: Israelite / Jewish Cult Tax, iw: Israelite Religious Community Württemberg, jd: Jewish Cult Tax, jh: Jewish Cult Tax, lt: Evangelical Lutheran (until 12/2015), rf: Evangelical Reformed (until 12/2015), nd: Non-denominational
17565
17571
  */
17566
17572
  denomination?: string;
17567
17573
  /**
17568
- * Denomination of the employee's spouse
17574
+ * Denomination of the employee's spouse. ev: Protestant Church Tax, rk: Roman Catholic Church Tax, ak: Old Catholic Church Tax, fa: Free Religious Community Alzey, fb: Free Religious State Community Baden, fg: Free Religious State Community Palatinate, fm: Free Religious Community Mainz, fr: French Reformed (until 12/2015), fs: Free Religious Community Offenbach/Main, ib: Israelite Religious Community Baden, ih: Jewish Cult Tax, il: Israelite Cult Tax of Cult-Entitled Communities, is: Israelite / Jewish Cult Tax, iw: Israelite Religious Community Württemberg, jd: Jewish Cult Tax, jh: Jewish Cult Tax, lt: Evangelical Lutheran (until 12/2015), rf: Evangelical Reformed (until 12/2015), nd: Non-denominational
17569
17575
  */
17570
17576
  spouses_denomination?: string;
17571
17577
  /**
17572
- * Personnel leasing status of the employee
17578
+ * Personnel leasing status of the employee. 0: such as client data, 1: no, 2: yes
17573
17579
  */
17574
17580
  personnel_leasing?: number;
17575
17581
  /**
17576
- * Highest level of professional training of the employee
17582
+ * Highest level of professional training of the employee. 0: No specification, 1: Without vocational qualification, 2: Completion of recognized vocational training, 3: Master craftsman/technician or equivalent technical school degree, 4: Bachelor, 5: Diploma/Magister/Master/State examination, 6: Doctorate, 9: Qualification unknown
17577
17583
  */
17578
17584
  highest_level_of_professional_training?: number;
17579
17585
  /**
17580
- * Highest level of education of the employee
17586
+ * Highest level of education of the employee. 0: No specification, 1: Without school qualification, 2: Secondary school diploma, 3: Intermediate school diploma or equivalent, 4: High school diploma/vocational diploma, 9: Qualification unknown
17581
17587
  */
17582
17588
  highest_level_of_education?: number;
17583
17589
  };
@@ -23132,6 +23138,10 @@ export type GetApi20261001ResourcesTimeoffLeavesData = {
23132
23138
  * Retrieve leave duration
23133
23139
  */
23134
23140
  include_duration?: boolean;
23141
+ /**
23142
+ * Retrieve the per-day breakdown of the leave's duration (`duration_by_day_attributes`)
23143
+ */
23144
+ include_duration_by_day?: boolean;
23135
23145
  /**
23136
23146
  * Retrieve workable leaves
23137
23147
  */
@@ -23140,6 +23150,10 @@ export type GetApi20261001ResourcesTimeoffLeavesData = {
23140
23150
  * Retrieve payable leaves
23141
23151
  */
23142
23152
  type_is_payable?: boolean;
23153
+ /**
23154
+ * Caps the per-day duration walk at this date. For endless leaves (`finish_on = nil`) it pins the walk end; for closed leaves whose `finish_on` sits past this date it truncates the walk. Never extends a leave past its real `finish_on`. Must fall inside the read window (from/to or overlaps_range_from/overlaps_range_to).
23155
+ */
23156
+ forced_finish_on?: string;
23143
23157
  };
23144
23158
  url: '/api/2026-10-01/resources/timeoff/leaves';
23145
23159
  };
@@ -25335,7 +25349,7 @@ export type PostApi20261001ResourcesWorkScheduleDayConfigurationsBulkCudResponse
25335
25349
  /**
25336
25350
  * OK
25337
25351
  */
25338
- 200: WorkScheduleDayConfiguration;
25352
+ 200: Array<WorkScheduleDayConfiguration>;
25339
25353
  };
25340
25354
  export type PostApi20261001ResourcesWorkScheduleDayConfigurationsBulkCudResponse = PostApi20261001ResourcesWorkScheduleDayConfigurationsBulkCudResponses[keyof PostApi20261001ResourcesWorkScheduleDayConfigurationsBulkCudResponses];
25341
25355
  export type GetApi20261001ResourcesWorkScheduleOverlapPeriodsData = {