@factorialco/api-client 3.0.0-beta.2026100104 → 3.0.0-beta.2026100106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/index.d.ts +2 -2
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/generated/index.js +15 -8
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/sdk.gen.d.ts +44 -1
- package/dist/cjs/generated/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/generated/sdk.gen.js +93 -9
- package/dist/cjs/generated/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/types.gen.d.ts +585 -6
- package/dist/cjs/generated/types.gen.d.ts.map +1 -1
- package/dist/cjs/sdk.d.ts +57 -1
- package/dist/cjs/sdk.d.ts.map +1 -1
- package/dist/cjs/sdk.js +65 -3
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/generated/index.d.ts +2 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/sdk.gen.d.ts +44 -1
- package/dist/esm/generated/sdk.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.js +79 -2
- package/dist/esm/generated/sdk.gen.js.map +1 -1
- package/dist/esm/generated/types.gen.d.ts +585 -6
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/dist/esm/sdk.d.ts +57 -1
- package/dist/esm/sdk.d.ts.map +1 -1
- package/dist/esm/sdk.js +61 -1
- package/dist/esm/sdk.js.map +1 -1
- package/package.json +1 -1
|
@@ -732,6 +732,18 @@ export type AttendanceEditTimesheetRequest = {
|
|
|
732
732
|
* Reference date for the shift
|
|
733
733
|
*/
|
|
734
734
|
reference_date?: string;
|
|
735
|
+
/**
|
|
736
|
+
* Id of the workplace (location) for the shift
|
|
737
|
+
*/
|
|
738
|
+
workplace_id?: string;
|
|
739
|
+
/**
|
|
740
|
+
* Id of the clock-in work area within the workplace
|
|
741
|
+
*/
|
|
742
|
+
clock_in_work_area_id?: string;
|
|
743
|
+
/**
|
|
744
|
+
* Id of the clock-out work area within the workplace
|
|
745
|
+
*/
|
|
746
|
+
clock_out_work_area_id?: string;
|
|
735
747
|
};
|
|
736
748
|
export type AttendanceEstimatedTime = {
|
|
737
749
|
date: string;
|
|
@@ -1267,6 +1279,10 @@ export type CompaniesLegalEntity = {
|
|
|
1267
1279
|
* Tax identification number
|
|
1268
1280
|
*/
|
|
1269
1281
|
tin?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* SIRET number (France-specific). System for identifying French establishments. 14-digit identifier for each French establishment.
|
|
1284
|
+
*/
|
|
1285
|
+
siret?: string;
|
|
1270
1286
|
/**
|
|
1271
1287
|
* City of the legal entity
|
|
1272
1288
|
*/
|
|
@@ -3369,6 +3385,10 @@ export type ExpensesMileage = {
|
|
|
3369
3385
|
* The reimbursement rate per distance unit, in `currency`
|
|
3370
3386
|
*/
|
|
3371
3387
|
rate?: string;
|
|
3388
|
+
/**
|
|
3389
|
+
* The distance unit the `rate` is denominated in (e.g. mi). The distance is converted into this unit before the rate is applied.
|
|
3390
|
+
*/
|
|
3391
|
+
rate_measurement_unit?: string;
|
|
3372
3392
|
/**
|
|
3373
3393
|
* The origin location
|
|
3374
3394
|
*/
|
|
@@ -4148,6 +4168,32 @@ export type HolidaysCompanyHoliday = {
|
|
|
4148
4168
|
*/
|
|
4149
4169
|
half_day?: 'beginning_of_day' | 'end_of_day';
|
|
4150
4170
|
};
|
|
4171
|
+
export type IntegrationsSyncRun = {
|
|
4172
|
+
/**
|
|
4173
|
+
* Identifier of the sync run
|
|
4174
|
+
*/
|
|
4175
|
+
id: string;
|
|
4176
|
+
/**
|
|
4177
|
+
* Status of the sync run
|
|
4178
|
+
*/
|
|
4179
|
+
status: 'succeeded' | 'running' | 'errored' | 'succededwitherrors';
|
|
4180
|
+
/**
|
|
4181
|
+
* Timestamp when the sync run started
|
|
4182
|
+
*/
|
|
4183
|
+
started_at: string;
|
|
4184
|
+
/**
|
|
4185
|
+
* Timestamp when the sync run finished
|
|
4186
|
+
*/
|
|
4187
|
+
finished_at?: string;
|
|
4188
|
+
/**
|
|
4189
|
+
* Identifier of the company
|
|
4190
|
+
*/
|
|
4191
|
+
company_id: string;
|
|
4192
|
+
/**
|
|
4193
|
+
* UUID of the marketplace integration
|
|
4194
|
+
*/
|
|
4195
|
+
integration_uuid: string;
|
|
4196
|
+
};
|
|
4151
4197
|
export type IntegrationsSyncRunOutput = {
|
|
4152
4198
|
/**
|
|
4153
4199
|
* Identifier of the sync run output
|
|
@@ -4691,6 +4737,96 @@ export type PayrollSupplement = {
|
|
|
4691
4737
|
*/
|
|
4692
4738
|
legal_entity_id?: string;
|
|
4693
4739
|
};
|
|
4740
|
+
export type PayrollEmployeesGermanEmployeeDatum = {
|
|
4741
|
+
/**
|
|
4742
|
+
* Identifier of the German employee data record
|
|
4743
|
+
*/
|
|
4744
|
+
id: string;
|
|
4745
|
+
/**
|
|
4746
|
+
* Identifier of the employee
|
|
4747
|
+
*/
|
|
4748
|
+
employee_id: string;
|
|
4749
|
+
/**
|
|
4750
|
+
* Expiration date of the employee's work permit
|
|
4751
|
+
*/
|
|
4752
|
+
work_permit_expiration_date?: string;
|
|
4753
|
+
/**
|
|
4754
|
+
* Expiration date of the employee's residence permit
|
|
4755
|
+
*/
|
|
4756
|
+
residency_permit_expiration_date?: string;
|
|
4757
|
+
/**
|
|
4758
|
+
* Expiration date of the employee's certificate of study
|
|
4759
|
+
*/
|
|
4760
|
+
certificate_of_study_expiration_date?: string;
|
|
4761
|
+
/**
|
|
4762
|
+
* Company number of the employee's health insurance company
|
|
4763
|
+
*/
|
|
4764
|
+
health_insurer_company_number?: string;
|
|
4765
|
+
/**
|
|
4766
|
+
* Health insurance contribution class
|
|
4767
|
+
*/
|
|
4768
|
+
contribution_class_health_insurance?: number;
|
|
4769
|
+
/**
|
|
4770
|
+
* Unemployment insurance contribution class
|
|
4771
|
+
*/
|
|
4772
|
+
contribution_class_unemployment_insurance?: number;
|
|
4773
|
+
/**
|
|
4774
|
+
* Pension insurance contribution class
|
|
4775
|
+
*/
|
|
4776
|
+
contribution_class_pension_insurance?: number;
|
|
4777
|
+
/**
|
|
4778
|
+
* Long-term (nursing) insurance contribution class
|
|
4779
|
+
*/
|
|
4780
|
+
contribution_class_nursing_insurance?: number;
|
|
4781
|
+
/**
|
|
4782
|
+
* Whether the employee pays an additional contribution to the nursing insurance institution
|
|
4783
|
+
*/
|
|
4784
|
+
additional_contribution_to_nursing_insurance?: boolean;
|
|
4785
|
+
/**
|
|
4786
|
+
* Tax class of the employee
|
|
4787
|
+
*/
|
|
4788
|
+
tax_class?: number;
|
|
4789
|
+
/**
|
|
4790
|
+
* Requested annual tax allowance
|
|
4791
|
+
*/
|
|
4792
|
+
requested_annual_allowance?: number;
|
|
4793
|
+
/**
|
|
4794
|
+
* Factor used for the factor method (Faktorverfahren) in German income tax
|
|
4795
|
+
*/
|
|
4796
|
+
factor?: number;
|
|
4797
|
+
/**
|
|
4798
|
+
* Annual tax allowance
|
|
4799
|
+
*/
|
|
4800
|
+
annual_tax_allowance?: number;
|
|
4801
|
+
/**
|
|
4802
|
+
* Monthly tax allowance
|
|
4803
|
+
*/
|
|
4804
|
+
monthly_tax_allowance?: number;
|
|
4805
|
+
/**
|
|
4806
|
+
* Child tax allowance
|
|
4807
|
+
*/
|
|
4808
|
+
child_tax_allowance?: number;
|
|
4809
|
+
/**
|
|
4810
|
+
* Denomination of the employee
|
|
4811
|
+
*/
|
|
4812
|
+
denomination?: string;
|
|
4813
|
+
/**
|
|
4814
|
+
* Denomination of the employee's spouse
|
|
4815
|
+
*/
|
|
4816
|
+
spouses_denomination?: string;
|
|
4817
|
+
/**
|
|
4818
|
+
* Personnel leasing status of the employee
|
|
4819
|
+
*/
|
|
4820
|
+
personnel_leasing?: number;
|
|
4821
|
+
/**
|
|
4822
|
+
* Highest level of professional training of the employee
|
|
4823
|
+
*/
|
|
4824
|
+
highest_level_of_professional_training?: number;
|
|
4825
|
+
/**
|
|
4826
|
+
* Highest level of education of the employee
|
|
4827
|
+
*/
|
|
4828
|
+
highest_level_of_education?: number;
|
|
4829
|
+
};
|
|
4694
4830
|
export type PayrollEmployeesIdentifier = {
|
|
4695
4831
|
/**
|
|
4696
4832
|
* payroll employee identifier
|
|
@@ -5855,7 +5991,7 @@ export type ProjectManagementSubproject = {
|
|
|
5855
5991
|
/**
|
|
5856
5992
|
* The status of the subproject
|
|
5857
5993
|
*/
|
|
5858
|
-
status
|
|
5994
|
+
status: 'active' | 'closed' | 'draft' | 'processing';
|
|
5859
5995
|
/**
|
|
5860
5996
|
* The code of the subproject
|
|
5861
5997
|
*/
|
|
@@ -6200,6 +6336,9 @@ export type TimeoffAllowance = {
|
|
|
6200
6336
|
* How the accrued units of the allowance are rounded. It depends if the allowance is set in hours or days.
|
|
6201
6337
|
*/
|
|
6202
6338
|
rounding: 'half_day' | 'decimals' | 'quarters' | 'round_up';
|
|
6339
|
+
/**
|
|
6340
|
+
* Whether employees are notified when the allowance changes
|
|
6341
|
+
*/
|
|
6203
6342
|
send_notification?: boolean;
|
|
6204
6343
|
/**
|
|
6205
6344
|
* This field configures the type of allowance (fixed balance, based on worked time)
|
|
@@ -8911,18 +9050,66 @@ export type GetApi20261001ResourcesAttendanceEditTimesheetRequestsResponses = {
|
|
|
8911
9050
|
export type GetApi20261001ResourcesAttendanceEditTimesheetRequestsResponse = GetApi20261001ResourcesAttendanceEditTimesheetRequestsResponses[keyof GetApi20261001ResourcesAttendanceEditTimesheetRequestsResponses];
|
|
8912
9051
|
export type PostApi20261001ResourcesAttendanceEditTimesheetRequestsData = {
|
|
8913
9052
|
body?: {
|
|
9053
|
+
/**
|
|
9054
|
+
* Id of the employee related.
|
|
9055
|
+
*/
|
|
8914
9056
|
employee_id: string;
|
|
9057
|
+
/**
|
|
9058
|
+
* Type of the request. Could be create_shift, update_shift or delete_shift.
|
|
9059
|
+
*/
|
|
8915
9060
|
request_type: 'create_shift' | 'delete_shift' | 'update_shift';
|
|
9061
|
+
/**
|
|
9062
|
+
* Reason or comment justifying the edit timesheet request.
|
|
9063
|
+
*/
|
|
8916
9064
|
reason?: string;
|
|
9065
|
+
/**
|
|
9066
|
+
* Date of the shift in case the request is to create a new shift.
|
|
9067
|
+
*/
|
|
8917
9068
|
date?: string;
|
|
9069
|
+
/**
|
|
9070
|
+
* Clock in of the shift in case is for create or edit a shift.
|
|
9071
|
+
*/
|
|
8918
9072
|
clock_in?: string;
|
|
9073
|
+
/**
|
|
9074
|
+
* Clock in of the shift in case is for create or edit a shift.
|
|
9075
|
+
*/
|
|
8919
9076
|
clock_out?: string;
|
|
9077
|
+
/**
|
|
9078
|
+
* If the shift is a workable shift or a break in case is for create or edit a shift.
|
|
9079
|
+
*/
|
|
8920
9080
|
workable?: boolean;
|
|
9081
|
+
/**
|
|
9082
|
+
* The id of the shift in case is for edit or delete a shift.
|
|
9083
|
+
*/
|
|
8921
9084
|
attendance_shift_id?: string;
|
|
9085
|
+
/**
|
|
9086
|
+
* Reference date of the shift in case is for create or edit a shift.
|
|
9087
|
+
*/
|
|
8922
9088
|
reference_date?: string;
|
|
9089
|
+
/**
|
|
9090
|
+
* Id of the break in case is for create or editing a break.
|
|
9091
|
+
*/
|
|
8923
9092
|
time_settings_break_configuration_id?: string;
|
|
9093
|
+
/**
|
|
9094
|
+
* Type of the location in case is for create or edit a shift.
|
|
9095
|
+
*/
|
|
8924
9096
|
location_type?: 'office' | 'business_trip' | 'work_from_home';
|
|
9097
|
+
/**
|
|
9098
|
+
* Shift observations in case is for create or edit a shift.
|
|
9099
|
+
*/
|
|
8925
9100
|
observations?: string;
|
|
9101
|
+
/**
|
|
9102
|
+
* Id of the workplace (location) for the shift.
|
|
9103
|
+
*/
|
|
9104
|
+
workplace_id?: string;
|
|
9105
|
+
/**
|
|
9106
|
+
* Id of the clock-in work area within the workplace.
|
|
9107
|
+
*/
|
|
9108
|
+
clock_in_work_area_id?: string;
|
|
9109
|
+
/**
|
|
9110
|
+
* Id of the clock-out work area within the workplace.
|
|
9111
|
+
*/
|
|
9112
|
+
clock_out_work_area_id?: string;
|
|
8926
9113
|
};
|
|
8927
9114
|
path?: never;
|
|
8928
9115
|
query?: never;
|
|
@@ -8970,19 +9157,67 @@ export type GetApi20261001ResourcesAttendanceEditTimesheetRequestsByIdResponses
|
|
|
8970
9157
|
export type GetApi20261001ResourcesAttendanceEditTimesheetRequestsByIdResponse = GetApi20261001ResourcesAttendanceEditTimesheetRequestsByIdResponses[keyof GetApi20261001ResourcesAttendanceEditTimesheetRequestsByIdResponses];
|
|
8971
9158
|
export type PutApi20261001ResourcesAttendanceEditTimesheetRequestsByIdData = {
|
|
8972
9159
|
body?: {
|
|
9160
|
+
/**
|
|
9161
|
+
* The id of the shift.
|
|
9162
|
+
*/
|
|
8973
9163
|
attendance_shift_id?: string;
|
|
9164
|
+
/**
|
|
9165
|
+
* Clock in of the shift.
|
|
9166
|
+
*/
|
|
8974
9167
|
clock_in?: string;
|
|
9168
|
+
/**
|
|
9169
|
+
* Clock in of the shift.
|
|
9170
|
+
*/
|
|
8975
9171
|
clock_out?: string;
|
|
9172
|
+
/**
|
|
9173
|
+
* Date of the shift in case the request.
|
|
9174
|
+
*/
|
|
8976
9175
|
date?: string;
|
|
9176
|
+
/**
|
|
9177
|
+
* Reference date of the shift.
|
|
9178
|
+
*/
|
|
8977
9179
|
reference_date?: string;
|
|
9180
|
+
/**
|
|
9181
|
+
* Id of the employee related.
|
|
9182
|
+
*/
|
|
8978
9183
|
employee_id: string;
|
|
9184
|
+
/**
|
|
9185
|
+
* Id of the edit timesheet request to update.
|
|
9186
|
+
*/
|
|
8979
9187
|
id: string;
|
|
9188
|
+
/**
|
|
9189
|
+
* Type of the location.
|
|
9190
|
+
*/
|
|
8980
9191
|
location_type?: 'office' | 'business_trip' | 'work_from_home';
|
|
9192
|
+
/**
|
|
9193
|
+
* Shift observations.
|
|
9194
|
+
*/
|
|
8981
9195
|
observations?: string;
|
|
9196
|
+
/**
|
|
9197
|
+
* Reason or comment justifying the edit timesheet request.
|
|
9198
|
+
*/
|
|
8982
9199
|
reason?: string;
|
|
9200
|
+
/**
|
|
9201
|
+
* Id of the break.
|
|
9202
|
+
*/
|
|
8983
9203
|
time_settings_break_configuration_id?: string;
|
|
9204
|
+
/**
|
|
9205
|
+
* Id of the workplace (location) for the shift.
|
|
9206
|
+
*/
|
|
9207
|
+
workplace_id?: string;
|
|
9208
|
+
/**
|
|
9209
|
+
* Id of the clock-in work area within the workplace.
|
|
9210
|
+
*/
|
|
9211
|
+
clock_in_work_area_id?: string;
|
|
9212
|
+
/**
|
|
9213
|
+
* Id of the clock-out work area within the workplace.
|
|
9214
|
+
*/
|
|
9215
|
+
clock_out_work_area_id?: string;
|
|
8984
9216
|
};
|
|
8985
9217
|
path: {
|
|
9218
|
+
/**
|
|
9219
|
+
* Id of the edit timesheet request to update.
|
|
9220
|
+
*/
|
|
8986
9221
|
id: string;
|
|
8987
9222
|
};
|
|
8988
9223
|
query?: never;
|
|
@@ -9216,7 +9451,7 @@ export type PostApi20261001ResourcesAttendanceReviewsBulkCreateData = {
|
|
|
9216
9451
|
/**
|
|
9217
9452
|
* Reviewed by employee identifier
|
|
9218
9453
|
*/
|
|
9219
|
-
reviewed_by:
|
|
9454
|
+
reviewed_by: string;
|
|
9220
9455
|
};
|
|
9221
9456
|
path?: never;
|
|
9222
9457
|
query?: never;
|
|
@@ -14543,6 +14778,35 @@ export type GetApi20261001ResourcesHolidaysCompanyHolidaysByIdResponses = {
|
|
|
14543
14778
|
200: HolidaysCompanyHoliday;
|
|
14544
14779
|
};
|
|
14545
14780
|
export type GetApi20261001ResourcesHolidaysCompanyHolidaysByIdResponse = GetApi20261001ResourcesHolidaysCompanyHolidaysByIdResponses[keyof GetApi20261001ResourcesHolidaysCompanyHolidaysByIdResponses];
|
|
14781
|
+
export type GetApi20261001ResourcesIntegrationsSyncRunsData = {
|
|
14782
|
+
body?: never;
|
|
14783
|
+
path?: never;
|
|
14784
|
+
query: {
|
|
14785
|
+
/**
|
|
14786
|
+
* Identifier of the company
|
|
14787
|
+
*/
|
|
14788
|
+
company_id: string;
|
|
14789
|
+
/**
|
|
14790
|
+
* UUIDs of the marketplace integrations to filter by
|
|
14791
|
+
*/
|
|
14792
|
+
'integration_uuids[]': Array<string>;
|
|
14793
|
+
/**
|
|
14794
|
+
* Filter sync runs by their creation timestamp (`created_at`), on or after this timestamp (inclusive).
|
|
14795
|
+
*/
|
|
14796
|
+
created_at_gteq: string;
|
|
14797
|
+
};
|
|
14798
|
+
url: '/api/2026-10-01/resources/integrations/sync_runs';
|
|
14799
|
+
};
|
|
14800
|
+
export type GetApi20261001ResourcesIntegrationsSyncRunsResponses = {
|
|
14801
|
+
/**
|
|
14802
|
+
* OK
|
|
14803
|
+
*/
|
|
14804
|
+
200: {
|
|
14805
|
+
data?: Array<IntegrationsSyncRun>;
|
|
14806
|
+
meta?: PagedIndexMeta;
|
|
14807
|
+
};
|
|
14808
|
+
};
|
|
14809
|
+
export type GetApi20261001ResourcesIntegrationsSyncRunsResponse = GetApi20261001ResourcesIntegrationsSyncRunsResponses[keyof GetApi20261001ResourcesIntegrationsSyncRunsResponses];
|
|
14546
14810
|
export type PostApi20261001ResourcesIntegrationsSyncRunOutputsData = {
|
|
14547
14811
|
body?: {
|
|
14548
14812
|
/**
|
|
@@ -15742,6 +16006,250 @@ export type PutApi20261001ResourcesPayrollSupplementsByIdResponses = {
|
|
|
15742
16006
|
200: PayrollSupplement;
|
|
15743
16007
|
};
|
|
15744
16008
|
export type PutApi20261001ResourcesPayrollSupplementsByIdResponse = PutApi20261001ResourcesPayrollSupplementsByIdResponses[keyof PutApi20261001ResourcesPayrollSupplementsByIdResponses];
|
|
16009
|
+
export type GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataData = {
|
|
16010
|
+
body?: never;
|
|
16011
|
+
path?: never;
|
|
16012
|
+
query?: {
|
|
16013
|
+
/**
|
|
16014
|
+
* Filter by identifiers of the German employee data records
|
|
16015
|
+
*/
|
|
16016
|
+
'ids[]'?: Array<string>;
|
|
16017
|
+
/**
|
|
16018
|
+
* Filter by employee identifiers
|
|
16019
|
+
*/
|
|
16020
|
+
'employee_ids[]'?: Array<string>;
|
|
16021
|
+
};
|
|
16022
|
+
url: '/api/2026-10-01/resources/payroll_employees/german_employee_data';
|
|
16023
|
+
};
|
|
16024
|
+
export type GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponses = {
|
|
16025
|
+
/**
|
|
16026
|
+
* OK
|
|
16027
|
+
*/
|
|
16028
|
+
200: {
|
|
16029
|
+
data?: Array<PayrollEmployeesGermanEmployeeDatum>;
|
|
16030
|
+
meta?: PagedIndexMeta;
|
|
16031
|
+
};
|
|
16032
|
+
};
|
|
16033
|
+
export type GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponse = GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponses[keyof GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponses];
|
|
16034
|
+
export type PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataData = {
|
|
16035
|
+
body?: {
|
|
16036
|
+
/**
|
|
16037
|
+
* Identifier of the employee
|
|
16038
|
+
*/
|
|
16039
|
+
employee_id: string;
|
|
16040
|
+
/**
|
|
16041
|
+
* Expiration date of the employee's work permit
|
|
16042
|
+
*/
|
|
16043
|
+
work_permit_expiration_date?: string;
|
|
16044
|
+
/**
|
|
16045
|
+
* Expiration date of the employee's residence permit
|
|
16046
|
+
*/
|
|
16047
|
+
residency_permit_expiration_date?: string;
|
|
16048
|
+
/**
|
|
16049
|
+
* Expiration date of the employee's certificate of study
|
|
16050
|
+
*/
|
|
16051
|
+
certificate_of_study_expiration_date?: string;
|
|
16052
|
+
/**
|
|
16053
|
+
* Company number of the employee's health insurance company
|
|
16054
|
+
*/
|
|
16055
|
+
health_insurer_company_number?: string;
|
|
16056
|
+
/**
|
|
16057
|
+
* Health insurance contribution class
|
|
16058
|
+
*/
|
|
16059
|
+
contribution_class_health_insurance?: number;
|
|
16060
|
+
/**
|
|
16061
|
+
* Unemployment insurance contribution class
|
|
16062
|
+
*/
|
|
16063
|
+
contribution_class_unemployment_insurance?: number;
|
|
16064
|
+
/**
|
|
16065
|
+
* Pension insurance contribution class
|
|
16066
|
+
*/
|
|
16067
|
+
contribution_class_pension_insurance?: number;
|
|
16068
|
+
/**
|
|
16069
|
+
* Long-term (nursing) insurance contribution class
|
|
16070
|
+
*/
|
|
16071
|
+
contribution_class_nursing_insurance?: number;
|
|
16072
|
+
/**
|
|
16073
|
+
* Whether the employee pays an additional contribution to the nursing insurance institution
|
|
16074
|
+
*/
|
|
16075
|
+
additional_contribution_to_nursing_insurance?: boolean;
|
|
16076
|
+
/**
|
|
16077
|
+
* Tax class of the employee
|
|
16078
|
+
*/
|
|
16079
|
+
tax_class?: number;
|
|
16080
|
+
/**
|
|
16081
|
+
* Requested annual tax allowance
|
|
16082
|
+
*/
|
|
16083
|
+
requested_annual_allowance?: number;
|
|
16084
|
+
/**
|
|
16085
|
+
* Factor used for the factor method (Faktorverfahren) in German income tax
|
|
16086
|
+
*/
|
|
16087
|
+
factor?: number;
|
|
16088
|
+
/**
|
|
16089
|
+
* Annual tax allowance
|
|
16090
|
+
*/
|
|
16091
|
+
annual_tax_allowance?: number;
|
|
16092
|
+
/**
|
|
16093
|
+
* Monthly tax allowance
|
|
16094
|
+
*/
|
|
16095
|
+
monthly_tax_allowance?: number;
|
|
16096
|
+
/**
|
|
16097
|
+
* Child tax allowance
|
|
16098
|
+
*/
|
|
16099
|
+
child_tax_allowance?: number;
|
|
16100
|
+
/**
|
|
16101
|
+
* Denomination of the employee
|
|
16102
|
+
*/
|
|
16103
|
+
denomination?: string;
|
|
16104
|
+
/**
|
|
16105
|
+
* Denomination of the employee's spouse
|
|
16106
|
+
*/
|
|
16107
|
+
spouses_denomination?: string;
|
|
16108
|
+
/**
|
|
16109
|
+
* Personnel leasing status of the employee
|
|
16110
|
+
*/
|
|
16111
|
+
personnel_leasing?: number;
|
|
16112
|
+
/**
|
|
16113
|
+
* Highest level of professional training of the employee
|
|
16114
|
+
*/
|
|
16115
|
+
highest_level_of_professional_training?: number;
|
|
16116
|
+
/**
|
|
16117
|
+
* Highest level of education of the employee
|
|
16118
|
+
*/
|
|
16119
|
+
highest_level_of_education?: number;
|
|
16120
|
+
};
|
|
16121
|
+
path?: never;
|
|
16122
|
+
query?: never;
|
|
16123
|
+
url: '/api/2026-10-01/resources/payroll_employees/german_employee_data';
|
|
16124
|
+
};
|
|
16125
|
+
export type PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponses = {
|
|
16126
|
+
/**
|
|
16127
|
+
* CREATED
|
|
16128
|
+
*/
|
|
16129
|
+
201: PayrollEmployeesGermanEmployeeDatum;
|
|
16130
|
+
};
|
|
16131
|
+
export type PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponse = PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponses[keyof PostApi20261001ResourcesPayrollEmployeesGermanEmployeeDataResponses];
|
|
16132
|
+
export type GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdData = {
|
|
16133
|
+
body?: never;
|
|
16134
|
+
path: {
|
|
16135
|
+
/**
|
|
16136
|
+
* Filter by identifiers of the German employee data records
|
|
16137
|
+
*/
|
|
16138
|
+
id: string;
|
|
16139
|
+
};
|
|
16140
|
+
query?: never;
|
|
16141
|
+
url: '/api/2026-10-01/resources/payroll_employees/german_employee_data/{id}';
|
|
16142
|
+
};
|
|
16143
|
+
export type GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponses = {
|
|
16144
|
+
/**
|
|
16145
|
+
* OK
|
|
16146
|
+
*/
|
|
16147
|
+
200: PayrollEmployeesGermanEmployeeDatum;
|
|
16148
|
+
};
|
|
16149
|
+
export type GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponse = GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponses[keyof GetApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponses];
|
|
16150
|
+
export type PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdData = {
|
|
16151
|
+
body?: {
|
|
16152
|
+
/**
|
|
16153
|
+
* Identifier of the German employee data record
|
|
16154
|
+
*/
|
|
16155
|
+
id: string;
|
|
16156
|
+
/**
|
|
16157
|
+
* Expiration date of the employee's work permit
|
|
16158
|
+
*/
|
|
16159
|
+
work_permit_expiration_date?: string;
|
|
16160
|
+
/**
|
|
16161
|
+
* Expiration date of the employee's residence permit
|
|
16162
|
+
*/
|
|
16163
|
+
residency_permit_expiration_date?: string;
|
|
16164
|
+
/**
|
|
16165
|
+
* Expiration date of the employee's certificate of study
|
|
16166
|
+
*/
|
|
16167
|
+
certificate_of_study_expiration_date?: string;
|
|
16168
|
+
/**
|
|
16169
|
+
* Company number of the employee's health insurance company
|
|
16170
|
+
*/
|
|
16171
|
+
health_insurer_company_number?: string;
|
|
16172
|
+
/**
|
|
16173
|
+
* Health insurance contribution class
|
|
16174
|
+
*/
|
|
16175
|
+
contribution_class_health_insurance?: number;
|
|
16176
|
+
/**
|
|
16177
|
+
* Unemployment insurance contribution class
|
|
16178
|
+
*/
|
|
16179
|
+
contribution_class_unemployment_insurance?: number;
|
|
16180
|
+
/**
|
|
16181
|
+
* Pension insurance contribution class
|
|
16182
|
+
*/
|
|
16183
|
+
contribution_class_pension_insurance?: number;
|
|
16184
|
+
/**
|
|
16185
|
+
* Long-term (nursing) insurance contribution class
|
|
16186
|
+
*/
|
|
16187
|
+
contribution_class_nursing_insurance?: number;
|
|
16188
|
+
/**
|
|
16189
|
+
* Whether the employee pays an additional contribution to the nursing insurance institution
|
|
16190
|
+
*/
|
|
16191
|
+
additional_contribution_to_nursing_insurance?: boolean;
|
|
16192
|
+
/**
|
|
16193
|
+
* Tax class of the employee
|
|
16194
|
+
*/
|
|
16195
|
+
tax_class?: number;
|
|
16196
|
+
/**
|
|
16197
|
+
* Requested annual tax allowance
|
|
16198
|
+
*/
|
|
16199
|
+
requested_annual_allowance?: number;
|
|
16200
|
+
/**
|
|
16201
|
+
* Factor used for the factor method (Faktorverfahren) in German income tax
|
|
16202
|
+
*/
|
|
16203
|
+
factor?: number;
|
|
16204
|
+
/**
|
|
16205
|
+
* Annual tax allowance
|
|
16206
|
+
*/
|
|
16207
|
+
annual_tax_allowance?: number;
|
|
16208
|
+
/**
|
|
16209
|
+
* Monthly tax allowance
|
|
16210
|
+
*/
|
|
16211
|
+
monthly_tax_allowance?: number;
|
|
16212
|
+
/**
|
|
16213
|
+
* Child tax allowance
|
|
16214
|
+
*/
|
|
16215
|
+
child_tax_allowance?: number;
|
|
16216
|
+
/**
|
|
16217
|
+
* Denomination of the employee
|
|
16218
|
+
*/
|
|
16219
|
+
denomination?: string;
|
|
16220
|
+
/**
|
|
16221
|
+
* Denomination of the employee's spouse
|
|
16222
|
+
*/
|
|
16223
|
+
spouses_denomination?: string;
|
|
16224
|
+
/**
|
|
16225
|
+
* Personnel leasing status of the employee
|
|
16226
|
+
*/
|
|
16227
|
+
personnel_leasing?: number;
|
|
16228
|
+
/**
|
|
16229
|
+
* Highest level of professional training of the employee
|
|
16230
|
+
*/
|
|
16231
|
+
highest_level_of_professional_training?: number;
|
|
16232
|
+
/**
|
|
16233
|
+
* Highest level of education of the employee
|
|
16234
|
+
*/
|
|
16235
|
+
highest_level_of_education?: number;
|
|
16236
|
+
};
|
|
16237
|
+
path: {
|
|
16238
|
+
/**
|
|
16239
|
+
* Identifier of the German employee data record
|
|
16240
|
+
*/
|
|
16241
|
+
id: string;
|
|
16242
|
+
};
|
|
16243
|
+
query?: never;
|
|
16244
|
+
url: '/api/2026-10-01/resources/payroll_employees/german_employee_data/{id}';
|
|
16245
|
+
};
|
|
16246
|
+
export type PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponses = {
|
|
16247
|
+
/**
|
|
16248
|
+
* OK
|
|
16249
|
+
*/
|
|
16250
|
+
200: PayrollEmployeesGermanEmployeeDatum;
|
|
16251
|
+
};
|
|
16252
|
+
export type PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponse = PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponses[keyof PutApi20261001ResourcesPayrollEmployeesGermanEmployeeDataByIdResponses];
|
|
15745
16253
|
export type GetApi20261001ResourcesPayrollEmployeesIdentifiersData = {
|
|
15746
16254
|
body?: never;
|
|
15747
16255
|
path?: never;
|
|
@@ -16189,7 +16697,8 @@ export type GetApi20261001ResourcesPerformanceReviewEvaluationsData = {
|
|
|
16189
16697
|
* Only evaluations where the participant is managed by the specified employee ID
|
|
16190
16698
|
*/
|
|
16191
16699
|
with_targets_managed_by_filter?: {
|
|
16192
|
-
|
|
16700
|
+
manager_employee_id: string;
|
|
16701
|
+
only_direct_reports: boolean;
|
|
16193
16702
|
};
|
|
16194
16703
|
/**
|
|
16195
16704
|
* Exclude evaluations by IDs
|
|
@@ -16985,7 +17494,8 @@ export type GetApi20261001ResourcesPerformanceReviewProcessTargetsData = {
|
|
|
16985
17494
|
* Only participants managed by the specified employee ID
|
|
16986
17495
|
*/
|
|
16987
17496
|
managed_by_filter?: {
|
|
16988
|
-
|
|
17497
|
+
manager_employee_id: string;
|
|
17498
|
+
only_direct_reports: boolean;
|
|
16989
17499
|
};
|
|
16990
17500
|
};
|
|
16991
17501
|
url: '/api/2026-10-01/resources/performance/review_process_targets';
|
|
@@ -19071,7 +19581,7 @@ export type PutApi20261001ResourcesProjectManagementSubprojectsByIdData = {
|
|
|
19071
19581
|
/**
|
|
19072
19582
|
* The name of the subproject.
|
|
19073
19583
|
*/
|
|
19074
|
-
name
|
|
19584
|
+
name: string;
|
|
19075
19585
|
/**
|
|
19076
19586
|
* The description of the subproject.
|
|
19077
19587
|
*/
|
|
@@ -19079,7 +19589,7 @@ export type PutApi20261001ResourcesProjectManagementSubprojectsByIdData = {
|
|
|
19079
19589
|
/**
|
|
19080
19590
|
* The status of the subproject.
|
|
19081
19591
|
*/
|
|
19082
|
-
status
|
|
19592
|
+
status: 'active' | 'closed' | 'draft' | 'processing';
|
|
19083
19593
|
/**
|
|
19084
19594
|
* The code of the subproject.
|
|
19085
19595
|
*/
|
|
@@ -19141,6 +19651,10 @@ export type GetApi20261001ResourcesProjectManagementTimeRecordsData = {
|
|
|
19141
19651
|
* Subproject ids to retrieve
|
|
19142
19652
|
*/
|
|
19143
19653
|
'subproject_ids[]'?: Array<string>;
|
|
19654
|
+
/**
|
|
19655
|
+
* Project task ids to retrieve
|
|
19656
|
+
*/
|
|
19657
|
+
'project_task_ids[]'?: Array<string>;
|
|
19144
19658
|
/**
|
|
19145
19659
|
* Attendance shift ids to retrieve
|
|
19146
19660
|
*/
|
|
@@ -19157,6 +19671,9 @@ export type GetApi20261001ResourcesProjectManagementTimeRecordsData = {
|
|
|
19157
19671
|
* Year to filter
|
|
19158
19672
|
*/
|
|
19159
19673
|
year?: number;
|
|
19674
|
+
/**
|
|
19675
|
+
* Retrieve only the time records created or updated after the date provided.
|
|
19676
|
+
*/
|
|
19160
19677
|
updated_after?: string;
|
|
19161
19678
|
};
|
|
19162
19679
|
url: '/api/2026-10-01/resources/project_management/time_records';
|
|
@@ -19173,9 +19690,30 @@ export type GetApi20261001ResourcesProjectManagementTimeRecordsResponses = {
|
|
|
19173
19690
|
export type GetApi20261001ResourcesProjectManagementTimeRecordsResponse = GetApi20261001ResourcesProjectManagementTimeRecordsResponses[keyof GetApi20261001ResourcesProjectManagementTimeRecordsResponses];
|
|
19174
19691
|
export type PostApi20261001ResourcesProjectManagementTimeRecordsData = {
|
|
19175
19692
|
body?: {
|
|
19693
|
+
/**
|
|
19694
|
+
* Id of the project worker
|
|
19695
|
+
*/
|
|
19176
19696
|
project_worker_id: string;
|
|
19697
|
+
/**
|
|
19698
|
+
* Id of the attendance shift
|
|
19699
|
+
*/
|
|
19177
19700
|
attendance_shift_id?: string;
|
|
19701
|
+
/**
|
|
19702
|
+
* Id of the subproject
|
|
19703
|
+
*/
|
|
19178
19704
|
subproject_id?: string;
|
|
19705
|
+
/**
|
|
19706
|
+
* Id of the project task assigned to the time record. Refers to project_management/project_tasks endpoint.
|
|
19707
|
+
*/
|
|
19708
|
+
project_task_id?: string;
|
|
19709
|
+
/**
|
|
19710
|
+
* Imputed minutes for the time record (used when no attendance shift is provided)
|
|
19711
|
+
*/
|
|
19712
|
+
imputed_minutes?: number;
|
|
19713
|
+
/**
|
|
19714
|
+
* Reference date for the time record (used when no attendance shift is provided)
|
|
19715
|
+
*/
|
|
19716
|
+
date?: string;
|
|
19179
19717
|
};
|
|
19180
19718
|
path?: never;
|
|
19181
19719
|
query?: never;
|
|
@@ -19253,11 +19791,46 @@ export type PostApi20261001ResourcesProjectManagementTimeRecordsBulkProcessRespo
|
|
|
19253
19791
|
200: Array<ProjectManagementTimeRecord>;
|
|
19254
19792
|
};
|
|
19255
19793
|
export type PostApi20261001ResourcesProjectManagementTimeRecordsBulkProcessResponse = PostApi20261001ResourcesProjectManagementTimeRecordsBulkProcessResponses[keyof PostApi20261001ResourcesProjectManagementTimeRecordsBulkProcessResponses];
|
|
19794
|
+
export type PostApi20261001ResourcesProjectManagementTimeRecordsUpdateObservationsData = {
|
|
19795
|
+
body?: {
|
|
19796
|
+
/**
|
|
19797
|
+
* Id of the time record
|
|
19798
|
+
*/
|
|
19799
|
+
id: string;
|
|
19800
|
+
/**
|
|
19801
|
+
* Comment for the time record
|
|
19802
|
+
*/
|
|
19803
|
+
observations?: string;
|
|
19804
|
+
};
|
|
19805
|
+
path?: never;
|
|
19806
|
+
query?: never;
|
|
19807
|
+
url: '/api/2026-10-01/resources/project_management/time_records/update_observations';
|
|
19808
|
+
};
|
|
19809
|
+
export type PostApi20261001ResourcesProjectManagementTimeRecordsUpdateObservationsResponses = {
|
|
19810
|
+
/**
|
|
19811
|
+
* OK
|
|
19812
|
+
*/
|
|
19813
|
+
200: ProjectManagementTimeRecord;
|
|
19814
|
+
};
|
|
19815
|
+
export type PostApi20261001ResourcesProjectManagementTimeRecordsUpdateObservationsResponse = PostApi20261001ResourcesProjectManagementTimeRecordsUpdateObservationsResponses[keyof PostApi20261001ResourcesProjectManagementTimeRecordsUpdateObservationsResponses];
|
|
19256
19816
|
export type PostApi20261001ResourcesProjectManagementTimeRecordsUpdateProjectWorkerData = {
|
|
19257
19817
|
body?: {
|
|
19818
|
+
/**
|
|
19819
|
+
* Id of the time record
|
|
19820
|
+
*/
|
|
19258
19821
|
id: string;
|
|
19822
|
+
/**
|
|
19823
|
+
* Id of the project worker
|
|
19824
|
+
*/
|
|
19259
19825
|
project_worker_id: string;
|
|
19826
|
+
/**
|
|
19827
|
+
* Id of the subproject
|
|
19828
|
+
*/
|
|
19260
19829
|
subproject_id?: string;
|
|
19830
|
+
/**
|
|
19831
|
+
* Id of the project task assigned to the time record. Refers to project_management/project_tasks endpoint.
|
|
19832
|
+
*/
|
|
19833
|
+
project_task_id?: string;
|
|
19261
19834
|
};
|
|
19262
19835
|
path?: never;
|
|
19263
19836
|
query?: never;
|
|
@@ -20253,6 +20826,9 @@ export type GetApi20261001ResourcesTimeoffAllowancesByIdResponses = {
|
|
|
20253
20826
|
export type GetApi20261001ResourcesTimeoffAllowancesByIdResponse = GetApi20261001ResourcesTimeoffAllowancesByIdResponses[keyof GetApi20261001ResourcesTimeoffAllowancesByIdResponses];
|
|
20254
20827
|
export type PutApi20261001ResourcesTimeoffAllowancesByIdData = {
|
|
20255
20828
|
body?: {
|
|
20829
|
+
/**
|
|
20830
|
+
* Unique identifier of the allowance to update
|
|
20831
|
+
*/
|
|
20256
20832
|
id: string;
|
|
20257
20833
|
/**
|
|
20258
20834
|
* Only for Allowances based on worked time. It represents how many units you need to work to be granted allowance units
|
|
@@ -20356,6 +20932,9 @@ export type PutApi20261001ResourcesTimeoffAllowancesByIdData = {
|
|
|
20356
20932
|
unlimited_holidays?: boolean;
|
|
20357
20933
|
};
|
|
20358
20934
|
path: {
|
|
20935
|
+
/**
|
|
20936
|
+
* Unique identifier of the allowance to update
|
|
20937
|
+
*/
|
|
20359
20938
|
id: string;
|
|
20360
20939
|
};
|
|
20361
20940
|
query?: never;
|