@dsptch-work/api-client 0.2.0 → 0.3.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 +37 -0
- package/dist/gen/client/index.d.ts +2 -0
- package/dist/gen/client/utils.gen.d.ts +1 -1
- package/dist/gen/client.gen.d.ts +2 -2
- package/dist/gen/core/auth.gen.d.ts +7 -0
- package/dist/gen/core/params.gen.d.ts +2 -2
- package/dist/gen/core/params.gen.js +20 -11
- package/dist/gen/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/gen/core/types.gen.d.ts +5 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +322 -287
- package/dist/gen/sdk.gen.js +66 -9
- package/dist/gen/types.gen.d.ts +276 -69
- package/dist/gen/zod.gen.d.ts +570 -221
- package/dist/gen/zod.gen.js +232 -56
- package/package.json +4 -4
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -472,8 +472,8 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
|
|
|
472
472
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
473
473
|
currency: z.ZodString;
|
|
474
474
|
taxable: z.ZodBoolean;
|
|
475
|
-
|
|
476
|
-
|
|
475
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
476
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
477
477
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
478
478
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
479
479
|
created_at: z.ZodISODateTime;
|
|
@@ -488,8 +488,8 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
488
488
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
489
489
|
currency: z.ZodString;
|
|
490
490
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
492
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
493
493
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
494
|
timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
495
495
|
}, z.core.$strip>;
|
|
@@ -497,9 +497,9 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
497
497
|
* The product's filled attribute values — one entry per attribute assigned to its category.
|
|
498
498
|
*/
|
|
499
499
|
export declare const zAssetsAttributeValueObjects: z.ZodArray<z.ZodObject<{
|
|
500
|
-
|
|
500
|
+
assets_attribute_id: z.ZodString;
|
|
501
501
|
value: z.ZodNullable<z.ZodString>;
|
|
502
|
-
|
|
502
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
503
503
|
}, z.core.$strip>>;
|
|
504
504
|
/**
|
|
505
505
|
* A reusable custom-field definition (for example "Color" or "Voltage") that categories assign and products or items fill in.
|
|
@@ -553,7 +553,7 @@ export declare const zAssetsCategoryResponseObject: z.ZodObject<{
|
|
|
553
553
|
full_name: z.ZodString;
|
|
554
554
|
attributes: z.ZodArray<z.ZodObject<{
|
|
555
555
|
id: z.ZodString;
|
|
556
|
-
|
|
556
|
+
assets_attribute_id: z.ZodString;
|
|
557
557
|
fillable_on: z.ZodEnum<{
|
|
558
558
|
product: "product";
|
|
559
559
|
item: "item";
|
|
@@ -572,7 +572,7 @@ export declare const zAssetsCategoryParameters: z.ZodObject<{
|
|
|
572
572
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
573
573
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
574
574
|
id: z.ZodOptional<z.ZodString>;
|
|
575
|
-
|
|
575
|
+
assets_attribute_id: z.ZodString;
|
|
576
576
|
fillable_on: z.ZodEnum<{
|
|
577
577
|
product: "product";
|
|
578
578
|
item: "item";
|
|
@@ -706,8 +706,8 @@ export declare const zPayPeriodConfigResponseObject: z.ZodObject<{
|
|
|
706
706
|
}>;
|
|
707
707
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
708
708
|
requires_external_map_contributor: z.ZodBoolean;
|
|
709
|
-
|
|
710
|
-
|
|
709
|
+
paid_after_holiday: z.ZodBoolean;
|
|
710
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
711
711
|
valid_from: z.ZodISODateTime;
|
|
712
712
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
713
713
|
created_at: z.ZodISODateTime;
|
|
@@ -746,8 +746,8 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
|
|
|
746
746
|
}>;
|
|
747
747
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
748
748
|
requires_external_map_contributor: z.ZodBoolean;
|
|
749
|
-
|
|
750
|
-
|
|
749
|
+
paid_after_holiday: z.ZodBoolean;
|
|
750
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
751
751
|
valid_from: z.ZodISODateTime;
|
|
752
752
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
753
753
|
created_at: z.ZodISODateTime;
|
|
@@ -790,8 +790,8 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
|
|
|
790
790
|
}>;
|
|
791
791
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
792
792
|
requires_external_map_contributor: z.ZodBoolean;
|
|
793
|
-
|
|
794
|
-
|
|
793
|
+
paid_after_holiday: z.ZodBoolean;
|
|
794
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
795
795
|
valid_from: z.ZodISODateTime;
|
|
796
796
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
797
797
|
created_at: z.ZodISODateTime;
|
|
@@ -1219,7 +1219,7 @@ export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
|
|
|
1219
1219
|
export declare const zWorkTypeResponseObject: z.ZodObject<{
|
|
1220
1220
|
id: z.ZodString;
|
|
1221
1221
|
value: z.ZodString;
|
|
1222
|
-
|
|
1222
|
+
verified: z.ZodBoolean;
|
|
1223
1223
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
1224
1224
|
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
1225
1225
|
created_at: z.ZodISODateTime;
|
|
@@ -1255,14 +1255,14 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1255
1255
|
color_hex: z.ZodString;
|
|
1256
1256
|
tagline: z.ZodNullable<z.ZodString>;
|
|
1257
1257
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
1258
|
-
corporate_structure: z.ZodEnum<{
|
|
1258
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
1259
1259
|
corporation: "corporation";
|
|
1260
1260
|
llc: "llc";
|
|
1261
1261
|
partnership: "partnership";
|
|
1262
1262
|
sole_proprietorship: "sole_proprietorship";
|
|
1263
1263
|
s_corporation: "s_corporation";
|
|
1264
|
-
}
|
|
1265
|
-
employee_count_range: z.ZodEnum<{
|
|
1264
|
+
}>>;
|
|
1265
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
1266
1266
|
one_to_ten: "one_to_ten";
|
|
1267
1267
|
eleven_to_fifty: "eleven_to_fifty";
|
|
1268
1268
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -1271,8 +1271,8 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1271
1271
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1272
1272
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1273
1273
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1274
|
-
}
|
|
1275
|
-
revenue_range: z.ZodEnum<{
|
|
1274
|
+
}>>;
|
|
1275
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
1276
1276
|
zero_to_one_million: "zero_to_one_million";
|
|
1277
1277
|
one_to_ten_million: "one_to_ten_million";
|
|
1278
1278
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -1283,12 +1283,111 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1283
1283
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1284
1284
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1285
1285
|
ten_billion_plus: "ten_billion_plus";
|
|
1286
|
-
}
|
|
1286
|
+
}>>;
|
|
1287
1287
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
1288
1288
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1289
1289
|
created_at: z.ZodISODateTime;
|
|
1290
1290
|
updated_at: z.ZodISODateTime;
|
|
1291
1291
|
}, z.core.$strip>;
|
|
1292
|
+
export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
1293
|
+
name: z.ZodString;
|
|
1294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1295
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
1296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1297
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1299
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1301
|
+
website: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1303
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
1304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1305
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1307
|
+
color_hex: z.ZodString;
|
|
1308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1309
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
1310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1311
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
1312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1313
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
1314
|
+
corporation: "corporation";
|
|
1315
|
+
llc: "llc";
|
|
1316
|
+
partnership: "partnership";
|
|
1317
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1318
|
+
s_corporation: "s_corporation";
|
|
1319
|
+
}>>;
|
|
1320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1321
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
1322
|
+
one_to_ten: "one_to_ten";
|
|
1323
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
1324
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
1325
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
1326
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
1327
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1328
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1329
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1330
|
+
}>>;
|
|
1331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1332
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
1333
|
+
zero_to_one_million: "zero_to_one_million";
|
|
1334
|
+
one_to_ten_million: "one_to_ten_million";
|
|
1335
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
1336
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
1337
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
1338
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
1339
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
1340
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1341
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1342
|
+
ten_billion_plus: "ten_billion_plus";
|
|
1343
|
+
}>>;
|
|
1344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1345
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
1346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1347
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1348
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
1349
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1351
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1352
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1353
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1354
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1355
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1356
|
+
color_hex: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1358
|
+
founding_year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1359
|
+
corporate_structure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1360
|
+
corporation: "corporation";
|
|
1361
|
+
llc: "llc";
|
|
1362
|
+
partnership: "partnership";
|
|
1363
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1364
|
+
s_corporation: "s_corporation";
|
|
1365
|
+
}>>>;
|
|
1366
|
+
employee_count_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1367
|
+
one_to_ten: "one_to_ten";
|
|
1368
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
1369
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
1370
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
1371
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
1372
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1373
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1374
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1375
|
+
}>>>;
|
|
1376
|
+
revenue_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1377
|
+
zero_to_one_million: "zero_to_one_million";
|
|
1378
|
+
one_to_ten_million: "one_to_ten_million";
|
|
1379
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
1380
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
1381
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
1382
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
1383
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
1384
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1385
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1386
|
+
ten_billion_plus: "ten_billion_plus";
|
|
1387
|
+
}>>>;
|
|
1388
|
+
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1389
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1390
|
+
}, z.core.$strip>>;
|
|
1292
1391
|
/**
|
|
1293
1392
|
* A custom field definition — a company-defined attribute attached to one kind of record (jobs, workers, apprentices, or the company itself). Deleting one is blocked while any record still holds a value for it.
|
|
1294
1393
|
*/
|
|
@@ -1297,7 +1396,7 @@ export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
|
|
|
1297
1396
|
name: z.ZodString;
|
|
1298
1397
|
description: z.ZodNullable<z.ZodString>;
|
|
1299
1398
|
model_type: z.ZodString;
|
|
1300
|
-
|
|
1399
|
+
visible: z.ZodBoolean;
|
|
1301
1400
|
company_id: z.ZodString;
|
|
1302
1401
|
created_at: z.ZodISODateTime;
|
|
1303
1402
|
updated_at: z.ZodISODateTime;
|
|
@@ -1314,7 +1413,7 @@ export declare const zCustomFieldConfigParameters: z.ZodObject<{
|
|
|
1314
1413
|
company: "company";
|
|
1315
1414
|
user_company: "user_company";
|
|
1316
1415
|
}>;
|
|
1317
|
-
|
|
1416
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1318
1417
|
}, z.core.$strip>;
|
|
1319
1418
|
/**
|
|
1320
1419
|
* A user's membership in a group.
|
|
@@ -1370,7 +1469,7 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
1370
1469
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1371
1470
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1372
1471
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1373
|
-
|
|
1472
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
1374
1473
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
1375
1474
|
}, z.core.$strip>>>>;
|
|
1376
1475
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1443,7 +1542,7 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
1443
1542
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1444
1543
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1445
1544
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1446
|
-
|
|
1545
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
1447
1546
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
1448
1547
|
}, z.core.$strip>>>>;
|
|
1449
1548
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2038,6 +2137,33 @@ export declare const zProjectParameters: z.ZodObject<{
|
|
|
2038
2137
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2039
2138
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2040
2139
|
}, z.core.$strip>;
|
|
2140
|
+
export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
2141
|
+
id: z.ZodString;
|
|
2142
|
+
site_id: z.ZodString;
|
|
2143
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
2144
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
2145
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
2146
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
2147
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
2148
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
2149
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
2150
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2151
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
2152
|
+
source: z.ZodEnum<{
|
|
2153
|
+
manual: "manual";
|
|
2154
|
+
auto: "auto";
|
|
2155
|
+
}>;
|
|
2156
|
+
nerc_check_in: z.ZodBoolean;
|
|
2157
|
+
cip_exceptional: z.ZodBoolean;
|
|
2158
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2159
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2160
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2161
|
+
start_time: z.ZodISODateTime;
|
|
2162
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
2163
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2164
|
+
created_at: z.ZodISODateTime;
|
|
2165
|
+
updated_at: z.ZodISODateTime;
|
|
2166
|
+
}, z.core.$strip>;
|
|
2041
2167
|
/**
|
|
2042
2168
|
* A geographic location where work is performed — a site on the Atlas map. Read-only through the API; sites are drawn on the map or imported from external sources, not created here.
|
|
2043
2169
|
*/
|
|
@@ -2182,7 +2308,7 @@ export declare const zFeatureResponseObject: z.ZodObject<{
|
|
|
2182
2308
|
ext_source: z.ZodString;
|
|
2183
2309
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
2184
2310
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
2185
|
-
|
|
2311
|
+
scoped_to_user: z.ZodBoolean;
|
|
2186
2312
|
address_id: z.ZodNullable<z.ZodString>;
|
|
2187
2313
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2188
2314
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2436,7 +2562,7 @@ export declare const zPositionParameters: z.ZodObject<{
|
|
|
2436
2562
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2437
2563
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
2564
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2439
|
-
|
|
2565
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
2440
2566
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2441
2567
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2442
2568
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2687,12 +2813,12 @@ export declare const zCertificationResponseObject: z.ZodObject<{
|
|
|
2687
2813
|
export declare const zUserCertificationParameters: z.ZodObject<{
|
|
2688
2814
|
user_id: z.ZodString;
|
|
2689
2815
|
certification_id: z.ZodString;
|
|
2690
|
-
|
|
2816
|
+
received_at: z.ZodISODateTime;
|
|
2691
2817
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2692
2818
|
name: z.ZodOptional<z.ZodString>;
|
|
2693
2819
|
content: z.ZodOptional<z.ZodString>;
|
|
2694
2820
|
}, z.core.$strip>>>;
|
|
2695
|
-
|
|
2821
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2696
2822
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2697
2823
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2698
2824
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2706,8 +2832,8 @@ export declare const zUserCertificationResponseObject: z.ZodObject<{
|
|
|
2706
2832
|
id: z.ZodString;
|
|
2707
2833
|
user_id: z.ZodString;
|
|
2708
2834
|
certification_id: z.ZodString;
|
|
2709
|
-
|
|
2710
|
-
|
|
2835
|
+
received_at: z.ZodISODateTime;
|
|
2836
|
+
verified: z.ZodBoolean;
|
|
2711
2837
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
2712
2838
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
2713
2839
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2852,7 +2978,7 @@ export declare const zPositionResponseObject: z.ZodObject<{
|
|
|
2852
2978
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
2853
2979
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
2854
2980
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
2855
|
-
|
|
2981
|
+
pwa: z.ZodBoolean;
|
|
2856
2982
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
2857
2983
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
2858
2984
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -3653,7 +3779,7 @@ export declare const zPositionsResponseObject: z.ZodObject<{
|
|
|
3653
3779
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3654
3780
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
3655
3781
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3656
|
-
|
|
3782
|
+
pwa: z.ZodBoolean;
|
|
3657
3783
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
3658
3784
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
3659
3785
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -3710,8 +3836,8 @@ export declare const zUserCertificationsResponseObj: z.ZodObject<{
|
|
|
3710
3836
|
id: z.ZodString;
|
|
3711
3837
|
user_id: z.ZodString;
|
|
3712
3838
|
certification_id: z.ZodString;
|
|
3713
|
-
|
|
3714
|
-
|
|
3839
|
+
received_at: z.ZodISODateTime;
|
|
3840
|
+
verified: z.ZodBoolean;
|
|
3715
3841
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
3716
3842
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
3717
3843
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -4671,11 +4797,11 @@ export declare const zAssetsProductResponseObject: z.ZodObject<{
|
|
|
4671
4797
|
pack: "pack";
|
|
4672
4798
|
}>;
|
|
4673
4799
|
serialized: z.ZodBoolean;
|
|
4674
|
-
|
|
4800
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
4675
4801
|
attributes: z.ZodArray<z.ZodObject<{
|
|
4676
|
-
|
|
4802
|
+
assets_attribute_id: z.ZodString;
|
|
4677
4803
|
value: z.ZodNullable<z.ZodString>;
|
|
4678
|
-
|
|
4804
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
4679
4805
|
}, z.core.$strip>>;
|
|
4680
4806
|
images: z.ZodArray<z.ZodObject<{
|
|
4681
4807
|
id: z.ZodString;
|
|
@@ -4706,10 +4832,8 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
4706
4832
|
}>;
|
|
4707
4833
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
4708
4834
|
status: z.ZodEnum<{
|
|
4709
|
-
maintenance: "maintenance";
|
|
4710
4835
|
available: "available";
|
|
4711
4836
|
assigned: "assigned";
|
|
4712
|
-
transit: "transit";
|
|
4713
4837
|
retired: "retired";
|
|
4714
4838
|
}>;
|
|
4715
4839
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -4749,7 +4873,7 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4749
4873
|
}>;
|
|
4750
4874
|
name: z.ZodString;
|
|
4751
4875
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4752
|
-
|
|
4876
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4753
4877
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4754
4878
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4755
4879
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -4761,9 +4885,9 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4761
4885
|
pack: "pack";
|
|
4762
4886
|
}>>;
|
|
4763
4887
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4764
|
-
|
|
4888
|
+
assets_attribute_id: z.ZodString;
|
|
4765
4889
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4766
|
-
|
|
4890
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4767
4891
|
}, z.core.$strip>>>;
|
|
4768
4892
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4769
4893
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4778,7 +4902,7 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4778
4902
|
export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
4779
4903
|
name: z.ZodOptional<z.ZodString>;
|
|
4780
4904
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4781
|
-
|
|
4905
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4782
4906
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4783
4907
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4784
4908
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -4790,9 +4914,9 @@ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
|
4790
4914
|
pack: "pack";
|
|
4791
4915
|
}>>;
|
|
4792
4916
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4793
|
-
|
|
4917
|
+
assets_attribute_id: z.ZodString;
|
|
4794
4918
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4795
|
-
|
|
4919
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4796
4920
|
}, z.core.$strip>>>;
|
|
4797
4921
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4798
4922
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4809,10 +4933,8 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4809
4933
|
assets_product_id: z.ZodString;
|
|
4810
4934
|
serial_number: z.ZodString;
|
|
4811
4935
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4812
|
-
maintenance: "maintenance";
|
|
4813
4936
|
available: "available";
|
|
4814
4937
|
assigned: "assigned";
|
|
4815
|
-
transit: "transit";
|
|
4816
4938
|
retired: "retired";
|
|
4817
4939
|
}>>;
|
|
4818
4940
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -4833,7 +4955,7 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4833
4955
|
*/
|
|
4834
4956
|
export declare const zAssetsDocumentResponseObject: z.ZodObject<{
|
|
4835
4957
|
id: z.ZodString;
|
|
4836
|
-
|
|
4958
|
+
assets_item_id: z.ZodString;
|
|
4837
4959
|
name: z.ZodString;
|
|
4838
4960
|
filename: z.ZodNullable<z.ZodString>;
|
|
4839
4961
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -4875,7 +4997,7 @@ export declare const zAssetsDocumentVersionResponseObject: z.ZodObject<{
|
|
|
4875
4997
|
*/
|
|
4876
4998
|
export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
4877
4999
|
id: z.ZodString;
|
|
4878
|
-
|
|
5000
|
+
assets_item_id: z.ZodString;
|
|
4879
5001
|
form_definition_id: z.ZodString;
|
|
4880
5002
|
name: z.ZodString;
|
|
4881
5003
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -4898,11 +5020,11 @@ export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
|
4898
5020
|
}, z.core.$strip>>;
|
|
4899
5021
|
}, z.core.$strip>;
|
|
4900
5022
|
/**
|
|
4901
|
-
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400).
|
|
5023
|
+
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields.
|
|
4902
5024
|
*/
|
|
4903
5025
|
export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
4904
5026
|
form_definition_id: z.ZodString;
|
|
4905
|
-
|
|
5027
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4906
5028
|
task_attributes: z.ZodObject<{
|
|
4907
5029
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4908
5030
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4931,7 +5053,7 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
4931
5053
|
*/
|
|
4932
5054
|
export declare const zAssetsInventoryResponseObject: z.ZodObject<{
|
|
4933
5055
|
id: z.ZodString;
|
|
4934
|
-
|
|
5056
|
+
assets_item_id: z.ZodString;
|
|
4935
5057
|
assets_site_id: z.ZodString;
|
|
4936
5058
|
company_id: z.ZodString;
|
|
4937
5059
|
quantity_on_hand: z.ZodInt;
|
|
@@ -4943,7 +5065,7 @@ export declare const zAssetsInventoryResponseObject: z.ZodObject<{
|
|
|
4943
5065
|
*/
|
|
4944
5066
|
export declare const zAssetsCustodyResponseObject: z.ZodObject<{
|
|
4945
5067
|
id: z.ZodString;
|
|
4946
|
-
|
|
5068
|
+
assets_item_id: z.ZodString;
|
|
4947
5069
|
user_id: z.ZodString;
|
|
4948
5070
|
company_id: z.ZodString;
|
|
4949
5071
|
quantity: z.ZodInt;
|
|
@@ -4955,7 +5077,7 @@ export declare const zAssetsCustodyResponseObject: z.ZodObject<{
|
|
|
4955
5077
|
*/
|
|
4956
5078
|
export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
4957
5079
|
id: z.ZodString;
|
|
4958
|
-
|
|
5080
|
+
assets_item_id: z.ZodString;
|
|
4959
5081
|
company_id: z.ZodString;
|
|
4960
5082
|
event_type: z.ZodEnum<{
|
|
4961
5083
|
"Assets::Transaction": "Assets::Transaction";
|
|
@@ -4986,7 +5108,7 @@ export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
|
4986
5108
|
*/
|
|
4987
5109
|
export declare const zAssetsServiceEventResponseObject: z.ZodObject<{
|
|
4988
5110
|
id: z.ZodString;
|
|
4989
|
-
|
|
5111
|
+
assets_item_id: z.ZodString;
|
|
4990
5112
|
company_id: z.ZodString;
|
|
4991
5113
|
event_type: z.ZodEnum<{
|
|
4992
5114
|
"Assets::ServiceEvent": "Assets::ServiceEvent";
|
|
@@ -5011,7 +5133,7 @@ export declare const zAssetsServiceEventResponseObject: z.ZodObject<{
|
|
|
5011
5133
|
*/
|
|
5012
5134
|
export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5013
5135
|
id: z.ZodString;
|
|
5014
|
-
|
|
5136
|
+
assets_item_id: z.ZodString;
|
|
5015
5137
|
company_id: z.ZodString;
|
|
5016
5138
|
performed_at: z.ZodISODateTime;
|
|
5017
5139
|
transaction: z.ZodObject<{
|
|
@@ -5036,7 +5158,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
5036
5158
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
5037
5159
|
}, z.core.$strip>, z.ZodObject<{
|
|
5038
5160
|
id: z.ZodString;
|
|
5039
|
-
|
|
5161
|
+
assets_item_id: z.ZodString;
|
|
5040
5162
|
company_id: z.ZodString;
|
|
5041
5163
|
performed_at: z.ZodISODateTime;
|
|
5042
5164
|
service_event: z.ZodObject<{
|
|
@@ -5059,7 +5181,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
5059
5181
|
*/
|
|
5060
5182
|
export declare const zAssetsServiceScheduleResponseObject: z.ZodObject<{
|
|
5061
5183
|
id: z.ZodString;
|
|
5062
|
-
|
|
5184
|
+
assets_item_id: z.ZodString;
|
|
5063
5185
|
company_id: z.ZodString;
|
|
5064
5186
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
5065
5187
|
kind: z.ZodEnum<{
|
|
@@ -5103,7 +5225,7 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
|
|
|
5103
5225
|
*/
|
|
5104
5226
|
export declare const zAssetsServiceEventFullResponseObject: z.ZodObject<{
|
|
5105
5227
|
id: z.ZodString;
|
|
5106
|
-
|
|
5228
|
+
assets_item_id: z.ZodString;
|
|
5107
5229
|
company_id: z.ZodString;
|
|
5108
5230
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
5109
5231
|
performed_by_user_id: z.ZodString;
|
|
@@ -5207,7 +5329,7 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
5207
5329
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
5208
5330
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
5209
5331
|
id: z.ZodString;
|
|
5210
|
-
|
|
5332
|
+
assets_item_id: z.ZodString;
|
|
5211
5333
|
quantity: z.ZodInt;
|
|
5212
5334
|
}, z.core.$strip>>;
|
|
5213
5335
|
created_at: z.ZodISODateTime;
|
|
@@ -5223,7 +5345,7 @@ export declare const zAssetsTransferParameters: z.ZodObject<{
|
|
|
5223
5345
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
5224
5346
|
performed_by_user_id: z.ZodString;
|
|
5225
5347
|
line_items: z.ZodArray<z.ZodObject<{
|
|
5226
|
-
|
|
5348
|
+
assets_item_id: z.ZodString;
|
|
5227
5349
|
quantity: z.ZodInt;
|
|
5228
5350
|
}, z.core.$strip>>;
|
|
5229
5351
|
}, z.core.$strip>;
|
|
@@ -6247,7 +6369,7 @@ export declare const zListCategoriesResponse: z.ZodObject<{
|
|
|
6247
6369
|
full_name: z.ZodString;
|
|
6248
6370
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6249
6371
|
id: z.ZodString;
|
|
6250
|
-
|
|
6372
|
+
assets_attribute_id: z.ZodString;
|
|
6251
6373
|
fillable_on: z.ZodEnum<{
|
|
6252
6374
|
product: "product";
|
|
6253
6375
|
item: "item";
|
|
@@ -6264,7 +6386,7 @@ export declare const zCreateCategoryBody: z.ZodObject<{
|
|
|
6264
6386
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6265
6387
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6266
6388
|
id: z.ZodOptional<z.ZodString>;
|
|
6267
|
-
|
|
6389
|
+
assets_attribute_id: z.ZodString;
|
|
6268
6390
|
fillable_on: z.ZodEnum<{
|
|
6269
6391
|
product: "product";
|
|
6270
6392
|
item: "item";
|
|
@@ -6285,7 +6407,7 @@ export declare const zCreateCategoryResponse: z.ZodObject<{
|
|
|
6285
6407
|
full_name: z.ZodString;
|
|
6286
6408
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6287
6409
|
id: z.ZodString;
|
|
6288
|
-
|
|
6410
|
+
assets_attribute_id: z.ZodString;
|
|
6289
6411
|
fillable_on: z.ZodEnum<{
|
|
6290
6412
|
product: "product";
|
|
6291
6413
|
item: "item";
|
|
@@ -6310,7 +6432,7 @@ export declare const zDeleteCategoryResponse: z.ZodObject<{
|
|
|
6310
6432
|
full_name: z.ZodString;
|
|
6311
6433
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6312
6434
|
id: z.ZodString;
|
|
6313
|
-
|
|
6435
|
+
assets_attribute_id: z.ZodString;
|
|
6314
6436
|
fillable_on: z.ZodEnum<{
|
|
6315
6437
|
product: "product";
|
|
6316
6438
|
item: "item";
|
|
@@ -6335,7 +6457,7 @@ export declare const zGetCategoryResponse: z.ZodObject<{
|
|
|
6335
6457
|
full_name: z.ZodString;
|
|
6336
6458
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6337
6459
|
id: z.ZodString;
|
|
6338
|
-
|
|
6460
|
+
assets_attribute_id: z.ZodString;
|
|
6339
6461
|
fillable_on: z.ZodEnum<{
|
|
6340
6462
|
product: "product";
|
|
6341
6463
|
item: "item";
|
|
@@ -6351,7 +6473,7 @@ export declare const zUpdateCategoryBody: z.ZodObject<{
|
|
|
6351
6473
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6352
6474
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6353
6475
|
id: z.ZodOptional<z.ZodString>;
|
|
6354
|
-
|
|
6476
|
+
assets_attribute_id: z.ZodString;
|
|
6355
6477
|
fillable_on: z.ZodEnum<{
|
|
6356
6478
|
product: "product";
|
|
6357
6479
|
item: "item";
|
|
@@ -6375,7 +6497,7 @@ export declare const zUpdateCategoryResponse: z.ZodObject<{
|
|
|
6375
6497
|
full_name: z.ZodString;
|
|
6376
6498
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6377
6499
|
id: z.ZodString;
|
|
6378
|
-
|
|
6500
|
+
assets_attribute_id: z.ZodString;
|
|
6379
6501
|
fillable_on: z.ZodEnum<{
|
|
6380
6502
|
product: "product";
|
|
6381
6503
|
item: "item";
|
|
@@ -6387,7 +6509,7 @@ export declare const zUpdateCategoryResponse: z.ZodObject<{
|
|
|
6387
6509
|
updated_at: z.ZodISODateTime;
|
|
6388
6510
|
}, z.core.$strip>;
|
|
6389
6511
|
export declare const zListCustodiesQuery: z.ZodObject<{
|
|
6390
|
-
'filter[
|
|
6512
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6391
6513
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
6392
6514
|
filter: z.ZodOptional<z.ZodString>;
|
|
6393
6515
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6409,7 +6531,7 @@ export declare const zListCustodiesResponse: z.ZodObject<{
|
|
|
6409
6531
|
}, z.core.$strip>>;
|
|
6410
6532
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6411
6533
|
id: z.ZodString;
|
|
6412
|
-
|
|
6534
|
+
assets_item_id: z.ZodString;
|
|
6413
6535
|
user_id: z.ZodString;
|
|
6414
6536
|
company_id: z.ZodString;
|
|
6415
6537
|
quantity: z.ZodInt;
|
|
@@ -6425,7 +6547,7 @@ export declare const zGetCustodyPath: z.ZodObject<{
|
|
|
6425
6547
|
*/
|
|
6426
6548
|
export declare const zGetCustodyResponse: z.ZodObject<{
|
|
6427
6549
|
id: z.ZodString;
|
|
6428
|
-
|
|
6550
|
+
assets_item_id: z.ZodString;
|
|
6429
6551
|
user_id: z.ZodString;
|
|
6430
6552
|
company_id: z.ZodString;
|
|
6431
6553
|
quantity: z.ZodInt;
|
|
@@ -6433,7 +6555,7 @@ export declare const zGetCustodyResponse: z.ZodObject<{
|
|
|
6433
6555
|
updated_at: z.ZodISODateTime;
|
|
6434
6556
|
}, z.core.$strip>;
|
|
6435
6557
|
export declare const zListEventsQuery: z.ZodObject<{
|
|
6436
|
-
'filter[
|
|
6558
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6437
6559
|
'filter[eventable_type]': z.ZodOptional<z.ZodString>;
|
|
6438
6560
|
filter: z.ZodOptional<z.ZodString>;
|
|
6439
6561
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6455,7 +6577,7 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
6455
6577
|
}, z.core.$strip>>;
|
|
6456
6578
|
data: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6457
6579
|
id: z.ZodString;
|
|
6458
|
-
|
|
6580
|
+
assets_item_id: z.ZodString;
|
|
6459
6581
|
company_id: z.ZodString;
|
|
6460
6582
|
performed_at: z.ZodISODateTime;
|
|
6461
6583
|
transaction: z.ZodObject<{
|
|
@@ -6480,7 +6602,7 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
6480
6602
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
6481
6603
|
}, z.core.$strip>, z.ZodObject<{
|
|
6482
6604
|
id: z.ZodString;
|
|
6483
|
-
|
|
6605
|
+
assets_item_id: z.ZodString;
|
|
6484
6606
|
company_id: z.ZodString;
|
|
6485
6607
|
performed_at: z.ZodISODateTime;
|
|
6486
6608
|
service_event: z.ZodObject<{
|
|
@@ -6507,7 +6629,7 @@ export declare const zGetEventPath: z.ZodObject<{
|
|
|
6507
6629
|
*/
|
|
6508
6630
|
export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6509
6631
|
id: z.ZodString;
|
|
6510
|
-
|
|
6632
|
+
assets_item_id: z.ZodString;
|
|
6511
6633
|
company_id: z.ZodString;
|
|
6512
6634
|
performed_at: z.ZodISODateTime;
|
|
6513
6635
|
transaction: z.ZodObject<{
|
|
@@ -6532,7 +6654,7 @@ export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6532
6654
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
6533
6655
|
}, z.core.$strip>, z.ZodObject<{
|
|
6534
6656
|
id: z.ZodString;
|
|
6535
|
-
|
|
6657
|
+
assets_item_id: z.ZodString;
|
|
6536
6658
|
company_id: z.ZodString;
|
|
6537
6659
|
performed_at: z.ZodISODateTime;
|
|
6538
6660
|
service_event: z.ZodObject<{
|
|
@@ -6847,7 +6969,7 @@ export declare const zUpdateFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6847
6969
|
updated_at: z.ZodISODateTime;
|
|
6848
6970
|
}, z.core.$strip>;
|
|
6849
6971
|
export declare const zListInventoriesQuery: z.ZodObject<{
|
|
6850
|
-
'filter[
|
|
6972
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6851
6973
|
'filter[assets_site_id]': z.ZodOptional<z.ZodString>;
|
|
6852
6974
|
filter: z.ZodOptional<z.ZodString>;
|
|
6853
6975
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6869,7 +6991,7 @@ export declare const zListInventoriesResponse: z.ZodObject<{
|
|
|
6869
6991
|
}, z.core.$strip>>;
|
|
6870
6992
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6871
6993
|
id: z.ZodString;
|
|
6872
|
-
|
|
6994
|
+
assets_item_id: z.ZodString;
|
|
6873
6995
|
assets_site_id: z.ZodString;
|
|
6874
6996
|
company_id: z.ZodString;
|
|
6875
6997
|
quantity_on_hand: z.ZodInt;
|
|
@@ -6885,7 +7007,7 @@ export declare const zGetInventoryPath: z.ZodObject<{
|
|
|
6885
7007
|
*/
|
|
6886
7008
|
export declare const zGetInventoryResponse: z.ZodObject<{
|
|
6887
7009
|
id: z.ZodString;
|
|
6888
|
-
|
|
7010
|
+
assets_item_id: z.ZodString;
|
|
6889
7011
|
assets_site_id: z.ZodString;
|
|
6890
7012
|
company_id: z.ZodString;
|
|
6891
7013
|
quantity_on_hand: z.ZodInt;
|
|
@@ -6925,10 +7047,8 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
6925
7047
|
}>;
|
|
6926
7048
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6927
7049
|
status: z.ZodEnum<{
|
|
6928
|
-
maintenance: "maintenance";
|
|
6929
7050
|
available: "available";
|
|
6930
7051
|
assigned: "assigned";
|
|
6931
|
-
transit: "transit";
|
|
6932
7052
|
retired: "retired";
|
|
6933
7053
|
}>;
|
|
6934
7054
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6957,10 +7077,8 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
6957
7077
|
assets_product_id: z.ZodString;
|
|
6958
7078
|
serial_number: z.ZodString;
|
|
6959
7079
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6960
|
-
maintenance: "maintenance";
|
|
6961
7080
|
available: "available";
|
|
6962
7081
|
assigned: "assigned";
|
|
6963
|
-
transit: "transit";
|
|
6964
7082
|
retired: "retired";
|
|
6965
7083
|
}>>;
|
|
6966
7084
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -6991,10 +7109,8 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
6991
7109
|
}>;
|
|
6992
7110
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6993
7111
|
status: z.ZodEnum<{
|
|
6994
|
-
maintenance: "maintenance";
|
|
6995
7112
|
available: "available";
|
|
6996
7113
|
assigned: "assigned";
|
|
6997
|
-
transit: "transit";
|
|
6998
7114
|
retired: "retired";
|
|
6999
7115
|
}>;
|
|
7000
7116
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7034,10 +7150,8 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
7034
7150
|
}>;
|
|
7035
7151
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7036
7152
|
status: z.ZodEnum<{
|
|
7037
|
-
maintenance: "maintenance";
|
|
7038
7153
|
available: "available";
|
|
7039
7154
|
assigned: "assigned";
|
|
7040
|
-
transit: "transit";
|
|
7041
7155
|
retired: "retired";
|
|
7042
7156
|
}>;
|
|
7043
7157
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7077,10 +7191,8 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
7077
7191
|
}>;
|
|
7078
7192
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7079
7193
|
status: z.ZodEnum<{
|
|
7080
|
-
maintenance: "maintenance";
|
|
7081
7194
|
available: "available";
|
|
7082
7195
|
assigned: "assigned";
|
|
7083
|
-
transit: "transit";
|
|
7084
7196
|
retired: "retired";
|
|
7085
7197
|
}>;
|
|
7086
7198
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7108,10 +7220,8 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
7108
7220
|
assets_product_id: z.ZodString;
|
|
7109
7221
|
serial_number: z.ZodString;
|
|
7110
7222
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7111
|
-
maintenance: "maintenance";
|
|
7112
7223
|
available: "available";
|
|
7113
7224
|
assigned: "assigned";
|
|
7114
|
-
transit: "transit";
|
|
7115
7225
|
retired: "retired";
|
|
7116
7226
|
}>>;
|
|
7117
7227
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -7145,10 +7255,8 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
7145
7255
|
}>;
|
|
7146
7256
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7147
7257
|
status: z.ZodEnum<{
|
|
7148
|
-
maintenance: "maintenance";
|
|
7149
7258
|
available: "available";
|
|
7150
7259
|
assigned: "assigned";
|
|
7151
|
-
transit: "transit";
|
|
7152
7260
|
retired: "retired";
|
|
7153
7261
|
}>;
|
|
7154
7262
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7188,10 +7296,8 @@ export declare const zUnretireItemResponse: z.ZodObject<{
|
|
|
7188
7296
|
}>;
|
|
7189
7297
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7190
7298
|
status: z.ZodEnum<{
|
|
7191
|
-
maintenance: "maintenance";
|
|
7192
7299
|
available: "available";
|
|
7193
7300
|
assigned: "assigned";
|
|
7194
|
-
transit: "transit";
|
|
7195
7301
|
retired: "retired";
|
|
7196
7302
|
}>;
|
|
7197
7303
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7234,10 +7340,8 @@ export declare const zRetireItemResponse: z.ZodObject<{
|
|
|
7234
7340
|
}>;
|
|
7235
7341
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7236
7342
|
status: z.ZodEnum<{
|
|
7237
|
-
maintenance: "maintenance";
|
|
7238
7343
|
available: "available";
|
|
7239
7344
|
assigned: "assigned";
|
|
7240
|
-
transit: "transit";
|
|
7241
7345
|
retired: "retired";
|
|
7242
7346
|
}>;
|
|
7243
7347
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7291,7 +7395,7 @@ export declare const zListServiceSchedulesResponse: z.ZodObject<{
|
|
|
7291
7395
|
}, z.core.$strip>>;
|
|
7292
7396
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7293
7397
|
id: z.ZodString;
|
|
7294
|
-
|
|
7398
|
+
assets_item_id: z.ZodString;
|
|
7295
7399
|
company_id: z.ZodString;
|
|
7296
7400
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7297
7401
|
kind: z.ZodEnum<{
|
|
@@ -7336,7 +7440,7 @@ export declare const zCreateServiceSchedulePath: z.ZodObject<{
|
|
|
7336
7440
|
*/
|
|
7337
7441
|
export declare const zCreateServiceScheduleResponse: z.ZodObject<{
|
|
7338
7442
|
id: z.ZodString;
|
|
7339
|
-
|
|
7443
|
+
assets_item_id: z.ZodString;
|
|
7340
7444
|
company_id: z.ZodString;
|
|
7341
7445
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7342
7446
|
kind: z.ZodEnum<{
|
|
@@ -7365,7 +7469,7 @@ export declare const zDeleteServiceSchedulePath: z.ZodObject<{
|
|
|
7365
7469
|
*/
|
|
7366
7470
|
export declare const zDeleteServiceScheduleResponse: z.ZodObject<{
|
|
7367
7471
|
id: z.ZodString;
|
|
7368
|
-
|
|
7472
|
+
assets_item_id: z.ZodString;
|
|
7369
7473
|
company_id: z.ZodString;
|
|
7370
7474
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7371
7475
|
kind: z.ZodEnum<{
|
|
@@ -7394,7 +7498,7 @@ export declare const zGetServiceSchedulePath: z.ZodObject<{
|
|
|
7394
7498
|
*/
|
|
7395
7499
|
export declare const zGetServiceScheduleResponse: z.ZodObject<{
|
|
7396
7500
|
id: z.ZodString;
|
|
7397
|
-
|
|
7501
|
+
assets_item_id: z.ZodString;
|
|
7398
7502
|
company_id: z.ZodString;
|
|
7399
7503
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7400
7504
|
kind: z.ZodEnum<{
|
|
@@ -7439,7 +7543,7 @@ export declare const zUpdateServiceSchedulePath: z.ZodObject<{
|
|
|
7439
7543
|
*/
|
|
7440
7544
|
export declare const zUpdateServiceScheduleResponse: z.ZodObject<{
|
|
7441
7545
|
id: z.ZodString;
|
|
7442
|
-
|
|
7546
|
+
assets_item_id: z.ZodString;
|
|
7443
7547
|
company_id: z.ZodString;
|
|
7444
7548
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7445
7549
|
kind: z.ZodEnum<{
|
|
@@ -7491,7 +7595,7 @@ export declare const zListServiceEventsResponse: z.ZodObject<{
|
|
|
7491
7595
|
}, z.core.$strip>>;
|
|
7492
7596
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7493
7597
|
id: z.ZodString;
|
|
7494
|
-
|
|
7598
|
+
assets_item_id: z.ZodString;
|
|
7495
7599
|
company_id: z.ZodString;
|
|
7496
7600
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7497
7601
|
performed_by_user_id: z.ZodString;
|
|
@@ -7541,7 +7645,7 @@ export declare const zCreateServiceEventPath: z.ZodObject<{
|
|
|
7541
7645
|
*/
|
|
7542
7646
|
export declare const zCreateServiceEventResponse: z.ZodObject<{
|
|
7543
7647
|
id: z.ZodString;
|
|
7544
|
-
|
|
7648
|
+
assets_item_id: z.ZodString;
|
|
7545
7649
|
company_id: z.ZodString;
|
|
7546
7650
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7547
7651
|
performed_by_user_id: z.ZodString;
|
|
@@ -7575,7 +7679,7 @@ export declare const zDeleteServiceEventPath: z.ZodObject<{
|
|
|
7575
7679
|
*/
|
|
7576
7680
|
export declare const zDeleteServiceEventResponse: z.ZodObject<{
|
|
7577
7681
|
id: z.ZodString;
|
|
7578
|
-
|
|
7682
|
+
assets_item_id: z.ZodString;
|
|
7579
7683
|
company_id: z.ZodString;
|
|
7580
7684
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7581
7685
|
performed_by_user_id: z.ZodString;
|
|
@@ -7609,7 +7713,7 @@ export declare const zGetServiceEventPath: z.ZodObject<{
|
|
|
7609
7713
|
*/
|
|
7610
7714
|
export declare const zGetServiceEventResponse: z.ZodObject<{
|
|
7611
7715
|
id: z.ZodString;
|
|
7612
|
-
|
|
7716
|
+
assets_item_id: z.ZodString;
|
|
7613
7717
|
company_id: z.ZodString;
|
|
7614
7718
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7615
7719
|
performed_by_user_id: z.ZodString;
|
|
@@ -7659,7 +7763,7 @@ export declare const zUpdateServiceEventPath: z.ZodObject<{
|
|
|
7659
7763
|
*/
|
|
7660
7764
|
export declare const zUpdateServiceEventResponse: z.ZodObject<{
|
|
7661
7765
|
id: z.ZodString;
|
|
7662
|
-
|
|
7766
|
+
assets_item_id: z.ZodString;
|
|
7663
7767
|
company_id: z.ZodString;
|
|
7664
7768
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7665
7769
|
performed_by_user_id: z.ZodString;
|
|
@@ -7709,7 +7813,7 @@ export declare const zListFormAssignmentTasksResponse: z.ZodObject<{
|
|
|
7709
7813
|
}, z.core.$strip>>;
|
|
7710
7814
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7711
7815
|
id: z.ZodString;
|
|
7712
|
-
|
|
7816
|
+
assets_item_id: z.ZodString;
|
|
7713
7817
|
form_definition_id: z.ZodString;
|
|
7714
7818
|
name: z.ZodString;
|
|
7715
7819
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7734,7 +7838,7 @@ export declare const zListFormAssignmentTasksResponse: z.ZodObject<{
|
|
|
7734
7838
|
}, z.core.$strip>;
|
|
7735
7839
|
export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
|
|
7736
7840
|
form_definition_id: z.ZodString;
|
|
7737
|
-
|
|
7841
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
7738
7842
|
task_attributes: z.ZodObject<{
|
|
7739
7843
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7740
7844
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7766,7 +7870,7 @@ export declare const zCreateItemFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7766
7870
|
*/
|
|
7767
7871
|
export declare const zCreateItemFormAssignmentTaskResponse: z.ZodObject<{
|
|
7768
7872
|
id: z.ZodString;
|
|
7769
|
-
|
|
7873
|
+
assets_item_id: z.ZodString;
|
|
7770
7874
|
form_definition_id: z.ZodString;
|
|
7771
7875
|
name: z.ZodString;
|
|
7772
7876
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7797,7 +7901,7 @@ export declare const zGetFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7797
7901
|
*/
|
|
7798
7902
|
export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
7799
7903
|
id: z.ZodString;
|
|
7800
|
-
|
|
7904
|
+
assets_item_id: z.ZodString;
|
|
7801
7905
|
form_definition_id: z.ZodString;
|
|
7802
7906
|
name: z.ZodString;
|
|
7803
7907
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7821,7 +7925,7 @@ export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
|
7821
7925
|
}, z.core.$strip>;
|
|
7822
7926
|
export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
7823
7927
|
form_definition_id: z.ZodString;
|
|
7824
|
-
|
|
7928
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
7825
7929
|
task_attributes: z.ZodObject<{
|
|
7826
7930
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7827
7931
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7854,7 +7958,7 @@ export declare const zUpdateFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7854
7958
|
*/
|
|
7855
7959
|
export declare const zUpdateFormAssignmentTaskResponse: z.ZodObject<{
|
|
7856
7960
|
id: z.ZodString;
|
|
7857
|
-
|
|
7961
|
+
assets_item_id: z.ZodString;
|
|
7858
7962
|
form_definition_id: z.ZodString;
|
|
7859
7963
|
name: z.ZodString;
|
|
7860
7964
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7903,7 +8007,7 @@ export declare const zListDocumentsResponse: z.ZodObject<{
|
|
|
7903
8007
|
}, z.core.$strip>>;
|
|
7904
8008
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7905
8009
|
id: z.ZodString;
|
|
7906
|
-
|
|
8010
|
+
assets_item_id: z.ZodString;
|
|
7907
8011
|
name: z.ZodString;
|
|
7908
8012
|
filename: z.ZodNullable<z.ZodString>;
|
|
7909
8013
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7932,7 +8036,7 @@ export declare const zCreateDocumentPath: z.ZodObject<{
|
|
|
7932
8036
|
*/
|
|
7933
8037
|
export declare const zCreateDocumentResponse: z.ZodObject<{
|
|
7934
8038
|
id: z.ZodString;
|
|
7935
|
-
|
|
8039
|
+
assets_item_id: z.ZodString;
|
|
7936
8040
|
name: z.ZodString;
|
|
7937
8041
|
filename: z.ZodNullable<z.ZodString>;
|
|
7938
8042
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7956,7 +8060,7 @@ export declare const zDeleteDocumentPath: z.ZodObject<{
|
|
|
7956
8060
|
*/
|
|
7957
8061
|
export declare const zDeleteDocumentResponse: z.ZodObject<{
|
|
7958
8062
|
id: z.ZodString;
|
|
7959
|
-
|
|
8063
|
+
assets_item_id: z.ZodString;
|
|
7960
8064
|
name: z.ZodString;
|
|
7961
8065
|
filename: z.ZodNullable<z.ZodString>;
|
|
7962
8066
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7980,7 +8084,7 @@ export declare const zGetDocumentPath: z.ZodObject<{
|
|
|
7980
8084
|
*/
|
|
7981
8085
|
export declare const zGetDocumentResponse: z.ZodObject<{
|
|
7982
8086
|
id: z.ZodString;
|
|
7983
|
-
|
|
8087
|
+
assets_item_id: z.ZodString;
|
|
7984
8088
|
name: z.ZodString;
|
|
7985
8089
|
filename: z.ZodNullable<z.ZodString>;
|
|
7986
8090
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -8009,7 +8113,7 @@ export declare const zUpdateDocumentPath: z.ZodObject<{
|
|
|
8009
8113
|
*/
|
|
8010
8114
|
export declare const zUpdateDocumentResponse: z.ZodObject<{
|
|
8011
8115
|
id: z.ZodString;
|
|
8012
|
-
|
|
8116
|
+
assets_item_id: z.ZodString;
|
|
8013
8117
|
name: z.ZodString;
|
|
8014
8118
|
filename: z.ZodNullable<z.ZodString>;
|
|
8015
8119
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -8056,7 +8160,7 @@ export declare const zListVersionsResponse: z.ZodObject<{
|
|
|
8056
8160
|
}, z.core.$strip>>>;
|
|
8057
8161
|
}, z.core.$strip>;
|
|
8058
8162
|
export declare const zListProductsQuery: z.ZodObject<{
|
|
8059
|
-
'filter[
|
|
8163
|
+
'filter[assets_category_id]': z.ZodOptional<z.ZodString>;
|
|
8060
8164
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8061
8165
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8062
8166
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -8097,11 +8201,11 @@ export declare const zListProductsResponse: z.ZodObject<{
|
|
|
8097
8201
|
pack: "pack";
|
|
8098
8202
|
}>;
|
|
8099
8203
|
serialized: z.ZodBoolean;
|
|
8100
|
-
|
|
8204
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8101
8205
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8102
|
-
|
|
8206
|
+
assets_attribute_id: z.ZodString;
|
|
8103
8207
|
value: z.ZodNullable<z.ZodString>;
|
|
8104
|
-
|
|
8208
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8105
8209
|
}, z.core.$strip>>;
|
|
8106
8210
|
images: z.ZodArray<z.ZodObject<{
|
|
8107
8211
|
id: z.ZodString;
|
|
@@ -8125,7 +8229,7 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
8125
8229
|
}>;
|
|
8126
8230
|
name: z.ZodString;
|
|
8127
8231
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8128
|
-
|
|
8232
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8129
8233
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8130
8234
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8131
8235
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -8137,9 +8241,9 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
8137
8241
|
pack: "pack";
|
|
8138
8242
|
}>>;
|
|
8139
8243
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8140
|
-
|
|
8244
|
+
assets_attribute_id: z.ZodString;
|
|
8141
8245
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8142
|
-
|
|
8246
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8143
8247
|
}, z.core.$strip>>>;
|
|
8144
8248
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8145
8249
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8166,11 +8270,11 @@ export declare const zCreateProductResponse: z.ZodObject<{
|
|
|
8166
8270
|
pack: "pack";
|
|
8167
8271
|
}>;
|
|
8168
8272
|
serialized: z.ZodBoolean;
|
|
8169
|
-
|
|
8273
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8170
8274
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8171
|
-
|
|
8275
|
+
assets_attribute_id: z.ZodString;
|
|
8172
8276
|
value: z.ZodNullable<z.ZodString>;
|
|
8173
|
-
|
|
8277
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8174
8278
|
}, z.core.$strip>>;
|
|
8175
8279
|
images: z.ZodArray<z.ZodObject<{
|
|
8176
8280
|
id: z.ZodString;
|
|
@@ -8207,11 +8311,11 @@ export declare const zDeleteProductResponse: z.ZodObject<{
|
|
|
8207
8311
|
pack: "pack";
|
|
8208
8312
|
}>;
|
|
8209
8313
|
serialized: z.ZodBoolean;
|
|
8210
|
-
|
|
8314
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8211
8315
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8212
|
-
|
|
8316
|
+
assets_attribute_id: z.ZodString;
|
|
8213
8317
|
value: z.ZodNullable<z.ZodString>;
|
|
8214
|
-
|
|
8318
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8215
8319
|
}, z.core.$strip>>;
|
|
8216
8320
|
images: z.ZodArray<z.ZodObject<{
|
|
8217
8321
|
id: z.ZodString;
|
|
@@ -8248,11 +8352,11 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
8248
8352
|
pack: "pack";
|
|
8249
8353
|
}>;
|
|
8250
8354
|
serialized: z.ZodBoolean;
|
|
8251
|
-
|
|
8355
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8252
8356
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8253
|
-
|
|
8357
|
+
assets_attribute_id: z.ZodString;
|
|
8254
8358
|
value: z.ZodNullable<z.ZodString>;
|
|
8255
|
-
|
|
8359
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8256
8360
|
}, z.core.$strip>>;
|
|
8257
8361
|
images: z.ZodArray<z.ZodObject<{
|
|
8258
8362
|
id: z.ZodString;
|
|
@@ -8271,7 +8375,7 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
8271
8375
|
export declare const zUpdateProductBody: z.ZodObject<{
|
|
8272
8376
|
name: z.ZodOptional<z.ZodString>;
|
|
8273
8377
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8274
|
-
|
|
8378
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8275
8379
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8276
8380
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8277
8381
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -8283,9 +8387,9 @@ export declare const zUpdateProductBody: z.ZodObject<{
|
|
|
8283
8387
|
pack: "pack";
|
|
8284
8388
|
}>>;
|
|
8285
8389
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8286
|
-
|
|
8390
|
+
assets_attribute_id: z.ZodString;
|
|
8287
8391
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8288
|
-
|
|
8392
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8289
8393
|
}, z.core.$strip>>>;
|
|
8290
8394
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8291
8395
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8314,11 +8418,11 @@ export declare const zUpdateProductResponse: z.ZodObject<{
|
|
|
8314
8418
|
pack: "pack";
|
|
8315
8419
|
}>;
|
|
8316
8420
|
serialized: z.ZodBoolean;
|
|
8317
|
-
|
|
8421
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8318
8422
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8319
|
-
|
|
8423
|
+
assets_attribute_id: z.ZodString;
|
|
8320
8424
|
value: z.ZodNullable<z.ZodString>;
|
|
8321
|
-
|
|
8425
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8322
8426
|
}, z.core.$strip>>;
|
|
8323
8427
|
images: z.ZodArray<z.ZodObject<{
|
|
8324
8428
|
id: z.ZodString;
|
|
@@ -8360,11 +8464,11 @@ export declare const zAdjustProductInventoryResponse: z.ZodObject<{
|
|
|
8360
8464
|
pack: "pack";
|
|
8361
8465
|
}>;
|
|
8362
8466
|
serialized: z.ZodBoolean;
|
|
8363
|
-
|
|
8467
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8364
8468
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8365
|
-
|
|
8469
|
+
assets_attribute_id: z.ZodString;
|
|
8366
8470
|
value: z.ZodNullable<z.ZodString>;
|
|
8367
|
-
|
|
8471
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8368
8472
|
}, z.core.$strip>>;
|
|
8369
8473
|
images: z.ZodArray<z.ZodObject<{
|
|
8370
8474
|
id: z.ZodString;
|
|
@@ -8406,11 +8510,11 @@ export declare const zRestockProductResponse: z.ZodObject<{
|
|
|
8406
8510
|
pack: "pack";
|
|
8407
8511
|
}>;
|
|
8408
8512
|
serialized: z.ZodBoolean;
|
|
8409
|
-
|
|
8513
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8410
8514
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8411
|
-
|
|
8515
|
+
assets_attribute_id: z.ZodString;
|
|
8412
8516
|
value: z.ZodNullable<z.ZodString>;
|
|
8413
|
-
|
|
8517
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8414
8518
|
}, z.core.$strip>>;
|
|
8415
8519
|
images: z.ZodArray<z.ZodObject<{
|
|
8416
8520
|
id: z.ZodString;
|
|
@@ -8606,7 +8710,7 @@ export declare const zUpdateServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
8606
8710
|
updated_at: z.ZodISODateTime;
|
|
8607
8711
|
}, z.core.$strip>;
|
|
8608
8712
|
export declare const zSeedServiceScheduleTemplateBody: z.ZodObject<{
|
|
8609
|
-
|
|
8713
|
+
assets_item_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8610
8714
|
performed_by_user_id: z.ZodString;
|
|
8611
8715
|
}, z.core.$strip>;
|
|
8612
8716
|
export declare const zSeedServiceScheduleTemplatePath: z.ZodObject<{
|
|
@@ -8620,7 +8724,7 @@ export declare const zSeedServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
8620
8724
|
count: z.ZodInt;
|
|
8621
8725
|
data: z.ZodArray<z.ZodObject<{
|
|
8622
8726
|
id: z.ZodString;
|
|
8623
|
-
|
|
8727
|
+
assets_item_id: z.ZodString;
|
|
8624
8728
|
company_id: z.ZodString;
|
|
8625
8729
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
8626
8730
|
kind: z.ZodEnum<{
|
|
@@ -8656,7 +8760,7 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
8656
8760
|
count: z.ZodInt;
|
|
8657
8761
|
data: z.ZodArray<z.ZodObject<{
|
|
8658
8762
|
id: z.ZodString;
|
|
8659
|
-
|
|
8763
|
+
assets_item_id: z.ZodString;
|
|
8660
8764
|
company_id: z.ZodString;
|
|
8661
8765
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
8662
8766
|
kind: z.ZodEnum<{
|
|
@@ -8899,7 +9003,7 @@ export declare const zListTransfersResponse: z.ZodObject<{
|
|
|
8899
9003
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8900
9004
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8901
9005
|
id: z.ZodString;
|
|
8902
|
-
|
|
9006
|
+
assets_item_id: z.ZodString;
|
|
8903
9007
|
quantity: z.ZodInt;
|
|
8904
9008
|
}, z.core.$strip>>;
|
|
8905
9009
|
created_at: z.ZodISODateTime;
|
|
@@ -8913,7 +9017,7 @@ export declare const zCreateTransferBody: z.ZodObject<{
|
|
|
8913
9017
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
8914
9018
|
performed_by_user_id: z.ZodString;
|
|
8915
9019
|
line_items: z.ZodArray<z.ZodObject<{
|
|
8916
|
-
|
|
9020
|
+
assets_item_id: z.ZodString;
|
|
8917
9021
|
quantity: z.ZodInt;
|
|
8918
9022
|
}, z.core.$strip>>;
|
|
8919
9023
|
}, z.core.$strip>;
|
|
@@ -8937,7 +9041,7 @@ export declare const zCreateTransferResponse: z.ZodObject<{
|
|
|
8937
9041
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8938
9042
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8939
9043
|
id: z.ZodString;
|
|
8940
|
-
|
|
9044
|
+
assets_item_id: z.ZodString;
|
|
8941
9045
|
quantity: z.ZodInt;
|
|
8942
9046
|
}, z.core.$strip>>;
|
|
8943
9047
|
created_at: z.ZodISODateTime;
|
|
@@ -8966,7 +9070,7 @@ export declare const zGetTransferResponse: z.ZodObject<{
|
|
|
8966
9070
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8967
9071
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8968
9072
|
id: z.ZodString;
|
|
8969
|
-
|
|
9073
|
+
assets_item_id: z.ZodString;
|
|
8970
9074
|
quantity: z.ZodInt;
|
|
8971
9075
|
}, z.core.$strip>>;
|
|
8972
9076
|
created_at: z.ZodISODateTime;
|
|
@@ -9205,7 +9309,7 @@ export declare const zListFeaturesResponse: z.ZodObject<{
|
|
|
9205
9309
|
ext_source: z.ZodString;
|
|
9206
9310
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
9207
9311
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
9208
|
-
|
|
9312
|
+
scoped_to_user: z.ZodBoolean;
|
|
9209
9313
|
address_id: z.ZodNullable<z.ZodString>;
|
|
9210
9314
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9211
9315
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9330,7 +9434,7 @@ export declare const zGetFeatureResponse: z.ZodObject<{
|
|
|
9330
9434
|
ext_source: z.ZodString;
|
|
9331
9435
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
9332
9436
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
9333
|
-
|
|
9437
|
+
scoped_to_user: z.ZodBoolean;
|
|
9334
9438
|
address_id: z.ZodNullable<z.ZodString>;
|
|
9335
9439
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9336
9440
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9603,8 +9707,8 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
9603
9707
|
id: z.ZodString;
|
|
9604
9708
|
user_id: z.ZodString;
|
|
9605
9709
|
certification_id: z.ZodString;
|
|
9606
|
-
|
|
9607
|
-
|
|
9710
|
+
received_at: z.ZodISODateTime;
|
|
9711
|
+
verified: z.ZodBoolean;
|
|
9608
9712
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9609
9713
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9610
9714
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9620,12 +9724,12 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
9620
9724
|
export declare const zCreateUserCertificationBody: z.ZodObject<{
|
|
9621
9725
|
user_id: z.ZodString;
|
|
9622
9726
|
certification_id: z.ZodString;
|
|
9623
|
-
|
|
9727
|
+
received_at: z.ZodISODateTime;
|
|
9624
9728
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9625
9729
|
name: z.ZodOptional<z.ZodString>;
|
|
9626
9730
|
content: z.ZodOptional<z.ZodString>;
|
|
9627
9731
|
}, z.core.$strip>>>;
|
|
9628
|
-
|
|
9732
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9629
9733
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
9630
9734
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9631
9735
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9639,8 +9743,8 @@ export declare const zCreateUserCertificationResponse: z.ZodObject<{
|
|
|
9639
9743
|
id: z.ZodString;
|
|
9640
9744
|
user_id: z.ZodString;
|
|
9641
9745
|
certification_id: z.ZodString;
|
|
9642
|
-
|
|
9643
|
-
|
|
9746
|
+
received_at: z.ZodISODateTime;
|
|
9747
|
+
verified: z.ZodBoolean;
|
|
9644
9748
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9645
9749
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9646
9750
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9662,8 +9766,8 @@ export declare const zDeleteUserCertificationResponse: z.ZodObject<{
|
|
|
9662
9766
|
id: z.ZodString;
|
|
9663
9767
|
user_id: z.ZodString;
|
|
9664
9768
|
certification_id: z.ZodString;
|
|
9665
|
-
|
|
9666
|
-
|
|
9769
|
+
received_at: z.ZodISODateTime;
|
|
9770
|
+
verified: z.ZodBoolean;
|
|
9667
9771
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9668
9772
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9669
9773
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9685,8 +9789,8 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
9685
9789
|
id: z.ZodString;
|
|
9686
9790
|
user_id: z.ZodString;
|
|
9687
9791
|
certification_id: z.ZodString;
|
|
9688
|
-
|
|
9689
|
-
|
|
9792
|
+
received_at: z.ZodISODateTime;
|
|
9793
|
+
verified: z.ZodBoolean;
|
|
9690
9794
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9691
9795
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9692
9796
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9701,12 +9805,12 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
9701
9805
|
export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
9702
9806
|
user_id: z.ZodString;
|
|
9703
9807
|
certification_id: z.ZodString;
|
|
9704
|
-
|
|
9808
|
+
received_at: z.ZodISODateTime;
|
|
9705
9809
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9706
9810
|
name: z.ZodOptional<z.ZodString>;
|
|
9707
9811
|
content: z.ZodOptional<z.ZodString>;
|
|
9708
9812
|
}, z.core.$strip>>>;
|
|
9709
|
-
|
|
9813
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9710
9814
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
9711
9815
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9712
9816
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9723,8 +9827,8 @@ export declare const zUpdateUserCertificationResponse: z.ZodObject<{
|
|
|
9723
9827
|
id: z.ZodString;
|
|
9724
9828
|
user_id: z.ZodString;
|
|
9725
9829
|
certification_id: z.ZodString;
|
|
9726
|
-
|
|
9727
|
-
|
|
9830
|
+
received_at: z.ZodISODateTime;
|
|
9831
|
+
verified: z.ZodBoolean;
|
|
9728
9832
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9729
9833
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9730
9834
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9945,14 +10049,14 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9945
10049
|
color_hex: z.ZodString;
|
|
9946
10050
|
tagline: z.ZodNullable<z.ZodString>;
|
|
9947
10051
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
9948
|
-
corporate_structure: z.ZodEnum<{
|
|
10052
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
9949
10053
|
corporation: "corporation";
|
|
9950
10054
|
llc: "llc";
|
|
9951
10055
|
partnership: "partnership";
|
|
9952
10056
|
sole_proprietorship: "sole_proprietorship";
|
|
9953
10057
|
s_corporation: "s_corporation";
|
|
9954
|
-
}
|
|
9955
|
-
employee_count_range: z.ZodEnum<{
|
|
10058
|
+
}>>;
|
|
10059
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
9956
10060
|
one_to_ten: "one_to_ten";
|
|
9957
10061
|
eleven_to_fifty: "eleven_to_fifty";
|
|
9958
10062
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -9961,8 +10065,8 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9961
10065
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
9962
10066
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
9963
10067
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
9964
|
-
}
|
|
9965
|
-
revenue_range: z.ZodEnum<{
|
|
10068
|
+
}>>;
|
|
10069
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
9966
10070
|
zero_to_one_million: "zero_to_one_million";
|
|
9967
10071
|
one_to_ten_million: "one_to_ten_million";
|
|
9968
10072
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -9973,7 +10077,7 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9973
10077
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
9974
10078
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
9975
10079
|
ten_billion_plus: "ten_billion_plus";
|
|
9976
|
-
}
|
|
10080
|
+
}>>;
|
|
9977
10081
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
9978
10082
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
9979
10083
|
created_at: z.ZodISODateTime;
|
|
@@ -9998,14 +10102,14 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
9998
10102
|
color_hex: z.ZodString;
|
|
9999
10103
|
tagline: z.ZodNullable<z.ZodString>;
|
|
10000
10104
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10001
|
-
corporate_structure: z.ZodEnum<{
|
|
10105
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10002
10106
|
corporation: "corporation";
|
|
10003
10107
|
llc: "llc";
|
|
10004
10108
|
partnership: "partnership";
|
|
10005
10109
|
sole_proprietorship: "sole_proprietorship";
|
|
10006
10110
|
s_corporation: "s_corporation";
|
|
10007
|
-
}
|
|
10008
|
-
employee_count_range: z.ZodEnum<{
|
|
10111
|
+
}>>;
|
|
10112
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10009
10113
|
one_to_ten: "one_to_ten";
|
|
10010
10114
|
eleven_to_fifty: "eleven_to_fifty";
|
|
10011
10115
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -10014,8 +10118,8 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
10014
10118
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10015
10119
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10016
10120
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10017
|
-
}
|
|
10018
|
-
revenue_range: z.ZodEnum<{
|
|
10121
|
+
}>>;
|
|
10122
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10019
10123
|
zero_to_one_million: "zero_to_one_million";
|
|
10020
10124
|
one_to_ten_million: "one_to_ten_million";
|
|
10021
10125
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -10026,7 +10130,158 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
10026
10130
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10027
10131
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10028
10132
|
ten_billion_plus: "ten_billion_plus";
|
|
10029
|
-
}
|
|
10133
|
+
}>>;
|
|
10134
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
10135
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10136
|
+
created_at: z.ZodISODateTime;
|
|
10137
|
+
updated_at: z.ZodISODateTime;
|
|
10138
|
+
}, z.core.$strip>;
|
|
10139
|
+
export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
10140
|
+
name: z.ZodString;
|
|
10141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10142
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
10143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10144
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10145
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10146
|
+
address: z.ZodNullable<z.ZodString>;
|
|
10147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10148
|
+
website: z.ZodNullable<z.ZodString>;
|
|
10149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10150
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
10151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10152
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10154
|
+
color_hex: z.ZodString;
|
|
10155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10156
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
10157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10158
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10160
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10161
|
+
corporation: "corporation";
|
|
10162
|
+
llc: "llc";
|
|
10163
|
+
partnership: "partnership";
|
|
10164
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10165
|
+
s_corporation: "s_corporation";
|
|
10166
|
+
}>>;
|
|
10167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10168
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10169
|
+
one_to_ten: "one_to_ten";
|
|
10170
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10171
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10172
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10173
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10174
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10175
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10176
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10177
|
+
}>>;
|
|
10178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10179
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10180
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10181
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10182
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10183
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10184
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10185
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10186
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10187
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10188
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10189
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10190
|
+
}>>;
|
|
10191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10192
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
10193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10194
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10195
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
10196
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10197
|
+
legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10198
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10199
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10200
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10201
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10202
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10203
|
+
color_hex: z.ZodOptional<z.ZodString>;
|
|
10204
|
+
tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10205
|
+
founding_year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
10206
|
+
corporate_structure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10207
|
+
corporation: "corporation";
|
|
10208
|
+
llc: "llc";
|
|
10209
|
+
partnership: "partnership";
|
|
10210
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10211
|
+
s_corporation: "s_corporation";
|
|
10212
|
+
}>>>;
|
|
10213
|
+
employee_count_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10214
|
+
one_to_ten: "one_to_ten";
|
|
10215
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10216
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10217
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10218
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10219
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10220
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10221
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10222
|
+
}>>>;
|
|
10223
|
+
revenue_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10224
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10225
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10226
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10227
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10228
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10229
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10230
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10231
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10232
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10233
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10234
|
+
}>>>;
|
|
10235
|
+
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10236
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10237
|
+
}, z.core.$strip>>;
|
|
10238
|
+
export declare const zUpdateCompanyProfilePath: z.ZodObject<{
|
|
10239
|
+
id: z.ZodString;
|
|
10240
|
+
}, z.core.$strip>;
|
|
10241
|
+
/**
|
|
10242
|
+
* Success
|
|
10243
|
+
*/
|
|
10244
|
+
export declare const zUpdateCompanyProfileResponse: z.ZodObject<{
|
|
10245
|
+
id: z.ZodString;
|
|
10246
|
+
name: z.ZodString;
|
|
10247
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
10248
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10249
|
+
address: z.ZodNullable<z.ZodString>;
|
|
10250
|
+
website: z.ZodNullable<z.ZodString>;
|
|
10251
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
10252
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10253
|
+
color_hex: z.ZodString;
|
|
10254
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
10255
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10256
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10257
|
+
corporation: "corporation";
|
|
10258
|
+
llc: "llc";
|
|
10259
|
+
partnership: "partnership";
|
|
10260
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10261
|
+
s_corporation: "s_corporation";
|
|
10262
|
+
}>>;
|
|
10263
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10264
|
+
one_to_ten: "one_to_ten";
|
|
10265
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10266
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10267
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10268
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10269
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10270
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10271
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10272
|
+
}>>;
|
|
10273
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10274
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10275
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10276
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10277
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10278
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10279
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10280
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10281
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10282
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10283
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10284
|
+
}>>;
|
|
10030
10285
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
10031
10286
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10032
10287
|
created_at: z.ZodISODateTime;
|
|
@@ -10293,7 +10548,7 @@ export declare const zListCustomFieldConfigsResponse: z.ZodObject<{
|
|
|
10293
10548
|
name: z.ZodString;
|
|
10294
10549
|
description: z.ZodNullable<z.ZodString>;
|
|
10295
10550
|
model_type: z.ZodString;
|
|
10296
|
-
|
|
10551
|
+
visible: z.ZodBoolean;
|
|
10297
10552
|
company_id: z.ZodString;
|
|
10298
10553
|
created_at: z.ZodISODateTime;
|
|
10299
10554
|
updated_at: z.ZodISODateTime;
|
|
@@ -10308,7 +10563,7 @@ export declare const zCreateCustomFieldConfigBody: z.ZodObject<{
|
|
|
10308
10563
|
company: "company";
|
|
10309
10564
|
user_company: "user_company";
|
|
10310
10565
|
}>;
|
|
10311
|
-
|
|
10566
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
10312
10567
|
}, z.core.$strip>;
|
|
10313
10568
|
/**
|
|
10314
10569
|
* Created
|
|
@@ -10318,7 +10573,7 @@ export declare const zCreateCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10318
10573
|
name: z.ZodString;
|
|
10319
10574
|
description: z.ZodNullable<z.ZodString>;
|
|
10320
10575
|
model_type: z.ZodString;
|
|
10321
|
-
|
|
10576
|
+
visible: z.ZodBoolean;
|
|
10322
10577
|
company_id: z.ZodString;
|
|
10323
10578
|
created_at: z.ZodISODateTime;
|
|
10324
10579
|
updated_at: z.ZodISODateTime;
|
|
@@ -10334,7 +10589,7 @@ export declare const zDeleteCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10334
10589
|
name: z.ZodString;
|
|
10335
10590
|
description: z.ZodNullable<z.ZodString>;
|
|
10336
10591
|
model_type: z.ZodString;
|
|
10337
|
-
|
|
10592
|
+
visible: z.ZodBoolean;
|
|
10338
10593
|
company_id: z.ZodString;
|
|
10339
10594
|
created_at: z.ZodISODateTime;
|
|
10340
10595
|
updated_at: z.ZodISODateTime;
|
|
@@ -10350,7 +10605,7 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10350
10605
|
name: z.ZodString;
|
|
10351
10606
|
description: z.ZodNullable<z.ZodString>;
|
|
10352
10607
|
model_type: z.ZodString;
|
|
10353
|
-
|
|
10608
|
+
visible: z.ZodBoolean;
|
|
10354
10609
|
company_id: z.ZodString;
|
|
10355
10610
|
created_at: z.ZodISODateTime;
|
|
10356
10611
|
updated_at: z.ZodISODateTime;
|
|
@@ -10364,7 +10619,7 @@ export declare const zUpdateCustomFieldConfigBody: z.ZodObject<{
|
|
|
10364
10619
|
company: "company";
|
|
10365
10620
|
user_company: "user_company";
|
|
10366
10621
|
}>;
|
|
10367
|
-
|
|
10622
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
10368
10623
|
}, z.core.$strip>;
|
|
10369
10624
|
export declare const zUpdateCustomFieldConfigPath: z.ZodObject<{
|
|
10370
10625
|
id: z.ZodString;
|
|
@@ -10377,7 +10632,7 @@ export declare const zUpdateCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10377
10632
|
name: z.ZodString;
|
|
10378
10633
|
description: z.ZodNullable<z.ZodString>;
|
|
10379
10634
|
model_type: z.ZodString;
|
|
10380
|
-
|
|
10635
|
+
visible: z.ZodBoolean;
|
|
10381
10636
|
company_id: z.ZodString;
|
|
10382
10637
|
created_at: z.ZodISODateTime;
|
|
10383
10638
|
updated_at: z.ZodISODateTime;
|
|
@@ -11623,7 +11878,7 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
11623
11878
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11624
11879
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11625
11880
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11626
|
-
|
|
11881
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
11627
11882
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
11628
11883
|
}, z.core.$strip>>>>;
|
|
11629
11884
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -11902,7 +12157,7 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
11902
12157
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11903
12158
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11904
12159
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11905
|
-
|
|
12160
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
11906
12161
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
11907
12162
|
}, z.core.$strip>>>>;
|
|
11908
12163
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -12050,6 +12305,100 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
12050
12305
|
requires_feature_allocation: z.ZodBoolean;
|
|
12051
12306
|
max_one_feature_allocation: z.ZodBoolean;
|
|
12052
12307
|
}, z.core.$strip>;
|
|
12308
|
+
export declare const zListSiteCheckInsPath: z.ZodObject<{
|
|
12309
|
+
site_id: z.ZodString;
|
|
12310
|
+
}, z.core.$strip>;
|
|
12311
|
+
export declare const zListSiteCheckInsQuery: z.ZodObject<{
|
|
12312
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
12313
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12314
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12315
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12316
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12317
|
+
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12318
|
+
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12319
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
12320
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
12321
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
12322
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12323
|
+
page: z.ZodOptional<z.ZodString>;
|
|
12324
|
+
}, z.core.$strip>;
|
|
12325
|
+
/**
|
|
12326
|
+
* Success
|
|
12327
|
+
*/
|
|
12328
|
+
export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
12329
|
+
meta: z.ZodObject<{
|
|
12330
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
12331
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12332
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12333
|
+
}, z.core.$strip>>;
|
|
12334
|
+
}, z.core.$strip>;
|
|
12335
|
+
links: z.ZodObject<{
|
|
12336
|
+
self: z.ZodOptional<z.ZodString>;
|
|
12337
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12338
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12339
|
+
}, z.core.$strip>;
|
|
12340
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12341
|
+
id: z.ZodString;
|
|
12342
|
+
site_id: z.ZodString;
|
|
12343
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
12344
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
12345
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
12346
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
12347
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
12348
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
12349
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
12350
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12351
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
12352
|
+
source: z.ZodEnum<{
|
|
12353
|
+
manual: "manual";
|
|
12354
|
+
auto: "auto";
|
|
12355
|
+
}>;
|
|
12356
|
+
nerc_check_in: z.ZodBoolean;
|
|
12357
|
+
cip_exceptional: z.ZodBoolean;
|
|
12358
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12359
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12360
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
12361
|
+
start_time: z.ZodISODateTime;
|
|
12362
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
12363
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
12364
|
+
created_at: z.ZodISODateTime;
|
|
12365
|
+
updated_at: z.ZodISODateTime;
|
|
12366
|
+
}, z.core.$strip>>;
|
|
12367
|
+
}, z.core.$strip>;
|
|
12368
|
+
export declare const zGetSiteCheckInPath: z.ZodObject<{
|
|
12369
|
+
site_id: z.ZodString;
|
|
12370
|
+
id: z.ZodString;
|
|
12371
|
+
}, z.core.$strip>;
|
|
12372
|
+
/**
|
|
12373
|
+
* Success
|
|
12374
|
+
*/
|
|
12375
|
+
export declare const zGetSiteCheckInResponse: z.ZodObject<{
|
|
12376
|
+
id: z.ZodString;
|
|
12377
|
+
site_id: z.ZodString;
|
|
12378
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
12379
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
12380
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
12381
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
12382
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
12383
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
12384
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
12385
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12386
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
12387
|
+
source: z.ZodEnum<{
|
|
12388
|
+
manual: "manual";
|
|
12389
|
+
auto: "auto";
|
|
12390
|
+
}>;
|
|
12391
|
+
nerc_check_in: z.ZodBoolean;
|
|
12392
|
+
cip_exceptional: z.ZodBoolean;
|
|
12393
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12394
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12395
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
12396
|
+
start_time: z.ZodISODateTime;
|
|
12397
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
12398
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
12399
|
+
created_at: z.ZodISODateTime;
|
|
12400
|
+
updated_at: z.ZodISODateTime;
|
|
12401
|
+
}, z.core.$strip>;
|
|
12053
12402
|
export declare const zListPayPeriodsQuery: z.ZodObject<{
|
|
12054
12403
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12055
12404
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -13108,7 +13457,7 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
|
|
|
13108
13457
|
updated_at: z.ZodISODateTime;
|
|
13109
13458
|
}, z.core.$strip>;
|
|
13110
13459
|
export declare const zListPerDiemsQuery: z.ZodObject<{
|
|
13111
|
-
'filter[
|
|
13460
|
+
'filter[default]': z.ZodOptional<z.ZodBoolean>;
|
|
13112
13461
|
'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
|
|
13113
13462
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
13114
13463
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -13147,8 +13496,8 @@ export declare const zListPerDiemsResponse: z.ZodObject<{
|
|
|
13147
13496
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13148
13497
|
currency: z.ZodString;
|
|
13149
13498
|
taxable: z.ZodBoolean;
|
|
13150
|
-
|
|
13151
|
-
|
|
13499
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13500
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13152
13501
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13153
13502
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
13154
13503
|
created_at: z.ZodISODateTime;
|
|
@@ -13161,8 +13510,8 @@ export declare const zCreatePerDiemBody: z.ZodObject<{
|
|
|
13161
13510
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13162
13511
|
currency: z.ZodString;
|
|
13163
13512
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
13164
|
-
|
|
13165
|
-
|
|
13513
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13514
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13166
13515
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13167
13516
|
timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13168
13517
|
}, z.core.$strip>;
|
|
@@ -13176,8 +13525,8 @@ export declare const zCreatePerDiemResponse: z.ZodObject<{
|
|
|
13176
13525
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13177
13526
|
currency: z.ZodString;
|
|
13178
13527
|
taxable: z.ZodBoolean;
|
|
13179
|
-
|
|
13180
|
-
|
|
13528
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13529
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13181
13530
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13182
13531
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
13183
13532
|
created_at: z.ZodISODateTime;
|
|
@@ -13196,8 +13545,8 @@ export declare const zDeletePerDiemResponse: z.ZodObject<{
|
|
|
13196
13545
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13197
13546
|
currency: z.ZodString;
|
|
13198
13547
|
taxable: z.ZodBoolean;
|
|
13199
|
-
|
|
13200
|
-
|
|
13548
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13549
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13201
13550
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13202
13551
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
13203
13552
|
created_at: z.ZodISODateTime;
|
|
@@ -13216,8 +13565,8 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
|
|
|
13216
13565
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13217
13566
|
currency: z.ZodString;
|
|
13218
13567
|
taxable: z.ZodBoolean;
|
|
13219
|
-
|
|
13220
|
-
|
|
13568
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13569
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13221
13570
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13222
13571
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
13223
13572
|
created_at: z.ZodISODateTime;
|
|
@@ -13229,8 +13578,8 @@ export declare const zUpdatePerDiemBody: z.ZodObject<{
|
|
|
13229
13578
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13230
13579
|
currency: z.ZodString;
|
|
13231
13580
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
13232
|
-
|
|
13233
|
-
|
|
13581
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13582
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13234
13583
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13235
13584
|
timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13236
13585
|
}, z.core.$strip>;
|
|
@@ -13247,8 +13596,8 @@ export declare const zUpdatePerDiemResponse: z.ZodObject<{
|
|
|
13247
13596
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13248
13597
|
currency: z.ZodString;
|
|
13249
13598
|
taxable: z.ZodBoolean;
|
|
13250
|
-
|
|
13251
|
-
|
|
13599
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13600
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13252
13601
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13253
13602
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
13254
13603
|
created_at: z.ZodISODateTime;
|
|
@@ -14321,7 +14670,7 @@ export declare const zGetTradeResponse: z.ZodObject<{
|
|
|
14321
14670
|
export declare const zCreateFormAssignmentTaskBody: z.ZodObject<{
|
|
14322
14671
|
form_definition_id: z.ZodString;
|
|
14323
14672
|
spread_assignees: z.ZodOptional<z.ZodBoolean>;
|
|
14324
|
-
|
|
14673
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
14325
14674
|
task_attributes: z.ZodObject<{
|
|
14326
14675
|
name: z.ZodString;
|
|
14327
14676
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -14410,7 +14759,7 @@ export declare const zListPositionsResponse: z.ZodObject<{
|
|
|
14410
14759
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14411
14760
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
14412
14761
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14413
|
-
|
|
14762
|
+
pwa: z.ZodBoolean;
|
|
14414
14763
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14415
14764
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14416
14765
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -14430,7 +14779,7 @@ export declare const zCreatePositionBody: z.ZodObject<{
|
|
|
14430
14779
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14431
14780
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14432
14781
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14433
|
-
|
|
14782
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
14434
14783
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14435
14784
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14436
14785
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -14468,7 +14817,7 @@ export declare const zCreatePositionResponse: z.ZodObject<{
|
|
|
14468
14817
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14469
14818
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
14470
14819
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14471
|
-
|
|
14820
|
+
pwa: z.ZodBoolean;
|
|
14472
14821
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14473
14822
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14474
14823
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -14487,7 +14836,7 @@ export declare const zUpdatePositionBody: z.ZodObject<{
|
|
|
14487
14836
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14488
14837
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14489
14838
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14490
|
-
|
|
14839
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
14491
14840
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14492
14841
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14493
14842
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -14526,7 +14875,7 @@ export declare const zUpdatePositionResponse: z.ZodObject<{
|
|
|
14526
14875
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14527
14876
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
14528
14877
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14529
|
-
|
|
14878
|
+
pwa: z.ZodBoolean;
|
|
14530
14879
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14531
14880
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14532
14881
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -16140,8 +16489,8 @@ export declare const zListPayPeriodConfigHistoryResponse: z.ZodObject<{
|
|
|
16140
16489
|
}>;
|
|
16141
16490
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16142
16491
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16143
|
-
|
|
16144
|
-
|
|
16492
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16493
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16145
16494
|
valid_from: z.ZodISODateTime;
|
|
16146
16495
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16147
16496
|
created_at: z.ZodISODateTime;
|
|
@@ -16184,8 +16533,8 @@ export declare const zListPayPeriodConfigHistoryResponse: z.ZodObject<{
|
|
|
16184
16533
|
}>;
|
|
16185
16534
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16186
16535
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16187
|
-
|
|
16188
|
-
|
|
16536
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16537
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16189
16538
|
valid_from: z.ZodISODateTime;
|
|
16190
16539
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16191
16540
|
created_at: z.ZodISODateTime;
|
|
@@ -16421,8 +16770,8 @@ export declare const zListPayPeriodConfigsResponse: z.ZodObject<{
|
|
|
16421
16770
|
}>;
|
|
16422
16771
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16423
16772
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16424
|
-
|
|
16425
|
-
|
|
16773
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16774
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16426
16775
|
valid_from: z.ZodISODateTime;
|
|
16427
16776
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16428
16777
|
created_at: z.ZodISODateTime;
|
|
@@ -16471,8 +16820,8 @@ export declare const zGetPayPeriodConfigResponse: z.ZodObject<{
|
|
|
16471
16820
|
}>;
|
|
16472
16821
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16473
16822
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16474
|
-
|
|
16475
|
-
|
|
16823
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16824
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16476
16825
|
valid_from: z.ZodISODateTime;
|
|
16477
16826
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16478
16827
|
created_at: z.ZodISODateTime;
|
|
@@ -18265,7 +18614,7 @@ export declare const zListWorkTypesResponse: z.ZodObject<{
|
|
|
18265
18614
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18266
18615
|
id: z.ZodString;
|
|
18267
18616
|
value: z.ZodString;
|
|
18268
|
-
|
|
18617
|
+
verified: z.ZodBoolean;
|
|
18269
18618
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
18270
18619
|
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
18271
18620
|
created_at: z.ZodISODateTime;
|