@dsptch-work/api-client 0.19.0 → 0.20.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.
@@ -8,6 +8,10 @@ export declare const zProblem: z.ZodObject<{
8
8
  status: z.ZodInt;
9
9
  detail: z.ZodString;
10
10
  instance: z.ZodOptional<z.ZodURL>;
11
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
+ detail: z.ZodString;
13
+ pointer: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>>>;
11
15
  }, z.core.$strip>;
12
16
  /**
13
17
  * Error types
@@ -2441,7 +2445,7 @@ export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
2441
2445
  updated_at: z.ZodISODateTime;
2442
2446
  }, z.core.$strip>;
2443
2447
  /**
2444
- * Request body for creating or updating a custom field definition.
2448
+ * Request body for creating a custom field definition. `name` and `model_type` are required.
2445
2449
  */
2446
2450
  export declare const zCustomFieldConfigParameters: z.ZodObject<{
2447
2451
  name: z.ZodString;
@@ -2454,6 +2458,20 @@ export declare const zCustomFieldConfigParameters: z.ZodObject<{
2454
2458
  }>;
2455
2459
  visible: z.ZodOptional<z.ZodBoolean>;
2456
2460
  }, z.core.$strip>;
2461
+ /**
2462
+ * Request body for updating a custom field definition. Every field is optional; omit a field to preserve its current value. The resulting definition's name must remain unique for its company and model type.
2463
+ */
2464
+ export declare const zCustomFieldConfigUpdateParameters: z.ZodObject<{
2465
+ name: z.ZodOptional<z.ZodString>;
2466
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2467
+ model_type: z.ZodOptional<z.ZodEnum<{
2468
+ job: "job";
2469
+ apprenticeship_apprentice: "apprenticeship_apprentice";
2470
+ company: "company";
2471
+ user_company: "user_company";
2472
+ }>>;
2473
+ visible: z.ZodOptional<z.ZodBoolean>;
2474
+ }, z.core.$strip>;
2457
2475
  /**
2458
2476
  * A user's membership in a group.
2459
2477
  */
@@ -2472,14 +2490,14 @@ export declare const zUserGroupParameters: z.ZodObject<{
2472
2490
  */
2473
2491
  export declare const zTimeCardStartDay: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
2474
2492
  /**
2475
- * Parameters for creating a job. Sets the job's schedule, work types, address, and optional Prevailing Wage / Apprenticeship (PWA) compliance. Extra keys are accepted, including custom fields.
2493
+ * Fields shared by job creation and updates. Updates may omit any field to preserve its current value. The resulting job must still satisfy its schedule and PWA validation rules. Extra keys are accepted, including custom fields.
2476
2494
  */
2477
2495
  export declare const zJobParameters: z.ZodObject<{
2478
2496
  template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2479
2497
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2480
2498
  description: z.ZodOptional<z.ZodString>;
2481
- requested_by_company_id: z.ZodString;
2482
- created_by_user_id: z.ZodString;
2499
+ requested_by_company_id: z.ZodOptional<z.ZodString>;
2500
+ created_by_user_id: z.ZodOptional<z.ZodString>;
2483
2501
  manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2484
2502
  purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2485
2503
  project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2561,14 +2579,103 @@ export declare const zJobParameters: z.ZodObject<{
2561
2579
  }, z.core.$strip>>;
2562
2580
  }, z.core.$strip>;
2563
2581
  /**
2564
- * Parameters for updating an existing job. Accepts every job_parameters field, plus a directly settable status.
2582
+ * Parameters for creating a job. `requested_by_company_id` and `created_by_user_id` are required. Sets the job's schedule, work types, address, and optional Prevailing Wage / Apprenticeship (PWA) compliance.
2583
+ */
2584
+ export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
2585
+ template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2586
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2587
+ description: z.ZodOptional<z.ZodString>;
2588
+ requested_by_company_id: z.ZodOptional<z.ZodString>;
2589
+ created_by_user_id: z.ZodOptional<z.ZodString>;
2590
+ manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2591
+ purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2592
+ project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2593
+ federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
2594
+ none: "none";
2595
+ all: "all";
2596
+ pw_only: "pw_only";
2597
+ ap_only: "ap_only";
2598
+ }>>;
2599
+ regional_pwa_mode: z.ZodOptional<z.ZodEnum<{
2600
+ none: "none";
2601
+ all: "all";
2602
+ pw_only: "pw_only";
2603
+ ap_only: "ap_only";
2604
+ }>>;
2605
+ region: z.ZodOptional<z.ZodString>;
2606
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2607
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2608
+ tz_name: z.ZodOptional<z.ZodString>;
2609
+ time_card_start_day: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
2610
+ clock_in_requirement: z.ZodOptional<z.ZodEnum<{
2611
+ none: "none";
2612
+ warning: "warning";
2613
+ required: "required";
2614
+ }>>;
2615
+ send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2616
+ allow_customer_access: z.ZodOptional<z.ZodBoolean>;
2617
+ timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2618
+ tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2619
+ requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2620
+ max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2621
+ production_tracking_kind: z.ZodOptional<z.ZodEnum<{
2622
+ none: "none";
2623
+ feature: "feature";
2624
+ quantity: "quantity";
2625
+ }>>;
2626
+ job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2627
+ primary: z.ZodOptional<z.ZodBoolean>;
2628
+ work_type_id: z.ZodOptional<z.ZodString>;
2629
+ }, z.core.$strip>>>>;
2630
+ job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2631
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2632
+ sub_address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2633
+ address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2634
+ neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2635
+ municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2636
+ sub_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2637
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2638
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2639
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2640
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2641
+ verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2642
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2643
+ }, z.core.$strip>>>;
2644
+ custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2645
+ custom_field_config_id: z.ZodString;
2646
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
+ }, z.core.$strip>>>>;
2648
+ pwa_details: z.ZodOptional<z.ZodObject<{
2649
+ contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2650
+ prime_contractor: "prime_contractor";
2651
+ sub_contractor: "sub_contractor";
2652
+ }>>>;
2653
+ pay_full_cash_fringe_by_default: z.ZodOptional<z.ZodBoolean>;
2654
+ dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2655
+ dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2656
+ dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2657
+ dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2658
+ dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2659
+ dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2660
+ il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2661
+ il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2662
+ il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2663
+ il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2664
+ il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2665
+ il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2666
+ il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2667
+ ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2668
+ }, z.core.$strip>>;
2669
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2670
+ /**
2671
+ * Parameters for updating an existing job. Every field is optional; omit a field to preserve its current value. The resulting job must still satisfy schedule and PWA validation rules. Accepts every shared job field plus a directly settable status.
2565
2672
  */
