@dsptch-work/api-client 0.4.0 → 0.6.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.
@@ -21,6 +21,10 @@ export type Problem = {
21
21
  * A human-readable description of this occurrence. Not contractual — wording may change.
22
22
  */
23
23
  detail: string;
24
+ /**
25
+ * An opaque URN identifying this one occurrence of the failure, carrying the request's id. Quote it when correlating a failure with support or your logs.
26
+ */
27
+ instance?: string;
24
28
  };
25
29
  /**
26
30
  * Error types
@@ -160,6 +164,20 @@ export type Problem = {
160
164
  *
161
165
  * Cancelling this timecode's scheduled termination would silently discard changes recorded since it was terminated. Re-read the timecode and reconcile before retrying.
162
166
  *
167
+ * ### version_overlap
168
+ *
169
+ * **Version Overlap**
170
+ *
171
+ * The write conflicts with what is already recorded for the resource — another version occupies the same span, or the write contradicts the resource's recorded identity. Re-read the current state and retry on top of it.
172
+ *
173
+ * ## 412
174
+ *
175
+ * ### precondition_failed
176
+ *
177
+ * **Precondition Failed**
178
+ *
179
+ * The `If-Match` validator names a version of this resource that is no longer current — the version family changed after you read it. Re-read the resource, take its fresh `ETag`, and reapply your change on top of the current state. A malformed or unrecognizable validator refuses the same way, since neither matches.
180
+ *
163
181
  * ## 422
164
182
  *
165
183
  * ### attachment_not_image
@@ -264,6 +282,14 @@ export type Problem = {
264
282
  *
265
283
  * The apprentice's wage schedule does not belong to the program in the URL. Use a schedule from that program.
266
284
  *
285
+ * ## 428
286
+ *
287
+ * ### precondition_required
288
+ *
289
+ * **Precondition Required**
290
+ *
291
+ * The write must state which version of the resource it was composed against, and no `If-Match` was sent. Read the resource, send its `ETag` back as `If-Match`, or send `If-Match: *` to write unconditionally against whatever exists.
292
+ *
267
293
  * ## 429
268
294
  *
269
295
  * ### too_many_requests
@@ -281,7 +307,7 @@ export type Problem = {
281
307
  * Something failed on the server; nothing in the request needs fixing. Retry later, or report the problem if it persists.
282
308
  *
283
309
  */
