@factorialco/api-client 3.0.0-beta.2026100105 → 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.
@@ -4737,6 +4737,96 @@ export type PayrollSupplement = {
4737
4737
  */
4738
4738
  legal_entity_id?: string;
4739
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
+ };
4740
4830
  export type PayrollEmployeesIdentifier = {
4741
4831
  /**
4742
4832
  * payroll employee identifier
@@ -9361,7 +9451,7 @@ export type PostApi20261001ResourcesAttendanceReviewsBulkCreateData = {
9361
9451
  /**
9362
9452
  * Reviewed by employee identifier
9363
9453
  */
9364
- reviewed_by: number;
9454
+ reviewed_by: string;
9365
9455
  };
9366
9456
  path?: never;
9367
9457
  query?: never;
@@ -15916,6 +16006,250 @@ export type PutApi20261001ResourcesPayrollSupplementsByIdResponses = {
15916
16006
  200: PayrollSupplement;
15917
16007
  };
15918
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];
15919
16253
  export type GetApi20261001ResourcesPayrollEmployeesIdentifiersData = {
15920
16254
  body?: never;
15921
16255
  path?: never;