2566
2673
  export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
2567
2674
  template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2568
2675
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2569
2676
  description: z.ZodOptional<z.ZodString>;
2570
- requested_by_company_id: z.ZodString;
2571
- created_by_user_id: z.ZodString;
2677
+ requested_by_company_id: z.ZodOptional<z.ZodString>;
2678
+ created_by_user_id: z.ZodOptional<z.ZodString>;
2572
2679
  manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2573
2680
  purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2574
2681
  project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3401,12 +3508,46 @@ export declare const zProjectResponseObject: z.ZodObject<{
3401
3508
  updated_at: z.ZodISODateTime;
3402
3509
  }, z.core.$strip>;
3403
3510
  /**
3404
- * Request body for creating or updating a project. Only `name` is required by the schema; `created_by_user_id` is additionally required on create and must be a member of the owning company. The owning company is inferred from the API key and is not part of the body.
3511
+ * Request body for creating a project. `name` is required by the schema; `created_by_user_id` is additionally required on create and must be a member of the owning company. The owning company is inferred from the API key and is not part of the body.
3405
3512
  */
3406
3513
  export declare const zProjectParameters: z.ZodObject<{
3407
3514
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3408
3515
  name: z.ZodString;
3409
3516
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3517
+ created_by_user_id: z.ZodString;
3518
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3519
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3520
+ tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3521
+ billing_start_day: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
3522
+ federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
3523
+ none: "none";
3524
+ all: "all";
3525
+ pw_only: "pw_only";
3526
+ ap_only: "ap_only";
3527
+ }>>;
3528
+ regional_pwa_mode: z.ZodOptional<z.ZodEnum<{
3529
+ none: "none";
3530
+ all: "all";
3531
+ pw_only: "pw_only";
3532
+ ap_only: "ap_only";
3533
+ }>>;
3534
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3535
+ asset_owner: z.ZodOptional<z.ZodBoolean>;
3536
+ administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3537
+ administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3538
+ administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3539
+ budget: z.ZodOptional<z.ZodString>;
3540
+ prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3541
+ beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3542
+ placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3543
+ }, z.core.$strip>;
3544
+ /**
3545
+ * Request body for updating a project. Every field is optional; omit a field to preserve its current value. The resulting project must still satisfy conditional PWA, regional, and schedule validation rules. `created_by_user_id` is create-only and an update that names it is rejected.
3546
+ */
3547
+ export declare const zProjectUpdateParameters: z.ZodObject<{
3548
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3549
+ name: z.ZodOptional<z.ZodString>;
3550
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3410
3551
  created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3411
3552
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3412
3553
  end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -4288,7 +4429,7 @@ export declare const zPositionParameters: z.ZodObject<{
4288
4429
  }, z.core.$strip>>;
4289
4430
  }, z.core.$strip>;