284
- export type ProblemTypeCatalog = 'blank_axis' | 'invalid_cursor' | 'invalid_filter_key' | 'invalid_limit' | 'invalid_signature' | 'non_range_filter_value' | 'non_scalar_axis' | 'non_scalar_filter_value' | 'parameter_missing' | 'parameter_not_object' | 'unknown_axis' | 'unknown_key' | 'unsupported_axis' | 'valid_axis_on_timeline' | 'unauthorized' | 'company_scoped_key_required' | 'forbidden' | 'insufficient_api_key_scope' | 'not_found' | 'recorded_since_termination' | 'attachment_not_image' | 'company_not_employer' | 'confirm_apprenticeship_conflict' | 'destroy_restricted' | 'invalid_date' | 'invalid_filter_value' | 'invalid_iso8601_duration' | 'invalid_placement_move' | 'invalid_signed_id' | 'non_numeric_cents' | 'nothing_to_cancel' | 'pagination_failed' | 'subtype_foreign_keys' | 'synced_determination' | 'user_not_company_member' | 'validation_failed' | 'wage_schedule_outside_program' | 'too_many_requests' | 'internal_error';
310
+ export type ProblemTypeCatalog = 'blank_axis' | 'invalid_cursor' | 'invalid_filter_key' | 'invalid_limit' | 'invalid_signature' | 'non_range_filter_value' | 'non_scalar_axis' | 'non_scalar_filter_value' | 'parameter_missing' | 'parameter_not_object' | 'unknown_axis' | 'unknown_key' | 'unsupported_axis' | 'valid_axis_on_timeline' | 'unauthorized' | 'company_scoped_key_required' | 'forbidden' | 'insufficient_api_key_scope' | 'not_found' | 'recorded_since_termination' | 'version_overlap' | 'precondition_failed' | 'attachment_not_image' | 'company_not_employer' | 'confirm_apprenticeship_conflict' | 'destroy_restricted' | 'invalid_date' | 'invalid_filter_value' | 'invalid_iso8601_duration' | 'invalid_placement_move' | 'invalid_signed_id' | 'non_numeric_cents' | 'nothing_to_cancel' | 'pagination_failed' | 'subtype_foreign_keys' | 'synced_determination' | 'user_not_company_member' | 'validation_failed' | 'wage_schedule_outside_program' | 'precondition_required' | 'too_many_requests' | 'internal_error';
285
311
  export type ApiKeyScopeResponseObject = {
286
312
  resource: string;
287
313
  action: 'read' | 'create' | 'update' | 'delete';
@@ -2342,9 +2368,13 @@ export type JobResponseObject = {
2342
2368
  */
2343
2369
  tz_name: string;
2344
2370
  /**
2345
- * Whether workers must clock in to track time on this job; null when unset.
2371
+ * Compatibility alias true when clock_in_requirement is warning or required; always boolean.
2372
+ */
2373
+ require_clock_in: boolean;
2374
+ /**
2375
+ * Clock-in enforcement level: one of none (no guidance), warning (compliance warning on manual entries), or required (hard stop for technician web CUD and GraphQL owner CUD, including client-claimed punches, until a server-verified punch path exists; company-authed API v1 is intentionally ungated).
2346
2376
  */
2347
- require_clock_in: boolean | null;
2377
+ clock_in_requirement: 'none' | 'warning' | 'required';
2348
2378
  /**
2349
2379
  * Human-readable job name, unique within the creating company; null when unset.
2350
2380
  */
@@ -2659,9 +2689,13 @@ export type JobParameters = {
2659
2689
  tz_name?: string;
2660
2690
  time_card_start_day?: TimeCardStartDay;
2661
2691
  /**
2662
- * Whether workers must clock in to track time on this job; null when unset.
2692
+ * Compatibility alias true ensures at least warning (never downgrades required); false or null clears to none; omit to leave unchanged. Prefer clock_in_requirement.
2663
2693
  */
2664
2694
  require_clock_in?: boolean | null;
2695
+ /**
2696
+ * Clock-in enforcement level: one of none (no guidance), warning (compliance warning on manual entries), or required (hard stop for technician web CUD and GraphQL owner CUD, including client-claimed punches, until a server-verified punch path exists; company-authed API v1 is intentionally ungated). Omit the field to leave the current value unchanged.
2697
+ */
2698
+ clock_in_requirement?: 'none' | 'warning' | 'required';
2665
2699
  /**
2666
2700
  * Whether to send geofence-based clock-in/out reminders for this job; null when unset.
2667
2701
  */
@@ -3070,7 +3104,7 @@ export type UserResponseObject = {
3070
3104
  */
3071
3105
  race?: Array<string> | null;
3072
3106
  /**
3073
- * Worker sex for demographic reporting: one of FEMALE, MALE, NON_BINARY, or NOT_SPECIFIED. Null when unset.
3107
+ * Worker sex for demographic reporting: one of female, male, non_binary, or not_specified. Null when unset.
3074
3108
  */
3075
3109
  sex?: string | null;
3076
3110
  /**
@@ -3086,11 +3120,11 @@ export type UserResponseObject = {
3086
3120
  */
3087
3121
  drivers_license_number?: string | null;
3088
3122
  /**
3089
- * Veteran status per US Census definitions: one of PROTECTED_VETERAN, NOT_PROTECTED_VETERAN, RESERVES, GUARD, or NOT_SPECIFIED. Null when unset.
3123
+ * Veteran status per US Census definitions: one of protected_veteran, not_protected_veteran, reserves, guard, or not_specified. Null when unset.
3090
3124
  */
3091
3125
  veteran_status?: string | null;
3092
3126
  /**
3093
- * Whether the worker is of Hispanic origin per US Census definitions: one of YES, NO, or NOT_SPECIFIED. Null when unset.
3127
+ * Whether the worker is of Hispanic origin per US Census definitions: one of yes, no, or not_specified. Null when unset.
3094
3128
  */
3095
3129
  hispanic_origin?: string | null;
3096
3130
  /**
@@ -3359,7 +3393,7 @@ export type UserParameters = {
3359
3393
  */
3360
3394
  race?: Array<string> | null;
3361
3395
  /**
3362
- * Worker sex for demographic reporting: one of FEMALE, MALE, NON_BINARY, or NOT_SPECIFIED.
3396
+ * Worker sex for demographic reporting: one of female, male, non_binary, or not_specified.
3363
3397
  */
3364
3398
  sex?: string | null;
3365
3399
  /**
@@ -3375,11 +3409,11 @@ export type UserParameters = {
3375
3409
  */
3376
3410
  drivers_license_number?: string | null;
3377
3411
  /**
3378
- * Veteran status per US Census definitions: one of PROTECTED_VETERAN, NOT_PROTECTED_VETERAN, RESERVES, GUARD, or NOT_SPECIFIED.
3412
+ * Veteran status per US Census definitions: one of protected_veteran, not_protected_veteran, reserves, guard, or not_specified.
3379
3413
  */
3380
3414
  veteran_status?: string | null;
3381
3415
  /**
3382
- * Whether the worker is of Hispanic origin per US Census definitions: one of YES, NO, or NOT_SPECIFIED.
3416
+ * Whether the worker is of Hispanic origin per US Census definitions: one of yes, no, or not_specified.
3383
3417
  */
3384
3418
  hispanic_origin?: string | null;
3385
3419
  /**
@@ -6832,11 +6866,11 @@ export type UserCertificationParameters = {
6832
6866
  /**
6833
6867
  * File name of the proof document, including its extension (for example "gwo-cert.pdf").
6834
6868
  */
6835
- name?: string;
6869
+ name: string;
6836
6870
  /**
6837
6871
  * Base64-encoded contents of the proof document.
6838
6872
  */
6839
- content?: string;
6873
+ content: string;
6840
6874
  } | null;
6841
6875
  /**
6842
6876
  * Whether DSPTCH has verified this held certification. Distinct from the verified flag on the certification definition itself.
@@ -7834,7 +7868,7 @@ export type AssetsVendorParameters = {
7834
7868
  logo_signed_id?: string;
7835
7869
  };
7836
7870
  /**
7837
- * A physical container that holds a company's assets and inventory — either a fixed, Atlas-mapped location (warehouse or yard) or a standalone mobile container (trailer, truck, van, or conex).
7871
+ * A location that holds a company's assets and inventory — a warehouse or yard, optionally backed by a site on the Atlas map.
7838
7872
  */
7839
7873
  export type AssetsSiteResponseObject = {
7840
7874
  /**
@@ -7846,19 +7880,19 @@ export type AssetsSiteResponseObject = {
7846
7880
  */
7847
7881
  company_id: string;
7848
7882
  /**
7849
- * ID of the Atlas map site that backs this location; null for the mobile kinds (trailer, truck, van, and conex).
7883
+ * ID of the Atlas map site that backs this location; null when the location is not on the map.
7850
7884
  */
7851
7885
  site_id: string | null;
7852
7886
  /**
7853
- * Physical container type: warehouse or yard (a fixed, Atlas-mapped location), or trailer, truck, van, or conex (a standalone mobile container).
7887
+ * Location type: warehouse or yard.
7854
7888
  */
7855
- kind: 'warehouse' | 'yard' | 'trailer' | 'truck' | 'van' | 'conex';
7889
+ kind: 'warehouse' | 'yard';
7856
7890
  /**
7857
7891
  * Display name for the location. Falls back to the backing Atlas site's name when not set directly, so it is always present.
7858
7892
  */
7859
7893
  name: string;
7860
7894
  /**
7861
- * Category of the backing Atlas site, taken from its site-type catalog; null for the mobile kinds. Read-only — derived from the backing site.
7895
+ * Category of the backing Atlas site, taken from its site-type catalog; null when the location is not backed by a map site. Read-only — derived from the backing site.
7862
7896
  */
7863
7897
  site_type: string | null;
7864
7898
  /**
@@ -7872,36 +7906,33 @@ export type AssetsSiteResponseObject = {
7872
7906
  };
7873
7907
  export type AssetsSiteParameters = ({
7874
7908
  /**
7875
- * Physical container type: warehouse or yard (a fixed, Atlas-mapped location), or trailer, truck, van, or conex (a standalone mobile container).
7876
- */
7877
- kind: 'warehouse' | 'yard';
7878
- /**
7879
- * ID of the Atlas map site to back this location. Required for warehouse and yard; omit for the mobile kinds (trailer, truck, van, and conex), where any value sent is ignored.
7909
+ * ID of the Atlas map site to back this location. Optional; omit for a standalone location that is not on the map.
7880
7910
  */
7881
7911
  site_id: string;
7882
7912
  } | {
7883
7913
  /**
7884
- * Physical container type: warehouse or yard (a fixed, Atlas-mapped location), or trailer, truck, van, or conex (a standalone mobile container).
7885
- */
7886
- kind: 'trailer' | 'truck' | 'van' | 'conex';
7887
- /**
7888
- * Display name for the location. Required for the mobile kinds; optional for warehouse and yard, which fall back to the backing Atlas site's name.
7914
+ * Display name for the location. Required when no backing site_id is given; otherwise falls back to the backing Atlas site's name.
7889
7915
  */
7890
7916
  name: string;
7891
7917
  }) & {
7892
7918
  /**
7893
- * Physical container type: warehouse or yard (a fixed, Atlas-mapped location), or trailer, truck, van, or conex (a standalone mobile container).
7919
+ * Location type: warehouse or yard.
7894
7920
  */
7895
- kind: 'warehouse' | 'yard' | 'trailer' | 'truck' | 'van' | 'conex';
7921
+ kind: 'warehouse' | 'yard';
7896
7922
  /**
7897
- * ID of the Atlas map site to back this location. Required for warehouse and yard; omit for the mobile kinds (trailer, truck, van, and conex), where any value sent is ignored.
7923
+ * ID of the Atlas map site to back this location. Optional; omit for a standalone location that is not on the map.
7898
7924
  */
7899
7925
  site_id?: string | null;
7900
7926
  /**
7901
- * Display name for the location. Required for the mobile kinds; optional for warehouse and yard, which fall back to the backing Atlas site's name.
7927
+ * Display name for the location. Required when no backing site_id is given; otherwise falls back to the backing Atlas site's name.
7902
7928
  */
7903
7929
  name?: string | null;
7904
7930
  };
7931
+ export type AssetsSiteUpdateParameters = {
7932
+ kind?: 'warehouse' | 'yard';
7933
+ site_id?: string | null;
7934
+ name?: string | null;
7935
+ };
7905
7936
  /**
7906
7937
  * A company-level rule that auto-generates asset form assignments. When an item of one of its products changes custody (an assignment or unassignment), the rule creates or refreshes a form task for the chosen users, due on the configured schedule.
7907
7938
  */
@@ -8300,7 +8331,7 @@ export type AssetsItemFormAssignmentParameters = {
8300
8331
  /**
8301
8332
  * ISO 8601 duration offset from the due time for the reminder (e.g. -PT1H for one hour before); must be one of the preset reminder times.
8302
8333
  */
8303
- offset?: string;
8334
+ offset: 'PT0S' | 'PT-1M' | 'PT-5M' | 'PT-10M' | 'PT-15M' | 'PT-30M' | 'PT-1H' | 'PT-2H' | 'P-1D' | 'P-2D' | 'P-3D' | 'P-4D' | 'P-5D' | 'P-6D' | 'P-1W' | 'P-2W' | 'P-1M' | 'P-2M' | 'P-3M' | 'P-6M' | 'P-1Y' | 'PT5M' | 'PT15M' | 'PT30M' | 'PT1H' | 'PT6H' | 'PT12H' | 'P1D' | 'P2D' | 'P3D' | 'P4D' | 'P5D' | 'P6D' | 'P1W' | 'P2W' | 'P3W';
8304
8335
  }>;
8305
8336
  };
8306
8337
  };
