@dsptch-work/api-client 0.46.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.
- package/CHANGELOG.md +26 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +98 -1
- package/dist/gen/sdk.gen.js +153 -0
- package/dist/gen/types.gen.d.ts +954 -243
- package/dist/gen/zod.gen.d.ts +485 -3
- package/dist/gen/zod.gen.js +265 -4
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -193,6 +193,18 @@ export declare const zProblem: z.ZodObject<{
|
|
|
193
193
|
*
|
|
194
194
|
* 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.
|
|
195
195
|
*
|
|
196
|
+
* ### pay_schedule_deletion_in_progress
|
|
197
|
+
*
|
|
198
|
+
* **Pay Schedule Deletion In Progress**
|
|
199
|
+
*
|
|
200
|
+
* A reset or deletion is already running for this pay schedule. Wait until it finishes, then retry if the schedule is still present.
|
|
201
|
+
*
|
|
202
|
+
* ### pay_schedule_deletion_refused
|
|
203
|
+
*
|
|
204
|
+
* **Pay Schedule Deletion Refused**
|
|
205
|
+
*
|
|
206
|
+
* This pay schedule cannot be deleted because it holds recorded time, payroll data, approvals, comments, exports, or payroll mappings that must be retained.
|
|
207
|
+
*
|
|
196
208
|
* ### product_archived
|
|
197
209
|
*
|
|
198
210
|
* **Product Archived**
|
|
@@ -414,6 +426,8 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
|
414
426
|
authorization_revoked: "authorization_revoked";
|
|
415
427
|
import_in_progress: "import_in_progress";
|
|
416
428
|
pay_schedule_already_exists: "pay_schedule_already_exists";
|
|
429
|
+
pay_schedule_deletion_in_progress: "pay_schedule_deletion_in_progress";
|
|
430
|
+
pay_schedule_deletion_refused: "pay_schedule_deletion_refused";
|
|
417
431
|
product_archived: "product_archived";
|
|
418
432
|
recorded_since_termination: "recorded_since_termination";
|
|
419
433
|
span_beyond_timeline_end: "span_beyond_timeline_end";
|
|
@@ -464,6 +478,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
464
478
|
"assets.items.documents": "assets.items.documents";
|
|
465
479
|
"assets.items.service_events": "assets.items.service_events";
|
|
466
480
|
"assets.products": "assets.products";
|
|
481
|
+
"assets.products.documents": "assets.products.documents";
|
|
467
482
|
"assets.vendors": "assets.vendors";
|
|
468
483
|
"compliance.checks": "compliance.checks";
|
|
469
484
|
form_submissions: "form_submissions";
|
|
@@ -471,6 +486,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
471
486
|
"internal.company_todos": "internal.company_todos";
|
|
472
487
|
"internal.job_todos": "internal.job_todos";
|
|
473
488
|
"internal.project_todos": "internal.project_todos";
|
|
489
|
+
jobs: "jobs";
|
|
474
490
|
"jobs.documents": "jobs.documents";
|
|
475
491
|
"jobs.pwa.apprenticeship.good_faith_effort_exceptions": "jobs.pwa.apprenticeship.good_faith_effort_exceptions";
|
|
476
492
|
"jobs.pwa.cure_payments": "jobs.pwa.cure_payments";
|
|
@@ -2769,6 +2785,7 @@ export declare const zPwaTradeApprenticeshipOccupationUpdateParameters: z.ZodObj
|
|
|
2769
2785
|
* 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.
|
|
2770
2786
|
*/
|
|
2771
2787
|
export declare const zPwaJobDetailsResponseObject: z.ZodNullable<z.ZodObject<{
|
|
2788
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
2772
2789
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
2773
2790
|
prime_contractor: "prime_contractor";
|
|
2774
2791
|
sub_contractor: "sub_contractor";
|
|
@@ -2788,6 +2805,14 @@ export declare const zPwaJobDetailsResponseObject: z.ZodNullable<z.ZodObject<{
|
|
|
2788
2805
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2789
2806
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2790
2807
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2808
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
2809
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2810
|
+
id: z.ZodString;
|
|
2811
|
+
filename: z.ZodString;
|
|
2812
|
+
content_type: z.ZodString;
|
|
2813
|
+
byte_size: z.ZodInt;
|
|
2814
|
+
url: z.ZodString;
|
|
2815
|
+
}, z.core.$strip>>>;
|
|
2791
2816
|
}, z.core.$strip>>;
|
|
2792
2817
|
/**
|
|
2793
2818
|
* 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.
|
|
@@ -2795,6 +2820,8 @@ export declare const zPwaJobDetailsResponseObject: z.ZodNullable<z.ZodObject<{
|
|
|
2795
2820
|
export declare const zJobCreateParameters: z.ZodObject<{
|
|
2796
2821
|
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2797
2822
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2823
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
2824
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2798
2825
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2799
2826
|
description: z.ZodOptional<z.ZodString>;
|
|
2800
2827
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2833,6 +2860,12 @@ export declare const zJobCreateParameters: z.ZodObject<{
|
|
|
2833
2860
|
feature: "feature";
|
|
2834
2861
|
quantity: "quantity";
|
|
2835
2862
|
}>>;
|
|
2863
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
2864
|
+
unspecified: "unspecified";
|
|
2865
|
+
construction: "construction";
|
|
2866
|
+
long_term_service: "long_term_service";
|
|
2867
|
+
one_time_service: "one_time_service";
|
|
2868
|
+
}>>;
|
|
2836
2869
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2837
2870
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2838
2871
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2858,6 +2891,7 @@ export declare const zJobCreateParameters: z.ZodObject<{
|
|
|
2858
2891
|
value: z.ZodNullable<z.ZodString>;
|
|
2859
2892
|
}, z.core.$strip>>>;
|
|
2860
2893
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2894
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2861
2895
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2862
2896
|
prime_contractor: "prime_contractor";
|
|
2863
2897
|
sub_contractor: "sub_contractor";
|
|
@@ -2883,6 +2917,8 @@ export declare const zJobCreateParameters: z.ZodObject<{
|
|
|
2883
2917
|
* 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.
|
|
2884
2918
|
*/
|
|
2885
2919
|
export declare const zJobUpdateParameters: z.ZodObject<{
|
|
2920
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2886
2922
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
2923
|
description: z.ZodOptional<z.ZodString>;
|
|
2888
2924
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2921,6 +2957,12 @@ export declare const zJobUpdateParameters: z.ZodObject<{
|
|
|
2921
2957
|
feature: "feature";
|
|
2922
2958
|
quantity: "quantity";
|
|
2923
2959
|
}>>;
|
|
2960
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
2961
|
+
unspecified: "unspecified";
|
|
2962
|
+
construction: "construction";
|
|
2963
|
+
long_term_service: "long_term_service";
|
|
2964
|
+
one_time_service: "one_time_service";
|
|
2965
|
+
}>>;
|
|
2924
2966
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2925
2967
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2926
2968
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2946,6 +2988,7 @@ export declare const zJobUpdateParameters: z.ZodObject<{
|
|
|
2946
2988
|
value: z.ZodNullable<z.ZodString>;
|
|
2947
2989
|
}, z.core.$strip>>>;
|
|
2948
2990
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2991
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2949
2992
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2950
2993
|
prime_contractor: "prime_contractor";
|
|
2951
2994
|
sub_contractor: "sub_contractor";
|
|
@@ -6848,6 +6891,7 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
6848
6891
|
name: z.ZodString;
|
|
6849
6892
|
}, z.core.$strip>>;
|
|
6850
6893
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
6894
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
6851
6895
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
6852
6896
|
prime_contractor: "prime_contractor";
|
|
6853
6897
|
sub_contractor: "sub_contractor";
|
|
@@ -6867,6 +6911,14 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
6867
6911
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6868
6912
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6869
6913
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6914
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
6915
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
6916
|
+
id: z.ZodString;
|
|
6917
|
+
filename: z.ZodString;
|
|
6918
|
+
content_type: z.ZodString;
|
|
6919
|
+
byte_size: z.ZodInt;
|
|
6920
|
+
url: z.ZodString;
|
|
6921
|
+
}, z.core.$strip>>>;
|
|
6870
6922
|
}, z.core.$strip>>;
|
|
6871
6923
|
work_types: z.ZodArray<z.ZodObject<{
|
|
6872
6924
|
value: z.ZodString;
|
|
@@ -6875,6 +6927,12 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
6875
6927
|
tracks_feature_allocations: z.ZodBoolean;
|
|
6876
6928
|
requires_feature_allocation: z.ZodBoolean;
|
|
6877
6929
|
max_one_feature_allocation: z.ZodBoolean;
|
|
6930
|
+
work_classification: z.ZodEnum<{
|
|
6931
|
+
unspecified: "unspecified";
|
|
6932
|
+
construction: "construction";
|
|
6933
|
+
long_term_service: "long_term_service";
|
|
6934
|
+
one_time_service: "one_time_service";
|
|
6935
|
+
}>;
|
|
6878
6936
|
production_tracking_kind: z.ZodEnum<{
|
|
6879
6937
|
none: "none";
|
|
6880
6938
|
feature: "feature";
|
|
@@ -10905,7 +10963,27 @@ export declare const zAssetsDocumentResponseObject: z.ZodObject<{
|
|
|
10905
10963
|
updated_at: z.ZodISODateTime;
|
|
10906
10964
|
}, z.core.$strip>;
|
|
10907
10965
|
/**
|
|
10908
|
-
*
|
|
10966
|
+
* 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.
|
|
10967
|
+
*/
|
|
10968
|
+
export declare const zAssetsProductDocumentResponseObject: z.ZodObject<{
|
|
10969
|
+
id: z.ZodString;
|
|
10970
|
+
assets_product_id: z.ZodString;
|
|
10971
|
+
name: z.ZodString;
|
|
10972
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
10973
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10974
|
+
certified: z.ZodBoolean;
|
|
10975
|
+
created_by_user_id: z.ZodString;
|
|
10976
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
10977
|
+
filename: z.ZodString;
|
|
10978
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
10979
|
+
byte_size: z.ZodInt;
|
|
10980
|
+
url: z.ZodString;
|
|
10981
|
+
}, z.core.$strip>>;
|
|
10982
|
+
created_at: z.ZodISODateTime;
|
|
10983
|
+
updated_at: z.ZodISODateTime;
|
|
10984
|
+
}, z.core.$strip>;
|
|
10985
|
+
/**
|
|
10986
|
+
* 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.
|
|
10909
10987
|
*/
|
|
10910
10988
|
export declare const zAssetsDocumentParameters: z.ZodObject<{
|
|
10911
10989
|
file: z.ZodString;
|
|
@@ -10914,7 +10992,7 @@ export declare const zAssetsDocumentParameters: z.ZodObject<{
|
|
|
10914
10992
|
performed_by_user_id: z.ZodString;
|
|
10915
10993
|
}, z.core.$strip>;
|
|
10916
10994
|
/**
|
|
10917
|
-
* Update an asset
|
|
10995
|
+
* 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.
|
|
10918
10996
|
*/
|
|
10919
10997
|
export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
|
|
10920
10998
|
file: z.ZodOptional<z.ZodString>;
|
|
@@ -10922,7 +11000,7 @@ export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
|
|
|
10922
11000
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10923
11001
|
}, z.core.$strip>;
|
|
10924
11002
|
/**
|
|
10925
|
-
* One entry in an
|
|
11003
|
+
* 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.
|
|
10926
11004
|
*/
|
|
10927
11005
|
export declare const zAssetsDocumentVersionResponseObject: z.ZodObject<{
|
|
10928
11006
|
id: z.ZodInt;
|
|
@@ -11568,6 +11646,146 @@ export declare const zCompetencyStandardArchiveParametersWritable: z.ZodRecord<z
|
|
|
11568
11646
|
* 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.
|
|
11569
11647
|
*/
|
|
11570
11648
|
export declare const zCompetencyAssessorAuthorizationRevocationParametersWritable: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
11649
|
+
/**
|
|
11650
|
+
* 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.
|
|
11651
|
+
*/
|
|
11652
|
+
export declare const zPwaJobDetailsResponseObjectWritable: z.ZodNullable<z.ZodObject<{
|
|
11653
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
11654
|
+
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
11655
|
+
prime_contractor: "prime_contractor";
|
|
11656
|
+
sub_contractor: "sub_contractor";
|
|
11657
|
+
}>>;
|
|
11658
|
+
pay_full_cash_fringe_by_default: z.ZodBoolean;
|
|
11659
|
+
dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11660
|
+
dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11661
|
+
dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11662
|
+
dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11663
|
+
dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11664
|
+
dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11665
|
+
il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11666
|
+
il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11667
|
+
il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11668
|
+
il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11669
|
+
il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11670
|
+
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11671
|
+
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11672
|
+
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11673
|
+
}, z.core.$strip>>;
|
|
11674
|
+
/**
|
|
11675
|
+
* 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.
|
|
11676
|
+
*/
|
|
11677
|
+
export declare const zJobResponseObjectWritable: z.ZodObject<{
|
|
11678
|
+
id: z.ZodString;
|
|
11679
|
+
display_id: z.ZodInt;
|
|
11680
|
+
description: z.ZodString;
|
|
11681
|
+
scheduled_time: z.ZodNullable<z.ZodString>;
|
|
11682
|
+
created_at: z.ZodISODateTime;
|
|
11683
|
+
updated_at: z.ZodISODateTime;
|
|
11684
|
+
status: z.ZodString;
|
|
11685
|
+
start_time: z.ZodNullable<z.ZodISODate>;
|
|
11686
|
+
end_time: z.ZodNullable<z.ZodISODate>;
|
|
11687
|
+
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11688
|
+
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
11689
|
+
tz_name: z.ZodString;
|
|
11690
|
+
require_clock_in: z.ZodBoolean;
|
|
11691
|
+
clock_in_requirement: z.ZodEnum<{
|
|
11692
|
+
none: "none";
|
|
11693
|
+
warning: "warning";
|
|
11694
|
+
required: "required";
|
|
11695
|
+
}>;
|
|
11696
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11697
|
+
federal_pwa_mode: z.ZodEnum<{
|
|
11698
|
+
none: "none";
|
|
11699
|
+
all: "all";
|
|
11700
|
+
pw_only: "pw_only";
|
|
11701
|
+
ap_only: "ap_only";
|
|
11702
|
+
}>;
|
|
11703
|
+
regional_pwa_mode: z.ZodEnum<{
|
|
11704
|
+
none: "none";
|
|
11705
|
+
all: "all";
|
|
11706
|
+
pw_only: "pw_only";
|
|
11707
|
+
ap_only: "ap_only";
|
|
11708
|
+
}>;
|
|
11709
|
+
region: z.ZodNullable<z.ZodString>;
|
|
11710
|
+
send_geofence_reminders: z.ZodNullable<z.ZodBoolean>;
|
|
11711
|
+
allow_customer_access: z.ZodBoolean;
|
|
11712
|
+
created_by_company_id: z.ZodString;
|
|
11713
|
+
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
11714
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
11715
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
11716
|
+
manager_users: z.ZodArray<z.ZodObject<{
|
|
11717
|
+
id: z.ZodString;
|
|
11718
|
+
name: z.ZodString;
|
|
11719
|
+
}, z.core.$strip>>;
|
|
11720
|
+
created_by_user: z.ZodObject<{
|
|
11721
|
+
id: z.ZodString;
|
|
11722
|
+
name: z.ZodString;
|
|
11723
|
+
}, z.core.$strip>;
|
|
11724
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
11725
|
+
name: z.ZodString;
|
|
11726
|
+
features: z.ZodArray<z.ZodObject<{
|
|
11727
|
+
name: z.ZodString;
|
|
11728
|
+
}, z.core.$strip>>;
|
|
11729
|
+
}, z.core.$strip>>;
|
|
11730
|
+
job_address: z.ZodNullable<z.ZodObject<{
|
|
11731
|
+
label: z.ZodString;
|
|
11732
|
+
}, z.core.$strip>>;
|
|
11733
|
+
positions: z.ZodArray<z.ZodObject<{
|
|
11734
|
+
position_function: z.ZodNullable<z.ZodObject<{
|
|
11735
|
+
id: z.ZodString;
|
|
11736
|
+
value: z.ZodString;
|
|
11737
|
+
description: z.ZodString;
|
|
11738
|
+
}, z.core.$strip>>;
|
|
11739
|
+
fulfilled_by_user_id: z.ZodNullable<z.ZodString>;
|
|
11740
|
+
}, z.core.$strip>>;
|
|
11741
|
+
project: z.ZodNullable<z.ZodObject<{
|
|
11742
|
+
name: z.ZodString;
|
|
11743
|
+
}, z.core.$strip>>;
|
|
11744
|
+
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
11745
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
11746
|
+
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
11747
|
+
prime_contractor: "prime_contractor";
|
|
11748
|
+
sub_contractor: "sub_contractor";
|
|
11749
|
+
}>>;
|
|
11750
|
+
pay_full_cash_fringe_by_default: z.ZodBoolean;
|
|
11751
|
+
dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11752
|
+
dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11753
|
+
dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11754
|
+
dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11755
|
+
dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11756
|
+
dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11757
|
+
il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11758
|
+
il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11759
|
+
il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11760
|
+
il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11761
|
+
il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11762
|
+
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11763
|
+
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11764
|
+
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11765
|
+
}, z.core.$strip>>;
|
|
11766
|
+
work_types: z.ZodArray<z.ZodObject<{
|
|
11767
|
+
value: z.ZodString;
|
|
11768
|
+
}, z.core.$strip>>;
|
|
11769
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
11770
|
+
tracks_feature_allocations: z.ZodBoolean;
|
|
11771
|
+
requires_feature_allocation: z.ZodBoolean;
|
|
11772
|
+
max_one_feature_allocation: z.ZodBoolean;
|
|
11773
|
+
work_classification: z.ZodEnum<{
|
|
11774
|
+
unspecified: "unspecified";
|
|
11775
|
+
construction: "construction";
|
|
11776
|
+
long_term_service: "long_term_service";
|
|
11777
|
+
one_time_service: "one_time_service";
|
|
11778
|
+
}>;
|
|
11779
|
+
production_tracking_kind: z.ZodEnum<{
|
|
11780
|
+
none: "none";
|
|
11781
|
+
feature: "feature";
|
|
11782
|
+
quantity: "quantity";
|
|
11783
|
+
}>;
|
|
11784
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
11785
|
+
custom_field_config_id: z.ZodString;
|
|
11786
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11787
|
+
}, z.core.$strip>>;
|
|
11788
|
+
}, z.core.$strip>;
|
|
11571
11789
|
/**
|
|
11572
11790
|
* A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
|
|
11573
11791
|
*/
|
|
@@ -15665,6 +15883,177 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15665
15883
|
updated_at: z.ZodISODateTime;
|
|
15666
15884
|
}, z.core.$strip>>;
|
|
15667
15885
|
}, z.core.$strip>;
|
|
15886
|
+
export declare const zListProductDocumentsPath: z.ZodObject<{
|
|
15887
|
+
product_id: z.ZodString;
|
|
15888
|
+
}, z.core.$strip>;
|
|
15889
|
+
export declare const zListProductDocumentsQuery: z.ZodObject<{
|
|
15890
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
15891
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
15892
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
15893
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
15894
|
+
page: z.ZodOptional<z.ZodString>;
|
|
15895
|
+
}, z.core.$strip>;
|
|
15896
|
+
/**
|
|
15897
|
+
* Success
|
|
15898
|
+
*/
|
|
15899
|
+
export declare const zListProductDocumentsResponse: z.ZodObject<{
|
|
15900
|
+
meta: z.ZodObject<{
|
|
15901
|
+
page: z.ZodObject<{
|
|
15902
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
15903
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
15904
|
+
}, z.core.$strip>;
|
|
15905
|
+
}, z.core.$strip>;
|
|
15906
|
+
links: z.ZodObject<{
|
|
15907
|
+
self: z.ZodString;
|
|
15908
|
+
first: z.ZodNullable<z.ZodString>;
|
|
15909
|
+
next: z.ZodNullable<z.ZodString>;
|
|
15910
|
+
}, z.core.$strip>;
|
|
15911
|
+
data: z.ZodArray<z.ZodObject<{
|
|
15912
|
+
id: z.ZodString;
|
|
15913
|
+
assets_product_id: z.ZodString;
|
|
15914
|
+
name: z.ZodString;
|
|
15915
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
15916
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15917
|
+
certified: z.ZodBoolean;
|
|
15918
|
+
created_by_user_id: z.ZodString;
|
|
15919
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
15920
|
+
filename: z.ZodString;
|
|
15921
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
15922
|
+
byte_size: z.ZodInt;
|
|
15923
|
+
url: z.ZodString;
|
|
15924
|
+
}, z.core.$strip>>;
|
|
15925
|
+
created_at: z.ZodISODateTime;
|
|
15926
|
+
updated_at: z.ZodISODateTime;
|
|
15927
|
+
}, z.core.$strip>>;
|
|
15928
|
+
}, z.core.$strip>;
|
|
15929
|
+
export declare const zCreateProductDocumentBody: z.ZodObject<{
|
|
15930
|
+
file: z.ZodString;
|
|
15931
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15932
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15933
|
+
performed_by_user_id: z.ZodString;
|
|
15934
|
+
}, z.core.$strip>;
|
|
15935
|
+
export declare const zCreateProductDocumentPath: z.ZodObject<{
|
|
15936
|
+
product_id: z.ZodString;
|
|
15937
|
+
}, z.core.$strip>;
|
|
15938
|
+
/**
|
|
15939
|
+
* Created
|
|
15940
|
+
*/
|
|
15941
|
+
export declare const zCreateProductDocumentResponse: z.ZodObject<{
|
|
15942
|
+
id: z.ZodString;
|
|
15943
|
+
assets_product_id: z.ZodString;
|
|
15944
|
+
name: z.ZodString;
|
|
15945
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
15946
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15947
|
+
certified: z.ZodBoolean;
|
|
15948
|
+
created_by_user_id: z.ZodString;
|
|
15949
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
15950
|
+
filename: z.ZodString;
|
|
15951
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
15952
|
+
byte_size: z.ZodInt;
|
|
15953
|
+
url: z.ZodString;
|
|
15954
|
+
}, z.core.$strip>>;
|
|
15955
|
+
created_at: z.ZodISODateTime;
|
|
15956
|
+
updated_at: z.ZodISODateTime;
|
|
15957
|
+
}, z.core.$strip>;
|
|
15958
|
+
export declare const zDeleteProductDocumentPath: z.ZodObject<{
|
|
15959
|
+
product_id: z.ZodString;
|
|
15960
|
+
id: z.ZodString;
|
|
15961
|
+
}, z.core.$strip>;
|
|
15962
|
+
/**
|
|
15963
|
+
* No Content
|
|
15964
|
+
*/
|
|
15965
|
+
export declare const zDeleteProductDocumentResponse: z.ZodVoid;
|
|
15966
|
+
export declare const zGetProductDocumentPath: z.ZodObject<{
|
|
15967
|
+
product_id: z.ZodString;
|
|
15968
|
+
id: z.ZodString;
|
|
15969
|
+
}, z.core.$strip>;
|
|
15970
|
+
/**
|
|
15971
|
+
* Success
|
|
15972
|
+
*/
|
|
15973
|
+
export declare const zGetProductDocumentResponse: z.ZodObject<{
|
|
15974
|
+
id: z.ZodString;
|
|
15975
|
+
assets_product_id: z.ZodString;
|
|
15976
|
+
name: z.ZodString;
|
|
15977
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
15978
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15979
|
+
certified: z.ZodBoolean;
|
|
15980
|
+
created_by_user_id: z.ZodString;
|
|
15981
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
15982
|
+
filename: z.ZodString;
|
|
15983
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
15984
|
+
byte_size: z.ZodInt;
|
|
15985
|
+
url: z.ZodString;
|
|
15986
|
+
}, z.core.$strip>>;
|
|
15987
|
+
created_at: z.ZodISODateTime;
|
|
15988
|
+
updated_at: z.ZodISODateTime;
|
|
15989
|
+
}, z.core.$strip>;
|
|
15990
|
+
export declare const zUpdateProductDocumentBody: z.ZodObject<{
|
|
15991
|
+
file: z.ZodOptional<z.ZodString>;
|
|
15992
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15993
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15994
|
+
}, z.core.$strip>;
|
|
15995
|
+
export declare const zUpdateProductDocumentPath: z.ZodObject<{
|
|
15996
|
+
product_id: z.ZodString;
|
|
15997
|
+
id: z.ZodString;
|
|
15998
|
+
}, z.core.$strip>;
|
|
15999
|
+
/**
|
|
16000
|
+
* Success
|
|
16001
|
+
*/
|
|
16002
|
+
export declare const zUpdateProductDocumentResponse: z.ZodObject<{
|
|
16003
|
+
id: z.ZodString;
|
|
16004
|
+
assets_product_id: z.ZodString;
|
|
16005
|
+
name: z.ZodString;
|
|
16006
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16007
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16008
|
+
certified: z.ZodBoolean;
|
|
16009
|
+
created_by_user_id: z.ZodString;
|
|
16010
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
16011
|
+
filename: z.ZodString;
|
|
16012
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
16013
|
+
byte_size: z.ZodInt;
|
|
16014
|
+
url: z.ZodString;
|
|
16015
|
+
}, z.core.$strip>>;
|
|
16016
|
+
created_at: z.ZodISODateTime;
|
|
16017
|
+
updated_at: z.ZodISODateTime;
|
|
16018
|
+
}, z.core.$strip>;
|
|
16019
|
+
export declare const zListProductDocumentVersionsPath: z.ZodObject<{
|
|
16020
|
+
product_id: z.ZodString;
|
|
16021
|
+
document_id: z.ZodString;
|
|
16022
|
+
}, z.core.$strip>;
|
|
16023
|
+
export declare const zListProductDocumentVersionsQuery: z.ZodObject<{
|
|
16024
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16025
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16026
|
+
page: z.ZodOptional<z.ZodString>;
|
|
16027
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
16028
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
16029
|
+
}, z.core.$strip>;
|
|
16030
|
+
/**
|
|
16031
|
+
* Success
|
|
16032
|
+
*/
|
|
16033
|
+
export declare const zListProductDocumentVersionsResponse: z.ZodObject<{
|
|
16034
|
+
meta: z.ZodObject<{
|
|
16035
|
+
page: z.ZodObject<{
|
|
16036
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
16037
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
16038
|
+
}, z.core.$strip>;
|
|
16039
|
+
}, z.core.$strip>;
|
|
16040
|
+
links: z.ZodObject<{
|
|
16041
|
+
self: z.ZodString;
|
|
16042
|
+
first: z.ZodNullable<z.ZodString>;
|
|
16043
|
+
next: z.ZodNullable<z.ZodString>;
|
|
16044
|
+
}, z.core.$strip>;
|
|
16045
|
+
data: z.ZodArray<z.ZodObject<{
|
|
16046
|
+
id: z.ZodInt;
|
|
16047
|
+
document_id: z.ZodString;
|
|
16048
|
+
event: z.ZodEnum<{
|
|
16049
|
+
create: "create";
|
|
16050
|
+
update: "update";
|
|
16051
|
+
destroy: "destroy";
|
|
16052
|
+
}>;
|
|
16053
|
+
whodunnit: z.ZodNullable<z.ZodString>;
|
|
16054
|
+
created_at: z.ZodISODateTime;
|
|
16055
|
+
}, z.core.$strip>>;
|
|
16056
|
+
}, z.core.$strip>;
|
|
15668
16057
|
export declare const zListAssetsSitesQuery: z.ZodObject<{
|
|
15669
16058
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15670
16059
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -19116,6 +19505,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
19116
19505
|
"assets.items.documents": "assets.items.documents";
|
|
19117
19506
|
"assets.items.service_events": "assets.items.service_events";
|
|
19118
19507
|
"assets.products": "assets.products";
|
|
19508
|
+
"assets.products.documents": "assets.products.documents";
|
|
19119
19509
|
"assets.vendors": "assets.vendors";
|
|
19120
19510
|
"compliance.checks": "compliance.checks";
|
|
19121
19511
|
form_submissions: "form_submissions";
|
|
@@ -19123,6 +19513,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
19123
19513
|
"internal.company_todos": "internal.company_todos";
|
|
19124
19514
|
"internal.job_todos": "internal.job_todos";
|
|
19125
19515
|
"internal.project_todos": "internal.project_todos";
|
|
19516
|
+
jobs: "jobs";
|
|
19126
19517
|
"jobs.documents": "jobs.documents";
|
|
19127
19518
|
"jobs.pwa.apprenticeship.good_faith_effort_exceptions": "jobs.pwa.apprenticeship.good_faith_effort_exceptions";
|
|
19128
19519
|
"jobs.pwa.cure_payments": "jobs.pwa.cure_payments";
|
|
@@ -23057,6 +23448,7 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23057
23448
|
name: z.ZodString;
|
|
23058
23449
|
}, z.core.$strip>>;
|
|
23059
23450
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
23451
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23060
23452
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23061
23453
|
prime_contractor: "prime_contractor";
|
|
23062
23454
|
sub_contractor: "sub_contractor";
|
|
@@ -23076,6 +23468,14 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23076
23468
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23077
23469
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23078
23470
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23471
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
23472
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
23473
|
+
id: z.ZodString;
|
|
23474
|
+
filename: z.ZodString;
|
|
23475
|
+
content_type: z.ZodString;
|
|
23476
|
+
byte_size: z.ZodInt;
|
|
23477
|
+
url: z.ZodString;
|
|
23478
|
+
}, z.core.$strip>>>;
|
|
23079
23479
|
}, z.core.$strip>>;
|
|
23080
23480
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23081
23481
|
value: z.ZodString;
|
|
@@ -23084,6 +23484,12 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23084
23484
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23085
23485
|
requires_feature_allocation: z.ZodBoolean;
|
|
23086
23486
|
max_one_feature_allocation: z.ZodBoolean;
|
|
23487
|
+
work_classification: z.ZodEnum<{
|
|
23488
|
+
unspecified: "unspecified";
|
|
23489
|
+
construction: "construction";
|
|
23490
|
+
long_term_service: "long_term_service";
|
|
23491
|
+
one_time_service: "one_time_service";
|
|
23492
|
+
}>;
|
|
23087
23493
|
production_tracking_kind: z.ZodEnum<{
|
|
23088
23494
|
none: "none";
|
|
23089
23495
|
feature: "feature";
|
|
@@ -23101,6 +23507,8 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23101
23507
|
export declare const zCreateJobBody: z.ZodObject<{
|
|
23102
23508
|
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23103
23509
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23510
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
23511
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23104
23512
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23105
23513
|
description: z.ZodOptional<z.ZodString>;
|
|
23106
23514
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23139,6 +23547,12 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
23139
23547
|
feature: "feature";
|
|
23140
23548
|
quantity: "quantity";
|
|
23141
23549
|
}>>;
|
|
23550
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
23551
|
+
unspecified: "unspecified";
|
|
23552
|
+
construction: "construction";
|
|
23553
|
+
long_term_service: "long_term_service";
|
|
23554
|
+
one_time_service: "one_time_service";
|
|
23555
|
+
}>>;
|
|
23142
23556
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23143
23557
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23144
23558
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -23164,6 +23578,7 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
23164
23578
|
value: z.ZodNullable<z.ZodString>;
|
|
23165
23579
|
}, z.core.$strip>>>;
|
|
23166
23580
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
23581
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
23167
23582
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23168
23583
|
prime_contractor: "prime_contractor";
|
|
23169
23584
|
sub_contractor: "sub_contractor";
|
|
@@ -23256,6 +23671,7 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23256
23671
|
name: z.ZodString;
|
|
23257
23672
|
}, z.core.$strip>>;
|
|
23258
23673
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
23674
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23259
23675
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23260
23676
|
prime_contractor: "prime_contractor";
|
|
23261
23677
|
sub_contractor: "sub_contractor";
|
|
@@ -23275,6 +23691,14 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23275
23691
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23276
23692
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23277
23693
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23694
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
23695
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
23696
|
+
id: z.ZodString;
|
|
23697
|
+
filename: z.ZodString;
|
|
23698
|
+
content_type: z.ZodString;
|
|
23699
|
+
byte_size: z.ZodInt;
|
|
23700
|
+
url: z.ZodString;
|
|
23701
|
+
}, z.core.$strip>>>;
|
|
23278
23702
|
}, z.core.$strip>>;
|
|
23279
23703
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23280
23704
|
value: z.ZodString;
|
|
@@ -23283,6 +23707,12 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23283
23707
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23284
23708
|
requires_feature_allocation: z.ZodBoolean;
|
|
23285
23709
|
max_one_feature_allocation: z.ZodBoolean;
|
|
23710
|
+
work_classification: z.ZodEnum<{
|
|
23711
|
+
unspecified: "unspecified";
|
|
23712
|
+
construction: "construction";
|
|
23713
|
+
long_term_service: "long_term_service";
|
|
23714
|
+
one_time_service: "one_time_service";
|
|
23715
|
+
}>;
|
|
23286
23716
|
production_tracking_kind: z.ZodEnum<{
|
|
23287
23717
|
none: "none";
|
|
23288
23718
|
feature: "feature";
|
|
@@ -23293,6 +23723,13 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23293
23723
|
value: z.ZodNullable<z.ZodString>;
|
|
23294
23724
|
}, z.core.$strip>>;
|
|
23295
23725
|
}, z.core.$strip>;
|
|
23726
|
+
export declare const zDeleteJobPath: z.ZodObject<{
|
|
23727
|
+
id: z.ZodString;
|
|
23728
|
+
}, z.core.$strip>;
|
|
23729
|
+
/**
|
|
23730
|
+
* No Content
|
|
23731
|
+
*/
|
|
23732
|
+
export declare const zDeleteJobResponse: z.ZodVoid;
|
|
23296
23733
|
export declare const zGetJobPath: z.ZodObject<{
|
|
23297
23734
|
id: z.ZodString;
|
|
23298
23735
|
}, z.core.$strip>;
|
|
@@ -23367,6 +23804,7 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23367
23804
|
name: z.ZodString;
|
|
23368
23805
|
}, z.core.$strip>>;
|
|
23369
23806
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
23807
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23370
23808
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23371
23809
|
prime_contractor: "prime_contractor";
|
|
23372
23810
|
sub_contractor: "sub_contractor";
|
|
@@ -23386,6 +23824,14 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23386
23824
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23387
23825
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23388
23826
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23827
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
23828
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
23829
|
+
id: z.ZodString;
|
|
23830
|
+
filename: z.ZodString;
|
|
23831
|
+
content_type: z.ZodString;
|
|
23832
|
+
byte_size: z.ZodInt;
|
|
23833
|
+
url: z.ZodString;
|
|
23834
|
+
}, z.core.$strip>>>;
|
|
23389
23835
|
}, z.core.$strip>>;
|
|
23390
23836
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23391
23837
|
value: z.ZodString;
|
|
@@ -23394,6 +23840,12 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23394
23840
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23395
23841
|
requires_feature_allocation: z.ZodBoolean;
|
|
23396
23842
|
max_one_feature_allocation: z.ZodBoolean;
|
|
23843
|
+
work_classification: z.ZodEnum<{
|
|
23844
|
+
unspecified: "unspecified";
|
|
23845
|
+
construction: "construction";
|
|
23846
|
+
long_term_service: "long_term_service";
|
|
23847
|
+
one_time_service: "one_time_service";
|
|
23848
|
+
}>;
|
|
23397
23849
|
production_tracking_kind: z.ZodEnum<{
|
|
23398
23850
|
none: "none";
|
|
23399
23851
|
feature: "feature";
|
|
@@ -23405,6 +23857,8 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23405
23857
|
}, z.core.$strip>>;
|
|
23406
23858
|
}, z.core.$strip>;
|
|
23407
23859
|
export declare const zUpdateJobBody: z.ZodObject<{
|
|
23860
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
23861
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23408
23862
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23409
23863
|
description: z.ZodOptional<z.ZodString>;
|
|
23410
23864
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23443,6 +23897,12 @@ export declare const zUpdateJobBody: z.ZodObject<{
|
|
|
23443
23897
|
feature: "feature";
|
|
23444
23898
|
quantity: "quantity";
|
|
23445
23899
|
}>>;
|
|
23900
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
23901
|
+
unspecified: "unspecified";
|
|
23902
|
+
construction: "construction";
|
|
23903
|
+
long_term_service: "long_term_service";
|
|
23904
|
+
one_time_service: "one_time_service";
|
|
23905
|
+
}>>;
|
|
23446
23906
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23447
23907
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23448
23908
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -23468,6 +23928,7 @@ export declare const zUpdateJobBody: z.ZodObject<{
|
|
|
23468
23928
|
value: z.ZodNullable<z.ZodString>;
|
|
23469
23929
|
}, z.core.$strip>>>;
|
|
23470
23930
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
23931
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
23471
23932
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23472
23933
|
prime_contractor: "prime_contractor";
|
|
23473
23934
|
sub_contractor: "sub_contractor";
|
|
@@ -23568,6 +24029,7 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
23568
24029
|
name: z.ZodString;
|
|
23569
24030
|
}, z.core.$strip>>;
|
|
23570
24031
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
24032
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23571
24033
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23572
24034
|
prime_contractor: "prime_contractor";
|
|
23573
24035
|
sub_contractor: "sub_contractor";
|
|
@@ -23587,6 +24049,14 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
23587
24049
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23588
24050
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23589
24051
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24052
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
24053
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
24054
|
+
id: z.ZodString;
|
|
24055
|
+
filename: z.ZodString;
|
|
24056
|
+
content_type: z.ZodString;
|
|
24057
|
+
byte_size: z.ZodInt;
|
|
24058
|
+
url: z.ZodString;
|
|
24059
|
+
}, z.core.$strip>>>;
|
|
23590
24060
|
}, z.core.$strip>>;
|
|
23591
24061
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23592
24062
|
value: z.ZodString;
|
|
@@ -23595,6 +24065,12 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
23595
24065
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23596
24066
|
requires_feature_allocation: z.ZodBoolean;
|
|
23597
24067
|
max_one_feature_allocation: z.ZodBoolean;
|
|
24068
|
+
work_classification: z.ZodEnum<{
|
|
24069
|
+
unspecified: "unspecified";
|
|
24070
|
+
construction: "construction";
|
|
24071
|
+
long_term_service: "long_term_service";
|
|
24072
|
+
one_time_service: "one_time_service";
|
|
24073
|
+
}>;
|
|
23598
24074
|
production_tracking_kind: z.ZodEnum<{
|
|
23599
24075
|
none: "none";
|
|
23600
24076
|
feature: "feature";
|
|
@@ -34923,6 +35399,12 @@ export declare const zCreatePayPeriodConfigResponse: z.ZodObject<{
|
|
|
34923
35399
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
34924
35400
|
created_at: z.ZodISODateTime;
|
|
34925
35401
|
}, z.core.$strip>;
|
|
35402
|
+
export declare const zDeletePayPeriodConfigHeaders: z.ZodObject<{
|
|
35403
|
+
'If-Match': z.ZodString;
|
|
35404
|
+
}, z.core.$strip>;
|
|
35405
|
+
export declare const zDeletePayPeriodConfigPath: z.ZodObject<{
|
|
35406
|
+
id: z.ZodString;
|
|
35407
|
+
}, z.core.$strip>;
|
|
34926
35408
|
export declare const zGetPayPeriodConfigPath: z.ZodObject<{
|
|
34927
35409
|
id: z.ZodString;
|
|
34928
35410
|
}, z.core.$strip>;
|