4290
4431
  /**
4291
- * Parameters for creating or updating a per-unit scope price on a job.
4432
+ * Parameters for creating a per-unit scope price on a job. `scope_kind` and `unit_price` are required.
4292
4433
  */
4293
4434
  export declare const zProductionJobScopePriceParameters: z.ZodObject<{
4294
4435
  scope_kind: z.ZodString;
@@ -4296,6 +4437,15 @@ export declare const zProductionJobScopePriceParameters: z.ZodObject<{
4296
4437
  contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4297
4438
  unit_of_measure: z.ZodOptional<z.ZodString>;
4298
4439
  }, z.core.$strip>;
4440
+ /**
4441
+ * Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. The resulting price must retain a scope kind and non-negative unit price.
4442
+ */
4443
+ export declare const zProductionJobScopePriceUpdateParameters: z.ZodObject<{
4444
+ scope_kind: z.ZodOptional<z.ZodString>;
4445
+ unit_price: z.ZodOptional<z.ZodString>;
4446
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4447
+ unit_of_measure: z.ZodOptional<z.ZodString>;
4448
+ }, z.core.$strip>;
4299
4449
  /**
4300
4450
  * A per-unit billing price for one scope of work on a job. Production completions bill against these prices.
4301
4451
  */
@@ -4539,7 +4689,7 @@ export declare const zCertificationResponseObject: z.ZodObject<{
4539
4689
  updated_at: z.ZodISODateTime;
4540
4690
  }, z.core.$strip>;
4541
4691
  /**
4542
- * Request body for recording or updating a certification held by a worker — who holds it, which certification, when it was received, and optional proof, expiry, and verification details.
4692
+ * Request body for recording a certification held by a worker — who holds it, which certification, when it was received, and optional proof, expiry, and verification details.
4543
4693
  */
4544
4694
  export declare const zUserCertificationParameters: z.ZodObject<{
4545
4695
  user_id: z.ZodString;
@@ -4556,6 +4706,24 @@ export declare const zUserCertificationParameters: z.ZodObject<{
4556
4706
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4557
4707
  approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4558
4708
  }, z.core.$strip>;
4709
+ /**
4710
+ * Request body for updating a certification held by a worker. Every field is optional; omit a field to preserve its current value. The resulting certification must still have a receipt date and verification state, and any expiry date must remain after its receipt date.
4711
+ */
4712
+ export declare const zUserCertificationUpdateParameters: z.ZodObject<{
4713
+ user_id: z.ZodOptional<z.ZodString>;
4714
+ certification_id: z.ZodOptional<z.ZodString>;
4715
+ received_at: z.ZodOptional<z.ZodISODateTime>;
4716
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4717
+ name: z.ZodString;
4718
+ content: z.ZodString;
4719
+ }, z.core.$strip>>>;
4720
+ verified: z.ZodOptional<z.ZodBoolean>;
4721
+ expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4722
+ credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4723
+ approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4724
+ archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4725
+ approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4726
+ }, z.core.$strip>;
4559
4727
  /**
4560
4728
  * A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
4561
4729
  */
@@ -7228,6 +7396,42 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
7228
7396
  assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7229
7397
  assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7230
7398
  }, z.core.$strip>;
7399
+ /**
7400
+ * Update a form-assignment trigger rule. All fields are optional — send only what changes. When changing first_due_by, include the matching day field when required; assigned_user_ids applies only to the custom assign_to mode.
7401
+ */
7402
+ export declare const zAssetsFormAssignmentTriggerUpdateParameters: z.ZodObject<{
7403
+ form_definition_id: z.ZodOptional<z.ZodString>;
7404
+ triggered_by: z.ZodOptional<z.ZodEnum<{
7405
+ assignment: "assignment";
7406
+ unassignment: "unassignment";
7407
+ }>>;
7408
+ assign_to: z.ZodOptional<z.ZodEnum<{
7409
+ custom: "custom";
7410
+ asset_assignee: "asset_assignee";
7411
+ previous_asset_assignee: "previous_asset_assignee";
7412
+ }>>;
7413
+ first_due_by: z.ZodOptional<z.ZodEnum<{
7414
+ day_of_event: "day_of_event";
7415
+ day_of_week: "day_of_week";
7416
+ day_of_month: "day_of_month";
7417
+ }>>;
7418
+ tz_name: z.ZodOptional<z.ZodString>;
7419
+ time_of_day_due: z.ZodOptional<z.ZodString>;
7420
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7421
+ recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7422
+ DAILY: "DAILY";
7423
+ WORKDAILY: "WORKDAILY";
7424
+ WORKDAILYSIX: "WORKDAILYSIX";
7425
+ WEEKLY: "WEEKLY";
7426
+ BIWEEKLY: "BIWEEKLY";
7427
+ MONTHLY: "MONTHLY";
7428
+ QUARTERLY: "QUARTERLY";
7429
+ }>>>;
7430
+ day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7431
+ day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7432
+ assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7433
+ assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7434
+ }, z.core.$strip>;
7231
7435
  /**
7232
7436
  * A file attached to an asset — an item or product image, or a service-event attachment. Uploaded through the direct-upload flow; the response carries a URL to download it.
7233
7437
  */
