@dsptch-work/api-client 0.15.0 → 0.17.0

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.
@@ -412,9 +412,11 @@ export declare const zDirectUploadParameters: z.ZodObject<{
412
412
  "assets.items.service_events": "assets.items.service_events";
413
413
  "assets.products": "assets.products";
414
414
  "assets.vendors": "assets.vendors";
415
+ "compliance.checks": "compliance.checks";
415
416
  "pay_periods.imports.aggregate_times": "pay_periods.imports.aggregate_times";
416
417
  "pay_periods.imports.dsptch_cprs": "pay_periods.imports.dsptch_cprs";
417
418
  "pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
419
+ "payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
418
420
  users: "users";
419
421
  }>;
420
422
  blob: z.ZodObject<{
@@ -2304,11 +2306,47 @@ export declare const zDsptchCprImportResponseObject: z.ZodObject<{
2304
2306
  /**
2305
2307
  * Submit a certified payroll report for a pay period. The pay period's pay schedule must be in aggregate time mode; a schedule that keeps time as entries is refused. The file carries every column of the DSPTCH CPR template: the payroll, job and employee identifiers, the employer and employee pay, contribution and deduction amounts, the three wage pay rates, and one hours column per multiplier per day of the period — seven days each for a weekly schedule, fourteen for a biweekly one. All of them must be present as column headers, or the file is refused naming the ones missing. Of those, job_id, week_ending_date, employee_payroll_id, one_x_wage_pay_rate and one_five_x_wage_pay_rate must also carry a value on every row, and two_x_wage_pay_rate must whenever any 2x hours column does. federal_labor_classification and regional_labor_classification are read when present, and are needed only where a position has more than one wage determination in a jurisdiction. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
2306
2308
  *
2307
- * Submitting the same work twice is refused rather than doubled: an import will not write onto a time card that already holds data, so a retry after a submission that already succeeded answers 422 naming `time_card_has_data`, and nothing is written. The guard is per time card, not per file, so a corrected file for the same worker and period is refused the same way — clear that period's data first. Because acceptance is synchronous but the write happens in the background, two submissions racing each other can both be accepted; the second one then fails on the same guard and reports it through `processing_errors`.
2309
+ * Submitting the same work twice is refused rather than doubled: an import will not write onto a time card that already holds data, so a retry after a submission that already succeeded answers 422 naming `time_card_has_data`, and nothing is written. The guard is per time card, not per file, so a corrected file for the same worker and period is refused the same way — clear that period's data first.
2310
+ *
2311
+ * Because acceptance is synchronous but the write happens in the background, only one import at a time is accepted for a pay period: while an earlier one is still `pending` or `processing`, a second answers 409 naming `import_in_progress`, and nothing is written. Poll the earlier import until it reports, then submit again.
2308
2312
  */
2309
2313
  export declare const zDsptchCprImportParameters: z.ZodObject<{
2310
2314
  file_signed_id: z.ZodString;
2311
2315
  }, z.core.$strip>;
2316
+ /**
2317
+ * One bulk upload of paystub amounts against a payroll run, and how it turned out.
2318
+ */
2319
+ export declare const zPaystubImportResponseObject: z.ZodObject<{
2320
+ id: z.ZodString;
2321
+ payrolls_payroll_run_id: z.ZodString;
2322
+ status: z.ZodEnum<{
2323
+ pending: "pending";
2324
+ failed: "failed";
2325
+ success: "success";
2326
+ processing: "processing";
2327
+ processed: "processed";
2328
+ }>;
2329
+ processed_rows_count: z.ZodInt;
2330
+ processing_errors: z.ZodArray<z.ZodObject<{
2331
+ code: z.ZodString;
2332
+ row: z.ZodNullable<z.ZodInt>;
2333
+ column: z.ZodNullable<z.ZodString>;
2334
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2335
+ }, z.core.$strip>>;
2336
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
2337
+ created_at: z.ZodISODateTime;
2338
+ updated_at: z.ZodISODateTime;
2339
+ }, z.core.$strip>;
2340
+ /**
2341
+ * Submit a spreadsheet of paystub amounts for a payroll run. The run's pay schedule must not be connected to a payroll provider; where one is configured the paystubs come from that connection and a file is refused. Each row is one amount: payroll_id names the employee, field_name names the pay, deduction or contribution the amount belongs to, and amount carries the value. A field_name the company has not mapped before is created on first use. Schedules that do not already record the contributor on that mapping also require a contributor column of EMPLOYEE or EMPLOYER; where the mapping carries it, the column is not read and its presence is refused. All of the columns the schedule expects must be present as headers and carry a value on every row, or the file is refused naming what is missing. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
2342
+ *
2343
+ * Submitting the same pay twice is refused rather than doubled: an import will not write onto a time card that already carries paystub data, so a retry after a submission that already succeeded answers 422 naming `time_card_has_paystub_data`, and no line item is written. A unique index on the line items backs that guard at the database.
2344
+ *
2345
+ * Because acceptance is synchronous but the write happens in the background, only one import at a time is accepted for a payroll run: while an earlier one is still `pending`, a second answers 409 naming `import_in_progress`, and nothing is written. Poll the earlier import until it reports, then submit again.
2346
+ */
2347
+ export declare const zPaystubImportParameters: z.ZodObject<{
2348
+ file_signed_id: z.ZodString;
2349
+ }, z.core.$strip>;
2312
2350
  /**
2313
2351
  * One bulk upload of time entries against a pay period, and how it turned out.
2314
2352
  */
@@ -2335,6 +2373,8 @@ export declare const zTimeEntryImportResponseObject: z.ZodObject<{
2335
2373
  }, z.core.$strip>;
2336
2374
  /**
2337
2375
  * Submit a spreadsheet of time entries for a pay period. All seven of payroll_id, start_time, end_time, timecode, job_id, state and description must be present as column headers, or the file is refused naming the ones missing. Of those, payroll_id, start_time, end_time, timecode and state must also carry a value on every row. features, federal_labor_classification and regional_labor_classification are read when present. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
2376
+ *
2377
+ * Because acceptance is synchronous but the write happens in the background, only one import at a time is accepted for a pay period: while an earlier one is still `pending` or `processing`, a second answers 409 naming `import_in_progress`, and nothing is written. Poll the earlier import until it reports, then submit again.
2338
2378
  */
2339
2379
  export declare const zTimeEntryImportParameters: z.ZodObject<{
2340
2380
  file_signed_id: z.ZodString;
@@ -3081,6 +3121,7 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
3081
3121
  timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
3082
3122
  user_id: z.ZodNullable<z.ZodString>;
3083
3123
  employment_id: z.ZodNullable<z.ZodString>;
3124
+ assignee_user_ids: z.ZodArray<z.ZodString>;
3084
3125
  title: z.ZodString;
3085
3126
  description: z.ZodString;
3086
3127
  category: z.ZodEnum<{
@@ -3116,7 +3157,92 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
3116
3157
  updated_at: z.ZodISODateTime;
3117
3158
  }, z.core.$strip>;
3118
3159
  /**
3119
- * Update a compliance check. Both fields are optional.
3160
+ * A document attached to a compliance check.
3161
+ */
3162
+ export declare const zComplianceCheckDocumentObject: z.ZodObject<{
3163
+ id: z.ZodString;
3164
+ filename: z.ZodString;
3165
+ content_type: z.ZodNullable<z.ZodString>;
3166
+ byte_size: z.ZodInt;
3167
+ url: z.ZodString;
3168
+ created_by_user_id: z.ZodString;
3169
+ created_at: z.ZodISODateTime;
3170
+ }, z.core.$strip>;
3171
+ /**
3172
+ * A single compliance check, with the documents attached to it. Same fields as compliance_check_response_object plus `documents`.
3173
+ */
3174
+ export declare const zComplianceCheckDetailResponseObject: z.ZodObject<{
3175
+ id: z.ZodString;
3176
+ type: z.ZodEnum<{
3177
+ "Compliances::CompanyCheck": "Compliances::CompanyCheck";
3178
+ "Compliances::JobCheck": "Compliances::JobCheck";
3179
+ "Compliances::ProjectCheck": "Compliances::ProjectCheck";
3180
+ "Compliances::TimeCardCheck": "Compliances::TimeCardCheck";
3181
+ "Compliances::PayPeriodCheck": "Compliances::PayPeriodCheck";
3182
+ "Compliances::UserCheck": "Compliances::UserCheck";
3183
+ "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
3184
+ }>;
3185
+ status: z.ZodEnum<{
3186
+ pending: "pending";
3187
+ failed: "failed";
3188
+ passed: "passed";
3189
+ not_applicable: "not_applicable";
3190
+ dismissed: "dismissed";
3191
+ }>;
3192
+ compliances_requirement_id: z.ZodString;
3193
+ company_id: z.ZodNullable<z.ZodString>;
3194
+ job_id: z.ZodNullable<z.ZodString>;
3195
+ project_id: z.ZodNullable<z.ZodString>;
3196
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
3197
+ timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
3198
+ user_id: z.ZodNullable<z.ZodString>;
3199
+ employment_id: z.ZodNullable<z.ZodString>;
3200
+ assignee_user_ids: z.ZodArray<z.ZodString>;
3201
+ title: z.ZodString;
3202
+ description: z.ZodString;
3203
+ category: z.ZodEnum<{
3204
+ regional: "regional";
3205
+ job: "job";
3206
+ project: "project";
3207
+ company: "company";
3208
+ apprenticeship: "apprenticeship";
3209
+ certified_payroll: "certified_payroll";
3210
+ payroll: "payroll";
3211
+ tax_credit: "tax_credit";
3212
+ timekeeping: "timekeeping";
3213
+ worker: "worker";
3214
+ }>;
3215
+ phase: z.ZodEnum<{
3216
+ after_pay_date: "after_pay_date";
3217
+ before_approval_deadline: "before_approval_deadline";
3218
+ close_out: "close_out";
3219
+ maintenance: "maintenance";
3220
+ onboarding: "onboarding";
3221
+ setup: "setup";
3222
+ }>;
3223
+ priority: z.ZodNullable<z.ZodEnum<{
3224
+ high: "high";
3225
+ low: "low";
3226
+ critical: "critical";
3227
+ medium: "medium";
3228
+ }>>;
3229
+ checked_at: z.ZodNullable<z.ZodISODateTime>;
3230
+ passed_at: z.ZodNullable<z.ZodISODateTime>;
3231
+ time_due: z.ZodNullable<z.ZodISODateTime>;
3232
+ created_at: z.ZodISODateTime;
3233
+ updated_at: z.ZodISODateTime;
3234
+ documents: z.ZodArray<z.ZodObject<{
3235
+ id: z.ZodString;
3236
+ filename: z.ZodString;
3237
+ content_type: z.ZodNullable<z.ZodString>;
3238
+ byte_size: z.ZodInt;
3239
+ url: z.ZodString;
3240
+ created_by_user_id: z.ZodString;
3241
+ created_at: z.ZodISODateTime;
3242
+ }, z.core.$strip>>;
3243
+ }, z.core.$strip>;
3244
+ /**
3245
+ * Update a compliance check. Every field is optional.
3120
3246
  */
3121
3247
  export declare const zComplianceCheckParameters: z.ZodObject<{
3122
3248
  status: z.ZodOptional<z.ZodEnum<{
@@ -3124,7 +3250,203 @@ export declare const zComplianceCheckParameters: z.ZodObject<{
3124
3250
  dismissed: "dismissed";
3125
3251
  }>>;
3126
3252
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
3253
+ assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3254
+ file_signed_id: z.ZodOptional<z.ZodString>;
3255
+ }, z.core.$strip>;
3256
+ export declare const zRichTextObject: z.ZodObject<{
3257
+ text: z.ZodString;
3258
+ attachments: z.ZodArray<z.ZodObject<{
3259
+ filename: z.ZodString;
3260
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3261
+ byte_size: z.ZodInt;
3262
+ url: z.ZodString;
3263
+ }, z.core.$strip>>;
3127
3264
  }, z.core.$strip>;
3265
+ export declare const zTodoInboxTodoResponseObject: z.ZodObject<{
3266
+ kind: z.ZodEnum<{
3267
+ todo: "todo";
3268
+ }>;
3269
+ id: z.ZodString;
3270
+ type: z.ZodEnum<{
3271
+ job: "job";
3272
+ project: "project";
3273
+ company: "company";
3274
+ }>;
3275
+ company_id: z.ZodNullable<z.ZodString>;
3276
+ job_id: z.ZodNullable<z.ZodString>;
3277
+ project_id: z.ZodNullable<z.ZodString>;
3278
+ name: z.ZodString;
3279
+ created_by_user_id: z.ZodString;
3280
+ updated_by_user_id: z.ZodString;
3281
+ completed: z.ZodBoolean;
3282
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
3283
+ description: z.ZodObject<{
3284
+ text: z.ZodString;
3285
+ attachments: z.ZodArray<z.ZodObject<{
3286
+ filename: z.ZodString;
3287
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3288
+ byte_size: z.ZodInt;
3289
+ url: z.ZodString;
3290
+ }, z.core.$strip>>;
3291
+ }, z.core.$strip>;
3292
+ time_due: z.ZodNullable<z.ZodISODateTime>;
3293
+ created_at: z.ZodISODateTime;
3294
+ updated_at: z.ZodISODateTime;
3295
+ }, z.core.$strip>;
3296
+ export declare const zTodoInboxComplianceCheckResponseObject: z.ZodObject<{
3297
+ kind: z.ZodEnum<{
3298
+ compliance_check: "compliance_check";
3299
+ }>;
3300
+ id: z.ZodString;
3301
+ type: z.ZodEnum<{
3302
+ "Compliances::CompanyCheck": "Compliances::CompanyCheck";
3303
+ "Compliances::JobCheck": "Compliances::JobCheck";
3304
+ "Compliances::ProjectCheck": "Compliances::ProjectCheck";
3305
+ "Compliances::TimeCardCheck": "Compliances::TimeCardCheck";
3306
+ "Compliances::PayPeriodCheck": "Compliances::PayPeriodCheck";
3307
+ "Compliances::UserCheck": "Compliances::UserCheck";
3308
+ "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
3309
+ }>;
3310
+ status: z.ZodEnum<{
3311
+ pending: "pending";
3312
+ failed: "failed";
3313
+ passed: "passed";
3314
+ not_applicable: "not_applicable";
3315
+ dismissed: "dismissed";
3316
+ }>;
3317
+ compliances_requirement_id: z.ZodString;
3318
+ company_id: z.ZodNullable<z.ZodString>;
3319
+ job_id: z.ZodNullable<z.ZodString>;
3320
+ project_id: z.ZodNullable<z.ZodString>;
3321
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
3322
+ timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
3323
+ user_id: z.ZodNullable<z.ZodString>;
3324
+ employment_id: z.ZodNullable<z.ZodString>;
3325
+ assignee_user_ids: z.ZodArray<z.ZodString>;
3326
+ title: z.ZodString;
3327
+ description: z.ZodString;
3328
+ category: z.ZodEnum<{
3329
+ regional: "regional";
3330
+ job: "job";
3331
+ project: "project";
3332
+ company: "company";
3333
+ apprenticeship: "apprenticeship";
3334
+ certified_payroll: "certified_payroll";
3335
+ payroll: "payroll";
3336
+ tax_credit: "tax_credit";
3337
+ timekeeping: "timekeeping";
3338
+ worker: "worker";
3339
+ }>;
3340
+ phase: z.ZodEnum<{
3341
+ after_pay_date: "after_pay_date";
3342
+ before_approval_deadline: "before_approval_deadline";
3343
+ close_out: "close_out";
3344
+ maintenance: "maintenance";
3345
+ onboarding: "onboarding";
3346
+ setup: "setup";
3347
+ }>;
3348
+ priority: z.ZodNullable<z.ZodEnum<{
3349
+ high: "high";
3350
+ low: "low";
3351
+ critical: "critical";
3352
+ medium: "medium";
3353
+ }>>;
3354
+ checked_at: z.ZodNullable<z.ZodISODateTime>;
3355
+ passed_at: z.ZodNullable<z.ZodISODateTime>;
3356
+ time_due: z.ZodNullable<z.ZodISODateTime>;
3357
+ created_at: z.ZodISODateTime;
3358
+ updated_at: z.ZodISODateTime;
3359
+ }, z.core.$strip>;
3360
+ export declare const zTodoInboxEntryResponseObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
3361
+ id: z.ZodString;
3362
+ type: z.ZodEnum<{
3363
+ job: "job";
3364
+ project: "project";
3365
+ company: "company";
3366
+ }>;
3367
+ company_id: z.ZodNullable<z.ZodString>;
3368
+ job_id: z.ZodNullable<z.ZodString>;
3369
+ project_id: z.ZodNullable<z.ZodString>;
3370
+ name: z.ZodString;
3371
+ created_by_user_id: z.ZodString;
3372
+ updated_by_user_id: z.ZodString;
3373
+ completed: z.ZodBoolean;
3374
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
3375
+ description: z.ZodObject<{
3376
+ text: z.ZodString;
3377
+ attachments: z.ZodArray<z.ZodObject<{
3378
+ filename: z.ZodString;
3379
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3380
+ byte_size: z.ZodInt;
3381
+ url: z.ZodString;
3382
+ }, z.core.$strip>>;
3383
+ }, z.core.$strip>;
3384
+ time_due: z.ZodNullable<z.ZodISODateTime>;
3385
+ created_at: z.ZodISODateTime;
3386
+ updated_at: z.ZodISODateTime;
3387
+ kind: z.ZodLiteral<"todo">;
3388
+ }, z.core.$strip>, z.ZodObject<{
3389
+ id: z.ZodString;
3390
+ type: z.ZodEnum<{
3391
+ "Compliances::CompanyCheck": "Compliances::CompanyCheck";
3392
+ "Compliances::JobCheck": "Compliances::JobCheck";
3393
+ "Compliances::ProjectCheck": "Compliances::ProjectCheck";
3394
+ "Compliances::TimeCardCheck": "Compliances::TimeCardCheck";
3395
+ "Compliances::PayPeriodCheck": "Compliances::PayPeriodCheck";
3396
+ "Compliances::UserCheck": "Compliances::UserCheck";
3397
+ "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
3398
+ }>;
3399
+ status: z.ZodEnum<{
3400
+ pending: "pending";
3401
+ failed: "failed";
3402
+ passed: "passed";
3403
+ not_applicable: "not_applicable";
3404
+ dismissed: "dismissed";
3405
+ }>;
3406
+ compliances_requirement_id: z.ZodString;
3407
+ company_id: z.ZodNullable<z.ZodString>;
3408
+ job_id: z.ZodNullable<z.ZodString>;
3409
+ project_id: z.ZodNullable<z.ZodString>;
3410
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
3411
+ timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
3412
+ user_id: z.ZodNullable<z.ZodString>;
3413
+ employment_id: z.ZodNullable<z.ZodString>;
3414
+ assignee_user_ids: z.ZodArray<z.ZodString>;
3415
+ title: z.ZodString;
3416
+ description: z.ZodString;
3417
+ category: z.ZodEnum<{
3418
+ regional: "regional";
3419
+ job: "job";
3420
+ project: "project";
3421
+ company: "company";
3422
+ apprenticeship: "apprenticeship";
3423
+ certified_payroll: "certified_payroll";
3424
+ payroll: "payroll";
3425
+ tax_credit: "tax_credit";
3426
+ timekeeping: "timekeeping";
3427
+ worker: "worker";
3428
+ }>;
3429
+ phase: z.ZodEnum<{
3430
+ after_pay_date: "after_pay_date";
3431
+ before_approval_deadline: "before_approval_deadline";
3432
+ close_out: "close_out";
3433
+ maintenance: "maintenance";
3434
+ onboarding: "onboarding";
3435
+ setup: "setup";
3436
+ }>;
3437
+ priority: z.ZodNullable<z.ZodEnum<{
3438
+ high: "high";
3439
+ low: "low";
3440
+ critical: "critical";
3441
+ medium: "medium";
3442
+ }>>;
3443
+ checked_at: z.ZodNullable<z.ZodISODateTime>;
3444
+ passed_at: z.ZodNullable<z.ZodISODateTime>;
3445
+ time_due: z.ZodNullable<z.ZodISODateTime>;
3446
+ created_at: z.ZodISODateTime;
3447
+ updated_at: z.ZodISODateTime;
3448
+ kind: z.ZodLiteral<"compliance_check">;
3449
+ }, z.core.$strip>], "kind">;
3128
3450
  /**
3129
3451
  * One compliance requirement from the catalog. Requirements ship with the application, so the catalog reads the same for every company.
3130
3452
  */
@@ -3403,10 +3725,7 @@ export declare const zPositionParameters: z.ZodObject<{
3403
3725
  hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3404
3726
  pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3405
3727
  wage_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3406
- job_wage_determinations_positions_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3407
- id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
3408
- job_wage_determination_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3409
- }, z.core.$strip>>>;
3728
+ job_wage_determination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3410
3729
  pwa_details_attributes: z.ZodOptional<z.ZodObject<{
3411
3730
  skill_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3412
3731
  }, z.core.$strip>>;
@@ -3857,7 +4176,7 @@ export declare const zUserCompanyType: z.ZodNullable<z.ZodEnum<{
3857
4176
  CONTRACTOR: "CONTRACTOR";
3858
4177
  }>>;
3859
4178
  /**
3860
- * A worker as your company sees them: the cross-company person merged with their employment record at your company (title, pay, benefits, and accruals), their roles at your company, and optional prevailing-wage compliance details. There is no delete — removing a worker terminates their employment at the company (see the user-company endpoints), which sets termination_date and drops them from the default list.
4179
+ * A worker as your company sees them: the cross-company person merged with their employment record at your company (title, pay, benefits, and accruals), their roles at your company, and optional prevailing-wage compliance details. Your company sees everyone it employs, everyone it has granted a role, and everyone it has invited, which is the same set the web app shows. A role holder or an invitee your company does not employ has no employment record to merge, so the employment fields (employment_id through employment_window, plus manager_user_id) are null for them, no employment custom fields are published for them, and employment_state reads none. There is no delete — removing a worker terminates their employment at the company (see the user-company endpoints), which sets termination_date and drops them from the default list.
3861
4180
  */
3862
4181
  export declare const zUserResponseObject: z.ZodObject<{
3863
4182
  id: z.ZodString;
@@ -3878,16 +4197,22 @@ export declare const zUserResponseObject: z.ZodObject<{
3878
4197
  updated_at: z.ZodISODateTime;
3879
4198
  winda_id: z.ZodNullable<z.ZodString>;
3880
4199
  linkedin_url: z.ZodNullable<z.ZodString>;
3881
- employment_id: z.ZodString;
4200
+ employment_state: z.ZodEnum<{
4201
+ active: "active";
4202
+ none: "none";
4203
+ scheduled: "scheduled";
4204
+ terminated: "terminated";
4205
+ }>;
4206
+ employment_id: z.ZodNullable<z.ZodString>;
3882
4207
  type: z.ZodNullable<z.ZodEnum<{
3883
4208
  EMPLOYEE: "EMPLOYEE";
3884
4209
  CONTRACTOR: "CONTRACTOR";
3885
4210
  }>>;
3886
4211
  title: z.ZodNullable<z.ZodString>;
3887
- overtime_eligible: z.ZodBoolean;
3888
- enrolled_in_t_and_a: z.ZodBoolean;
4212
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
4213
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
3889
4214
  payroll_id: z.ZodNullable<z.ZodString>;
3890
- compensation_type: z.ZodString;
4215
+ compensation_type: z.ZodNullable<z.ZodString>;
3891
4216
  hourly_rate: z.ZodNullable<z.ZodString>;
3892
4217
  training_annual_amount: z.ZodNullable<z.ZodString>;
3893
4218
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -3898,10 +4223,10 @@ export declare const zUserResponseObject: z.ZodObject<{
3898
4223
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
3899
4224
  hire_date: z.ZodNullable<z.ZodString>;
3900
4225
  termination_date: z.ZodNullable<z.ZodString>;
3901
- employment_window: z.ZodObject<{
4226
+ employment_window: z.ZodNullable<z.ZodObject<{
3902
4227
  valid_from: z.ZodNullable<z.ZodISODateTime>;
3903
4228
  valid_to: z.ZodNullable<z.ZodISODateTime>;
3904
- }, z.core.$strip>;
4229
+ }, z.core.$strip>>;
3905
4230
  manager_user_id: z.ZodNullable<z.ZodString>;
3906
4231
  roles: z.ZodArray<z.ZodString>;
3907
4232
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -12155,6 +12480,7 @@ export declare const zListChecksQuery: z.ZodObject<{
12155
12480
  'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
12156
12481
  'filter[project_id]': z.ZodOptional<z.ZodString>;
12157
12482
  'filter[compliances_requirement_id]': z.ZodOptional<z.ZodString>;
12483
+ 'filter[assignee_user_id]': z.ZodOptional<z.ZodString>;
12158
12484
  'filter[time_due][gte]': z.ZodOptional<z.ZodISODateTime>;
12159
12485
  'filter[time_due][lte]': z.ZodOptional<z.ZodISODateTime>;
12160
12486
  filter: z.ZodOptional<z.ZodString>;
@@ -12204,6 +12530,7 @@ export declare const zListChecksResponse: z.ZodObject<{
12204
12530
  timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
12205
12531
  user_id: z.ZodNullable<z.ZodString>;
12206
12532
  employment_id: z.ZodNullable<z.ZodString>;
12533
+ assignee_user_ids: z.ZodArray<z.ZodString>;
12207
12534
  title: z.ZodString;
12208
12535
  description: z.ZodString;
12209
12536
  category: z.ZodEnum<{
@@ -12271,6 +12598,7 @@ export declare const zGetCheckResponse: z.ZodObject<{
12271
12598
  timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
12272
12599
  user_id: z.ZodNullable<z.ZodString>;
12273
12600
  employment_id: z.ZodNullable<z.ZodString>;
12601
+ assignee_user_ids: z.ZodArray<z.ZodString>;
12274
12602
  title: z.ZodString;
12275
12603
  description: z.ZodString;
12276
12604
  category: z.ZodEnum<{
@@ -12304,6 +12632,15 @@ export declare const zGetCheckResponse: z.ZodObject<{
12304
12632
  time_due: z.ZodNullable<z.ZodISODateTime>;
12305
12633
  created_at: z.ZodISODateTime;
12306
12634
  updated_at: z.ZodISODateTime;
12635
+ documents: z.ZodArray<z.ZodObject<{
12636
+ id: z.ZodString;
12637
+ filename: z.ZodString;
12638
+ content_type: z.ZodNullable<z.ZodString>;
12639
+ byte_size: z.ZodInt;
12640
+ url: z.ZodString;
12641
+ created_by_user_id: z.ZodString;
12642
+ created_at: z.ZodISODateTime;
12643
+ }, z.core.$strip>>;
12307
12644
  }, z.core.$strip>;
12308
12645
  export declare const zUpdateCheckBody: z.ZodObject<{
12309
12646
  status: z.ZodOptional<z.ZodEnum<{
@@ -12311,6 +12648,8 @@ export declare const zUpdateCheckBody: z.ZodObject<{
12311
12648
  dismissed: "dismissed";
12312
12649
  }>>;
12313
12650
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
12651
+ assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
12652
+ file_signed_id: z.ZodOptional<z.ZodString>;
12314
12653
  }, z.core.$strip>;
12315
12654
  export declare const zUpdateCheckPath: z.ZodObject<{
12316
12655
  id: z.ZodString;
@@ -12344,6 +12683,7 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
12344
12683
  timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
12345
12684
  user_id: z.ZodNullable<z.ZodString>;
12346
12685
  employment_id: z.ZodNullable<z.ZodString>;
12686
+ assignee_user_ids: z.ZodArray<z.ZodString>;
12347
12687
  title: z.ZodString;
12348
12688
  description: z.ZodString;
12349
12689
  category: z.ZodEnum<{
@@ -12377,6 +12717,15 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
12377
12717
  time_due: z.ZodNullable<z.ZodISODateTime>;
12378
12718
  created_at: z.ZodISODateTime;
12379
12719
  updated_at: z.ZodISODateTime;
12720
+ documents: z.ZodArray<z.ZodObject<{
12721
+ id: z.ZodString;
12722
+ filename: z.ZodString;
12723
+ content_type: z.ZodNullable<z.ZodString>;
12724
+ byte_size: z.ZodInt;
12725
+ url: z.ZodString;
12726
+ created_by_user_id: z.ZodString;
12727
+ created_at: z.ZodISODateTime;
12728
+ }, z.core.$strip>>;
12380
12729
  }, z.core.$strip>;
12381
12730
  export declare const zListRequirementsQuery: z.ZodObject<{
12382
12731
  'filter[search]': z.ZodOptional<z.ZodString>;
@@ -12586,9 +12935,11 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
12586
12935
  "assets.items.service_events": "assets.items.service_events";
12587
12936
  "assets.products": "assets.products";
12588
12937
  "assets.vendors": "assets.vendors";
12938
+ "compliance.checks": "compliance.checks";
12589
12939
  "pay_periods.imports.aggregate_times": "pay_periods.imports.aggregate_times";
12590
12940
  "pay_periods.imports.dsptch_cprs": "pay_periods.imports.dsptch_cprs";
12591
12941
  "pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
12942
+ "payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
12592
12943
  users: "users";
12593
12944
  }>;
12594
12945
  blob: z.ZodObject<{
@@ -16244,56 +16595,168 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
16244
16595
  created_at: z.ZodISODateTime;
16245
16596
  updated_at: z.ZodISODateTime;
16246
16597
  }, z.core.$strip>;
16247
- export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
16248
- timekeeping_pay_period_config_id: z.ZodString;
16249
- name: z.ZodString;
16250
- plan_number: z.ZodString;
16251
- funded: z.ZodOptional<z.ZodBoolean>;
16252
- benefit_category: z.ZodEnum<{
16253
- employer_combined_savings: "employer_combined_savings";
16254
- employer_combined_health: "employer_combined_health";
16255
- employer_combined_holiday_pto: "employer_combined_holiday_pto";
16256
- employer_training: "employer_training";
16257
- employer_other_contributions: "employer_other_contributions";
16258
- }>;
16259
- il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
16260
- il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16261
- il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16262
- il_fund_address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16263
- il_fund_city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16264
- il_fund_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16265
- il_fund_zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16266
- il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16267
- il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16268
- }, z.core.$strip>;
16269
- export declare const zUpdateFringeBenefitPlanPath: z.ZodObject<{
16598
+ export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
16599
+ timekeeping_pay_period_config_id: z.ZodString;
16600
+ name: z.ZodString;
16601
+ plan_number: z.ZodString;
16602
+ funded: z.ZodOptional<z.ZodBoolean>;
16603
+ benefit_category: z.ZodEnum<{
16604
+ employer_combined_savings: "employer_combined_savings";
16605
+ employer_combined_health: "employer_combined_health";
16606
+ employer_combined_holiday_pto: "employer_combined_holiday_pto";
16607
+ employer_training: "employer_training";
16608
+ employer_other_contributions: "employer_other_contributions";
16609
+ }>;
16610
+ il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
16611
+ il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16612
+ il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16613
+ il_fund_address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16614
+ il_fund_city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16615
+ il_fund_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16616
+ il_fund_zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16617
+ il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16618
+ il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16619
+ }, z.core.$strip>;
16620
+ export declare const zUpdateFringeBenefitPlanPath: z.ZodObject<{
16621
+ id: z.ZodString;
16622
+ }, z.core.$strip>;
16623
+ /**
16624
+ * Success
16625
+ */
16626
+ export declare const zUpdateFringeBenefitPlanResponse: z.ZodObject<{
16627
+ id: z.ZodString;
16628
+ timekeeping_pay_period_config_id: z.ZodString;
16629
+ name: z.ZodString;
16630
+ plan_number: z.ZodString;
16631
+ funded: z.ZodBoolean;
16632
+ benefit_category: z.ZodNullable<z.ZodEnum<{
16633
+ employer_combined_savings: "employer_combined_savings";
16634
+ employer_combined_health: "employer_combined_health";
16635
+ employer_combined_holiday_pto: "employer_combined_holiday_pto";
16636
+ employer_training: "employer_training";
16637
+ employer_other_contributions: "employer_other_contributions";
16638
+ }>>;
16639
+ il_jointly_managed: z.ZodBoolean;
16640
+ il_fund_name: z.ZodNullable<z.ZodString>;
16641
+ il_fund_address1: z.ZodNullable<z.ZodString>;
16642
+ il_fund_address2: z.ZodNullable<z.ZodString>;
16643
+ il_fund_city: z.ZodNullable<z.ZodString>;
16644
+ il_fund_state: z.ZodNullable<z.ZodString>;
16645
+ il_fund_zip: z.ZodNullable<z.ZodString>;
16646
+ il_sponsor_name: z.ZodNullable<z.ZodString>;
16647
+ il_admin_name: z.ZodNullable<z.ZodString>;
16648
+ created_at: z.ZodISODateTime;
16649
+ updated_at: z.ZodISODateTime;
16650
+ }, z.core.$strip>;
16651
+ export declare const zListPaystubImportsPath: z.ZodObject<{
16652
+ payroll_run_id: z.ZodString;
16653
+ }, z.core.$strip>;
16654
+ export declare const zListPaystubImportsQuery: z.ZodObject<{
16655
+ 'filter[status]': z.ZodOptional<z.ZodString>;
16656
+ filter: z.ZodOptional<z.ZodString>;
16657
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
16658
+ 'filter[completed_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16659
+ 'filter[completed_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16660
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16661
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16662
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16663
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16664
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
16665
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
16666
+ page: z.ZodOptional<z.ZodString>;
16667
+ }, z.core.$strip>;
16668
+ /**
16669
+ * Success
16670
+ */
16671
+ export declare const zListPaystubImportsResponse: z.ZodObject<{
16672
+ meta: z.ZodObject<{
16673
+ page: z.ZodObject<{
16674
+ next_cursor: z.ZodNullable<z.ZodString>;
16675
+ current_cursor: z.ZodNullable<z.ZodString>;
16676
+ }, z.core.$strip>;
16677
+ }, z.core.$strip>;
16678
+ links: z.ZodObject<{
16679
+ self: z.ZodString;
16680
+ first: z.ZodNullable<z.ZodString>;
16681
+ next: z.ZodNullable<z.ZodString>;
16682
+ }, z.core.$strip>;
16683
+ data: z.ZodArray<z.ZodObject<{
16684
+ id: z.ZodString;
16685
+ payrolls_payroll_run_id: z.ZodString;
16686
+ status: z.ZodEnum<{
16687
+ pending: "pending";
16688
+ failed: "failed";
16689
+ success: "success";
16690
+ processing: "processing";
16691
+ processed: "processed";
16692
+ }>;
16693
+ processed_rows_count: z.ZodInt;
16694
+ processing_errors: z.ZodArray<z.ZodObject<{
16695
+ code: z.ZodString;
16696
+ row: z.ZodNullable<z.ZodInt>;
16697
+ column: z.ZodNullable<z.ZodString>;
16698
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16699
+ }, z.core.$strip>>;
16700
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16701
+ created_at: z.ZodISODateTime;
16702
+ updated_at: z.ZodISODateTime;
16703
+ }, z.core.$strip>>;
16704
+ }, z.core.$strip>;
16705
+ export declare const zCreatePaystubImportBody: z.ZodObject<{
16706
+ file_signed_id: z.ZodString;
16707
+ }, z.core.$strip>;
16708
+ export declare const zCreatePaystubImportPath: z.ZodObject<{
16709
+ payroll_run_id: z.ZodString;
16710
+ }, z.core.$strip>;
16711
+ /**
16712
+ * Created
16713
+ */
16714
+ export declare const zCreatePaystubImportResponse: z.ZodObject<{
16715
+ id: z.ZodString;
16716
+ payrolls_payroll_run_id: z.ZodString;
16717
+ status: z.ZodEnum<{
16718
+ pending: "pending";
16719
+ failed: "failed";
16720
+ success: "success";
16721
+ processing: "processing";
16722
+ processed: "processed";
16723
+ }>;
16724
+ processed_rows_count: z.ZodInt;
16725
+ processing_errors: z.ZodArray<z.ZodObject<{
16726
+ code: z.ZodString;
16727
+ row: z.ZodNullable<z.ZodInt>;
16728
+ column: z.ZodNullable<z.ZodString>;
16729
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16730
+ }, z.core.$strip>>;
16731
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16732
+ created_at: z.ZodISODateTime;
16733
+ updated_at: z.ZodISODateTime;
16734
+ }, z.core.$strip>;
16735
+ export declare const zGetPaystubImportPath: z.ZodObject<{
16736
+ payroll_run_id: z.ZodString;
16270
16737
  id: z.ZodString;
16271
16738
  }, z.core.$strip>;
16272
16739
  /**
16273
16740
  * Success
16274
16741
  */
16275
- export declare const zUpdateFringeBenefitPlanResponse: z.ZodObject<{
16742
+ export declare const zGetPaystubImportResponse: z.ZodObject<{
16276
16743
  id: z.ZodString;
16277
- timekeeping_pay_period_config_id: z.ZodString;
16278
- name: z.ZodString;
16279
- plan_number: z.ZodString;
16280
- funded: z.ZodBoolean;
16281
- benefit_category: z.ZodNullable<z.ZodEnum<{
16282
- employer_combined_savings: "employer_combined_savings";
16283
- employer_combined_health: "employer_combined_health";
16284
- employer_combined_holiday_pto: "employer_combined_holiday_pto";
16285
- employer_training: "employer_training";
16286
- employer_other_contributions: "employer_other_contributions";
16287
- }>>;
16288
- il_jointly_managed: z.ZodBoolean;
16289
- il_fund_name: z.ZodNullable<z.ZodString>;
16290
- il_fund_address1: z.ZodNullable<z.ZodString>;
16291
- il_fund_address2: z.ZodNullable<z.ZodString>;
16292
- il_fund_city: z.ZodNullable<z.ZodString>;
16293
- il_fund_state: z.ZodNullable<z.ZodString>;
16294
- il_fund_zip: z.ZodNullable<z.ZodString>;
16295
- il_sponsor_name: z.ZodNullable<z.ZodString>;
16296
- il_admin_name: z.ZodNullable<z.ZodString>;
16744
+ payrolls_payroll_run_id: z.ZodString;
16745
+ status: z.ZodEnum<{
16746
+ pending: "pending";
16747
+ failed: "failed";
16748
+ success: "success";
16749
+ processing: "processing";
16750
+ processed: "processed";
16751
+ }>;
16752
+ processed_rows_count: z.ZodInt;
16753
+ processing_errors: z.ZodArray<z.ZodObject<{
16754
+ code: z.ZodString;
16755
+ row: z.ZodNullable<z.ZodInt>;
16756
+ column: z.ZodNullable<z.ZodString>;
16757
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16758
+ }, z.core.$strip>>;
16759
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16297
16760
  created_at: z.ZodISODateTime;
16298
16761
  updated_at: z.ZodISODateTime;
16299
16762
  }, z.core.$strip>;
@@ -18328,10 +18791,7 @@ export declare const zCreatePositionBody: z.ZodObject<{
18328
18791
  hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18329
18792
  pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18330
18793
  wage_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18331
- job_wage_determinations_positions_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
18332
- id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
18333
- job_wage_determination_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18334
- }, z.core.$strip>>>;
18794
+ job_wage_determination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
18335
18795
  pwa_details_attributes: z.ZodOptional<z.ZodObject<{
18336
18796
  skill_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18337
18797
  }, z.core.$strip>>;
@@ -18385,10 +18845,7 @@ export declare const zUpdatePositionBody: z.ZodObject<{
18385
18845
  hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18386
18846
  pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18387
18847
  wage_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18388
- job_wage_determinations_positions_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
18389
- id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
18390
- job_wage_determination_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18391
- }, z.core.$strip>>>;
18848
+ job_wage_determination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
18392
18849
  pwa_details_attributes: z.ZodOptional<z.ZodObject<{
18393
18850
  skill_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18394
18851
  }, z.core.$strip>>;
@@ -20688,6 +21145,101 @@ export declare const zGetTimeCardActualResponse: z.ZodObject<{
20688
21145
  created_at: z.ZodISODateTime;
20689
21146
  updated_at: z.ZodISODateTime;
20690
21147
  }, z.core.$strip>;
21148
+ /**
21149
+ * Success
21150
+ */
21151
+ export declare const zListTodoInboxResponse: z.ZodObject<{
21152
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
21153
+ id: z.ZodString;
21154
+ type: z.ZodEnum<{
21155
+ job: "job";
21156
+ project: "project";
21157
+ company: "company";
21158
+ }>;
21159
+ company_id: z.ZodNullable<z.ZodString>;
21160
+ job_id: z.ZodNullable<z.ZodString>;
21161
+ project_id: z.ZodNullable<z.ZodString>;
21162
+ name: z.ZodString;
21163
+ created_by_user_id: z.ZodString;
21164
+ updated_by_user_id: z.ZodString;
21165
+ completed: z.ZodBoolean;
21166
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
21167
+ description: z.ZodObject<{
21168
+ text: z.ZodString;
21169
+ attachments: z.ZodArray<z.ZodObject<{
21170
+ filename: z.ZodString;
21171
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21172
+ byte_size: z.ZodInt;
21173
+ url: z.ZodString;
21174
+ }, z.core.$strip>>;
21175
+ }, z.core.$strip>;
21176
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21177
+ created_at: z.ZodISODateTime;
21178
+ updated_at: z.ZodISODateTime;
21179
+ kind: z.ZodLiteral<"todo">;
21180
+ }, z.core.$strip>, z.ZodObject<{
21181
+ id: z.ZodString;
21182
+ type: z.ZodEnum<{
21183
+ "Compliances::CompanyCheck": "Compliances::CompanyCheck";
21184
+ "Compliances::JobCheck": "Compliances::JobCheck";
21185
+ "Compliances::ProjectCheck": "Compliances::ProjectCheck";
21186
+ "Compliances::TimeCardCheck": "Compliances::TimeCardCheck";
21187
+ "Compliances::PayPeriodCheck": "Compliances::PayPeriodCheck";
21188
+ "Compliances::UserCheck": "Compliances::UserCheck";
21189
+ "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
21190
+ }>;
21191
+ status: z.ZodEnum<{
21192
+ pending: "pending";
21193
+ failed: "failed";
21194
+ passed: "passed";
21195
+ not_applicable: "not_applicable";
21196
+ dismissed: "dismissed";
21197
+ }>;
21198
+ compliances_requirement_id: z.ZodString;
21199
+ company_id: z.ZodNullable<z.ZodString>;
21200
+ job_id: z.ZodNullable<z.ZodString>;
21201
+ project_id: z.ZodNullable<z.ZodString>;
21202
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
21203
+ timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
21204
+ user_id: z.ZodNullable<z.ZodString>;
21205
+ employment_id: z.ZodNullable<z.ZodString>;
21206
+ assignee_user_ids: z.ZodArray<z.ZodString>;
21207
+ title: z.ZodString;
21208
+ description: z.ZodString;
21209
+ category: z.ZodEnum<{
21210
+ regional: "regional";
21211
+ job: "job";
21212
+ project: "project";
21213
+ company: "company";
21214
+ apprenticeship: "apprenticeship";
21215
+ certified_payroll: "certified_payroll";
21216
+ payroll: "payroll";
21217
+ tax_credit: "tax_credit";
21218
+ timekeeping: "timekeeping";
21219
+ worker: "worker";
21220
+ }>;
21221
+ phase: z.ZodEnum<{
21222
+ after_pay_date: "after_pay_date";
21223
+ before_approval_deadline: "before_approval_deadline";
21224
+ close_out: "close_out";
21225
+ maintenance: "maintenance";
21226
+ onboarding: "onboarding";
21227
+ setup: "setup";
21228
+ }>;
21229
+ priority: z.ZodNullable<z.ZodEnum<{
21230
+ high: "high";
21231
+ low: "low";
21232
+ critical: "critical";
21233
+ medium: "medium";
21234
+ }>>;
21235
+ checked_at: z.ZodNullable<z.ZodISODateTime>;
21236
+ passed_at: z.ZodNullable<z.ZodISODateTime>;
21237
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21238
+ created_at: z.ZodISODateTime;
21239
+ updated_at: z.ZodISODateTime;
21240
+ kind: z.ZodLiteral<"compliance_check">;
21241
+ }, z.core.$strip>], "kind">>;
21242
+ }, z.core.$strip>;
20691
21243
  export declare const zListUserRolesQuery: z.ZodObject<{
20692
21244
  'filter[user_id]': z.ZodOptional<z.ZodString>;
20693
21245
  'filter[role]': z.ZodOptional<z.ZodString>;
@@ -20994,16 +21546,22 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
20994
21546
  updated_at: z.ZodISODateTime;
20995
21547
  winda_id: z.ZodNullable<z.ZodString>;
20996
21548
  linkedin_url: z.ZodNullable<z.ZodString>;
20997
- employment_id: z.ZodString;
21549
+ employment_state: z.ZodEnum<{
21550
+ active: "active";
21551
+ none: "none";
21552
+ scheduled: "scheduled";
21553
+ terminated: "terminated";
21554
+ }>;
21555
+ employment_id: z.ZodNullable<z.ZodString>;
20998
21556
  type: z.ZodNullable<z.ZodEnum<{
20999
21557
  EMPLOYEE: "EMPLOYEE";
21000
21558
  CONTRACTOR: "CONTRACTOR";
21001
21559
  }>>;
21002
21560
  title: z.ZodNullable<z.ZodString>;
21003
- overtime_eligible: z.ZodBoolean;
21004
- enrolled_in_t_and_a: z.ZodBoolean;
21561
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
21562
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21005
21563
  payroll_id: z.ZodNullable<z.ZodString>;
21006
- compensation_type: z.ZodString;
21564
+ compensation_type: z.ZodNullable<z.ZodString>;
21007
21565
  hourly_rate: z.ZodNullable<z.ZodString>;
21008
21566
  training_annual_amount: z.ZodNullable<z.ZodString>;
21009
21567
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21014,10 +21572,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
21014
21572
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21015
21573
  hire_date: z.ZodNullable<z.ZodString>;
21016
21574
  termination_date: z.ZodNullable<z.ZodString>;
21017
- employment_window: z.ZodObject<{
21575
+ employment_window: z.ZodNullable<z.ZodObject<{
21018
21576
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21019
21577
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21020
- }, z.core.$strip>;
21578
+ }, z.core.$strip>>;
21021
21579
  manager_user_id: z.ZodNullable<z.ZodString>;
21022
21580
  roles: z.ZodArray<z.ZodString>;
21023
21581
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -21119,16 +21677,22 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
21119
21677
  updated_at: z.ZodISODateTime;
21120
21678
  winda_id: z.ZodNullable<z.ZodString>;
21121
21679
  linkedin_url: z.ZodNullable<z.ZodString>;
21122
- employment_id: z.ZodString;
21680
+ employment_state: z.ZodEnum<{
21681
+ active: "active";
21682
+ none: "none";
21683
+ scheduled: "scheduled";
21684
+ terminated: "terminated";
21685
+ }>;
21686
+ employment_id: z.ZodNullable<z.ZodString>;
21123
21687
  type: z.ZodNullable<z.ZodEnum<{
21124
21688
  EMPLOYEE: "EMPLOYEE";
21125
21689
  CONTRACTOR: "CONTRACTOR";
21126
21690
  }>>;
21127
21691
  title: z.ZodNullable<z.ZodString>;
21128
- overtime_eligible: z.ZodBoolean;
21129
- enrolled_in_t_and_a: z.ZodBoolean;
21692
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
21693
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21130
21694
  payroll_id: z.ZodNullable<z.ZodString>;
21131
- compensation_type: z.ZodString;
21695
+ compensation_type: z.ZodNullable<z.ZodString>;
21132
21696
  hourly_rate: z.ZodNullable<z.ZodString>;
21133
21697
  training_annual_amount: z.ZodNullable<z.ZodString>;
21134
21698
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21139,10 +21703,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
21139
21703
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21140
21704
  hire_date: z.ZodNullable<z.ZodString>;
21141
21705
  termination_date: z.ZodNullable<z.ZodString>;
21142
- employment_window: z.ZodObject<{
21706
+ employment_window: z.ZodNullable<z.ZodObject<{
21143
21707
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21144
21708
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21145
- }, z.core.$strip>;
21709
+ }, z.core.$strip>>;
21146
21710
  manager_user_id: z.ZodNullable<z.ZodString>;
21147
21711
  roles: z.ZodArray<z.ZodString>;
21148
21712
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -21266,16 +21830,22 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
21266
21830
  updated_at: z.ZodISODateTime;
21267
21831
  winda_id: z.ZodNullable<z.ZodString>;
21268
21832
  linkedin_url: z.ZodNullable<z.ZodString>;
21269
- employment_id: z.ZodString;
21833
+ employment_state: z.ZodEnum<{
21834
+ active: "active";
21835
+ none: "none";
21836
+ scheduled: "scheduled";
21837
+ terminated: "terminated";
21838
+ }>;
21839
+ employment_id: z.ZodNullable<z.ZodString>;
21270
21840
  type: z.ZodNullable<z.ZodEnum<{
21271
21841
  EMPLOYEE: "EMPLOYEE";
21272
21842
  CONTRACTOR: "CONTRACTOR";
21273
21843
  }>>;
21274
21844
  title: z.ZodNullable<z.ZodString>;
21275
- overtime_eligible: z.ZodBoolean;
21276
- enrolled_in_t_and_a: z.ZodBoolean;
21845
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
21846
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21277
21847
  payroll_id: z.ZodNullable<z.ZodString>;
21278
- compensation_type: z.ZodString;
21848
+ compensation_type: z.ZodNullable<z.ZodString>;
21279
21849
  hourly_rate: z.ZodNullable<z.ZodString>;
21280
21850
  training_annual_amount: z.ZodNullable<z.ZodString>;
21281
21851
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21286,10 +21856,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
21286
21856
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21287
21857
  hire_date: z.ZodNullable<z.ZodString>;
21288
21858
  termination_date: z.ZodNullable<z.ZodString>;
21289
- employment_window: z.ZodObject<{
21859
+ employment_window: z.ZodNullable<z.ZodObject<{
21290
21860
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21291
21861
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21292
- }, z.core.$strip>;
21862
+ }, z.core.$strip>>;
21293
21863
  manager_user_id: z.ZodNullable<z.ZodString>;
21294
21864
  roles: z.ZodArray<z.ZodString>;
21295
21865
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -21390,16 +21960,22 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
21390
21960
  updated_at: z.ZodISODateTime;
21391
21961
  winda_id: z.ZodNullable<z.ZodString>;
21392
21962
  linkedin_url: z.ZodNullable<z.ZodString>;
21393
- employment_id: z.ZodString;
21963
+ employment_state: z.ZodEnum<{
21964
+ active: "active";
21965
+ none: "none";
21966
+ scheduled: "scheduled";
21967
+ terminated: "terminated";
21968
+ }>;
21969
+ employment_id: z.ZodNullable<z.ZodString>;
21394
21970
  type: z.ZodNullable<z.ZodEnum<{
21395
21971
  EMPLOYEE: "EMPLOYEE";
21396
21972
  CONTRACTOR: "CONTRACTOR";
21397
21973
  }>>;
21398
21974
  title: z.ZodNullable<z.ZodString>;
21399
- overtime_eligible: z.ZodBoolean;
21400
- enrolled_in_t_and_a: z.ZodBoolean;
21975
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
21976
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21401
21977
  payroll_id: z.ZodNullable<z.ZodString>;
21402
- compensation_type: z.ZodString;
21978
+ compensation_type: z.ZodNullable<z.ZodString>;
21403
21979
  hourly_rate: z.ZodNullable<z.ZodString>;
21404
21980
  training_annual_amount: z.ZodNullable<z.ZodString>;
21405
21981
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21410,10 +21986,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
21410
21986
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21411
21987
  hire_date: z.ZodNullable<z.ZodString>;
21412
21988
  termination_date: z.ZodNullable<z.ZodString>;
21413
- employment_window: z.ZodObject<{
21989
+ employment_window: z.ZodNullable<z.ZodObject<{
21414
21990
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21415
21991
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21416
- }, z.core.$strip>;
21992
+ }, z.core.$strip>>;
21417
21993
  manager_user_id: z.ZodNullable<z.ZodString>;
21418
21994
  roles: z.ZodArray<z.ZodString>;
21419
21995
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -21528,16 +22104,22 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
21528
22104
  updated_at: z.ZodISODateTime;
21529
22105
  winda_id: z.ZodNullable<z.ZodString>;
21530
22106
  linkedin_url: z.ZodNullable<z.ZodString>;
21531
- employment_id: z.ZodString;
22107
+ employment_state: z.ZodEnum<{
22108
+ active: "active";
22109
+ none: "none";
22110
+ scheduled: "scheduled";
22111
+ terminated: "terminated";
22112
+ }>;
22113
+ employment_id: z.ZodNullable<z.ZodString>;
21532
22114
  type: z.ZodNullable<z.ZodEnum<{
21533
22115
  EMPLOYEE: "EMPLOYEE";
21534
22116
  CONTRACTOR: "CONTRACTOR";
21535
22117
  }>>;
21536
22118
  title: z.ZodNullable<z.ZodString>;
21537
- overtime_eligible: z.ZodBoolean;
21538
- enrolled_in_t_and_a: z.ZodBoolean;
22119
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
22120
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21539
22121
  payroll_id: z.ZodNullable<z.ZodString>;
21540
- compensation_type: z.ZodString;
22122
+ compensation_type: z.ZodNullable<z.ZodString>;
21541
22123
  hourly_rate: z.ZodNullable<z.ZodString>;
21542
22124
  training_annual_amount: z.ZodNullable<z.ZodString>;
21543
22125
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21548,10 +22130,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
21548
22130
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21549
22131
  hire_date: z.ZodNullable<z.ZodString>;
21550
22132
  termination_date: z.ZodNullable<z.ZodString>;
21551
- employment_window: z.ZodObject<{
22133
+ employment_window: z.ZodNullable<z.ZodObject<{
21552
22134
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21553
22135
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21554
- }, z.core.$strip>;
22136
+ }, z.core.$strip>>;
21555
22137
  manager_user_id: z.ZodNullable<z.ZodString>;
21556
22138
  roles: z.ZodArray<z.ZodString>;
21557
22139
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -21629,6 +22211,8 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
21629
22211
  export declare const zListUsersQuery: z.ZodObject<{
21630
22212
  'filter[state]': z.ZodOptional<z.ZodEnum<{
21631
22213
  active: "active";
22214
+ none: "none";
22215
+ scheduled: "scheduled";
21632
22216
  all: "all";
21633
22217
  terminated: "terminated";
21634
22218
  }>>;
@@ -21676,16 +22260,22 @@ export declare const zListUsersResponse: z.ZodObject<{
21676
22260
  updated_at: z.ZodISODateTime;
21677
22261
  winda_id: z.ZodNullable<z.ZodString>;
21678
22262
  linkedin_url: z.ZodNullable<z.ZodString>;
21679
- employment_id: z.ZodString;
22263
+ employment_state: z.ZodEnum<{
22264
+ active: "active";
22265
+ none: "none";
22266
+ scheduled: "scheduled";
22267
+ terminated: "terminated";
22268
+ }>;
22269
+ employment_id: z.ZodNullable<z.ZodString>;
21680
22270
  type: z.ZodNullable<z.ZodEnum<{
21681
22271
  EMPLOYEE: "EMPLOYEE";
21682
22272
  CONTRACTOR: "CONTRACTOR";
21683
22273
  }>>;
21684
22274
  title: z.ZodNullable<z.ZodString>;
21685
- overtime_eligible: z.ZodBoolean;
21686
- enrolled_in_t_and_a: z.ZodBoolean;
22275
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
22276
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21687
22277
  payroll_id: z.ZodNullable<z.ZodString>;
21688
- compensation_type: z.ZodString;
22278
+ compensation_type: z.ZodNullable<z.ZodString>;
21689
22279
  hourly_rate: z.ZodNullable<z.ZodString>;
21690
22280
  training_annual_amount: z.ZodNullable<z.ZodString>;
21691
22281
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21696,10 +22286,10 @@ export declare const zListUsersResponse: z.ZodObject<{
21696
22286
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21697
22287
  hire_date: z.ZodNullable<z.ZodString>;
21698
22288
  termination_date: z.ZodNullable<z.ZodString>;
21699
- employment_window: z.ZodObject<{
22289
+ employment_window: z.ZodNullable<z.ZodObject<{
21700
22290
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21701
22291
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21702
- }, z.core.$strip>;
22292
+ }, z.core.$strip>>;
21703
22293
  manager_user_id: z.ZodNullable<z.ZodString>;
21704
22294
  roles: z.ZodArray<z.ZodString>;
21705
22295
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -21911,16 +22501,22 @@ export declare const zCreateUserResponse: z.ZodObject<{
21911
22501
  updated_at: z.ZodISODateTime;
21912
22502
  winda_id: z.ZodNullable<z.ZodString>;
21913
22503
  linkedin_url: z.ZodNullable<z.ZodString>;
21914
- employment_id: z.ZodString;
22504
+ employment_state: z.ZodEnum<{
22505
+ active: "active";
22506
+ none: "none";
22507
+ scheduled: "scheduled";
22508
+ terminated: "terminated";
22509
+ }>;
22510
+ employment_id: z.ZodNullable<z.ZodString>;
21915
22511
  type: z.ZodNullable<z.ZodEnum<{
21916
22512
  EMPLOYEE: "EMPLOYEE";
21917
22513
  CONTRACTOR: "CONTRACTOR";
21918
22514
  }>>;
21919
22515
  title: z.ZodNullable<z.ZodString>;
21920
- overtime_eligible: z.ZodBoolean;
21921
- enrolled_in_t_and_a: z.ZodBoolean;
22516
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
22517
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
21922
22518
  payroll_id: z.ZodNullable<z.ZodString>;
21923
- compensation_type: z.ZodString;
22519
+ compensation_type: z.ZodNullable<z.ZodString>;
21924
22520
  hourly_rate: z.ZodNullable<z.ZodString>;
21925
22521
  training_annual_amount: z.ZodNullable<z.ZodString>;
21926
22522
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -21931,10 +22527,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
21931
22527
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
21932
22528
  hire_date: z.ZodNullable<z.ZodString>;
21933
22529
  termination_date: z.ZodNullable<z.ZodString>;
21934
- employment_window: z.ZodObject<{
22530
+ employment_window: z.ZodNullable<z.ZodObject<{
21935
22531
  valid_from: z.ZodNullable<z.ZodISODateTime>;
21936
22532
  valid_to: z.ZodNullable<z.ZodISODateTime>;
21937
- }, z.core.$strip>;
22533
+ }, z.core.$strip>>;
21938
22534
  manager_user_id: z.ZodNullable<z.ZodString>;
21939
22535
  roles: z.ZodArray<z.ZodString>;
21940
22536
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -22034,16 +22630,22 @@ export declare const zGetUserResponse: z.ZodObject<{
22034
22630
  updated_at: z.ZodISODateTime;
22035
22631
  winda_id: z.ZodNullable<z.ZodString>;
22036
22632
  linkedin_url: z.ZodNullable<z.ZodString>;
22037
- employment_id: z.ZodString;
22633
+ employment_state: z.ZodEnum<{
22634
+ active: "active";
22635
+ none: "none";
22636
+ scheduled: "scheduled";
22637
+ terminated: "terminated";
22638
+ }>;
22639
+ employment_id: z.ZodNullable<z.ZodString>;
22038
22640
  type: z.ZodNullable<z.ZodEnum<{
22039
22641
  EMPLOYEE: "EMPLOYEE";
22040
22642
  CONTRACTOR: "CONTRACTOR";
22041
22643
  }>>;
22042
22644
  title: z.ZodNullable<z.ZodString>;
22043
- overtime_eligible: z.ZodBoolean;
22044
- enrolled_in_t_and_a: z.ZodBoolean;
22645
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
22646
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
22045
22647
  payroll_id: z.ZodNullable<z.ZodString>;
22046
- compensation_type: z.ZodString;
22648
+ compensation_type: z.ZodNullable<z.ZodString>;
22047
22649
  hourly_rate: z.ZodNullable<z.ZodString>;
22048
22650
  training_annual_amount: z.ZodNullable<z.ZodString>;
22049
22651
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -22054,10 +22656,10 @@ export declare const zGetUserResponse: z.ZodObject<{
22054
22656
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
22055
22657
  hire_date: z.ZodNullable<z.ZodString>;
22056
22658
  termination_date: z.ZodNullable<z.ZodString>;
22057
- employment_window: z.ZodObject<{
22659
+ employment_window: z.ZodNullable<z.ZodObject<{
22058
22660
  valid_from: z.ZodNullable<z.ZodISODateTime>;
22059
22661
  valid_to: z.ZodNullable<z.ZodISODateTime>;
22060
- }, z.core.$strip>;
22662
+ }, z.core.$strip>>;
22061
22663
  manager_user_id: z.ZodNullable<z.ZodString>;
22062
22664
  roles: z.ZodArray<z.ZodString>;
22063
22665
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
@@ -22171,16 +22773,22 @@ export declare const zUpdateUserResponse: z.ZodObject<{
22171
22773
  updated_at: z.ZodISODateTime;
22172
22774
  winda_id: z.ZodNullable<z.ZodString>;
22173
22775
  linkedin_url: z.ZodNullable<z.ZodString>;
22174
- employment_id: z.ZodString;
22776
+ employment_state: z.ZodEnum<{
22777
+ active: "active";
22778
+ none: "none";
22779
+ scheduled: "scheduled";
22780
+ terminated: "terminated";
22781
+ }>;
22782
+ employment_id: z.ZodNullable<z.ZodString>;
22175
22783
  type: z.ZodNullable<z.ZodEnum<{
22176
22784
  EMPLOYEE: "EMPLOYEE";
22177
22785
  CONTRACTOR: "CONTRACTOR";
22178
22786
  }>>;
22179
22787
  title: z.ZodNullable<z.ZodString>;
22180
- overtime_eligible: z.ZodBoolean;
22181
- enrolled_in_t_and_a: z.ZodBoolean;
22788
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
22789
+ enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
22182
22790
  payroll_id: z.ZodNullable<z.ZodString>;
22183
- compensation_type: z.ZodString;
22791
+ compensation_type: z.ZodNullable<z.ZodString>;
22184
22792
  hourly_rate: z.ZodNullable<z.ZodString>;
22185
22793
  training_annual_amount: z.ZodNullable<z.ZodString>;
22186
22794
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -22191,10 +22799,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
22191
22799
  training_annual_minutes: z.ZodNullable<z.ZodInt>;
22192
22800
  hire_date: z.ZodNullable<z.ZodString>;
22193
22801
  termination_date: z.ZodNullable<z.ZodString>;
22194
- employment_window: z.ZodObject<{
22802
+ employment_window: z.ZodNullable<z.ZodObject<{
22195
22803
  valid_from: z.ZodNullable<z.ZodISODateTime>;
22196
22804
  valid_to: z.ZodNullable<z.ZodISODateTime>;
22197
- }, z.core.$strip>;
22805
+ }, z.core.$strip>>;
22198
22806
  manager_user_id: z.ZodNullable<z.ZodString>;
22199
22807
  roles: z.ZodArray<z.ZodString>;
22200
22808
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{