@@ -11494,7 +11525,7 @@ export type CreateSiteErrors = {
11494
11525
  */
11495
11526
  403: Problem;
11496
11527
  /**
11497
- * Unprocessable Content (site-backed kind missing site)
11528
+ * Unprocessable Content (no backing site and no name)
11498
11529
  */
11499
11530
  422: Problem;
11500
11531
  };
@@ -11555,7 +11586,7 @@ export type GetAssetsSiteResponses = {
11555
11586
  };
11556
11587
  export type GetAssetsSiteResponse = GetAssetsSiteResponses[keyof GetAssetsSiteResponses];
11557
11588
  export type UpdateSiteData = {
11558
- body: AssetsSiteParameters;
11589
+ body: AssetsSiteUpdateParameters;
11559
11590
  path: {
11560
11591
  id: string;
11561
11592
  };
@@ -13774,6 +13805,12 @@ export type CreateWageDeterminationResponses = {
13774
13805
  export type CreateWageDeterminationResponse = CreateWageDeterminationResponses[keyof CreateWageDeterminationResponses];
13775
13806
  export type DeleteWageDeterminationData = {
13776
13807
  body?: never;
13808
+ headers: {
13809
+ /**
13810
+ * Version validator this write is composed against — the `ETag` from a read of this wage determination, or `*` to write against whatever exists. See "Version validators" in the API overview.
13811
+ */
13812
+ 'If-Match': string;
13813
+ };
13777
13814
  path: {
13778
13815
  job_id: string;
13779
13816
  uid: string;
@@ -13790,10 +13827,18 @@ export type DeleteWageDeterminationErrors = {
13790
13827
  * Not Found
13791
13828
  */
13792
13829
  404: Problem;
13830
+ /**
13831
+ * Precondition Failed
13832
+ */
13833
+ 412: Problem;
13793
13834
  /**
13794
13835
  * Unprocessable Content
13795
13836
  */
13796
13837
  422: Problem;
13838
+ /**
13839
+ * Precondition Required
13840
+ */
13841
+ 428: Problem;
13797
13842
  };
13798
13843
  export type DeleteWageDeterminationError = DeleteWageDeterminationErrors[keyof DeleteWageDeterminationErrors];
13799
13844
  export type DeleteWageDeterminationResponses = {
@@ -15612,6 +15657,10 @@ export type CreateCompanyUserDetailData = {
15612
15657
  url: '/api/v1/pwa/company_user_details';
15613
15658
  };
15614
15659
  export type CreateCompanyUserDetailErrors = {
15660
+ /**
15661
+ * Bad Request
15662
+ */
15663
+ 400: Problem;
15615
15664
  /**
15616
15665
  * Forbidden
15617
15666
  */
@@ -15749,11 +15798,11 @@ export type CreateFormAssignmentTaskData = {
15749
15798
  created_by_user_id: string;
15750
15799
  time_due?: string;
15751
15800
  tz_name?: string;
15752
- frequency?: string;
15801
+ frequency?: 'DAILY' | 'WORKDAILY' | 'WORKDAILYSIX' | 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'QUARTERLY';
15753
15802
  recurrence_end_time?: string;
15754
15803
  task_assignee_user_ids?: Array<string>;
15755
15804
  reminders_attributes?: Array<{
15756
- offset?: string;
15805
+ offset: 'PT0S' | 'PT-1M' | 'PT-5M' | 'PT-10M' | 'PT-15M' | 'PT-30M' | 'PT-1H' | 'PT-2H' | 'P-1D' | 'P-2D' | 'P-3D' | 'P-4D' | 'P-5D' | 'P-6D' | 'P-1W' | 'P-2W' | 'P-1M' | 'P-2M' | 'P-3M' | 'P-6M' | 'P-1Y' | 'PT5M' | 'PT15M' | 'PT30M' | 'PT1H' | 'PT6H' | 'PT12H' | 'P1D' | 'P2D' | 'P3D' | 'P4D' | 'P5D' | 'P6D' | 'P1W' | 'P2W' | 'P3W';
15757
15806
  }>;
15758
15807
  };
15759
15808
  };
@@ -16539,6 +16588,12 @@ export type ListTimecodeHistoryResponses = {
16539
16588
  export type ListTimecodeHistoryResponse = ListTimecodeHistoryResponses[keyof ListTimecodeHistoryResponses];
16540
16589
  export type CancelTimecodeScheduledChangesData = {
16541
16590
  body?: never;
16591
+ headers: {
16592
+ /**
16593
+ * Version validator this write is composed against — the `ETag` from a read of this timecode, or `*` to write against whatever exists. See "Version validators" in the API overview.
16594
+ */
16595
+ 'If-Match': string;
16596
+ };
16542
16597
  path: {
16543
16598
  timecode_id: string;
16544
16599
  };
@@ -16554,10 +16609,18 @@ export type CancelTimecodeScheduledChangesErrors = {
16554
16609
  * Not Found
16555
16610
  */
16556
16611
  404: Problem;
16612
+ /**
16613
+ * Precondition Failed
16614
+ */
16615
+ 412: Problem;
16557
16616
  /**
16558
16617
  * Unprocessable Content
16559
16618
  */
16560
16619
  422: Problem;
16620
+ /**
16621
+ * Precondition Required
16622
+ */
16623
+ 428: Problem;
16561
16624
  };
16562
16625
  export type CancelTimecodeScheduledChangesError = CancelTimecodeScheduledChangesErrors[keyof CancelTimecodeScheduledChangesErrors];
16563
16626
  export type CancelTimecodeScheduledChangesResponses = {
@@ -16595,6 +16658,12 @@ export type ListTimecodeScheduledChangesResponses = {
16595
16658
  export type ListTimecodeScheduledChangesResponse = ListTimecodeScheduledChangesResponses[keyof ListTimecodeScheduledChangesResponses];
16596
16659
  export type ScheduleTimecodeChangeData = {
16597
16660
  body: TimecodeScheduledChangeParameters;
16661
+ headers: {
16662
+ /**
16663
+ * Version validator this write is composed against — the `ETag` from a read of this timecode, or `*` to write against whatever exists. See "Version validators" in the API overview.
16664
+ */
16665
+ 'If-Match': string;
16666
+ };
16598
16667
  path: {
16599
16668
  timecode_id: string;
16600
16669
  };
@@ -16614,10 +16683,18 @@ export type ScheduleTimecodeChangeErrors = {
16614
16683
  * Not Found
16615
16684
  */
16616
16685
  404: Problem;
16686
+ /**
16687
+ * Precondition Failed
16688
+ */
16689
+ 412: Problem;
16617
16690
  /**
16618
16691
  * Unprocessable Content
16619
16692
  */
16620
16693
  422: Problem;
16694
+ /**
16695
+ * Precondition Required
16696
+ */
16697
+ 428: Problem;
16621
16698
  };
16622
16699
  export type ScheduleTimecodeChangeError = ScheduleTimecodeChangeErrors[keyof ScheduleTimecodeChangeErrors];
16623
16700
  export type ScheduleTimecodeChangeResponses = {
@@ -16629,6 +16706,12 @@ export type ScheduleTimecodeChangeResponses = {
16629
16706
  export type ScheduleTimecodeChangeResponse = ScheduleTimecodeChangeResponses[keyof ScheduleTimecodeChangeResponses];
16630
16707
  export type CancelTimecodeScheduledTerminationData = {
16631
16708
  body?: never;
16709
+ headers: {
16710
+ /**
16711
+ * Version validator this write is composed against — the `ETag` from a read of this timecode, or `*` to write against whatever exists. See "Version validators" in the API overview.
16712
+ */
16713
+ 'If-Match': string;
16714
+ };
16632
16715
  path: {
16633
16716
  timecode_id: string;
16634
16717
  };
@@ -16648,10 +16731,18 @@ export type CancelTimecodeScheduledTerminationErrors = {
16648
16731
  * Conflict
16649
16732
  */
16650
16733
  409: Problem;
16734
+ /**
16735
+ * Precondition Failed
16736
+ */
16737
+ 412: Problem;
16651
16738
  /**
16652
16739
  * Unprocessable Content
16653
16740
  */
16654
16741
  422: Problem;
16742
+ /**
16743
+ * Precondition Required
16744
+ */
16745
+ 428: Problem;
16655
16746
  };
16656
16747
  export type CancelTimecodeScheduledTerminationError = CancelTimecodeScheduledTerminationErrors[keyof CancelTimecodeScheduledTerminationErrors];
16657
16748
  export type CancelTimecodeScheduledTerminationResponses = {
@@ -16785,6 +16876,12 @@ export type GetTimecodeResponses = {
16785
16876
  export type GetTimecodeResponse = GetTimecodeResponses[keyof GetTimecodeResponses];
16786
16877
  export type UpdateTimecodeData = {
16787
16878
  body: TimecodeParameters;
16879
+ headers: {
16880
+ /**
16881
+ * Version validator this write is composed against — the `ETag` from a read of this timecode, or `*` to write against whatever exists. See "Version validators" in the API overview.
16882
+ */
16883
+ 'If-Match': string;
16884
+ };
16788
16885
  path: {
16789
16886
  /**
16790
16887
  * Unique identifier of the timecode.
@@ -16799,10 +16896,18 @@ export type UpdateTimecodeErrors = {
16799
16896
  * Forbidden
16800
16897
  */
16801
16898
  403: Problem;
16899
+ /**
16900
+ * Precondition Failed
16901
+ */
16902
+ 412: Problem;
16802
16903
  /**
16803
16904
  * Unprocessable Content
16804
16905
  */
16805
16906
  422: Problem;
16907
+ /**
16908
+ * Precondition Required
16909
+ */
16910
+ 428: Problem;
16806
16911
  };
16807
16912
  export type UpdateTimecodeError = UpdateTimecodeErrors[keyof UpdateTimecodeErrors];
16808
16913
  export type UpdateTimecodeResponses = {
@@ -17673,6 +17778,10 @@ export type CancelUserCompanyScheduledTerminationErrors = {
17673
17778
  * Not Found
17674
17779
  */
17675
17780
  404: Problem;
17781
+ /**
17782
+ * Unprocessable Content
17783
+ */
17784
+ 422: Problem;
17676
17785
  };
17677
17786
  export type CancelUserCompanyScheduledTerminationError = CancelUserCompanyScheduledTerminationErrors[keyof CancelUserCompanyScheduledTerminationErrors];
17678
17787
  export type CancelUserCompanyScheduledTerminationResponses = {