@@ -7401,7 +7605,7 @@ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
7401
7605
  }, z.core.$strip>>>;
7402
7606
  }, z.core.$strip>;
7403
7607
  /**
7404
- * Create or update an asset item. The write API creates serial items only; assets_product_id and serial_number are set on create and ignored on update. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
7608
+ * Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
7405
7609
  */
7406
7610
  export declare const zAssetsItemParameters: z.ZodObject<{
7407
7611
  name: z.ZodString;
@@ -7427,6 +7631,33 @@ export declare const zAssetsItemParameters: z.ZodObject<{
7427
7631
  assets_sub_location_id: z.ZodOptional<z.ZodString>;
7428
7632
  performed_by_user_id: z.ZodString;
7429
7633
  }, z.core.$strip>;
7634
+ /**
7635
+ * Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater and any placement. Omitted attributes retain their existing values.
7636
+ */
7637
+ export declare const zAssetsItemUpdateParameters: z.ZodObject<{
7638
+ name: z.ZodOptional<z.ZodString>;
7639
+ description: z.ZodOptional<z.ZodString>;
7640
+ assets_product_id: z.ZodOptional<z.ZodString>;
7641
+ serial_number: z.ZodOptional<z.ZodString>;
7642
+ status: z.ZodOptional<z.ZodEnum<{
7643
+ available: "available";
7644
+ assigned: "assigned";
7645
+ }>>;
7646
+ purchase_date: z.ZodOptional<z.ZodISODateTime>;
7647
+ purchase_price_cents: z.ZodOptional<z.ZodInt>;
7648
+ external_id: z.ZodOptional<z.ZodString>;
7649
+ external_system_url: z.ZodOptional<z.ZodString>;
7650
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
7651
+ id: z.ZodOptional<z.ZodString>;
7652
+ file: z.ZodOptional<z.ZodString>;
7653
+ _destroy: z.ZodOptional<z.ZodBoolean>;
7654
+ }, z.core.$strip>>>;
7655
+ assets_site_id: z.ZodOptional<z.ZodString>;
7656
+ user_id: z.ZodOptional<z.ZodString>;
7657
+ container_item_id: z.ZodOptional<z.ZodString>;
7658
+ assets_sub_location_id: z.ZodOptional<z.ZodString>;
7659
+ performed_by_user_id: z.ZodString;
7660
+ }, z.core.$strip>;
7430
7661
  /**
7431
7662
  * A file attached to an asset item — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
7432
7663
  */
@@ -7455,6 +7686,14 @@ export declare const zAssetsDocumentParameters: z.ZodObject<{
7455
7686
  filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7456
7687
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7457
7688
  }, z.core.$strip>;
7689
+ /**
7690
+ * Update an asset-item document. All fields are optional — send only what changes. Omit file to retain the existing attachment, or supply a new signed_id to replace it.
7691
+ */
7692
+ export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
7693
+ file: z.ZodOptional<z.ZodString>;
7694
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7695
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7696
+ }, z.core.$strip>;
7458
7697
  /**
7459
7698
  * One entry in an item document's change history, recorded whenever the document is created, updated, or deleted — including when only its attached file is replaced.
7460
7699
  */
@@ -7562,6 +7801,72 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
7562
7801
  }, z.core.$strip>>>;
7563
7802
  }, z.core.$strip>;
7564
7803
  }, z.core.$strip>;
