@dsptch-work/api-client 0.45.0 → 0.47.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.
@@ -194,6 +194,18 @@ export const zProblem = z.object({
194
194
  *
195
195
  * The company already has a pay schedule, including one starting in the future or ending in the past. Use the existing schedule instead of creating another.
196
196
  *
197
+ * ### pay_schedule_deletion_in_progress
198
+ *
199
+ * **Pay Schedule Deletion In Progress**
200
+ *
201
+ * A reset or deletion is already running for this pay schedule. Wait until it finishes, then retry if the schedule is still present.
202
+ *
203
+ * ### pay_schedule_deletion_refused
204
+ *
205
+ * **Pay Schedule Deletion Refused**
206
+ *
207
+ * This pay schedule cannot be deleted because it holds recorded time, payroll data, approvals, comments, exports, or payroll mappings that must be retained.
208
+ *
197
209
  * ### product_archived
198
210
  *
199
211
  * **Product Archived**
@@ -415,6 +427,8 @@ export const zProblemTypeCatalog = z.enum([
415
427
  'authorization_revoked',
416
428
  'import_in_progress',
417
429
  'pay_schedule_already_exists',
430
+ 'pay_schedule_deletion_in_progress',
431
+ 'pay_schedule_deletion_refused',
418
432
  'product_archived',
419
433
  'recorded_since_termination',
420
434
  'span_beyond_timeline_end',
@@ -465,6 +479,7 @@ export const zDirectUploadParameters = z.object({
465
479
  'assets.items.documents',
466
480
  'assets.items.service_events',
467
481
  'assets.products',
482
+ 'assets.products.documents',
468
483
  'assets.vendors',
469
484
  'compliance.checks',
470
485
  'form_submissions',
@@ -472,6 +487,7 @@ export const zDirectUploadParameters = z.object({
472
487
  'internal.company_todos',
473
488
  'internal.job_todos',
474
489
  'internal.project_todos',
490
+ 'jobs',
475
491
  'jobs.documents',
476
492
  'jobs.pwa.apprenticeship.good_faith_effort_exceptions',
477
493
  'jobs.pwa.cure_payments',
@@ -2554,6 +2570,7 @@ export const zPwaTradeApprenticeshipOccupationUpdateParameters = z.object({
2554
2570
  * Prevailing-wage / apprenticeship (PWA) compliance details for a job, used in certified-payroll reporting. Common fields are always present when this object exists; regional fields appear only when applicable to the job's region and regional PWA mode. The property is null when no PWA details have been configured; PWA tracking modes alone do not materialize it.
2555
2571
  */
2556
2572
  export const zPwaJobDetailsResponseObject = z.object({
2573
+ lock_in_date: z.iso.date().nullable(),
2557
2574
  contractor_type: z.enum(['prime_contractor', 'sub_contractor']).nullable(),
2558
2575
  pay_full_cash_fringe_by_default: z.boolean(),
2559
2576
  dir_awarding_body_id: z.string().nullish(),
@@ -2569,7 +2586,15 @@ export const zPwaJobDetailsResponseObject = z.object({
2569
2586
  il_dol_public_body_address_id: z.string().nullish(),
2570
2587
  il_dol_contract_number: z.string().nullish(),
2571
2588
  il_shines_project_id: z.string().nullish(),
2572
- ny_dol_prc_number: z.string().nullish()
2589
+ ny_dol_prc_number: z.string().nullish(),
2590
+ effective_lock_in_date: z.iso.date().readonly().nullable(),
2591
+ lock_in_date_doc: z.object({
2592
+ id: z.string(),
2593
+ filename: z.string(),
2594
+ content_type: z.string(),
2595
+ byte_size: z.int(),
2596
+ url: z.string()
2597
+ }).readonly().nullable()
2573
2598
  }).nullable();
2574
2599
  /**
2575
2600
  * Parameters for creating a job. Sets the job's schedule, work types, address, custom-field values, and optional Prevailing Wage / Apprenticeship (PWA) compliance. `requested_by_company_id` and `created_by_user_id` are required unless `template_id` names a template, whose copy keeps both. Undeclared body keys return 400, and a null for a field that is not nullable or a wrongly typed value returns 422 at its pointer, before any job or relationship is saved.
@@ -2577,6 +2602,8 @@ export const zPwaJobDetailsResponseObject = z.object({
2577
2602
  export const zJobCreateParameters = z.object({
2578
2603
  created_by_user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
2579
2604
  template_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).nullish(),
2605
+ lock_in_date_doc_signed_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
2606
+ performed_by_user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
2580
2607
  name: z.string().nullish(),
2581
2608
  description: z.string().optional(),
2582
2609
  requested_by_company_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
@@ -2615,6 +2642,12 @@ export const zJobCreateParameters = z.object({
2615
2642
  'feature',
2616
2643
  'quantity'
2617
2644
  ]).optional(),
2645
+ work_classification: z.enum([
2646
+ 'unspecified',
2647
+ 'construction',
2648
+ 'long_term_service',
2649
+ 'one_time_service'
2650
+ ]).optional(),
2618
2651
  manager_user_ids: z.array(z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)).optional(),
2619
2652
  timekeeping_timecode_ids: z.array(z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)).optional(),
2620
2653
  job_work_types_attributes: z.array(z.object({
@@ -2640,6 +2673,7 @@ export const zJobCreateParameters = z.object({
2640
2673
  value: z.string().nullable()
2641
2674
  })).optional(),
2642
2675
  pwa_details: z.object({
2676
+ lock_in_date: z.iso.date().nullish(),
2643
2677
  contractor_type: z.enum(['prime_contractor', 'sub_contractor']).nullish(),
2644
2678
  pay_full_cash_fringe_by_default: z.boolean().optional(),
2645
2679
  dir_awarding_body_id: z.string().nullish(),
@@ -2662,6 +2696,8 @@ export const zJobCreateParameters = z.object({
2662
2696
  * 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 and custom-field changes. Sending `created_by_user_id` returns 400 unknown_key, including when it matches the existing creator or is null. Undeclared body keys return 400, and a null for a field that is not nullable or a wrongly typed value returns 422 at its pointer, before any job or relationship changes.
2663
2697
  */
2664
2698
  export const zJobUpdateParameters = z.object({
2699
+ lock_in_date_doc_signed_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
2700
+ performed_by_user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
2665
2701
  name: z.string().nullish(),
2666
2702
  description: z.string().optional(),
2667
2703
  requested_by_company_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
@@ -2700,6 +2736,12 @@ export const zJobUpdateParameters = z.object({
2700
2736
  'feature',
2701
2737
  'quantity'
2702
2738
  ]).optional(),
2739
+ work_classification: z.enum([
2740
+ 'unspecified',
2741
+ 'construction',
2742
+ 'long_term_service',
2743
+ 'one_time_service'
2744
+ ]).optional(),
2703
2745
  manager_user_ids: z.array(z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)).optional(),
2704
2746
  timekeeping_timecode_ids: z.array(z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)).optional(),
2705
2747
  job_work_types_attributes: z.array(z.object({
@@ -2725,6 +2767,7 @@ export const zJobUpdateParameters = z.object({
2725
2767
  value: z.string().nullable()
2726
2768
  })).optional(),
2727
2769
  pwa_details: z.object({
2770
+ lock_in_date: z.iso.date().nullish(),
2728
2771
  contractor_type: z.enum(['prime_contractor', 'sub_contractor']).nullish(),
2729
2772
  pay_full_cash_fringe_by_default: z.boolean().optional(),
2730
2773
  dir_awarding_body_id: z.string().nullish(),
@@ -6321,6 +6364,12 @@ export const zJobResponseObject = z.object({
6321
6364
  tracks_feature_allocations: z.boolean(),
6322
6365
  requires_feature_allocation: z.boolean(),
6323
6366
  max_one_feature_allocation: z.boolean(),
6367
+ work_classification: z.enum([
6368
+ 'unspecified',
6369
+ 'construction',
6370
+ 'long_term_service',
6371
+ 'one_time_service'
6372
+ ]),
6324
6373
  production_tracking_kind: z.enum([
6325
6374
  'none',
6326
6375
  'feature',
@@ -8196,7 +8245,27 @@ export const zAssetsDocumentResponseObject = z.object({
8196
8245
  updated_at: z.iso.datetime()
8197
8246
  });
8198
8247
  /**
8199
- * Attach a file to an asset item as a document. file is required and takes a signed_id from the direct-upload endpoint.
8248
+ * A file attached to an asset product — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
8249
+ */
8250
+ export const zAssetsProductDocumentResponseObject = z.object({
8251
+ id: z.string(),
8252
+ assets_product_id: z.string(),
8253
+ name: z.string(),
8254
+ filename: z.string().nullable(),
8255
+ description: z.string().nullable(),
8256
+ certified: z.boolean(),
8257
+ created_by_user_id: z.string(),
8258
+ file: z.object({
8259
+ filename: z.string(),
8260
+ content_type: z.string().nullable(),
8261
+ byte_size: z.int(),
8262
+ url: z.string()
8263
+ }).nullable(),
8264
+ created_at: z.iso.datetime(),
8265
+ updated_at: z.iso.datetime()
8266
+ });
8267
+ /**
8268
+ * Attach a file to an asset item or product as a document. file is required and takes a signed_id from the direct-upload endpoint.
8200
8269
  */
8201
8270
  export const zAssetsDocumentParameters = z.object({
8202
8271
  file: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/),
@@ -8205,7 +8274,7 @@ export const zAssetsDocumentParameters = z.object({
8205
8274
  performed_by_user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)
8206
8275
  });
8207
8276
  /**
8208
- * 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. A document always holds a file, so null answers 422, as does a blank string.
8277
+ * Update an asset item or product 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. A document always holds a file, so null answers 422, as does a blank string.
8209
8278
  */
8210
8279
  export const zAssetsDocumentUpdateParameters = z.object({
8211
8280
  file: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
@@ -8213,7 +8282,7 @@ export const zAssetsDocumentUpdateParameters = z.object({
8213
8282
  description: z.string().nullish()
8214
8283
  });
8215
8284
  /**
8216
- * 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.
8285
+ * One entry in an asset document's change history, recorded whenever the document is created, updated, or deleted — including when only its attached file is replaced.
8217
8286
  */
8218
8287
  export const zAssetsDocumentVersionResponseObject = z.object({
8219
8288
  id: z.int(),
@@ -8732,19 +8801,23 @@ export const zAssetsTransferParameters = z.object({
8732
8801
  })).min(1)
8733
8802
  });
8734
8803
  /**
8735
- * Add stock of a bulk product at a site, recording a receive transaction. Bulk products only.
8804
+ * Add stock of a bulk product to a holder — a site, a user's custody, or a container — recording a receive transaction. Name the holder with exactly one of assets_site_id, user_id, or container_item_id; several answer 422 at each named key, and none answers 422. Bulk products only.
8736
8805
  */
8737
8806
  export const zAssetsRestockParameters = z.object({
8738
- assets_site_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/),
8807
+ assets_site_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
8808
+ user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
8809
+ container_item_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
8739
8810
  assets_sub_location_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).nullish(),
8740
8811
  quantity: z.int().gte(1),
8741
8812
  performed_by_user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)
8742
8813
  });
8743
8814
  /**
8744
- * Set the on-hand count of a bulk product at a site to a specific number, recording the difference as an adjustment transaction. The site must already stock the product. Bulk products only.
8815
+ * Set the count of a bulk product held by a holder — a site, a user's custody, or a container — to a specific number, recording the difference as an adjustment transaction. Name the holder with exactly one of assets_site_id, user_id, or container_item_id; several answer 422 at each named key, and none answers 422. The holder must already hold the product. Bulk products only.
8745
8816
  */
8746
8817
  export const zAssetsAdjustmentParameters = z.object({
8747
- assets_site_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/),
8818
+ assets_site_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
8819
+ user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
8820
+ container_item_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).optional(),
8748
8821
  assets_sub_location_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/).nullish(),
8749
8822
  new_quantity: z.int().gte(0),
8750
8823
  performed_by_user_id: z.string().regex(/[^\x09-\x0D\x20…   - ‧-‪   ]|[‧‪]/)
@@ -8777,6 +8850,115 @@ export const zCompetencyStandardArchiveParametersWritable = z.record(z.string(),
8777
8850
  * Revoke an active grant. The body takes no fields; send an empty object or no body. Revocation sets revoked_at and keeps the row; revoking it again answers 409 authorization_revoked.
8778
8851
  */
8779
8852
  export const zCompetencyAssessorAuthorizationRevocationParametersWritable = z.record(z.string(), z.never());
8853
+ /**
8854
+ * Prevailing-wage / apprenticeship (PWA) compliance details for a job, used in certified-payroll reporting. Common fields are always present when this object exists; regional fields appear only when applicable to the job's region and regional PWA mode. The property is null when no PWA details have been configured; PWA tracking modes alone do not materialize it.
8855
+ */
8856
+ export const zPwaJobDetailsResponseObjectWritable = z.object({
8857
+ lock_in_date: z.iso.date().nullable(),
8858
+ contractor_type: z.enum(['prime_contractor', 'sub_contractor']).nullable(),
8859
+ pay_full_cash_fringe_by_default: z.boolean(),
8860
+ dir_awarding_body_id: z.string().nullish(),
8861
+ dir_project_id: z.string().nullish(),
8862
+ dir_project_name: z.string().nullish(),
8863
+ dir_contract_id: z.string().nullish(),
8864
+ dir_project_awarding_body_name: z.string().nullish(),
8865
+ dir_project_number: z.string().nullish(),
8866
+ il_dol_project_id: z.string().nullish(),
8867
+ il_dol_state_capital_funds: z.boolean().nullish(),
8868
+ il_dol_public_body_name: z.string().nullish(),
8869
+ il_dol_public_body_contact_id: z.string().nullish(),
8870
+ il_dol_public_body_address_id: z.string().nullish(),
8871
+ il_dol_contract_number: z.string().nullish(),
8872
+ il_shines_project_id: z.string().nullish(),
8873
+ ny_dol_prc_number: z.string().nullish()
8874
+ }).nullable();
8875
+ /**
8876
+ * A job — the primary unit of work in DSPTCH. Workers fill its positions and track time against it; it optionally tracks Prevailing Wage / Apprenticeship (PWA) compliance and optionally belongs to a project. There is no delete endpoint — cancel or complete a job through its status instead.
8877
+ */
8878
+ export const zJobResponseObjectWritable = z.object({
8879
+ id: z.string(),
8880
+ display_id: z.int(),
8881
+ description: z.string(),
8882
+ scheduled_time: z.string().nullable(),
8883
+ created_at: z.iso.datetime(),
8884
+ updated_at: z.iso.datetime(),
8885
+ status: z.string(),
8886
+ start_time: z.iso.date().nullable(),
8887
+ end_time: z.iso.date().nullable(),
8888
+ purchase_order_number: z.string().nullable(),
8889
+ time_card_start_day: zTimeCardStartDay,
8890
+ tz_name: z.string(),
8891
+ require_clock_in: z.boolean(),
8892
+ clock_in_requirement: z.enum([
8893
+ 'none',
8894
+ 'warning',
8895
+ 'required'
8896
+ ]),
8897
+ name: z.string().nullable(),
8898
+ federal_pwa_mode: z.enum([
8899
+ 'all',
8900
+ 'pw_only',
8901
+ 'ap_only',
8902
+ 'none'
8903
+ ]),
8904
+ regional_pwa_mode: z.enum([
8905
+ 'all',
8906
+ 'pw_only',
8907
+ 'ap_only',
8908
+ 'none'
8909
+ ]),
8910
+ region: z.string().nullable(),
8911
+ send_geofence_reminders: z.boolean().nullable(),
8912
+ allow_customer_access: z.boolean(),
8913
+ created_by_company_id: z.string(),
8914
+ requested_by_company_id: z.string().nullable(),
8915
+ project_id: z.string().nullable(),
8916
+ companies_department_id: z.string().nullable(),
8917
+ manager_users: z.array(z.object({
8918
+ id: z.string(),
8919
+ name: z.string()
8920
+ })),
8921
+ created_by_user: z.object({
8922
+ id: z.string(),
8923
+ name: z.string()
8924
+ }),
8925
+ sites: z.array(z.object({
8926
+ name: z.string(),
8927
+ features: z.array(z.object({
8928
+ name: z.string()
8929
+ }))
8930
+ })),
8931
+ job_address: z.object({
8932
+ label: z.string()
8933
+ }).nullable(),
8934
+ positions: z.array(z.object({
8935
+ position_function: zPositionFunction,
8936
+ fulfilled_by_user_id: z.string().nullable()
8937
+ })),
8938
+ project: z.object({
8939
+ name: z.string()
8940
+ }).nullable(),
8941
+ pwa_details: zPwaJobDetailsResponseObjectWritable,
8942
+ work_types: z.array(z.object({
8943
+ value: z.string()
8944
+ })),
8945
+ timekeeping_timecode_ids: z.array(z.string()),
8946
+ tracks_feature_allocations: z.boolean(),
8947
+ requires_feature_allocation: z.boolean(),
8948
+ max_one_feature_allocation: z.boolean(),
8949
+ work_classification: z.enum([
8950
+ 'unspecified',
8951
+ 'construction',
8952
+ 'long_term_service',
8953
+ 'one_time_service'
8954
+ ]),
8955
+ production_tracking_kind: z.enum([
8956
+ 'none',
8957
+ 'feature',
8958
+ 'quantity'
8959
+ ]),
8960
+ custom_fields: z.array(zCustomFieldResponseObject)
8961
+ });
8780
8962
  /**
8781
8963
  * A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
8782
8964
  */
@@ -9827,6 +10009,76 @@ export const zSyncServiceScheduleTemplateResponse = z.object({
9827
10009
  count: z.int(),
9828
10010
  data: z.array(zAssetsServiceScheduleResponseObject)
9829
10011
  });
10012
+ export const zListProductDocumentsPath = z.object({
10013
+ product_id: z.string()
10014
+ });
10015
+ export const zListProductDocumentsQuery = z.object({
10016
+ filter: z.string().optional(),
10017
+ 'filter[unexpected]': z.string().optional(),
10018
+ 'page[cursor]': z.string().optional(),
10019
+ 'page[limit]': z.int().gte(1).optional().default(20),
10020
+ page: z.string().optional()
10021
+ });
10022
+ /**
10023
+ * Success
10024
+ */
10025
+ export const zListProductDocumentsResponse = z.object({
10026
+ meta: zMeta,
10027
+ links: zLinks,
10028
+ data: z.array(zAssetsProductDocumentResponseObject)
10029
+ });
10030
+ export const zCreateProductDocumentBody = zAssetsDocumentParameters;
10031
+ export const zCreateProductDocumentPath = z.object({
10032
+ product_id: z.string()
10033
+ });
10034
+ /**
10035
+ * Created
10036
+ */
10037
+ export const zCreateProductDocumentResponse = zAssetsProductDocumentResponseObject;
10038
+ export const zDeleteProductDocumentPath = z.object({
10039
+ product_id: z.string(),
10040
+ id: z.string()
10041
+ });
10042
+ /**
10043
+ * No Content
10044
+ */
10045
+ export const zDeleteProductDocumentResponse = z.void();
10046
+ export const zGetProductDocumentPath = z.object({
10047
+ product_id: z.string(),
10048
+ id: z.string()
10049
+ });
10050
+ /**
10051
+ * Success
10052
+ */
10053
+ export const zGetProductDocumentResponse = zAssetsProductDocumentResponseObject;
10054
+ export const zUpdateProductDocumentBody = zAssetsDocumentUpdateParameters;
10055
+ export const zUpdateProductDocumentPath = z.object({
10056
+ product_id: z.string(),
10057
+ id: z.string()
10058
+ });
10059
+ /**
10060
+ * Success
10061
+ */
10062
+ export const zUpdateProductDocumentResponse = zAssetsProductDocumentResponseObject;
10063
+ export const zListProductDocumentVersionsPath = z.object({
10064
+ product_id: z.string(),
10065
+ document_id: z.string()
10066
+ });
10067
+ export const zListProductDocumentVersionsQuery = z.object({
10068
+ 'page[cursor]': z.string().optional(),
10069
+ 'page[limit]': z.int().gte(1).optional().default(20),
10070
+ page: z.string().optional(),
10071
+ filter: z.string().optional(),
10072
+ 'filter[unexpected]': z.string().optional()
10073
+ });
10074
+ /**
10075
+ * Success
10076
+ */
10077
+ export const zListProductDocumentVersionsResponse = z.object({
10078
+ meta: zMeta,
10079
+ links: zLinks,
10080
+ data: z.array(zAssetsDocumentVersionResponseObject)
10081
+ });
9830
10082
  export const zListAssetsSitesQuery = z.object({
9831
10083
  'filter[created_at][gte]': z.iso.datetime().optional(),
9832
10084
  'filter[created_at][lte]': z.iso.datetime().optional(),
@@ -11946,6 +12198,13 @@ export const zCreateJobBody = zJobCreateParameters;
11946
12198
  * Created
11947
12199
  */
11948
12200
  export const zCreateJobResponse = zJobResponseObject;
12201
+ export const zDeleteJobPath = z.object({
12202
+ id: z.string()
12203
+ });
12204
+ /**
12205
+ * No Content
12206
+ */
12207
+ export const zDeleteJobResponse = z.void();
11949
12208
  export const zGetJobPath = z.object({
11950
12209
  id: z.string()
11951
12210
  });
@@ -14676,6 +14935,12 @@ export const zCreatePayPeriodConfigBody = zPayPeriodConfigParameters;
14676
14935
  * Created
14677
14936
  */
14678
14937
  export const zCreatePayPeriodConfigResponse = zPayPeriodConfigResponseObject;
14938
+ export const zDeletePayPeriodConfigHeaders = z.object({
14939
+ 'If-Match': z.string()
14940
+ });
14941
+ export const zDeletePayPeriodConfigPath = z.object({
14942
+ id: z.string()
14943
+ });
14679
14944
  export const zGetPayPeriodConfigPath = z.object({
14680
14945
  id: z.string()
14681
14946
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsptch-work/api-client",
3
- "version": "0.45.0",
3
+ "version": "0.47.0",
4
4
  "description": "Generated TypeScript client for the DSPTCH REST API.",
5
5
  "keywords": [
6
6
  "dsptch",