7804
+ /**
7805
+ * Update an item form assignment. All fields are optional — send only what changes. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied.
7806
+ */
7807
+ export declare const zAssetsItemFormAssignmentUpdateParameters: z.ZodObject<{
7808
+ form_definition_id: z.ZodOptional<z.ZodString>;
7809
+ recurring: z.ZodOptional<z.ZodBoolean>;
7810
+ task_attributes: z.ZodOptional<z.ZodObject<{
7811
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7812
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7813
+ created_by_user_id: z.ZodOptional<z.ZodString>;
7814
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7815
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
7816
+ tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7817
+ frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7818
+ DAILY: "DAILY";
7819
+ WORKDAILY: "WORKDAILY";
7820
+ WORKDAILYSIX: "WORKDAILYSIX";
7821
+ WEEKLY: "WEEKLY";
7822
+ BIWEEKLY: "BIWEEKLY";
7823
+ MONTHLY: "MONTHLY";
7824
+ QUARTERLY: "QUARTERLY";
7825
+ }>>>;
7826
+ recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
7827
+ task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7828
+ reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
7829
+ offset: z.ZodEnum<{
7830
+ PT0S: "PT0S";
7831
+ "PT-1M": "PT-1M";
7832
+ "PT-5M": "PT-5M";
7833
+ "PT-10M": "PT-10M";
7834
+ "PT-15M": "PT-15M";
7835
+ "PT-30M": "PT-30M";
7836
+ "PT-1H": "PT-1H";
7837
+ "PT-2H": "PT-2H";
7838
+ "P-1D": "P-1D";
7839
+ "P-2D": "P-2D";
7840
+ "P-3D": "P-3D";
7841
+ "P-4D": "P-4D";
7842
+ "P-5D": "P-5D";
7843
+ "P-6D": "P-6D";
7844
+ "P-1W": "P-1W";
7845
+ "P-2W": "P-2W";
7846
+ "P-1M": "P-1M";
7847
+ "P-2M": "P-2M";
7848
+ "P-3M": "P-3M";
7849
+ "P-6M": "P-6M";
7850
+ "P-1Y": "P-1Y";
7851
+ PT5M: "PT5M";
7852
+ PT15M: "PT15M";
7853
+ PT30M: "PT30M";
7854
+ PT1H: "PT1H";
7855
+ PT6H: "PT6H";
7856
+ PT12H: "PT12H";
7857
+ P1D: "P1D";
7858
+ P2D: "P2D";
7859
+ P3D: "P3D";
7860
+ P4D: "P4D";
7861
+ P5D: "P5D";
7862
+ P6D: "P6D";
7863
+ P1W: "P1W";
7864
+ P2W: "P2W";
7865
+ P3W: "P3W";
7866
+ }>;
7867
+ }, z.core.$strip>>>;
7868
+ }, z.core.$strip>>;
7869
+ }, z.core.$strip>;
7565
7870
  /**
7566
7871
  * On-hand stock of an item at a site — one row per item, site, and storage location. Read-only. A site with none of the item has no row at all, since a row is removed once its count reaches zero.
7567
7872
  */
@@ -7739,6 +8044,25 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
7739
8044
  last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
7740
8045
  performed_by_user_id: z.ZodString;
7741
8046
  }, z.core.$strip>;
8047
+ /**
8048
+ * Update a service schedule. Cadence and last_serviced_on fields are optional — send only what changes — but performed_by_user_id is required to record the updater. next_due_date is recomputed.
8049
+ */
8050
+ export declare const zAssetsServiceScheduleUpdateParameters: z.ZodObject<{
8051
+ kind: z.ZodOptional<z.ZodEnum<{
8052
+ maintenance: "maintenance";
8053
+ calibration: "calibration";
8054
+ }>>;
8055
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8056
+ interval_unit: z.ZodOptional<z.ZodEnum<{
8057
+ year: "year";
8058
+ month: "month";
8059
+ week: "week";
8060
+ day: "day";
8061
+ }>>;
8062
+ interval_count: z.ZodOptional<z.ZodInt>;
8063
+ last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
8064
+ performed_by_user_id: z.ZodString;
8065
+ }, z.core.$strip>;
7742
8066
  /**
7743
8067
  * A service performed on a serial item — scheduled (satisfying a service schedule) or ad-hoc. Recording one advances the linked schedule's next_due_date.
7744
8068
  */
@@ -7788,6 +8112,25 @@ export declare const zAssetsServiceEventParameters: z.ZodObject<{
7788
8112
  _destroy: z.ZodOptional<z.ZodBoolean>;
7789
8113
  }, z.core.$strip>>>;
7790
8114
  }, z.core.$strip>;
8115
+ /**
8116
+ * Update a service event. Event fields are optional — send only what changes — but performed_by_user_id is required to record the updater. A linked schedule dictates kind, and changing or removing the link recomputes affected due dates.
8117
+ */
8118
+ export declare const zAssetsServiceEventUpdateParameters: z.ZodObject<{
8119
+ kind: z.ZodOptional<z.ZodEnum<{
8120
+ maintenance: "maintenance";
8121
+ calibration: "calibration";
8122
+ repair: "repair";
8123
+ }>>;
8124
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8125
+ performed_on: z.ZodOptional<z.ZodISODate>;
8126
+ assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8127
+ performed_by_user_id: z.ZodString;
8128
+ attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
8129
+ id: z.ZodOptional<z.ZodString>;
8130
+ file: z.ZodOptional<z.ZodString>;
8131
+ _destroy: z.ZodOptional<z.ZodBoolean>;
8132
+ }, z.core.$strip>>>;
8133
+ }, z.core.$strip>;
7791
8134
  /**
7792
8135
  * A product-level service cadence that seeds and syncs the matching schedules on that product's items. Changing its defining fields (name, kind, interval) reconciles linked item schedules in the background.
7793
8136
  */
@@ -7828,6 +8171,24 @@ export declare const zAssetsServiceScheduleTemplateParameters: z.ZodObject<{
7828
8171
  interval_count: z.ZodInt;
7829
8172
  performed_by_user_id: z.ZodString;
7830
8173
  }, z.core.$strip>;
8174
+ /**
8175
+ * Update a service schedule template. Cadence fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Changing defining fields reconciles linked item schedules in the background.
8176
+ */
8177
+ export declare const zAssetsServiceScheduleTemplateUpdateParameters: z.ZodObject<{
8178
+ kind: z.ZodOptional<z.ZodEnum<{
8179
+ maintenance: "maintenance";
8180
+ calibration: "calibration";
8181
+ }>>;
8182
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8183
+ interval_unit: z.ZodOptional<z.ZodEnum<{
8184
+ year: "year";
8185
+ month: "month";
8186
+ week: "week";
8187
+ day: "day";
8188
+ }>>;
8189
+ interval_count: z.ZodOptional<z.ZodInt>;
8190
+ performed_by_user_id: z.ZodString;
8191
+ }, z.core.$strip>;
7831
8192
  /**
7832
8193
  * A node of fixed storage structure inside a site or a container item — a zone, aisle, rack, shelf, bin, or drawer. Nodes form a tree per holder, and each carries a scannable path_code composed from its ancestors' codes.
7833
8194
  */
@@ -9584,23 +9945,23 @@ export declare const zGetFormAssignmentTriggerResponse: z.ZodObject<{
9584
9945
  updated_at: z.ZodISODateTime;
9585
9946
  }, z.core.$strip>;
9586
9947
  export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
9587
- form_definition_id: z.ZodString;
9588
- triggered_by: z.ZodEnum<{
9948
+ form_definition_id: z.ZodOptional<z.ZodString>;
9949
+ triggered_by: z.ZodOptional<z.ZodEnum<{
9589
9950
  assignment: "assignment";
9590
9951
  unassignment: "unassignment";
9591
- }>;
9592
- assign_to: z.ZodEnum<{
9952
+ }>>;
9953
+ assign_to: z.ZodOptional<z.ZodEnum<{
9593
9954
  custom: "custom";
9594
9955
  asset_assignee: "asset_assignee";
9595
9956
  previous_asset_assignee: "previous_asset_assignee";
9596
- }>;
9597
- first_due_by: z.ZodEnum<{
9957
+ }>>;
9958
+ first_due_by: z.ZodOptional<z.ZodEnum<{
9598
9959
  day_of_event: "day_of_event";
9599
9960
  day_of_week: "day_of_week";
9600
9961
  day_of_month: "day_of_month";
9601
- }>;
9602
- tz_name: z.ZodString;
9603
- time_of_day_due: z.ZodString;
9962
+ }>>;
9963
+ tz_name: z.ZodOptional<z.ZodString>;
9964
+ time_of_day_due: z.ZodOptional<z.ZodString>;
9604
9965
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9605
9966
  recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9606
9967
  DAILY: "DAILY";
@@ -9952,10 +10313,10 @@ export declare const zGetItemResponse: z.ZodObject<{
9952
10313
  updated_at: z.ZodISODateTime;
9953
10314
  }, z.core.$strip>;
9954
10315
  export declare const zUpdateItemBody: z.ZodObject<{
9955
- name: z.ZodString;
10316
+ name: z.ZodOptional<z.ZodString>;
9956
10317
  description: z.ZodOptional<z.ZodString>;
9957
- assets_product_id: z.ZodString;
9958
- serial_number: z.ZodString;
10318
+ assets_product_id: z.ZodOptional<z.ZodString>;
10319
+ serial_number: z.ZodOptional<z.ZodString>;
9959
10320
  status: z.ZodOptional<z.ZodEnum<{
9960
10321
  available: "available";
9961
10322
  assigned: "assigned";
@@ -10287,18 +10648,18 @@ export declare const zGetServiceScheduleResponse: z.ZodObject<{
10287
10648
  updated_at: z.ZodISODateTime;
10288
10649
  }, z.core.$strip>;
10289
10650
  export declare const zUpdateServiceScheduleBody: z.ZodObject<{
10290
- kind: z.ZodEnum<{
10651
+ kind: z.ZodOptional<z.ZodEnum<{
10291
10652
  maintenance: "maintenance";
10292
10653
  calibration: "calibration";
10293
- }>;
10654
+ }>>;
10294
10655
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10295
- interval_unit: z.ZodEnum<{
10656
+ interval_unit: z.ZodOptional<z.ZodEnum<{
10296
10657
  year: "year";
10297
10658
  month: "month";
10298
10659
  week: "week";
10299
10660
  day: "day";
10300
- }>;
10301
- interval_count: z.ZodInt;
10661
+ }>>;
10662
+ interval_count: z.ZodOptional<z.ZodInt>;
10302
10663
  last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
10303
10664
  performed_by_user_id: z.ZodString;
10304
10665
  }, z.core.$strip>;
@@ -10513,7 +10874,7 @@ export declare const zUpdateServiceEventBody: z.ZodObject<{
10513
10874
  repair: "repair";
10514
10875
  }>>;
10515
10876
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10516
- performed_on: z.ZodISODate;
10877
+ performed_on: z.ZodOptional<z.ZodISODate>;
10517
10878
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10518
10879
  performed_by_user_id: z.ZodString;
10519
10880
  attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10729,12 +11090,12 @@ export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
10729
11090
  }, z.core.$strip>>;
10730
11091
  }, z.core.$strip>;
10731
11092
  export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
10732
- form_definition_id: z.ZodString;
11093
+ form_definition_id: z.ZodOptional<z.ZodString>;
10733
11094
  recurring: z.ZodOptional<z.ZodBoolean>;
10734
- task_attributes: z.ZodObject<{
11095
+ task_attributes: z.ZodOptional<z.ZodObject<{
10735
11096
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10736
11097
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10737
- created_by_user_id: z.ZodString;
11098
+ created_by_user_id: z.ZodOptional<z.ZodString>;
10738
11099
  updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10739
11100
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
10740
11101
  tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10789,7 +11150,7 @@ export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
10789
11150
  P3W: "P3W";
10790
11151
  }>;
10791
11152
  }, z.core.$strip>>>;
10792
- }, z.core.$strip>;
11153
+ }, z.core.$strip>>;
10793
11154
  }, z.core.$strip>;
10794
11155
  export declare const zUpdateFormAssignmentTaskPath: z.ZodObject<{
10795
11156
  item_id: z.ZodString;
@@ -10942,7 +11303,7 @@ export declare const zGetDocumentResponse: z.ZodObject<{
10942
11303
  updated_at: z.ZodISODateTime;
10943
11304
  }, z.core.$strip>;
10944
11305
  export declare const zUpdateDocumentBody: z.ZodObject<{
10945
- file: z.ZodString;
11306
+ file: z.ZodOptional<z.ZodString>;
10946
11307
  filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10947
11308
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10948
11309
  }, z.core.$strip>;
@@ -11622,18 +11983,18 @@ export declare const zGetServiceScheduleTemplateResponse: z.ZodObject<{
11622
11983
  updated_at: z.ZodISODateTime;
11623
11984
  }, z.core.$strip>;
11624
11985
  export declare const zUpdateServiceScheduleTemplateBody: z.ZodObject<{
11625
- kind: z.ZodEnum<{
11986
+ kind: z.ZodOptional<z.ZodEnum<{
11626
11987
  maintenance: "maintenance";
11627
11988
  calibration: "calibration";
11628
- }>;
11989
+ }>>;
11629
11990
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11630
- interval_unit: z.ZodEnum<{
11991
+ interval_unit: z.ZodOptional<z.ZodEnum<{
11631
11992
  year: "year";
11632
11993
  month: "month";
11633
11994
  week: "week";
11634
11995
  day: "day";
11635
- }>;
11636
- interval_count: z.ZodInt;
11996
+ }>>;
11997
+ interval_count: z.ZodOptional<z.ZodInt>;
11637
11998
  performed_by_user_id: z.ZodString;
11638
11999
  }, z.core.$strip>;
11639
12000
  export declare const zUpdateServiceScheduleTemplatePath: z.ZodObject<{
@@ -12898,9 +13259,9 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
12898
13259
  updated_at: z.ZodISODateTime;
12899
13260
  }, z.core.$strip>;
12900
13261
  export declare const zUpdateUserCertificationBody: z.ZodObject<{
12901
- user_id: z.ZodString;
12902
- certification_id: z.ZodString;
12903
- received_at: z.ZodISODateTime;
13262
+ user_id: z.ZodOptional<z.ZodString>;
13263
+ certification_id: z.ZodOptional<z.ZodString>;
13264
+ received_at: z.ZodOptional<z.ZodISODateTime>;
12904
13265
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12905
13266
  name: z.ZodString;
12906
13267
  content: z.ZodString;
@@ -13829,14 +14190,14 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
13829
14190
  updated_at: z.ZodISODateTime;
13830
14191
  }, z.core.$strip>;
13831
14192
  export declare const zUpdateCustomFieldConfigBody: z.ZodObject<{
13832
- name: z.ZodString;
14193
+ name: z.ZodOptional<z.ZodString>;
13833
14194
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13834
- model_type: z.ZodEnum<{
14195
+ model_type: z.ZodOptional<z.ZodEnum<{
13835
14196
  job: "job";
13836
14197
  apprenticeship_apprentice: "apprenticeship_apprentice";
13837
14198
  company: "company";
13838
14199
  user_company: "user_company";
13839
- }>;
14200
+ }>>;
13840
14201
  visible: z.ZodOptional<z.ZodBoolean>;
13841
14202
  }, z.core.$strip>;
13842
14203
  export declare const zUpdateCustomFieldConfigPath: z.ZodObject<{
@@ -14266,8 +14627,8 @@ export declare const zGetJobScopePriceResponse: z.ZodObject<{
14266
14627
  updated_at: z.ZodISODateTime;
14267
14628
  }, z.core.$strip>;
14268
14629
  export declare const zUpdateJobScopePriceBody: z.ZodObject<{
14269
- scope_kind: z.ZodString;
14270
- unit_price: z.ZodString;
14630
+ scope_kind: z.ZodOptional<z.ZodString>;
14631
+ unit_price: z.ZodOptional<z.ZodString>;
14271
14632
  contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
14272
14633
  unit_of_measure: z.ZodOptional<z.ZodString>;
14273
14634
  }, z.core.$strip>;
@@ -15511,12 +15872,12 @@ export declare const zListJobsResponse: z.ZodObject<{
15511
15872
  /**
15512
15873
  * Create a job
15513
15874
  */
15514
- export declare const zCreateJobBody: z.ZodObject<{
15875
+ export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
15515
15876
  template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15516
15877
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15517
15878
  description: z.ZodOptional<z.ZodString>;
15518
- requested_by_company_id: z.ZodString;
15519
- created_by_user_id: z.ZodString;
15879
+ requested_by_company_id: z.ZodOptional<z.ZodString>;
15880
+ created_by_user_id: z.ZodOptional<z.ZodString>;
15520
15881
  manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15521
15882
  purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15522
15883
  project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -15596,7 +15957,7 @@ export declare const zCreateJobBody: z.ZodObject<{
15596
15957
  il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15597
15958
  ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15598
15959
  }, z.core.$strip>>;
15599
- }, z.core.$strip>;
15960
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15600
15961
  /**
15601
15962
  * Created
15602
15963
  */
@@ -15810,8 +16171,8 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
15810
16171
  template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15811
16172
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15812
16173
  description: z.ZodOptional<z.ZodString>;
15813
- requested_by_company_id: z.ZodString;
15814
- created_by_user_id: z.ZodString;
16174
+ requested_by_company_id: z.ZodOptional<z.ZodString>;
16175
+ created_by_user_id: z.ZodOptional<z.ZodString>;
15815
16176
  manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15816
16177
  purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15817
16178
  project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19116,7 +19477,7 @@ export declare const zCreateProjectBody: z.ZodObject<{
19116
19477
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19117
19478
  name: z.ZodString;
19118
19479
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19119
- created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19480
+ created_by_user_id: z.ZodString;
19120
19481
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
19121
19482
  end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
19122
19483
  tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19228,7 +19589,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
19228
19589
  }, z.core.$strip>;
19229
19590
  export declare const zUpdateProjectBody: z.ZodObject<{
19230
19591
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19231
- name: z.ZodString;
19592
+ name: z.ZodOptional<z.ZodString>;
19232
19593
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19233
19594
  created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19234
19595
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;