@wakata-dev/api-client 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +203 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1578 -112
- package/dist/index.d.ts +1578 -112
- package/dist/index.js +203 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -473,6 +473,111 @@ type CreateGroupDto = {
|
|
|
473
473
|
*/
|
|
474
474
|
include_all_checklists?: boolean;
|
|
475
475
|
};
|
|
476
|
+
type CreateJobDto = {
|
|
477
|
+
/**
|
|
478
|
+
* Customer publicId (UUID) the job is for
|
|
479
|
+
*/
|
|
480
|
+
customer_id: string;
|
|
481
|
+
/**
|
|
482
|
+
* Job title
|
|
483
|
+
*/
|
|
484
|
+
title: string;
|
|
485
|
+
/**
|
|
486
|
+
* Start date (ISO)
|
|
487
|
+
*/
|
|
488
|
+
start_date: string;
|
|
489
|
+
/**
|
|
490
|
+
* BigInt as string. Category id (config_items.id, numeric string)
|
|
491
|
+
*/
|
|
492
|
+
category_id?: string;
|
|
493
|
+
/**
|
|
494
|
+
* Description
|
|
495
|
+
*/
|
|
496
|
+
description?: string;
|
|
497
|
+
/**
|
|
498
|
+
* Status
|
|
499
|
+
*/
|
|
500
|
+
status?: string;
|
|
501
|
+
/**
|
|
502
|
+
* Location address
|
|
503
|
+
*/
|
|
504
|
+
location_address?: string;
|
|
505
|
+
/**
|
|
506
|
+
* Location latitude
|
|
507
|
+
*/
|
|
508
|
+
location_lat?: number;
|
|
509
|
+
/**
|
|
510
|
+
* Location longitude
|
|
511
|
+
*/
|
|
512
|
+
location_lng?: number;
|
|
513
|
+
/**
|
|
514
|
+
* Google place id
|
|
515
|
+
*/
|
|
516
|
+
location_place_id?: string;
|
|
517
|
+
/**
|
|
518
|
+
* End date (ISO)
|
|
519
|
+
*/
|
|
520
|
+
end_date?: string;
|
|
521
|
+
/**
|
|
522
|
+
* Start time (HH:MM[:SS])
|
|
523
|
+
*/
|
|
524
|
+
start_time?: string;
|
|
525
|
+
/**
|
|
526
|
+
* End time (HH:MM[:SS])
|
|
527
|
+
*/
|
|
528
|
+
end_time?: string;
|
|
529
|
+
/**
|
|
530
|
+
* Estimated cost
|
|
531
|
+
*/
|
|
532
|
+
estimated_cost?: number;
|
|
533
|
+
/**
|
|
534
|
+
* Actual cost
|
|
535
|
+
*/
|
|
536
|
+
actual_cost?: number;
|
|
537
|
+
/**
|
|
538
|
+
* Cost notes
|
|
539
|
+
*/
|
|
540
|
+
cost_notes?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Required crew count
|
|
543
|
+
*/
|
|
544
|
+
required_crew_count?: number;
|
|
545
|
+
/**
|
|
546
|
+
* Notes
|
|
547
|
+
*/
|
|
548
|
+
notes?: string;
|
|
549
|
+
};
|
|
550
|
+
type CreateProjectDto = {
|
|
551
|
+
/**
|
|
552
|
+
* Project name
|
|
553
|
+
*/
|
|
554
|
+
name: string;
|
|
555
|
+
/**
|
|
556
|
+
* Site publicId (UUID) the project belongs to
|
|
557
|
+
*/
|
|
558
|
+
site_id: string;
|
|
559
|
+
/**
|
|
560
|
+
* Project code (unique per company)
|
|
561
|
+
*/
|
|
562
|
+
project_code: string;
|
|
563
|
+
/**
|
|
564
|
+
* Start date (ISO)
|
|
565
|
+
*/
|
|
566
|
+
started_at: string;
|
|
567
|
+
/**
|
|
568
|
+
* Description
|
|
569
|
+
*/
|
|
570
|
+
description?: string;
|
|
571
|
+
/**
|
|
572
|
+
* BigInt as string. Project category id (config_items.id, numeric string)
|
|
573
|
+
*/
|
|
574
|
+
project_category_id?: string;
|
|
575
|
+
status?: 'active' | 'suspended' | 'completed';
|
|
576
|
+
/**
|
|
577
|
+
* Expected end date (ISO)
|
|
578
|
+
*/
|
|
579
|
+
expected_end_date?: string;
|
|
580
|
+
};
|
|
476
581
|
type CreateSiteDto = {
|
|
477
582
|
/**
|
|
478
583
|
* Site name
|
|
@@ -605,6 +710,14 @@ type DeleteGroupResponseDto = {
|
|
|
605
710
|
message: string;
|
|
606
711
|
public_id: string;
|
|
607
712
|
};
|
|
713
|
+
type DeleteJobResponseDto = {
|
|
714
|
+
message: string;
|
|
715
|
+
public_id: string;
|
|
716
|
+
};
|
|
717
|
+
type DeleteProjectResponseDto = {
|
|
718
|
+
message: string;
|
|
719
|
+
public_id: string;
|
|
720
|
+
};
|
|
608
721
|
type DeleteSiteResponseDto = {
|
|
609
722
|
/**
|
|
610
723
|
* Success message
|
|
@@ -880,6 +993,64 @@ type EmbeddedCustomerPropertyDto = {
|
|
|
880
993
|
[key: string]: unknown;
|
|
881
994
|
} | null;
|
|
882
995
|
};
|
|
996
|
+
type EmbeddedJobPropertyDto = {
|
|
997
|
+
/**
|
|
998
|
+
* BigInt as string. Property definition id (config_items.id)
|
|
999
|
+
*/
|
|
1000
|
+
property_id: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* BigInt as string. Property value row id
|
|
1003
|
+
*/
|
|
1004
|
+
job_property_id: string;
|
|
1005
|
+
property_name: string;
|
|
1006
|
+
text_value: {
|
|
1007
|
+
[key: string]: unknown;
|
|
1008
|
+
} | null;
|
|
1009
|
+
numeric_value: {
|
|
1010
|
+
[key: string]: unknown;
|
|
1011
|
+
} | null;
|
|
1012
|
+
date_value: {
|
|
1013
|
+
[key: string]: unknown;
|
|
1014
|
+
} | null;
|
|
1015
|
+
updated_at: {
|
|
1016
|
+
[key: string]: unknown;
|
|
1017
|
+
} | null;
|
|
1018
|
+
updated_by: {
|
|
1019
|
+
[key: string]: unknown;
|
|
1020
|
+
} | null;
|
|
1021
|
+
updated_by_name: {
|
|
1022
|
+
[key: string]: unknown;
|
|
1023
|
+
} | null;
|
|
1024
|
+
};
|
|
1025
|
+
type EmbeddedProjectPropertyDto = {
|
|
1026
|
+
/**
|
|
1027
|
+
* BigInt as string. Property definition id (config_items.id)
|
|
1028
|
+
*/
|
|
1029
|
+
property_id: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* BigInt as string. Property value row id — definition lives on config_items
|
|
1032
|
+
*/
|
|
1033
|
+
project_property_id: string;
|
|
1034
|
+
property_name: string;
|
|
1035
|
+
text_value: {
|
|
1036
|
+
[key: string]: unknown;
|
|
1037
|
+
} | null;
|
|
1038
|
+
numeric_value: {
|
|
1039
|
+
[key: string]: unknown;
|
|
1040
|
+
} | null;
|
|
1041
|
+
date_value: {
|
|
1042
|
+
[key: string]: unknown;
|
|
1043
|
+
} | null;
|
|
1044
|
+
updated_at: {
|
|
1045
|
+
[key: string]: unknown;
|
|
1046
|
+
} | null;
|
|
1047
|
+
updated_by: {
|
|
1048
|
+
[key: string]: unknown;
|
|
1049
|
+
} | null;
|
|
1050
|
+
updated_by_name: {
|
|
1051
|
+
[key: string]: unknown;
|
|
1052
|
+
} | null;
|
|
1053
|
+
};
|
|
883
1054
|
type EmbeddedUserPropertyDto = {
|
|
884
1055
|
/**
|
|
885
1056
|
* Property ID. Serialized as a string in public API responses (BigInt-safe).
|
|
@@ -1391,6 +1562,172 @@ type IssueResponseDto = {
|
|
|
1391
1562
|
[key: string]: unknown;
|
|
1392
1563
|
};
|
|
1393
1564
|
};
|
|
1565
|
+
type JobAssignmentDto = {
|
|
1566
|
+
job_assignment_id: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* Assigned user publicId
|
|
1569
|
+
*/
|
|
1570
|
+
user_id: {
|
|
1571
|
+
[key: string]: unknown;
|
|
1572
|
+
} | null;
|
|
1573
|
+
/**
|
|
1574
|
+
* Assigned user full name
|
|
1575
|
+
*/
|
|
1576
|
+
user_name: {
|
|
1577
|
+
[key: string]: unknown;
|
|
1578
|
+
} | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Assigned asset publicId
|
|
1581
|
+
*/
|
|
1582
|
+
asset_id: {
|
|
1583
|
+
[key: string]: unknown;
|
|
1584
|
+
} | null;
|
|
1585
|
+
/**
|
|
1586
|
+
* Assigned asset number
|
|
1587
|
+
*/
|
|
1588
|
+
asset_number: {
|
|
1589
|
+
[key: string]: unknown;
|
|
1590
|
+
} | null;
|
|
1591
|
+
assignment_date: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* Start time (HH:MM:SS)
|
|
1594
|
+
*/
|
|
1595
|
+
start_time: {
|
|
1596
|
+
[key: string]: unknown;
|
|
1597
|
+
} | null;
|
|
1598
|
+
/**
|
|
1599
|
+
* End time (HH:MM:SS)
|
|
1600
|
+
*/
|
|
1601
|
+
end_time: {
|
|
1602
|
+
[key: string]: unknown;
|
|
1603
|
+
} | null;
|
|
1604
|
+
status: string;
|
|
1605
|
+
notes: {
|
|
1606
|
+
[key: string]: unknown;
|
|
1607
|
+
} | null;
|
|
1608
|
+
created_at: string;
|
|
1609
|
+
updated_at: string;
|
|
1610
|
+
};
|
|
1611
|
+
type JobRequirementDto = {
|
|
1612
|
+
job_asset_requirement_id: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* BigInt as string. Asset category config-item id
|
|
1615
|
+
*/
|
|
1616
|
+
asset_category_id: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* Asset category name
|
|
1619
|
+
*/
|
|
1620
|
+
asset_category: {
|
|
1621
|
+
[key: string]: unknown;
|
|
1622
|
+
} | null;
|
|
1623
|
+
/**
|
|
1624
|
+
* Asset class publicId
|
|
1625
|
+
*/
|
|
1626
|
+
asset_class_id: {
|
|
1627
|
+
[key: string]: unknown;
|
|
1628
|
+
} | null;
|
|
1629
|
+
/**
|
|
1630
|
+
* Asset class name
|
|
1631
|
+
*/
|
|
1632
|
+
asset_class: {
|
|
1633
|
+
[key: string]: unknown;
|
|
1634
|
+
} | null;
|
|
1635
|
+
asset_sub_class: {
|
|
1636
|
+
[key: string]: unknown;
|
|
1637
|
+
} | null;
|
|
1638
|
+
quantity: number;
|
|
1639
|
+
is_mandatory: boolean;
|
|
1640
|
+
notes: {
|
|
1641
|
+
[key: string]: unknown;
|
|
1642
|
+
} | null;
|
|
1643
|
+
created_at: string;
|
|
1644
|
+
updated_at: string;
|
|
1645
|
+
};
|
|
1646
|
+
type JobResponseDto = {
|
|
1647
|
+
public_id: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* Customer publicId
|
|
1650
|
+
*/
|
|
1651
|
+
customer_id: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* Customer name
|
|
1654
|
+
*/
|
|
1655
|
+
customer_name: {
|
|
1656
|
+
[key: string]: unknown;
|
|
1657
|
+
} | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Category config-item id
|
|
1660
|
+
*/
|
|
1661
|
+
category_id: {
|
|
1662
|
+
[key: string]: unknown;
|
|
1663
|
+
} | null;
|
|
1664
|
+
/**
|
|
1665
|
+
* Category name
|
|
1666
|
+
*/
|
|
1667
|
+
category: {
|
|
1668
|
+
[key: string]: unknown;
|
|
1669
|
+
} | null;
|
|
1670
|
+
job_number: string;
|
|
1671
|
+
title: string;
|
|
1672
|
+
description: {
|
|
1673
|
+
[key: string]: unknown;
|
|
1674
|
+
} | null;
|
|
1675
|
+
status: string;
|
|
1676
|
+
location_address: {
|
|
1677
|
+
[key: string]: unknown;
|
|
1678
|
+
} | null;
|
|
1679
|
+
location_lat: {
|
|
1680
|
+
[key: string]: unknown;
|
|
1681
|
+
} | null;
|
|
1682
|
+
location_lng: {
|
|
1683
|
+
[key: string]: unknown;
|
|
1684
|
+
} | null;
|
|
1685
|
+
location_place_id: {
|
|
1686
|
+
[key: string]: unknown;
|
|
1687
|
+
} | null;
|
|
1688
|
+
start_date: string;
|
|
1689
|
+
end_date: {
|
|
1690
|
+
[key: string]: unknown;
|
|
1691
|
+
} | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* Start time (HH:MM:SS)
|
|
1694
|
+
*/
|
|
1695
|
+
start_time: {
|
|
1696
|
+
[key: string]: unknown;
|
|
1697
|
+
} | null;
|
|
1698
|
+
/**
|
|
1699
|
+
* End time (HH:MM:SS)
|
|
1700
|
+
*/
|
|
1701
|
+
end_time: {
|
|
1702
|
+
[key: string]: unknown;
|
|
1703
|
+
} | null;
|
|
1704
|
+
estimated_cost: {
|
|
1705
|
+
[key: string]: unknown;
|
|
1706
|
+
} | null;
|
|
1707
|
+
actual_cost: {
|
|
1708
|
+
[key: string]: unknown;
|
|
1709
|
+
} | null;
|
|
1710
|
+
cost_notes: {
|
|
1711
|
+
[key: string]: unknown;
|
|
1712
|
+
} | null;
|
|
1713
|
+
required_crew_count: {
|
|
1714
|
+
[key: string]: unknown;
|
|
1715
|
+
} | null;
|
|
1716
|
+
notes: {
|
|
1717
|
+
[key: string]: unknown;
|
|
1718
|
+
} | null;
|
|
1719
|
+
/**
|
|
1720
|
+
* Count of assignments
|
|
1721
|
+
*/
|
|
1722
|
+
assignment_count: number;
|
|
1723
|
+
/**
|
|
1724
|
+
* Count of asset requirements
|
|
1725
|
+
*/
|
|
1726
|
+
requirement_count: number;
|
|
1727
|
+
created_at: string;
|
|
1728
|
+
updated_at: string;
|
|
1729
|
+
job_properties: Array<EmbeddedJobPropertyDto>;
|
|
1730
|
+
};
|
|
1394
1731
|
type ListChecklistsResponseDto = {
|
|
1395
1732
|
/**
|
|
1396
1733
|
* List of checklists
|
|
@@ -1505,24 +1842,66 @@ type ListIssuesResponseDto = {
|
|
|
1505
1842
|
*/
|
|
1506
1843
|
total_pages: number;
|
|
1507
1844
|
};
|
|
1508
|
-
type
|
|
1509
|
-
|
|
1510
|
-
* List of sites
|
|
1511
|
-
*/
|
|
1512
|
-
data: Array<SiteResponseDto>;
|
|
1513
|
-
/**
|
|
1514
|
-
* Total number of sites
|
|
1515
|
-
*/
|
|
1516
|
-
total: number;
|
|
1517
|
-
/**
|
|
1518
|
-
* Current page
|
|
1519
|
-
*/
|
|
1845
|
+
type ListJobAssignmentsResponseDto = {
|
|
1846
|
+
data: Array<JobAssignmentDto>;
|
|
1520
1847
|
page: number;
|
|
1521
|
-
/**
|
|
1522
|
-
* Items per page
|
|
1523
|
-
*/
|
|
1524
1848
|
per_page: number;
|
|
1525
|
-
|
|
1849
|
+
total: number;
|
|
1850
|
+
total_pages: number;
|
|
1851
|
+
};
|
|
1852
|
+
type ListJobRequirementsResponseDto = {
|
|
1853
|
+
data: Array<JobRequirementDto>;
|
|
1854
|
+
page: number;
|
|
1855
|
+
per_page: number;
|
|
1856
|
+
total: number;
|
|
1857
|
+
total_pages: number;
|
|
1858
|
+
};
|
|
1859
|
+
type ListJobsResponseDto = {
|
|
1860
|
+
data: Array<JobResponseDto>;
|
|
1861
|
+
page: number;
|
|
1862
|
+
per_page: number;
|
|
1863
|
+
total: number;
|
|
1864
|
+
total_pages: number;
|
|
1865
|
+
};
|
|
1866
|
+
type ListProjectAssetsResponseDto = {
|
|
1867
|
+
data: Array<ProjectAssetDto>;
|
|
1868
|
+
page: number;
|
|
1869
|
+
per_page: number;
|
|
1870
|
+
total: number;
|
|
1871
|
+
total_pages: number;
|
|
1872
|
+
};
|
|
1873
|
+
type ListProjectUsersResponseDto = {
|
|
1874
|
+
data: Array<ProjectUserDto>;
|
|
1875
|
+
page: number;
|
|
1876
|
+
per_page: number;
|
|
1877
|
+
total: number;
|
|
1878
|
+
total_pages: number;
|
|
1879
|
+
};
|
|
1880
|
+
type ListProjectsResponseDto = {
|
|
1881
|
+
data: Array<ProjectResponseDto>;
|
|
1882
|
+
page: number;
|
|
1883
|
+
per_page: number;
|
|
1884
|
+
total: number;
|
|
1885
|
+
total_pages: number;
|
|
1886
|
+
};
|
|
1887
|
+
type ListSitesResponseDto = {
|
|
1888
|
+
/**
|
|
1889
|
+
* List of sites
|
|
1890
|
+
*/
|
|
1891
|
+
data: Array<SiteResponseDto>;
|
|
1892
|
+
/**
|
|
1893
|
+
* Total number of sites
|
|
1894
|
+
*/
|
|
1895
|
+
total: number;
|
|
1896
|
+
/**
|
|
1897
|
+
* Current page
|
|
1898
|
+
*/
|
|
1899
|
+
page: number;
|
|
1900
|
+
/**
|
|
1901
|
+
* Items per page
|
|
1902
|
+
*/
|
|
1903
|
+
per_page: number;
|
|
1904
|
+
/**
|
|
1526
1905
|
* Total number of pages
|
|
1527
1906
|
*/
|
|
1528
1907
|
total_pages: number;
|
|
@@ -1541,6 +1920,124 @@ type ListZonesResponseDto = {
|
|
|
1541
1920
|
total: number;
|
|
1542
1921
|
total_pages: number;
|
|
1543
1922
|
};
|
|
1923
|
+
type ProjectAssetDto = {
|
|
1924
|
+
/**
|
|
1925
|
+
* Assignment (approval) row publicId
|
|
1926
|
+
*/
|
|
1927
|
+
project_asset_approval_id: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* Asset publicId
|
|
1930
|
+
*/
|
|
1931
|
+
asset_id: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* Asset number
|
|
1934
|
+
*/
|
|
1935
|
+
asset_number: string;
|
|
1936
|
+
/**
|
|
1937
|
+
* Assignment approval status
|
|
1938
|
+
*/
|
|
1939
|
+
approval_status: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
1940
|
+
approval_number: {
|
|
1941
|
+
[key: string]: unknown;
|
|
1942
|
+
} | null;
|
|
1943
|
+
approval_date: {
|
|
1944
|
+
[key: string]: unknown;
|
|
1945
|
+
} | null;
|
|
1946
|
+
expiry_date: {
|
|
1947
|
+
[key: string]: unknown;
|
|
1948
|
+
} | null;
|
|
1949
|
+
rejection_reason: {
|
|
1950
|
+
[key: string]: unknown;
|
|
1951
|
+
} | null;
|
|
1952
|
+
created_at: string;
|
|
1953
|
+
updated_at: string;
|
|
1954
|
+
};
|
|
1955
|
+
type ProjectResponseDto = {
|
|
1956
|
+
public_id: string;
|
|
1957
|
+
/**
|
|
1958
|
+
* Site publicId
|
|
1959
|
+
*/
|
|
1960
|
+
site_id: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* Site name
|
|
1963
|
+
*/
|
|
1964
|
+
site_name: {
|
|
1965
|
+
[key: string]: unknown;
|
|
1966
|
+
} | null;
|
|
1967
|
+
name: string;
|
|
1968
|
+
project_code: string;
|
|
1969
|
+
description: {
|
|
1970
|
+
[key: string]: unknown;
|
|
1971
|
+
} | null;
|
|
1972
|
+
/**
|
|
1973
|
+
* Category config-item id
|
|
1974
|
+
*/
|
|
1975
|
+
project_category_id: {
|
|
1976
|
+
[key: string]: unknown;
|
|
1977
|
+
} | null;
|
|
1978
|
+
/**
|
|
1979
|
+
* Category name
|
|
1980
|
+
*/
|
|
1981
|
+
project_category: {
|
|
1982
|
+
[key: string]: unknown;
|
|
1983
|
+
} | null;
|
|
1984
|
+
status: 'active' | 'suspended' | 'completed';
|
|
1985
|
+
suspended_reason: {
|
|
1986
|
+
[key: string]: unknown;
|
|
1987
|
+
} | null;
|
|
1988
|
+
started_at: string;
|
|
1989
|
+
expected_end_date: {
|
|
1990
|
+
[key: string]: unknown;
|
|
1991
|
+
} | null;
|
|
1992
|
+
completed_at: {
|
|
1993
|
+
[key: string]: unknown;
|
|
1994
|
+
} | null;
|
|
1995
|
+
/**
|
|
1996
|
+
* Count of approved asset assignments
|
|
1997
|
+
*/
|
|
1998
|
+
asset_count: number;
|
|
1999
|
+
/**
|
|
2000
|
+
* Count of approved user assignments
|
|
2001
|
+
*/
|
|
2002
|
+
user_count: number;
|
|
2003
|
+
created_at: string;
|
|
2004
|
+
updated_at: string;
|
|
2005
|
+
project_properties: Array<EmbeddedProjectPropertyDto>;
|
|
2006
|
+
};
|
|
2007
|
+
type ProjectUserDto = {
|
|
2008
|
+
/**
|
|
2009
|
+
* Assignment (approval) row publicId
|
|
2010
|
+
*/
|
|
2011
|
+
project_user_approval_id: string;
|
|
2012
|
+
/**
|
|
2013
|
+
* User publicId
|
|
2014
|
+
*/
|
|
2015
|
+
user_id: string;
|
|
2016
|
+
/**
|
|
2017
|
+
* User full name
|
|
2018
|
+
*/
|
|
2019
|
+
user_name: {
|
|
2020
|
+
[key: string]: unknown;
|
|
2021
|
+
} | null;
|
|
2022
|
+
/**
|
|
2023
|
+
* Assignment approval status
|
|
2024
|
+
*/
|
|
2025
|
+
approval_status: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
2026
|
+
approval_number: {
|
|
2027
|
+
[key: string]: unknown;
|
|
2028
|
+
} | null;
|
|
2029
|
+
approval_date: {
|
|
2030
|
+
[key: string]: unknown;
|
|
2031
|
+
} | null;
|
|
2032
|
+
expiry_date: {
|
|
2033
|
+
[key: string]: unknown;
|
|
2034
|
+
} | null;
|
|
2035
|
+
rejection_reason: {
|
|
2036
|
+
[key: string]: unknown;
|
|
2037
|
+
} | null;
|
|
2038
|
+
created_at: string;
|
|
2039
|
+
updated_at: string;
|
|
2040
|
+
};
|
|
1544
2041
|
type PublicCreateAssetDto = {
|
|
1545
2042
|
/**
|
|
1546
2043
|
* Asset number
|
|
@@ -2022,6 +2519,153 @@ type UpdateIssueDto = {
|
|
|
2022
2519
|
*/
|
|
2023
2520
|
user_id: string;
|
|
2024
2521
|
};
|
|
2522
|
+
type UpdateJobDto = {
|
|
2523
|
+
/**
|
|
2524
|
+
* Customer publicId (UUID)
|
|
2525
|
+
*/
|
|
2526
|
+
customer_id?: string;
|
|
2527
|
+
/**
|
|
2528
|
+
* Job title
|
|
2529
|
+
*/
|
|
2530
|
+
title?: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Category id (numeric)
|
|
2533
|
+
*/
|
|
2534
|
+
category_id?: {
|
|
2535
|
+
[key: string]: unknown;
|
|
2536
|
+
} | null;
|
|
2537
|
+
/**
|
|
2538
|
+
* Description
|
|
2539
|
+
*/
|
|
2540
|
+
description?: {
|
|
2541
|
+
[key: string]: unknown;
|
|
2542
|
+
} | null;
|
|
2543
|
+
/**
|
|
2544
|
+
* Status
|
|
2545
|
+
*/
|
|
2546
|
+
status?: string;
|
|
2547
|
+
/**
|
|
2548
|
+
* Location address
|
|
2549
|
+
*/
|
|
2550
|
+
location_address?: {
|
|
2551
|
+
[key: string]: unknown;
|
|
2552
|
+
} | null;
|
|
2553
|
+
/**
|
|
2554
|
+
* Location latitude
|
|
2555
|
+
*/
|
|
2556
|
+
location_lat?: {
|
|
2557
|
+
[key: string]: unknown;
|
|
2558
|
+
} | null;
|
|
2559
|
+
/**
|
|
2560
|
+
* Location longitude
|
|
2561
|
+
*/
|
|
2562
|
+
location_lng?: {
|
|
2563
|
+
[key: string]: unknown;
|
|
2564
|
+
} | null;
|
|
2565
|
+
/**
|
|
2566
|
+
* Google place id
|
|
2567
|
+
*/
|
|
2568
|
+
location_place_id?: {
|
|
2569
|
+
[key: string]: unknown;
|
|
2570
|
+
} | null;
|
|
2571
|
+
/**
|
|
2572
|
+
* Start date (ISO)
|
|
2573
|
+
*/
|
|
2574
|
+
start_date?: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* End date (ISO)
|
|
2577
|
+
*/
|
|
2578
|
+
end_date?: {
|
|
2579
|
+
[key: string]: unknown;
|
|
2580
|
+
} | null;
|
|
2581
|
+
/**
|
|
2582
|
+
* Start time (HH:MM[:SS])
|
|
2583
|
+
*/
|
|
2584
|
+
start_time?: {
|
|
2585
|
+
[key: string]: unknown;
|
|
2586
|
+
} | null;
|
|
2587
|
+
/**
|
|
2588
|
+
* End time (HH:MM[:SS])
|
|
2589
|
+
*/
|
|
2590
|
+
end_time?: {
|
|
2591
|
+
[key: string]: unknown;
|
|
2592
|
+
} | null;
|
|
2593
|
+
/**
|
|
2594
|
+
* Estimated cost
|
|
2595
|
+
*/
|
|
2596
|
+
estimated_cost?: {
|
|
2597
|
+
[key: string]: unknown;
|
|
2598
|
+
} | null;
|
|
2599
|
+
/**
|
|
2600
|
+
* Actual cost
|
|
2601
|
+
*/
|
|
2602
|
+
actual_cost?: {
|
|
2603
|
+
[key: string]: unknown;
|
|
2604
|
+
} | null;
|
|
2605
|
+
/**
|
|
2606
|
+
* Cost notes
|
|
2607
|
+
*/
|
|
2608
|
+
cost_notes?: {
|
|
2609
|
+
[key: string]: unknown;
|
|
2610
|
+
} | null;
|
|
2611
|
+
/**
|
|
2612
|
+
* Required crew count
|
|
2613
|
+
*/
|
|
2614
|
+
required_crew_count?: {
|
|
2615
|
+
[key: string]: unknown;
|
|
2616
|
+
} | null;
|
|
2617
|
+
/**
|
|
2618
|
+
* Notes
|
|
2619
|
+
*/
|
|
2620
|
+
notes?: {
|
|
2621
|
+
[key: string]: unknown;
|
|
2622
|
+
} | null;
|
|
2623
|
+
};
|
|
2624
|
+
type UpdateProjectDto = {
|
|
2625
|
+
/**
|
|
2626
|
+
* Project name
|
|
2627
|
+
*/
|
|
2628
|
+
name?: string;
|
|
2629
|
+
/**
|
|
2630
|
+
* Project code (unique per company)
|
|
2631
|
+
*/
|
|
2632
|
+
project_code?: string;
|
|
2633
|
+
/**
|
|
2634
|
+
* Description
|
|
2635
|
+
*/
|
|
2636
|
+
description?: {
|
|
2637
|
+
[key: string]: unknown;
|
|
2638
|
+
} | null;
|
|
2639
|
+
/**
|
|
2640
|
+
* Project category id (numeric)
|
|
2641
|
+
*/
|
|
2642
|
+
project_category_id?: {
|
|
2643
|
+
[key: string]: unknown;
|
|
2644
|
+
} | null;
|
|
2645
|
+
status?: 'active' | 'suspended' | 'completed';
|
|
2646
|
+
/**
|
|
2647
|
+
* Reason when status is suspended
|
|
2648
|
+
*/
|
|
2649
|
+
suspended_reason?: {
|
|
2650
|
+
[key: string]: unknown;
|
|
2651
|
+
} | null;
|
|
2652
|
+
/**
|
|
2653
|
+
* Start date (ISO)
|
|
2654
|
+
*/
|
|
2655
|
+
started_at?: string;
|
|
2656
|
+
/**
|
|
2657
|
+
* Expected end date (ISO)
|
|
2658
|
+
*/
|
|
2659
|
+
expected_end_date?: {
|
|
2660
|
+
[key: string]: unknown;
|
|
2661
|
+
} | null;
|
|
2662
|
+
/**
|
|
2663
|
+
* Completed date (ISO)
|
|
2664
|
+
*/
|
|
2665
|
+
completed_at?: {
|
|
2666
|
+
[key: string]: unknown;
|
|
2667
|
+
} | null;
|
|
2668
|
+
};
|
|
2025
2669
|
type UpdateSiteDto = {
|
|
2026
2670
|
/**
|
|
2027
2671
|
* Site name
|
|
@@ -6073,14 +6717,622 @@ type JobDocumentControllerGetData = {
|
|
|
6073
6717
|
body?: never;
|
|
6074
6718
|
path: {
|
|
6075
6719
|
/**
|
|
6076
|
-
* Document ID (numeric string)
|
|
6720
|
+
* Document ID (numeric string)
|
|
6721
|
+
*/
|
|
6722
|
+
id: string;
|
|
6723
|
+
};
|
|
6724
|
+
query?: never;
|
|
6725
|
+
url: '/job-document/{id}';
|
|
6726
|
+
};
|
|
6727
|
+
type JobDocumentControllerGetErrors = {
|
|
6728
|
+
/**
|
|
6729
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6730
|
+
*/
|
|
6731
|
+
400: ApiErrorResponse;
|
|
6732
|
+
/**
|
|
6733
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6734
|
+
*/
|
|
6735
|
+
401: ApiErrorResponse;
|
|
6736
|
+
/**
|
|
6737
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
6738
|
+
*/
|
|
6739
|
+
403: ApiErrorResponse;
|
|
6740
|
+
/**
|
|
6741
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
6742
|
+
*/
|
|
6743
|
+
404: ApiErrorResponse;
|
|
6744
|
+
/**
|
|
6745
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6746
|
+
*/
|
|
6747
|
+
429: ApiErrorResponse;
|
|
6748
|
+
/**
|
|
6749
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
6750
|
+
*/
|
|
6751
|
+
500: ApiErrorResponse;
|
|
6752
|
+
};
|
|
6753
|
+
type JobDocumentControllerGetError = JobDocumentControllerGetErrors[keyof JobDocumentControllerGetErrors];
|
|
6754
|
+
type JobDocumentControllerGetResponses = {
|
|
6755
|
+
200: DocumentResponseDto;
|
|
6756
|
+
};
|
|
6757
|
+
type JobDocumentControllerGetResponse = JobDocumentControllerGetResponses[keyof JobDocumentControllerGetResponses];
|
|
6758
|
+
type JobDocumentControllerUpdateData = {
|
|
6759
|
+
body: UpdateDocumentDto;
|
|
6760
|
+
headers?: {
|
|
6761
|
+
/**
|
|
6762
|
+
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
6763
|
+
*/
|
|
6764
|
+
'Idempotency-Key'?: string;
|
|
6765
|
+
};
|
|
6766
|
+
path: {
|
|
6767
|
+
/**
|
|
6768
|
+
* Document ID (numeric string)
|
|
6769
|
+
*/
|
|
6770
|
+
id: string;
|
|
6771
|
+
};
|
|
6772
|
+
query?: never;
|
|
6773
|
+
url: '/job-document/{id}';
|
|
6774
|
+
};
|
|
6775
|
+
type JobDocumentControllerUpdateErrors = {
|
|
6776
|
+
/**
|
|
6777
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6778
|
+
*/
|
|
6779
|
+
400: ApiErrorResponse;
|
|
6780
|
+
/**
|
|
6781
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6782
|
+
*/
|
|
6783
|
+
401: ApiErrorResponse;
|
|
6784
|
+
/**
|
|
6785
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
6786
|
+
*/
|
|
6787
|
+
403: ApiErrorResponse;
|
|
6788
|
+
/**
|
|
6789
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
6790
|
+
*/
|
|
6791
|
+
404: ApiErrorResponse;
|
|
6792
|
+
/**
|
|
6793
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6794
|
+
*/
|
|
6795
|
+
429: ApiErrorResponse;
|
|
6796
|
+
/**
|
|
6797
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
6798
|
+
*/
|
|
6799
|
+
500: ApiErrorResponse;
|
|
6800
|
+
};
|
|
6801
|
+
type JobDocumentControllerUpdateError = JobDocumentControllerUpdateErrors[keyof JobDocumentControllerUpdateErrors];
|
|
6802
|
+
type JobDocumentControllerUpdateResponses = {
|
|
6803
|
+
200: DocumentResponseDto;
|
|
6804
|
+
};
|
|
6805
|
+
type JobDocumentControllerUpdateResponse = JobDocumentControllerUpdateResponses[keyof JobDocumentControllerUpdateResponses];
|
|
6806
|
+
type JobDocumentControllerCreateData = {
|
|
6807
|
+
body: CreateDocumentDto;
|
|
6808
|
+
headers?: {
|
|
6809
|
+
/**
|
|
6810
|
+
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
6811
|
+
*/
|
|
6812
|
+
'Idempotency-Key'?: string;
|
|
6813
|
+
};
|
|
6814
|
+
path?: never;
|
|
6815
|
+
query?: never;
|
|
6816
|
+
url: '/job-document';
|
|
6817
|
+
};
|
|
6818
|
+
type JobDocumentControllerCreateErrors = {
|
|
6819
|
+
/**
|
|
6820
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6821
|
+
*/
|
|
6822
|
+
400: ApiErrorResponse;
|
|
6823
|
+
/**
|
|
6824
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6825
|
+
*/
|
|
6826
|
+
401: ApiErrorResponse;
|
|
6827
|
+
/**
|
|
6828
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
6829
|
+
*/
|
|
6830
|
+
403: ApiErrorResponse;
|
|
6831
|
+
/**
|
|
6832
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
6833
|
+
*/
|
|
6834
|
+
404: ApiErrorResponse;
|
|
6835
|
+
/**
|
|
6836
|
+
* The request conflicts with current state. Common cases: a unique business identifier already exists (`conflict`), or an `Idempotency-Key` was reused with a different request body (`idempotency_key_conflict`).
|
|
6837
|
+
*/
|
|
6838
|
+
409: ApiErrorResponse;
|
|
6839
|
+
/**
|
|
6840
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6841
|
+
*/
|
|
6842
|
+
429: ApiErrorResponse;
|
|
6843
|
+
/**
|
|
6844
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
6845
|
+
*/
|
|
6846
|
+
500: ApiErrorResponse;
|
|
6847
|
+
};
|
|
6848
|
+
type JobDocumentControllerCreateError = JobDocumentControllerCreateErrors[keyof JobDocumentControllerCreateErrors];
|
|
6849
|
+
type JobDocumentControllerCreateResponses = {
|
|
6850
|
+
201: DocumentResponseDto;
|
|
6851
|
+
};
|
|
6852
|
+
type JobDocumentControllerCreateResponse = JobDocumentControllerCreateResponses[keyof JobDocumentControllerCreateResponses];
|
|
6853
|
+
type CompanyDocumentControllerListData = {
|
|
6854
|
+
body?: never;
|
|
6855
|
+
path?: never;
|
|
6856
|
+
query?: {
|
|
6857
|
+
/**
|
|
6858
|
+
* Results per page
|
|
6859
|
+
*/
|
|
6860
|
+
per_page?: number;
|
|
6861
|
+
/**
|
|
6862
|
+
* Page number
|
|
6863
|
+
*/
|
|
6864
|
+
page?: number;
|
|
6865
|
+
direction?: 'asc' | 'desc';
|
|
6866
|
+
/**
|
|
6867
|
+
* Sort field: name, issued_on, expires_on, created_at, updated_at, id (default updated_at)
|
|
6868
|
+
*/
|
|
6869
|
+
sort?: string;
|
|
6870
|
+
/**
|
|
6871
|
+
* Filter to one parent by its publicId (UUID)
|
|
6872
|
+
*/
|
|
6873
|
+
parent_id?: string;
|
|
6874
|
+
/**
|
|
6875
|
+
* Filter by document type id (numeric string)
|
|
6876
|
+
*/
|
|
6877
|
+
document_type_id?: string;
|
|
6878
|
+
/**
|
|
6879
|
+
* Filter by name (case-insensitive partial)
|
|
6880
|
+
*/
|
|
6881
|
+
name?: string;
|
|
6882
|
+
/**
|
|
6883
|
+
* Filter: expires_on >= (ISO date)
|
|
6884
|
+
*/
|
|
6885
|
+
expires_on_from?: string;
|
|
6886
|
+
/**
|
|
6887
|
+
* Filter: expires_on <= (ISO date)
|
|
6888
|
+
*/
|
|
6889
|
+
expires_on_to?: string;
|
|
6890
|
+
/**
|
|
6891
|
+
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
6892
|
+
*/
|
|
6893
|
+
document_date_updated_from?: string;
|
|
6894
|
+
/**
|
|
6895
|
+
* Filter: updated_at <= (ISO)
|
|
6896
|
+
*/
|
|
6897
|
+
document_date_updated_to?: string;
|
|
6898
|
+
};
|
|
6899
|
+
url: '/company-document/list';
|
|
6900
|
+
};
|
|
6901
|
+
type CompanyDocumentControllerListErrors = {
|
|
6902
|
+
/**
|
|
6903
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6904
|
+
*/
|
|
6905
|
+
400: ApiErrorResponse;
|
|
6906
|
+
/**
|
|
6907
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6908
|
+
*/
|
|
6909
|
+
401: ApiErrorResponse;
|
|
6910
|
+
/**
|
|
6911
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
6912
|
+
*/
|
|
6913
|
+
403: ApiErrorResponse;
|
|
6914
|
+
/**
|
|
6915
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6916
|
+
*/
|
|
6917
|
+
429: ApiErrorResponse;
|
|
6918
|
+
/**
|
|
6919
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
6920
|
+
*/
|
|
6921
|
+
500: ApiErrorResponse;
|
|
6922
|
+
};
|
|
6923
|
+
type CompanyDocumentControllerListError = CompanyDocumentControllerListErrors[keyof CompanyDocumentControllerListErrors];
|
|
6924
|
+
type CompanyDocumentControllerListResponses = {
|
|
6925
|
+
200: ListDocumentsResponseDto;
|
|
6926
|
+
};
|
|
6927
|
+
type CompanyDocumentControllerListResponse = CompanyDocumentControllerListResponses[keyof CompanyDocumentControllerListResponses];
|
|
6928
|
+
type CompanyDocumentControllerRemoveData = {
|
|
6929
|
+
body?: never;
|
|
6930
|
+
path: {
|
|
6931
|
+
/**
|
|
6932
|
+
* Document ID (numeric string)
|
|
6933
|
+
*/
|
|
6934
|
+
id: string;
|
|
6935
|
+
};
|
|
6936
|
+
query?: never;
|
|
6937
|
+
url: '/company-document/{id}';
|
|
6938
|
+
};
|
|
6939
|
+
type CompanyDocumentControllerRemoveErrors = {
|
|
6940
|
+
/**
|
|
6941
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6942
|
+
*/
|
|
6943
|
+
400: ApiErrorResponse;
|
|
6944
|
+
/**
|
|
6945
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6946
|
+
*/
|
|
6947
|
+
401: ApiErrorResponse;
|
|
6948
|
+
/**
|
|
6949
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
6950
|
+
*/
|
|
6951
|
+
403: ApiErrorResponse;
|
|
6952
|
+
/**
|
|
6953
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
6954
|
+
*/
|
|
6955
|
+
404: ApiErrorResponse;
|
|
6956
|
+
/**
|
|
6957
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6958
|
+
*/
|
|
6959
|
+
429: ApiErrorResponse;
|
|
6960
|
+
/**
|
|
6961
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
6962
|
+
*/
|
|
6963
|
+
500: ApiErrorResponse;
|
|
6964
|
+
};
|
|
6965
|
+
type CompanyDocumentControllerRemoveError = CompanyDocumentControllerRemoveErrors[keyof CompanyDocumentControllerRemoveErrors];
|
|
6966
|
+
type CompanyDocumentControllerRemoveResponses = {
|
|
6967
|
+
200: DeleteDocumentResponseDto;
|
|
6968
|
+
};
|
|
6969
|
+
type CompanyDocumentControllerRemoveResponse = CompanyDocumentControllerRemoveResponses[keyof CompanyDocumentControllerRemoveResponses];
|
|
6970
|
+
type CompanyDocumentControllerGetData = {
|
|
6971
|
+
body?: never;
|
|
6972
|
+
path: {
|
|
6973
|
+
/**
|
|
6974
|
+
* Document ID (numeric string)
|
|
6975
|
+
*/
|
|
6976
|
+
id: string;
|
|
6977
|
+
};
|
|
6978
|
+
query?: never;
|
|
6979
|
+
url: '/company-document/{id}';
|
|
6980
|
+
};
|
|
6981
|
+
type CompanyDocumentControllerGetErrors = {
|
|
6982
|
+
/**
|
|
6983
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6984
|
+
*/
|
|
6985
|
+
400: ApiErrorResponse;
|
|
6986
|
+
/**
|
|
6987
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6988
|
+
*/
|
|
6989
|
+
401: ApiErrorResponse;
|
|
6990
|
+
/**
|
|
6991
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
6992
|
+
*/
|
|
6993
|
+
403: ApiErrorResponse;
|
|
6994
|
+
/**
|
|
6995
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
6996
|
+
*/
|
|
6997
|
+
404: ApiErrorResponse;
|
|
6998
|
+
/**
|
|
6999
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7000
|
+
*/
|
|
7001
|
+
429: ApiErrorResponse;
|
|
7002
|
+
/**
|
|
7003
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7004
|
+
*/
|
|
7005
|
+
500: ApiErrorResponse;
|
|
7006
|
+
};
|
|
7007
|
+
type CompanyDocumentControllerGetError = CompanyDocumentControllerGetErrors[keyof CompanyDocumentControllerGetErrors];
|
|
7008
|
+
type CompanyDocumentControllerGetResponses = {
|
|
7009
|
+
200: DocumentResponseDto;
|
|
7010
|
+
};
|
|
7011
|
+
type CompanyDocumentControllerGetResponse = CompanyDocumentControllerGetResponses[keyof CompanyDocumentControllerGetResponses];
|
|
7012
|
+
type CompanyDocumentControllerUpdateData = {
|
|
7013
|
+
body: UpdateDocumentDto;
|
|
7014
|
+
headers?: {
|
|
7015
|
+
/**
|
|
7016
|
+
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
7017
|
+
*/
|
|
7018
|
+
'Idempotency-Key'?: string;
|
|
7019
|
+
};
|
|
7020
|
+
path: {
|
|
7021
|
+
/**
|
|
7022
|
+
* Document ID (numeric string)
|
|
7023
|
+
*/
|
|
7024
|
+
id: string;
|
|
7025
|
+
};
|
|
7026
|
+
query?: never;
|
|
7027
|
+
url: '/company-document/{id}';
|
|
7028
|
+
};
|
|
7029
|
+
type CompanyDocumentControllerUpdateErrors = {
|
|
7030
|
+
/**
|
|
7031
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
7032
|
+
*/
|
|
7033
|
+
400: ApiErrorResponse;
|
|
7034
|
+
/**
|
|
7035
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7036
|
+
*/
|
|
7037
|
+
401: ApiErrorResponse;
|
|
7038
|
+
/**
|
|
7039
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7040
|
+
*/
|
|
7041
|
+
403: ApiErrorResponse;
|
|
7042
|
+
/**
|
|
7043
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7044
|
+
*/
|
|
7045
|
+
404: ApiErrorResponse;
|
|
7046
|
+
/**
|
|
7047
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7048
|
+
*/
|
|
7049
|
+
429: ApiErrorResponse;
|
|
7050
|
+
/**
|
|
7051
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7052
|
+
*/
|
|
7053
|
+
500: ApiErrorResponse;
|
|
7054
|
+
};
|
|
7055
|
+
type CompanyDocumentControllerUpdateError = CompanyDocumentControllerUpdateErrors[keyof CompanyDocumentControllerUpdateErrors];
|
|
7056
|
+
type CompanyDocumentControllerUpdateResponses = {
|
|
7057
|
+
200: DocumentResponseDto;
|
|
7058
|
+
};
|
|
7059
|
+
type CompanyDocumentControllerUpdateResponse = CompanyDocumentControllerUpdateResponses[keyof CompanyDocumentControllerUpdateResponses];
|
|
7060
|
+
type CompanyDocumentControllerCreateData = {
|
|
7061
|
+
body: CreateDocumentDto;
|
|
7062
|
+
headers?: {
|
|
7063
|
+
/**
|
|
7064
|
+
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
7065
|
+
*/
|
|
7066
|
+
'Idempotency-Key'?: string;
|
|
7067
|
+
};
|
|
7068
|
+
path?: never;
|
|
7069
|
+
query?: never;
|
|
7070
|
+
url: '/company-document';
|
|
7071
|
+
};
|
|
7072
|
+
type CompanyDocumentControllerCreateErrors = {
|
|
7073
|
+
/**
|
|
7074
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
7075
|
+
*/
|
|
7076
|
+
400: ApiErrorResponse;
|
|
7077
|
+
/**
|
|
7078
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7079
|
+
*/
|
|
7080
|
+
401: ApiErrorResponse;
|
|
7081
|
+
/**
|
|
7082
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7083
|
+
*/
|
|
7084
|
+
403: ApiErrorResponse;
|
|
7085
|
+
/**
|
|
7086
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7087
|
+
*/
|
|
7088
|
+
404: ApiErrorResponse;
|
|
7089
|
+
/**
|
|
7090
|
+
* The request conflicts with current state. Common cases: a unique business identifier already exists (`conflict`), or an `Idempotency-Key` was reused with a different request body (`idempotency_key_conflict`).
|
|
7091
|
+
*/
|
|
7092
|
+
409: ApiErrorResponse;
|
|
7093
|
+
/**
|
|
7094
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7095
|
+
*/
|
|
7096
|
+
429: ApiErrorResponse;
|
|
7097
|
+
/**
|
|
7098
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7099
|
+
*/
|
|
7100
|
+
500: ApiErrorResponse;
|
|
7101
|
+
};
|
|
7102
|
+
type CompanyDocumentControllerCreateError = CompanyDocumentControllerCreateErrors[keyof CompanyDocumentControllerCreateErrors];
|
|
7103
|
+
type CompanyDocumentControllerCreateResponses = {
|
|
7104
|
+
201: DocumentResponseDto;
|
|
7105
|
+
};
|
|
7106
|
+
type CompanyDocumentControllerCreateResponse = CompanyDocumentControllerCreateResponses[keyof CompanyDocumentControllerCreateResponses];
|
|
7107
|
+
type ProjectControllerListData = {
|
|
7108
|
+
body?: never;
|
|
7109
|
+
path?: never;
|
|
7110
|
+
query?: {
|
|
7111
|
+
/**
|
|
7112
|
+
* Results per page
|
|
7113
|
+
*/
|
|
7114
|
+
per_page?: number;
|
|
7115
|
+
/**
|
|
7116
|
+
* Page number
|
|
7117
|
+
*/
|
|
7118
|
+
page?: number;
|
|
7119
|
+
direction?: 'asc' | 'desc';
|
|
7120
|
+
/**
|
|
7121
|
+
* Sort field: name, project_code, status, started_at, created_at, updated_at, id (default updated_at)
|
|
7122
|
+
*/
|
|
7123
|
+
sort?: string;
|
|
7124
|
+
/**
|
|
7125
|
+
* Filter by name (case-insensitive partial)
|
|
7126
|
+
*/
|
|
7127
|
+
name?: string;
|
|
7128
|
+
/**
|
|
7129
|
+
* Filter by project code (case-insensitive partial)
|
|
7130
|
+
*/
|
|
7131
|
+
project_code?: string;
|
|
7132
|
+
/**
|
|
7133
|
+
* Filter by status
|
|
7134
|
+
*/
|
|
7135
|
+
status?: 'active' | 'suspended' | 'completed';
|
|
7136
|
+
/**
|
|
7137
|
+
* Filter to one site by its publicId (UUID)
|
|
7138
|
+
*/
|
|
7139
|
+
site_id?: string;
|
|
7140
|
+
/**
|
|
7141
|
+
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
7142
|
+
*/
|
|
7143
|
+
project_date_updated_from?: string;
|
|
7144
|
+
/**
|
|
7145
|
+
* Filter: updated_at <= (ISO)
|
|
7146
|
+
*/
|
|
7147
|
+
project_date_updated_to?: string;
|
|
7148
|
+
};
|
|
7149
|
+
url: '/project/list';
|
|
7150
|
+
};
|
|
7151
|
+
type ProjectControllerListErrors = {
|
|
7152
|
+
/**
|
|
7153
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
7154
|
+
*/
|
|
7155
|
+
400: ApiErrorResponse;
|
|
7156
|
+
/**
|
|
7157
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7158
|
+
*/
|
|
7159
|
+
401: ApiErrorResponse;
|
|
7160
|
+
/**
|
|
7161
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7162
|
+
*/
|
|
7163
|
+
403: ApiErrorResponse;
|
|
7164
|
+
/**
|
|
7165
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7166
|
+
*/
|
|
7167
|
+
429: ApiErrorResponse;
|
|
7168
|
+
/**
|
|
7169
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7170
|
+
*/
|
|
7171
|
+
500: ApiErrorResponse;
|
|
7172
|
+
};
|
|
7173
|
+
type ProjectControllerListError = ProjectControllerListErrors[keyof ProjectControllerListErrors];
|
|
7174
|
+
type ProjectControllerListResponses = {
|
|
7175
|
+
200: ListProjectsResponseDto;
|
|
7176
|
+
};
|
|
7177
|
+
type ProjectControllerListResponse = ProjectControllerListResponses[keyof ProjectControllerListResponses];
|
|
7178
|
+
type ProjectControllerDeleteData = {
|
|
7179
|
+
body?: never;
|
|
7180
|
+
path: {
|
|
7181
|
+
/**
|
|
7182
|
+
* Project public ID
|
|
7183
|
+
*/
|
|
7184
|
+
id: string;
|
|
7185
|
+
};
|
|
7186
|
+
query?: never;
|
|
7187
|
+
url: '/project/{id}';
|
|
7188
|
+
};
|
|
7189
|
+
type ProjectControllerDeleteErrors = {
|
|
7190
|
+
/**
|
|
7191
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7192
|
+
*/
|
|
7193
|
+
401: ApiErrorResponse;
|
|
7194
|
+
/**
|
|
7195
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7196
|
+
*/
|
|
7197
|
+
403: ApiErrorResponse;
|
|
7198
|
+
/**
|
|
7199
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7200
|
+
*/
|
|
7201
|
+
404: ApiErrorResponse;
|
|
7202
|
+
/**
|
|
7203
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7204
|
+
*/
|
|
7205
|
+
429: ApiErrorResponse;
|
|
7206
|
+
/**
|
|
7207
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7208
|
+
*/
|
|
7209
|
+
500: ApiErrorResponse;
|
|
7210
|
+
};
|
|
7211
|
+
type ProjectControllerDeleteError = ProjectControllerDeleteErrors[keyof ProjectControllerDeleteErrors];
|
|
7212
|
+
type ProjectControllerDeleteResponses = {
|
|
7213
|
+
200: DeleteProjectResponseDto;
|
|
7214
|
+
};
|
|
7215
|
+
type ProjectControllerDeleteResponse = ProjectControllerDeleteResponses[keyof ProjectControllerDeleteResponses];
|
|
7216
|
+
type ProjectControllerGetData = {
|
|
7217
|
+
body?: never;
|
|
7218
|
+
path: {
|
|
7219
|
+
/**
|
|
7220
|
+
* Project public ID
|
|
7221
|
+
*/
|
|
7222
|
+
id: string;
|
|
7223
|
+
};
|
|
7224
|
+
query?: never;
|
|
7225
|
+
url: '/project/{id}';
|
|
7226
|
+
};
|
|
7227
|
+
type ProjectControllerGetErrors = {
|
|
7228
|
+
/**
|
|
7229
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7230
|
+
*/
|
|
7231
|
+
401: ApiErrorResponse;
|
|
7232
|
+
/**
|
|
7233
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7234
|
+
*/
|
|
7235
|
+
403: ApiErrorResponse;
|
|
7236
|
+
/**
|
|
7237
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7238
|
+
*/
|
|
7239
|
+
404: ApiErrorResponse;
|
|
7240
|
+
/**
|
|
7241
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7242
|
+
*/
|
|
7243
|
+
429: ApiErrorResponse;
|
|
7244
|
+
/**
|
|
7245
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7246
|
+
*/
|
|
7247
|
+
500: ApiErrorResponse;
|
|
7248
|
+
};
|
|
7249
|
+
type ProjectControllerGetError = ProjectControllerGetErrors[keyof ProjectControllerGetErrors];
|
|
7250
|
+
type ProjectControllerGetResponses = {
|
|
7251
|
+
200: ProjectResponseDto;
|
|
7252
|
+
};
|
|
7253
|
+
type ProjectControllerGetResponse = ProjectControllerGetResponses[keyof ProjectControllerGetResponses];
|
|
7254
|
+
type ProjectControllerUpdateData = {
|
|
7255
|
+
body: UpdateProjectDto;
|
|
7256
|
+
headers?: {
|
|
7257
|
+
/**
|
|
7258
|
+
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
7259
|
+
*/
|
|
7260
|
+
'Idempotency-Key'?: string;
|
|
7261
|
+
};
|
|
7262
|
+
path: {
|
|
7263
|
+
/**
|
|
7264
|
+
* Project public ID
|
|
7265
|
+
*/
|
|
7266
|
+
id: string;
|
|
7267
|
+
};
|
|
7268
|
+
query?: never;
|
|
7269
|
+
url: '/project/{id}';
|
|
7270
|
+
};
|
|
7271
|
+
type ProjectControllerUpdateErrors = {
|
|
7272
|
+
/**
|
|
7273
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
7274
|
+
*/
|
|
7275
|
+
400: ApiErrorResponse;
|
|
7276
|
+
/**
|
|
7277
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7278
|
+
*/
|
|
7279
|
+
401: ApiErrorResponse;
|
|
7280
|
+
/**
|
|
7281
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7282
|
+
*/
|
|
7283
|
+
403: ApiErrorResponse;
|
|
7284
|
+
/**
|
|
7285
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7286
|
+
*/
|
|
7287
|
+
404: ApiErrorResponse;
|
|
7288
|
+
/**
|
|
7289
|
+
* The request conflicts with current state. Common cases: a unique business identifier already exists (`conflict`), or an `Idempotency-Key` was reused with a different request body (`idempotency_key_conflict`).
|
|
7290
|
+
*/
|
|
7291
|
+
409: ApiErrorResponse;
|
|
7292
|
+
/**
|
|
7293
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7294
|
+
*/
|
|
7295
|
+
429: ApiErrorResponse;
|
|
7296
|
+
/**
|
|
7297
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7298
|
+
*/
|
|
7299
|
+
500: ApiErrorResponse;
|
|
7300
|
+
};
|
|
7301
|
+
type ProjectControllerUpdateError = ProjectControllerUpdateErrors[keyof ProjectControllerUpdateErrors];
|
|
7302
|
+
type ProjectControllerUpdateResponses = {
|
|
7303
|
+
200: ProjectResponseDto;
|
|
7304
|
+
};
|
|
7305
|
+
type ProjectControllerUpdateResponse = ProjectControllerUpdateResponses[keyof ProjectControllerUpdateResponses];
|
|
7306
|
+
type ProjectControllerListAssetsData = {
|
|
7307
|
+
body?: never;
|
|
7308
|
+
path: {
|
|
7309
|
+
/**
|
|
7310
|
+
* Project public ID
|
|
6077
7311
|
*/
|
|
6078
7312
|
id: string;
|
|
6079
7313
|
};
|
|
6080
|
-
query?:
|
|
6081
|
-
|
|
7314
|
+
query?: {
|
|
7315
|
+
/**
|
|
7316
|
+
* Results per page
|
|
7317
|
+
*/
|
|
7318
|
+
per_page?: number;
|
|
7319
|
+
/**
|
|
7320
|
+
* Page number
|
|
7321
|
+
*/
|
|
7322
|
+
page?: number;
|
|
7323
|
+
direction?: 'asc' | 'desc';
|
|
7324
|
+
/**
|
|
7325
|
+
* Sort field: approval_date, expiry_date, approval_status, created_at, updated_at, id (default updated_at)
|
|
7326
|
+
*/
|
|
7327
|
+
sort?: string;
|
|
7328
|
+
/**
|
|
7329
|
+
* Filter by approval status (e.g. approved)
|
|
7330
|
+
*/
|
|
7331
|
+
approval_status?: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
7332
|
+
};
|
|
7333
|
+
url: '/project/{id}/assets';
|
|
6082
7334
|
};
|
|
6083
|
-
type
|
|
7335
|
+
type ProjectControllerListAssetsErrors = {
|
|
6084
7336
|
/**
|
|
6085
7337
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6086
7338
|
*/
|
|
@@ -6106,29 +7358,41 @@ type JobDocumentControllerGetErrors = {
|
|
|
6106
7358
|
*/
|
|
6107
7359
|
500: ApiErrorResponse;
|
|
6108
7360
|
};
|
|
6109
|
-
type
|
|
6110
|
-
type
|
|
6111
|
-
200:
|
|
7361
|
+
type ProjectControllerListAssetsError = ProjectControllerListAssetsErrors[keyof ProjectControllerListAssetsErrors];
|
|
7362
|
+
type ProjectControllerListAssetsResponses = {
|
|
7363
|
+
200: ListProjectAssetsResponseDto;
|
|
6112
7364
|
};
|
|
6113
|
-
type
|
|
6114
|
-
type
|
|
6115
|
-
body
|
|
6116
|
-
|
|
7365
|
+
type ProjectControllerListAssetsResponse = ProjectControllerListAssetsResponses[keyof ProjectControllerListAssetsResponses];
|
|
7366
|
+
type ProjectControllerListUsersData = {
|
|
7367
|
+
body?: never;
|
|
7368
|
+
path: {
|
|
6117
7369
|
/**
|
|
6118
|
-
*
|
|
7370
|
+
* Project public ID
|
|
6119
7371
|
*/
|
|
6120
|
-
|
|
7372
|
+
id: string;
|
|
6121
7373
|
};
|
|
6122
|
-
|
|
7374
|
+
query?: {
|
|
6123
7375
|
/**
|
|
6124
|
-
*
|
|
7376
|
+
* Results per page
|
|
6125
7377
|
*/
|
|
6126
|
-
|
|
7378
|
+
per_page?: number;
|
|
7379
|
+
/**
|
|
7380
|
+
* Page number
|
|
7381
|
+
*/
|
|
7382
|
+
page?: number;
|
|
7383
|
+
direction?: 'asc' | 'desc';
|
|
7384
|
+
/**
|
|
7385
|
+
* Sort field: approval_date, expiry_date, approval_status, created_at, updated_at, id (default updated_at)
|
|
7386
|
+
*/
|
|
7387
|
+
sort?: string;
|
|
7388
|
+
/**
|
|
7389
|
+
* Filter by approval status (e.g. approved)
|
|
7390
|
+
*/
|
|
7391
|
+
approval_status?: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
6127
7392
|
};
|
|
6128
|
-
|
|
6129
|
-
url: '/job-document/{id}';
|
|
7393
|
+
url: '/project/{id}/users';
|
|
6130
7394
|
};
|
|
6131
|
-
type
|
|
7395
|
+
type ProjectControllerListUsersErrors = {
|
|
6132
7396
|
/**
|
|
6133
7397
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6134
7398
|
*/
|
|
@@ -6154,13 +7418,13 @@ type JobDocumentControllerUpdateErrors = {
|
|
|
6154
7418
|
*/
|
|
6155
7419
|
500: ApiErrorResponse;
|
|
6156
7420
|
};
|
|
6157
|
-
type
|
|
6158
|
-
type
|
|
6159
|
-
200:
|
|
7421
|
+
type ProjectControllerListUsersError = ProjectControllerListUsersErrors[keyof ProjectControllerListUsersErrors];
|
|
7422
|
+
type ProjectControllerListUsersResponses = {
|
|
7423
|
+
200: ListProjectUsersResponseDto;
|
|
6160
7424
|
};
|
|
6161
|
-
type
|
|
6162
|
-
type
|
|
6163
|
-
body:
|
|
7425
|
+
type ProjectControllerListUsersResponse = ProjectControllerListUsersResponses[keyof ProjectControllerListUsersResponses];
|
|
7426
|
+
type ProjectControllerCreateData = {
|
|
7427
|
+
body: CreateProjectDto;
|
|
6164
7428
|
headers?: {
|
|
6165
7429
|
/**
|
|
6166
7430
|
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
@@ -6169,9 +7433,9 @@ type JobDocumentControllerCreateData = {
|
|
|
6169
7433
|
};
|
|
6170
7434
|
path?: never;
|
|
6171
7435
|
query?: never;
|
|
6172
|
-
url: '/
|
|
7436
|
+
url: '/project';
|
|
6173
7437
|
};
|
|
6174
|
-
type
|
|
7438
|
+
type ProjectControllerCreateErrors = {
|
|
6175
7439
|
/**
|
|
6176
7440
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6177
7441
|
*/
|
|
@@ -6201,12 +7465,12 @@ type JobDocumentControllerCreateErrors = {
|
|
|
6201
7465
|
*/
|
|
6202
7466
|
500: ApiErrorResponse;
|
|
6203
7467
|
};
|
|
6204
|
-
type
|
|
6205
|
-
type
|
|
6206
|
-
201:
|
|
7468
|
+
type ProjectControllerCreateError = ProjectControllerCreateErrors[keyof ProjectControllerCreateErrors];
|
|
7469
|
+
type ProjectControllerCreateResponses = {
|
|
7470
|
+
201: ProjectResponseDto;
|
|
6207
7471
|
};
|
|
6208
|
-
type
|
|
6209
|
-
type
|
|
7472
|
+
type ProjectControllerCreateResponse = ProjectControllerCreateResponses[keyof ProjectControllerCreateResponses];
|
|
7473
|
+
type JobControllerListData = {
|
|
6210
7474
|
body?: never;
|
|
6211
7475
|
path?: never;
|
|
6212
7476
|
query?: {
|
|
@@ -6220,41 +7484,45 @@ type CompanyDocumentControllerListData = {
|
|
|
6220
7484
|
page?: number;
|
|
6221
7485
|
direction?: 'asc' | 'desc';
|
|
6222
7486
|
/**
|
|
6223
|
-
* Sort field:
|
|
7487
|
+
* Sort field: title, job_number, status, start_date, created_at, updated_at, id (default updated_at)
|
|
6224
7488
|
*/
|
|
6225
7489
|
sort?: string;
|
|
6226
7490
|
/**
|
|
6227
|
-
* Filter
|
|
7491
|
+
* Filter by title (case-insensitive partial)
|
|
6228
7492
|
*/
|
|
6229
|
-
|
|
7493
|
+
title?: string;
|
|
6230
7494
|
/**
|
|
6231
|
-
* Filter by
|
|
7495
|
+
* Filter by job number (case-insensitive partial)
|
|
6232
7496
|
*/
|
|
6233
|
-
|
|
7497
|
+
job_number?: string;
|
|
6234
7498
|
/**
|
|
6235
|
-
* Filter by
|
|
7499
|
+
* Filter by status
|
|
6236
7500
|
*/
|
|
6237
|
-
|
|
7501
|
+
status?: string;
|
|
6238
7502
|
/**
|
|
6239
|
-
* Filter
|
|
7503
|
+
* Filter to one customer by its publicId (UUID)
|
|
6240
7504
|
*/
|
|
6241
|
-
|
|
7505
|
+
customer_id?: string;
|
|
6242
7506
|
/**
|
|
6243
|
-
* Filter:
|
|
7507
|
+
* Filter: start_date >= (ISO date)
|
|
6244
7508
|
*/
|
|
6245
|
-
|
|
7509
|
+
start_date_from?: string;
|
|
7510
|
+
/**
|
|
7511
|
+
* Filter: start_date <= (ISO date)
|
|
7512
|
+
*/
|
|
7513
|
+
start_date_to?: string;
|
|
6246
7514
|
/**
|
|
6247
7515
|
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
6248
7516
|
*/
|
|
6249
|
-
|
|
7517
|
+
job_date_updated_from?: string;
|
|
6250
7518
|
/**
|
|
6251
7519
|
* Filter: updated_at <= (ISO)
|
|
6252
7520
|
*/
|
|
6253
|
-
|
|
7521
|
+
job_date_updated_to?: string;
|
|
6254
7522
|
};
|
|
6255
|
-
url: '/
|
|
7523
|
+
url: '/job/list';
|
|
6256
7524
|
};
|
|
6257
|
-
type
|
|
7525
|
+
type JobControllerListErrors = {
|
|
6258
7526
|
/**
|
|
6259
7527
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6260
7528
|
*/
|
|
@@ -6276,27 +7544,61 @@ type CompanyDocumentControllerListErrors = {
|
|
|
6276
7544
|
*/
|
|
6277
7545
|
500: ApiErrorResponse;
|
|
6278
7546
|
};
|
|
6279
|
-
type
|
|
6280
|
-
type
|
|
6281
|
-
200:
|
|
7547
|
+
type JobControllerListError = JobControllerListErrors[keyof JobControllerListErrors];
|
|
7548
|
+
type JobControllerListResponses = {
|
|
7549
|
+
200: ListJobsResponseDto;
|
|
6282
7550
|
};
|
|
6283
|
-
type
|
|
6284
|
-
type
|
|
7551
|
+
type JobControllerListResponse = JobControllerListResponses[keyof JobControllerListResponses];
|
|
7552
|
+
type JobControllerDeleteData = {
|
|
6285
7553
|
body?: never;
|
|
6286
7554
|
path: {
|
|
6287
7555
|
/**
|
|
6288
|
-
*
|
|
7556
|
+
* Job public ID
|
|
6289
7557
|
*/
|
|
6290
7558
|
id: string;
|
|
6291
7559
|
};
|
|
6292
7560
|
query?: never;
|
|
6293
|
-
url: '/
|
|
7561
|
+
url: '/job/{id}';
|
|
6294
7562
|
};
|
|
6295
|
-
type
|
|
7563
|
+
type JobControllerDeleteErrors = {
|
|
6296
7564
|
/**
|
|
6297
|
-
*
|
|
7565
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6298
7566
|
*/
|
|
6299
|
-
|
|
7567
|
+
401: ApiErrorResponse;
|
|
7568
|
+
/**
|
|
7569
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7570
|
+
*/
|
|
7571
|
+
403: ApiErrorResponse;
|
|
7572
|
+
/**
|
|
7573
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7574
|
+
*/
|
|
7575
|
+
404: ApiErrorResponse;
|
|
7576
|
+
/**
|
|
7577
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7578
|
+
*/
|
|
7579
|
+
429: ApiErrorResponse;
|
|
7580
|
+
/**
|
|
7581
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7582
|
+
*/
|
|
7583
|
+
500: ApiErrorResponse;
|
|
7584
|
+
};
|
|
7585
|
+
type JobControllerDeleteError = JobControllerDeleteErrors[keyof JobControllerDeleteErrors];
|
|
7586
|
+
type JobControllerDeleteResponses = {
|
|
7587
|
+
200: DeleteJobResponseDto;
|
|
7588
|
+
};
|
|
7589
|
+
type JobControllerDeleteResponse = JobControllerDeleteResponses[keyof JobControllerDeleteResponses];
|
|
7590
|
+
type JobControllerGetData = {
|
|
7591
|
+
body?: never;
|
|
7592
|
+
path: {
|
|
7593
|
+
/**
|
|
7594
|
+
* Job public ID
|
|
7595
|
+
*/
|
|
7596
|
+
id: string;
|
|
7597
|
+
};
|
|
7598
|
+
query?: never;
|
|
7599
|
+
url: '/job/{id}';
|
|
7600
|
+
};
|
|
7601
|
+
type JobControllerGetErrors = {
|
|
6300
7602
|
/**
|
|
6301
7603
|
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
6302
7604
|
*/
|
|
@@ -6318,23 +7620,29 @@ type CompanyDocumentControllerRemoveErrors = {
|
|
|
6318
7620
|
*/
|
|
6319
7621
|
500: ApiErrorResponse;
|
|
6320
7622
|
};
|
|
6321
|
-
type
|
|
6322
|
-
type
|
|
6323
|
-
200:
|
|
7623
|
+
type JobControllerGetError = JobControllerGetErrors[keyof JobControllerGetErrors];
|
|
7624
|
+
type JobControllerGetResponses = {
|
|
7625
|
+
200: JobResponseDto;
|
|
6324
7626
|
};
|
|
6325
|
-
type
|
|
6326
|
-
type
|
|
6327
|
-
body
|
|
7627
|
+
type JobControllerGetResponse = JobControllerGetResponses[keyof JobControllerGetResponses];
|
|
7628
|
+
type JobControllerUpdateData = {
|
|
7629
|
+
body: UpdateJobDto;
|
|
7630
|
+
headers?: {
|
|
7631
|
+
/**
|
|
7632
|
+
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
7633
|
+
*/
|
|
7634
|
+
'Idempotency-Key'?: string;
|
|
7635
|
+
};
|
|
6328
7636
|
path: {
|
|
6329
7637
|
/**
|
|
6330
|
-
*
|
|
7638
|
+
* Job public ID
|
|
6331
7639
|
*/
|
|
6332
7640
|
id: string;
|
|
6333
7641
|
};
|
|
6334
7642
|
query?: never;
|
|
6335
|
-
url: '/
|
|
7643
|
+
url: '/job/{id}';
|
|
6336
7644
|
};
|
|
6337
|
-
type
|
|
7645
|
+
type JobControllerUpdateErrors = {
|
|
6338
7646
|
/**
|
|
6339
7647
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6340
7648
|
*/
|
|
@@ -6360,29 +7668,97 @@ type CompanyDocumentControllerGetErrors = {
|
|
|
6360
7668
|
*/
|
|
6361
7669
|
500: ApiErrorResponse;
|
|
6362
7670
|
};
|
|
6363
|
-
type
|
|
6364
|
-
type
|
|
6365
|
-
200:
|
|
7671
|
+
type JobControllerUpdateError = JobControllerUpdateErrors[keyof JobControllerUpdateErrors];
|
|
7672
|
+
type JobControllerUpdateResponses = {
|
|
7673
|
+
200: JobResponseDto;
|
|
6366
7674
|
};
|
|
6367
|
-
type
|
|
6368
|
-
type
|
|
6369
|
-
body
|
|
6370
|
-
|
|
7675
|
+
type JobControllerUpdateResponse = JobControllerUpdateResponses[keyof JobControllerUpdateResponses];
|
|
7676
|
+
type JobControllerListAssignmentsData = {
|
|
7677
|
+
body?: never;
|
|
7678
|
+
path: {
|
|
6371
7679
|
/**
|
|
6372
|
-
*
|
|
7680
|
+
* Job public ID
|
|
6373
7681
|
*/
|
|
6374
|
-
|
|
7682
|
+
id: string;
|
|
7683
|
+
};
|
|
7684
|
+
query?: {
|
|
7685
|
+
/**
|
|
7686
|
+
* Results per page
|
|
7687
|
+
*/
|
|
7688
|
+
per_page?: number;
|
|
7689
|
+
/**
|
|
7690
|
+
* Page number
|
|
7691
|
+
*/
|
|
7692
|
+
page?: number;
|
|
7693
|
+
direction?: 'asc' | 'desc';
|
|
7694
|
+
/**
|
|
7695
|
+
* Sort field: assignment_date, status, created_at, updated_at, id (default assignment_date)
|
|
7696
|
+
*/
|
|
7697
|
+
sort?: string;
|
|
7698
|
+
/**
|
|
7699
|
+
* Filter by assignment status (e.g. assigned)
|
|
7700
|
+
*/
|
|
7701
|
+
status?: string;
|
|
6375
7702
|
};
|
|
7703
|
+
url: '/job/{id}/assignments';
|
|
7704
|
+
};
|
|
7705
|
+
type JobControllerListAssignmentsErrors = {
|
|
7706
|
+
/**
|
|
7707
|
+
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
7708
|
+
*/
|
|
7709
|
+
400: ApiErrorResponse;
|
|
7710
|
+
/**
|
|
7711
|
+
* The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
|
|
7712
|
+
*/
|
|
7713
|
+
401: ApiErrorResponse;
|
|
7714
|
+
/**
|
|
7715
|
+
* The Bearer token authenticated successfully but cannot perform this action. Two distinct codes share this status: `forbidden` (missing permission scope) and `ip_not_allowed` (source IP not in the API key's allowlist).
|
|
7716
|
+
*/
|
|
7717
|
+
403: ApiErrorResponse;
|
|
7718
|
+
/**
|
|
7719
|
+
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
7720
|
+
*/
|
|
7721
|
+
404: ApiErrorResponse;
|
|
7722
|
+
/**
|
|
7723
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7724
|
+
*/
|
|
7725
|
+
429: ApiErrorResponse;
|
|
7726
|
+
/**
|
|
7727
|
+
* Something went wrong on our side. The `request_id` field in the response body matches the entry in our logs — include it when reporting the issue.
|
|
7728
|
+
*/
|
|
7729
|
+
500: ApiErrorResponse;
|
|
7730
|
+
};
|
|
7731
|
+
type JobControllerListAssignmentsError = JobControllerListAssignmentsErrors[keyof JobControllerListAssignmentsErrors];
|
|
7732
|
+
type JobControllerListAssignmentsResponses = {
|
|
7733
|
+
200: ListJobAssignmentsResponseDto;
|
|
7734
|
+
};
|
|
7735
|
+
type JobControllerListAssignmentsResponse = JobControllerListAssignmentsResponses[keyof JobControllerListAssignmentsResponses];
|
|
7736
|
+
type JobControllerListRequirementsData = {
|
|
7737
|
+
body?: never;
|
|
6376
7738
|
path: {
|
|
6377
7739
|
/**
|
|
6378
|
-
*
|
|
7740
|
+
* Job public ID
|
|
6379
7741
|
*/
|
|
6380
7742
|
id: string;
|
|
6381
7743
|
};
|
|
6382
|
-
query?:
|
|
6383
|
-
|
|
7744
|
+
query?: {
|
|
7745
|
+
/**
|
|
7746
|
+
* Results per page
|
|
7747
|
+
*/
|
|
7748
|
+
per_page?: number;
|
|
7749
|
+
/**
|
|
7750
|
+
* Page number
|
|
7751
|
+
*/
|
|
7752
|
+
page?: number;
|
|
7753
|
+
direction?: 'asc' | 'desc';
|
|
7754
|
+
/**
|
|
7755
|
+
* Sort field: created_at, updated_at, id (default created_at)
|
|
7756
|
+
*/
|
|
7757
|
+
sort?: string;
|
|
7758
|
+
};
|
|
7759
|
+
url: '/job/{id}/requirements';
|
|
6384
7760
|
};
|
|
6385
|
-
type
|
|
7761
|
+
type JobControllerListRequirementsErrors = {
|
|
6386
7762
|
/**
|
|
6387
7763
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6388
7764
|
*/
|
|
@@ -6408,13 +7784,13 @@ type CompanyDocumentControllerUpdateErrors = {
|
|
|
6408
7784
|
*/
|
|
6409
7785
|
500: ApiErrorResponse;
|
|
6410
7786
|
};
|
|
6411
|
-
type
|
|
6412
|
-
type
|
|
6413
|
-
200:
|
|
7787
|
+
type JobControllerListRequirementsError = JobControllerListRequirementsErrors[keyof JobControllerListRequirementsErrors];
|
|
7788
|
+
type JobControllerListRequirementsResponses = {
|
|
7789
|
+
200: ListJobRequirementsResponseDto;
|
|
6414
7790
|
};
|
|
6415
|
-
type
|
|
6416
|
-
type
|
|
6417
|
-
body:
|
|
7791
|
+
type JobControllerListRequirementsResponse = JobControllerListRequirementsResponses[keyof JobControllerListRequirementsResponses];
|
|
7792
|
+
type JobControllerCreateData = {
|
|
7793
|
+
body: CreateJobDto;
|
|
6418
7794
|
headers?: {
|
|
6419
7795
|
/**
|
|
6420
7796
|
* Opaque client-generated key (any string up to 255 chars, ULID or UUID recommended) that makes this POST/PATCH safe to retry. The server stores the first successful response under this key for 24 hours; retries with the same key replay the stored response and set `Idempotent-Replayed: true`. Reusing the key with a different body returns `409 idempotency_key_conflict`. Omit on read-only GETs — they are already idempotent.
|
|
@@ -6423,9 +7799,9 @@ type CompanyDocumentControllerCreateData = {
|
|
|
6423
7799
|
};
|
|
6424
7800
|
path?: never;
|
|
6425
7801
|
query?: never;
|
|
6426
|
-
url: '/
|
|
7802
|
+
url: '/job';
|
|
6427
7803
|
};
|
|
6428
|
-
type
|
|
7804
|
+
type JobControllerCreateErrors = {
|
|
6429
7805
|
/**
|
|
6430
7806
|
* Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
|
|
6431
7807
|
*/
|
|
@@ -6442,10 +7818,6 @@ type CompanyDocumentControllerCreateErrors = {
|
|
|
6442
7818
|
* No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
|
|
6443
7819
|
*/
|
|
6444
7820
|
404: ApiErrorResponse;
|
|
6445
|
-
/**
|
|
6446
|
-
* The request conflicts with current state. Common cases: a unique business identifier already exists (`conflict`), or an `Idempotency-Key` was reused with a different request body (`idempotency_key_conflict`).
|
|
6447
|
-
*/
|
|
6448
|
-
409: ApiErrorResponse;
|
|
6449
7821
|
/**
|
|
6450
7822
|
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6451
7823
|
*/
|
|
@@ -6455,11 +7827,11 @@ type CompanyDocumentControllerCreateErrors = {
|
|
|
6455
7827
|
*/
|
|
6456
7828
|
500: ApiErrorResponse;
|
|
6457
7829
|
};
|
|
6458
|
-
type
|
|
6459
|
-
type
|
|
6460
|
-
201:
|
|
7830
|
+
type JobControllerCreateError = JobControllerCreateErrors[keyof JobControllerCreateErrors];
|
|
7831
|
+
type JobControllerCreateResponses = {
|
|
7832
|
+
201: JobResponseDto;
|
|
6461
7833
|
};
|
|
6462
|
-
type
|
|
7834
|
+
type JobControllerCreateResponse = JobControllerCreateResponses[keyof JobControllerCreateResponses];
|
|
6463
7835
|
type CustomerControllerListData = {
|
|
6464
7836
|
body?: never;
|
|
6465
7837
|
path?: never;
|
|
@@ -7979,6 +9351,76 @@ declare const assetDocumentControllerUpdate: <ThrowOnError extends boolean = fal
|
|
|
7979
9351
|
* Create an asset document
|
|
7980
9352
|
*/
|
|
7981
9353
|
declare const assetDocumentControllerCreate: <ThrowOnError extends boolean = false>(options: Options<AssetDocumentControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DocumentResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9354
|
+
/**
|
|
9355
|
+
* List projects
|
|
9356
|
+
* Returns a paginated list of projects for the authenticated company. Filter by name, project_code, status, site (publicId), and an incremental `updated_at` watermark. Each row includes approved asset_count / user_count. Requires project:read.
|
|
9357
|
+
*/
|
|
9358
|
+
declare const projectControllerList: <ThrowOnError extends boolean = false>(options?: Options<ProjectControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListProjectsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9359
|
+
/**
|
|
9360
|
+
* Delete a project
|
|
9361
|
+
* Soft-deletes a project by its public_id (UUID). Requires project:delete.
|
|
9362
|
+
*/
|
|
9363
|
+
declare const projectControllerDelete: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteProjectResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9364
|
+
/**
|
|
9365
|
+
* Get a project by public ID
|
|
9366
|
+
* Returns one project (with embedded project_properties[] and approved asset/user counts) by its public_id (UUID). Requires project:read.
|
|
9367
|
+
*/
|
|
9368
|
+
declare const projectControllerGet: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProjectResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9369
|
+
/**
|
|
9370
|
+
* Update a project
|
|
9371
|
+
* Updates a project by its public_id (UUID). Only provided fields are changed. Requires project:update. Supports `Idempotency-Key`.
|
|
9372
|
+
*/
|
|
9373
|
+
declare const projectControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProjectResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9374
|
+
/**
|
|
9375
|
+
* List assets assigned to a project
|
|
9376
|
+
* Returns the asset assignments for a project (read-only). Each row is an approval record carrying approval_status, approval_number, approval_date and expiry_date. Filter by approval_status (e.g. approved). The assign/approve workflow happens in the app. Requires project_asset_approval:read.
|
|
9377
|
+
*/
|
|
9378
|
+
declare const projectControllerListAssets: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerListAssetsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListProjectAssetsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9379
|
+
/**
|
|
9380
|
+
* List users assigned to a project
|
|
9381
|
+
* Returns the user assignments for a project (read-only). Each row is an approval record carrying approval_status, approval_number, approval_date and expiry_date. Filter by approval_status (e.g. approved). The assign/approve workflow happens in the app. Requires project_user_approval:read.
|
|
9382
|
+
*/
|
|
9383
|
+
declare const projectControllerListUsers: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerListUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListProjectUsersResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9384
|
+
/**
|
|
9385
|
+
* Create a project
|
|
9386
|
+
* Creates a project under a site (by publicId) for the authenticated company. project_code is unique per company — a duplicate returns 409. Requires project:create. Supports `Idempotency-Key`.
|
|
9387
|
+
*/
|
|
9388
|
+
declare const projectControllerCreate: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProjectResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9389
|
+
/**
|
|
9390
|
+
* List jobs
|
|
9391
|
+
* Returns a paginated list of jobs for the authenticated company. Filter by title, job_number, status, customer (publicId), start_date range, and an incremental `updated_at` watermark. Each row includes assignment_count / requirement_count. Requires job:read.
|
|
9392
|
+
*/
|
|
9393
|
+
declare const jobControllerList: <ThrowOnError extends boolean = false>(options?: Options<JobControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListJobsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9394
|
+
/**
|
|
9395
|
+
* Delete a job
|
|
9396
|
+
* Soft-deletes a job by its public_id (UUID). Requires job:delete.
|
|
9397
|
+
*/
|
|
9398
|
+
declare const jobControllerDelete: <ThrowOnError extends boolean = false>(options: Options<JobControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteJobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9399
|
+
/**
|
|
9400
|
+
* Get a job by public ID
|
|
9401
|
+
* Returns one job (with embedded job_properties[] and assignment/requirement counts) by its public_id (UUID). Requires job:read.
|
|
9402
|
+
*/
|
|
9403
|
+
declare const jobControllerGet: <ThrowOnError extends boolean = false>(options: Options<JobControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<JobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9404
|
+
/**
|
|
9405
|
+
* Update a job
|
|
9406
|
+
* Updates a job by its public_id (UUID). Only provided fields are changed; job_number is immutable. Requires job:create (the permission that gates job mutations). Supports `Idempotency-Key`.
|
|
9407
|
+
*/
|
|
9408
|
+
declare const jobControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<JobControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<JobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9409
|
+
/**
|
|
9410
|
+
* List assignments for a job
|
|
9411
|
+
* Returns the crew/asset assignments for a job (read-only). Each row is a user or asset assigned on a date, with status. Filter by status. The assign workflow happens in the app. Requires job:read.
|
|
9412
|
+
*/
|
|
9413
|
+
declare const jobControllerListAssignments: <ThrowOnError extends boolean = false>(options: Options<JobControllerListAssignmentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListJobAssignmentsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9414
|
+
/**
|
|
9415
|
+
* List asset requirements for a job
|
|
9416
|
+
* Returns the asset requirements for a job (read-only): the asset category/class, sub-class, quantity and whether mandatory. Requires job:read.
|
|
9417
|
+
*/
|
|
9418
|
+
declare const jobControllerListRequirements: <ThrowOnError extends boolean = false>(options: Options<JobControllerListRequirementsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListJobRequirementsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
9419
|
+
/**
|
|
9420
|
+
* Create a job
|
|
9421
|
+
* Creates a job for a customer (by publicId). The job_number is generated automatically (PREFIX-00001) — do not supply it. Requires job:create. Supports `Idempotency-Key`.
|
|
9422
|
+
*/
|
|
9423
|
+
declare const jobControllerCreate: <ThrowOnError extends boolean = false>(options: Options<JobControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<JobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
7982
9424
|
/**
|
|
7983
9425
|
* List customers
|
|
7984
9426
|
* Returns a paginated list of customers for the authenticated company. Supports name/status filters and an incremental `updated_at` watermark. Requires customer:read.
|
|
@@ -8210,6 +9652,28 @@ interface TimesheetsResource {
|
|
|
8210
9652
|
list: (options?: WakataMethodOptions<Parameters<typeof timesheetPublicControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof timesheetPublicControllerList>>['data']>;
|
|
8211
9653
|
get: (options: WakataMethodOptions<Parameters<typeof timesheetPublicControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof timesheetPublicControllerGet>>['data']>;
|
|
8212
9654
|
}
|
|
9655
|
+
interface ProjectsResource {
|
|
9656
|
+
list: (options?: WakataMethodOptions<Parameters<typeof projectControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof projectControllerList>>['data']>;
|
|
9657
|
+
get: (options: WakataMethodOptions<Parameters<typeof projectControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerGet>>['data']>;
|
|
9658
|
+
create: (options: WakataMethodOptions<Parameters<typeof projectControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerCreate>>['data']>;
|
|
9659
|
+
update: (options: WakataMethodOptions<Parameters<typeof projectControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerUpdate>>['data']>;
|
|
9660
|
+
delete: (options: WakataMethodOptions<Parameters<typeof projectControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerDelete>>['data']>;
|
|
9661
|
+
/** Read the asset assignments for a project (filter by approval_status). */
|
|
9662
|
+
assets: (options: WakataMethodOptions<Parameters<typeof projectControllerListAssets>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerListAssets>>['data']>;
|
|
9663
|
+
/** Read the user assignments for a project (filter by approval_status). */
|
|
9664
|
+
users: (options: WakataMethodOptions<Parameters<typeof projectControllerListUsers>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerListUsers>>['data']>;
|
|
9665
|
+
}
|
|
9666
|
+
interface JobsResource {
|
|
9667
|
+
list: (options?: WakataMethodOptions<Parameters<typeof jobControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof jobControllerList>>['data']>;
|
|
9668
|
+
get: (options: WakataMethodOptions<Parameters<typeof jobControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerGet>>['data']>;
|
|
9669
|
+
create: (options: WakataMethodOptions<Parameters<typeof jobControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerCreate>>['data']>;
|
|
9670
|
+
update: (options: WakataMethodOptions<Parameters<typeof jobControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerUpdate>>['data']>;
|
|
9671
|
+
delete: (options: WakataMethodOptions<Parameters<typeof jobControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerDelete>>['data']>;
|
|
9672
|
+
/** Read crew/asset assignments for a job (filter by status). */
|
|
9673
|
+
assignments: (options: WakataMethodOptions<Parameters<typeof jobControllerListAssignments>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerListAssignments>>['data']>;
|
|
9674
|
+
/** Read asset requirements (needs spec) for a job. */
|
|
9675
|
+
requirements: (options: WakataMethodOptions<Parameters<typeof jobControllerListRequirements>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerListRequirements>>['data']>;
|
|
9676
|
+
}
|
|
8213
9677
|
/**
|
|
8214
9678
|
* One entity-document type's CRUD. All document types share the same DTOs, so
|
|
8215
9679
|
* the shape is typed against the asset-document operations (structurally
|
|
@@ -8269,6 +9733,8 @@ declare class WakataClient {
|
|
|
8269
9733
|
readonly groups: GroupsResource;
|
|
8270
9734
|
readonly devices: DevicesResource;
|
|
8271
9735
|
readonly timesheets: TimesheetsResource;
|
|
9736
|
+
readonly projects: ProjectsResource;
|
|
9737
|
+
readonly jobs: JobsResource;
|
|
8272
9738
|
constructor(options: WakataClientOptions);
|
|
8273
9739
|
}
|
|
8274
9740
|
|
|
@@ -8442,4 +9908,4 @@ declare const PACKAGE_VERSION = "0.3.3";
|
|
|
8442
9908
|
/** Default base URL for the Wakata Public API (production). */
|
|
8443
9909
|
declare const DEFAULT_BASE_URL = "https://api.wakata.ai/api/v1";
|
|
8444
9910
|
|
|
8445
|
-
export { type ApiErrorBody, type ApiErrorDetail, type ApiErrorResponse, type AssetClassControllerCreateAssetClassData, type AssetClassControllerCreateAssetClassError, type AssetClassControllerCreateAssetClassErrors, type AssetClassControllerCreateAssetClassResponse, type AssetClassControllerCreateAssetClassResponses, type AssetClassControllerGetAssetClassListData, type AssetClassControllerGetAssetClassListError, type AssetClassControllerGetAssetClassListErrors, type AssetClassControllerGetAssetClassListResponse, type AssetClassControllerGetAssetClassListResponses, type AssetClassControllerUpdateAssetClassData, type AssetClassControllerUpdateAssetClassError, type AssetClassControllerUpdateAssetClassErrors, type AssetClassControllerUpdateAssetClassResponse, type AssetClassControllerUpdateAssetClassResponses, type AssetClassDocumentControllerCreateData, type AssetClassDocumentControllerCreateError, type AssetClassDocumentControllerCreateErrors, type AssetClassDocumentControllerCreateResponse, type AssetClassDocumentControllerCreateResponses, type AssetClassDocumentControllerGetData, type AssetClassDocumentControllerGetError, type AssetClassDocumentControllerGetErrors, type AssetClassDocumentControllerGetResponse, type AssetClassDocumentControllerGetResponses, type AssetClassDocumentControllerListData, type AssetClassDocumentControllerListError, type AssetClassDocumentControllerListErrors, type AssetClassDocumentControllerListResponse, type AssetClassDocumentControllerListResponses, type AssetClassDocumentControllerRemoveData, type AssetClassDocumentControllerRemoveError, type AssetClassDocumentControllerRemoveErrors, type AssetClassDocumentControllerRemoveResponse, type AssetClassDocumentControllerRemoveResponses, type AssetClassDocumentControllerUpdateData, type AssetClassDocumentControllerUpdateError, type AssetClassDocumentControllerUpdateErrors, type AssetClassDocumentControllerUpdateResponse, type AssetClassDocumentControllerUpdateResponses, type AssetClassListResponseDto, type AssetClassPropertyControllerRemoveData, type AssetClassPropertyControllerRemoveError, type AssetClassPropertyControllerRemoveErrors, type AssetClassPropertyControllerRemoveResponse, type AssetClassPropertyControllerRemoveResponses, type AssetClassPropertyControllerUpdateData, type AssetClassPropertyControllerUpdateError, type AssetClassPropertyControllerUpdateErrors, type AssetClassPropertyControllerUpdateResponse, type AssetClassPropertyControllerUpdateResponses, type AssetClassPropertyResponseDto, type AssetClassResponseDto, type AssetControllerCreateAssetPublicData, type AssetControllerCreateAssetPublicError, type AssetControllerCreateAssetPublicErrors, type AssetControllerCreateAssetPublicResponse, type AssetControllerCreateAssetPublicResponses, type AssetControllerGetAssetData, type AssetControllerGetAssetError, type AssetControllerGetAssetErrors, type AssetControllerGetAssetResponse, type AssetControllerGetAssetResponses, type AssetControllerListAssetsData, type AssetControllerListAssetsError, type AssetControllerListAssetsErrors, type AssetControllerListAssetsResponse, type AssetControllerListAssetsResponses, type AssetControllerUpdateAssetData, type AssetControllerUpdateAssetError, type AssetControllerUpdateAssetErrors, type AssetControllerUpdateAssetResponse, type AssetControllerUpdateAssetResponses, type AssetDocumentControllerCreateData, type AssetDocumentControllerCreateError, type AssetDocumentControllerCreateErrors, type AssetDocumentControllerCreateResponse, type AssetDocumentControllerCreateResponses, type AssetDocumentControllerGetData, type AssetDocumentControllerGetError, type AssetDocumentControllerGetErrors, type AssetDocumentControllerGetResponse, type AssetDocumentControllerGetResponses, type AssetDocumentControllerListData, type AssetDocumentControllerListError, type AssetDocumentControllerListErrors, type AssetDocumentControllerListResponse, type AssetDocumentControllerListResponses, type AssetDocumentControllerRemoveData, type AssetDocumentControllerRemoveError, type AssetDocumentControllerRemoveErrors, type AssetDocumentControllerRemoveResponse, type AssetDocumentControllerRemoveResponses, type AssetDocumentControllerUpdateData, type AssetDocumentControllerUpdateError, type AssetDocumentControllerUpdateErrors, type AssetDocumentControllerUpdateResponse, type AssetDocumentControllerUpdateResponses, type AssetPropertyControllerDeleteAssetPropertyData, type AssetPropertyControllerDeleteAssetPropertyError, type AssetPropertyControllerDeleteAssetPropertyErrors, type AssetPropertyControllerDeleteAssetPropertyResponse, type AssetPropertyControllerDeleteAssetPropertyResponses, type AssetPropertyControllerUpdateAssetPropertyData, type AssetPropertyControllerUpdateAssetPropertyError, type AssetPropertyControllerUpdateAssetPropertyErrors, type AssetPropertyControllerUpdateAssetPropertyResponse, type AssetPropertyControllerUpdateAssetPropertyResponses, type AssetPropertyResponseDto, type AssetsResource, type ChecklistControllerGetChecklistData, type ChecklistControllerGetChecklistError, type ChecklistControllerGetChecklistErrors, type ChecklistControllerGetChecklistResponse, type ChecklistControllerGetChecklistResponses, type ChecklistControllerListChecklistsData, type ChecklistControllerListChecklistsError, type ChecklistControllerListChecklistsErrors, type ChecklistControllerListChecklistsResponse, type ChecklistControllerListChecklistsResponses, type ChecklistSummaryDto, type ClientOptions, type CompanyDocumentControllerCreateData, type CompanyDocumentControllerCreateError, type CompanyDocumentControllerCreateErrors, type CompanyDocumentControllerCreateResponse, type CompanyDocumentControllerCreateResponses, type CompanyDocumentControllerGetData, type CompanyDocumentControllerGetError, type CompanyDocumentControllerGetErrors, type CompanyDocumentControllerGetResponse, type CompanyDocumentControllerGetResponses, type CompanyDocumentControllerListData, type CompanyDocumentControllerListError, type CompanyDocumentControllerListErrors, type CompanyDocumentControllerListResponse, type CompanyDocumentControllerListResponses, type CompanyDocumentControllerRemoveData, type CompanyDocumentControllerRemoveError, type CompanyDocumentControllerRemoveErrors, type CompanyDocumentControllerRemoveResponse, type CompanyDocumentControllerRemoveResponses, type CompanyDocumentControllerUpdateData, type CompanyDocumentControllerUpdateError, type CompanyDocumentControllerUpdateErrors, type CompanyDocumentControllerUpdateResponse, type CompanyDocumentControllerUpdateResponses, type ConfigItemDto, type ConfigTableDto, type CreateAssetClassDto, type CreateConfigItemDto, type CreateCustomerDto, type CreateDocumentDto, type CreateGroupDto, type CreateSiteDto, type CreateZoneDto, type CustomerControllerCreateData, type CustomerControllerCreateError, type CustomerControllerCreateErrors, type CustomerControllerCreateResponse, type CustomerControllerCreateResponses, type CustomerControllerDeleteData, type CustomerControllerDeleteError, type CustomerControllerDeleteErrors, type CustomerControllerDeleteResponse, type CustomerControllerDeleteResponses, type CustomerControllerGetData, type CustomerControllerGetError, type CustomerControllerGetErrors, type CustomerControllerGetResponse, type CustomerControllerGetResponses, type CustomerControllerListData, type CustomerControllerListError, type CustomerControllerListErrors, type CustomerControllerListResponse, type CustomerControllerListResponses, type CustomerControllerUpdateData, type CustomerControllerUpdateError, type CustomerControllerUpdateErrors, type CustomerControllerUpdateResponse, type CustomerControllerUpdateResponses, type CustomerDocumentControllerCreateData, type CustomerDocumentControllerCreateError, type CustomerDocumentControllerCreateErrors, type CustomerDocumentControllerCreateResponse, type CustomerDocumentControllerCreateResponses, type CustomerDocumentControllerGetData, type CustomerDocumentControllerGetError, type CustomerDocumentControllerGetErrors, type CustomerDocumentControllerGetResponse, type CustomerDocumentControllerGetResponses, type CustomerDocumentControllerListData, type CustomerDocumentControllerListError, type CustomerDocumentControllerListErrors, type CustomerDocumentControllerListResponse, type CustomerDocumentControllerListResponses, type CustomerDocumentControllerRemoveData, type CustomerDocumentControllerRemoveError, type CustomerDocumentControllerRemoveErrors, type CustomerDocumentControllerRemoveResponse, type CustomerDocumentControllerRemoveResponses, type CustomerDocumentControllerUpdateData, type CustomerDocumentControllerUpdateError, type CustomerDocumentControllerUpdateErrors, type CustomerDocumentControllerUpdateResponse, type CustomerDocumentControllerUpdateResponses, type CustomerResponseDto, DEFAULT_BASE_URL, type DeleteAssetClassPropertyResponseDto, type DeleteAssetPropertyResponseDto, type DeleteCustomerResponseDto, type DeleteDocumentResponseDto, type DeleteGroupResponseDto, type DeleteSiteResponseDto, type DeleteUserPropertyResponseDto, type DeleteZoneResponseDto, type DevicePublicControllerGetData, type DevicePublicControllerGetError, type DevicePublicControllerGetErrors, type DevicePublicControllerGetResponse, type DevicePublicControllerGetResponses, type DevicePublicControllerListData, type DevicePublicControllerListError, type DevicePublicControllerListErrors, type DevicePublicControllerListResponse, type DevicePublicControllerListResponses, type DeviceResponseDto, type DocumentResponseDto, type DocumentUploadControllerUploadUrlData, type DocumentUploadControllerUploadUrlError, type DocumentUploadControllerUploadUrlErrors, type DocumentUploadControllerUploadUrlResponse, type DocumentUploadControllerUploadUrlResponses, type DocumentUploadUrlDto, type DocumentUploadUrlResponseDto, type EmbeddedAssetClassPropertyDto, type EmbeddedAssetPropertyDto, type EmbeddedCustomerPropertyDto, type EmbeddedUserPropertyDto, type ErrorDetail, type GroupControllerCreateData, type GroupControllerCreateError, type GroupControllerCreateErrors, type GroupControllerCreateResponse, type GroupControllerCreateResponses, type GroupControllerDeleteData, type GroupControllerDeleteError, type GroupControllerDeleteErrors, type GroupControllerDeleteResponse, type GroupControllerDeleteResponses, type GroupControllerGetData, type GroupControllerGetError, type GroupControllerGetErrors, type GroupControllerGetResponse, type GroupControllerGetResponses, type GroupControllerListData, type GroupControllerListError, type GroupControllerListErrors, type GroupControllerListResponse, type GroupControllerListResponses, type GroupControllerUpdateData, type GroupControllerUpdateError, type GroupControllerUpdateErrors, type GroupControllerUpdateResponse, type GroupControllerUpdateResponses, type GroupResponseDto, type InspectionControllerGetPublicInspectionData, type InspectionControllerGetPublicInspectionError, type InspectionControllerGetPublicInspectionErrors, type InspectionControllerGetPublicInspectionResponse, type InspectionControllerGetPublicInspectionResponses, type InspectionControllerListInspectionsData, type InspectionControllerListInspectionsError, type InspectionControllerListInspectionsErrors, type InspectionControllerListInspectionsResponse, type InspectionControllerListInspectionsResponses, type InspectionResponseDto, type InspectionsResource, type IssueControllerGetIssueHistoryPublicData, type IssueControllerGetIssueHistoryPublicError, type IssueControllerGetIssueHistoryPublicErrors, type IssueControllerGetIssueHistoryPublicResponse, type IssueControllerGetIssueHistoryPublicResponses, type IssueControllerGetIssuePublicData, type IssueControllerGetIssuePublicError, type IssueControllerGetIssuePublicErrors, type IssueControllerGetIssuePublicResponse, type IssueControllerGetIssuePublicResponses, type IssueControllerListIssuesData, type IssueControllerListIssuesError, type IssueControllerListIssuesErrors, type IssueControllerListIssuesResponse, type IssueControllerListIssuesResponses, type IssueControllerUpdateIssuePublicData, type IssueControllerUpdateIssuePublicError, type IssueControllerUpdateIssuePublicErrors, type IssueControllerUpdateIssuePublicResponse, type IssueControllerUpdateIssuePublicResponses, type IssueHistoryDto, type IssueHistoryResponseDto, type IssueResponseDto, type IssuesResource, type JobDocumentControllerCreateData, type JobDocumentControllerCreateError, type JobDocumentControllerCreateErrors, type JobDocumentControllerCreateResponse, type JobDocumentControllerCreateResponses, type JobDocumentControllerGetData, type JobDocumentControllerGetError, type JobDocumentControllerGetErrors, type JobDocumentControllerGetResponse, type JobDocumentControllerGetResponses, type JobDocumentControllerListData, type JobDocumentControllerListError, type JobDocumentControllerListErrors, type JobDocumentControllerListResponse, type JobDocumentControllerListResponses, type JobDocumentControllerRemoveData, type JobDocumentControllerRemoveError, type JobDocumentControllerRemoveErrors, type JobDocumentControllerRemoveResponse, type JobDocumentControllerRemoveResponses, type JobDocumentControllerUpdateData, type JobDocumentControllerUpdateError, type JobDocumentControllerUpdateErrors, type JobDocumentControllerUpdateResponse, type JobDocumentControllerUpdateResponses, type ListChecklistsResponseDto, type ListConfigItemsResponseDto, type ListConfigTablesResponseDto, type ListCustomersResponseDto, type ListDevicesResponseDto, type ListDocumentsResponseDto, type ListGroupsResponseDto, type ListInspectionsResponseDto, type ListIssuesResponseDto, type ListSitesResponseDto, type ListTimesheetsResponseDto, type ListZonesResponseDto, PACKAGE_NAME, PACKAGE_VERSION, type ProjectDocumentControllerCreateData, type ProjectDocumentControllerCreateError, type ProjectDocumentControllerCreateErrors, type ProjectDocumentControllerCreateResponse, type ProjectDocumentControllerCreateResponses, type ProjectDocumentControllerGetData, type ProjectDocumentControllerGetError, type ProjectDocumentControllerGetErrors, type ProjectDocumentControllerGetResponse, type ProjectDocumentControllerGetResponses, type ProjectDocumentControllerListData, type ProjectDocumentControllerListError, type ProjectDocumentControllerListErrors, type ProjectDocumentControllerListResponse, type ProjectDocumentControllerListResponses, type ProjectDocumentControllerRemoveData, type ProjectDocumentControllerRemoveError, type ProjectDocumentControllerRemoveErrors, type ProjectDocumentControllerRemoveResponse, type ProjectDocumentControllerRemoveResponses, type ProjectDocumentControllerUpdateData, type ProjectDocumentControllerUpdateError, type ProjectDocumentControllerUpdateErrors, type ProjectDocumentControllerUpdateResponse, type ProjectDocumentControllerUpdateResponses, type PublicConfigControllerCreateConfigItemData, type PublicConfigControllerCreateConfigItemError, type PublicConfigControllerCreateConfigItemErrors, type PublicConfigControllerCreateConfigItemResponse, type PublicConfigControllerCreateConfigItemResponses, type PublicConfigControllerDeleteConfigItemData, type PublicConfigControllerDeleteConfigItemError, type PublicConfigControllerDeleteConfigItemErrors, type PublicConfigControllerDeleteConfigItemResponse, type PublicConfigControllerDeleteConfigItemResponses, type PublicConfigControllerGetConfigItemData, type PublicConfigControllerGetConfigItemError, type PublicConfigControllerGetConfigItemErrors, type PublicConfigControllerGetConfigItemResponse, type PublicConfigControllerGetConfigItemResponses, type PublicConfigControllerListConfigItemsData, type PublicConfigControllerListConfigItemsError, type PublicConfigControllerListConfigItemsErrors, type PublicConfigControllerListConfigItemsResponse, type PublicConfigControllerListConfigItemsResponses, type PublicConfigControllerListConfigTablesData, type PublicConfigControllerListConfigTablesError, type PublicConfigControllerListConfigTablesErrors, type PublicConfigControllerListConfigTablesResponse, type PublicConfigControllerListConfigTablesResponses, type PublicConfigControllerUpdateConfigItemData, type PublicConfigControllerUpdateConfigItemError, type PublicConfigControllerUpdateConfigItemErrors, type PublicConfigControllerUpdateConfigItemResponse, type PublicConfigControllerUpdateConfigItemResponses, type PublicCreateAssetDto, type SiteControllerCreateSiteData, type SiteControllerCreateSiteError, type SiteControllerCreateSiteErrors, type SiteControllerCreateSiteResponse, type SiteControllerCreateSiteResponses, type SiteControllerDeleteSiteData, type SiteControllerDeleteSiteError, type SiteControllerDeleteSiteErrors, type SiteControllerDeleteSiteResponse, type SiteControllerDeleteSiteResponses, type SiteControllerListSitesData, type SiteControllerListSitesError, type SiteControllerListSitesErrors, type SiteControllerListSitesResponse, type SiteControllerListSitesResponses, type SiteControllerUpdateSiteData, type SiteControllerUpdateSiteError, type SiteControllerUpdateSiteErrors, type SiteControllerUpdateSiteResponse, type SiteControllerUpdateSiteResponses, type SiteDocumentControllerCreateData, type SiteDocumentControllerCreateError, type SiteDocumentControllerCreateErrors, type SiteDocumentControllerCreateResponse, type SiteDocumentControllerCreateResponses, type SiteDocumentControllerGetData, type SiteDocumentControllerGetError, type SiteDocumentControllerGetErrors, type SiteDocumentControllerGetResponse, type SiteDocumentControllerGetResponses, type SiteDocumentControllerListData, type SiteDocumentControllerListError, type SiteDocumentControllerListErrors, type SiteDocumentControllerListResponse, type SiteDocumentControllerListResponses, type SiteDocumentControllerRemoveData, type SiteDocumentControllerRemoveError, type SiteDocumentControllerRemoveErrors, type SiteDocumentControllerRemoveResponse, type SiteDocumentControllerRemoveResponses, type SiteDocumentControllerUpdateData, type SiteDocumentControllerUpdateError, type SiteDocumentControllerUpdateErrors, type SiteDocumentControllerUpdateResponse, type SiteDocumentControllerUpdateResponses, type SiteResponseDto, type SitesResource, type TimesheetDetailDto, type TimesheetLineDto, type TimesheetPublicControllerGetData, type TimesheetPublicControllerGetError, type TimesheetPublicControllerGetErrors, type TimesheetPublicControllerGetResponse, type TimesheetPublicControllerGetResponses, type TimesheetPublicControllerListData, type TimesheetPublicControllerListError, type TimesheetPublicControllerListErrors, type TimesheetPublicControllerListResponse, type TimesheetPublicControllerListResponses, type TimesheetSummaryDto, type UpdateAssetClassDto, type UpdateAssetClassPropertyDto, type UpdateAssetDto, type UpdateAssetPropertyDto, type UpdateConfigItemDto, type UpdateCustomerDto, type UpdateDocumentDto, type UpdateGroupDto, type UpdateIssueDto, type UpdateSiteDto, type UpdateUserPropertyDto, type UpdateZoneDto, type UserControllerCreateUserData, type UserControllerCreateUserError, type UserControllerCreateUserErrors, type UserControllerCreateUserResponse, type UserControllerCreateUserResponses, type UserControllerGetUserData, type UserControllerGetUserError, type UserControllerGetUserErrors, type UserControllerGetUserResponse, type UserControllerGetUserResponses, type UserControllerListUsersData, type UserControllerListUsersError, type UserControllerListUsersErrors, type UserControllerListUsersResponse, type UserControllerListUsersResponses, type UserControllerUpdateUserData, type UserControllerUpdateUserError, type UserControllerUpdateUserErrors, type UserControllerUpdateUserResponse, type UserControllerUpdateUserResponses, type UserDocumentControllerCreateData, type UserDocumentControllerCreateError, type UserDocumentControllerCreateErrors, type UserDocumentControllerCreateResponse, type UserDocumentControllerCreateResponses, type UserDocumentControllerGetData, type UserDocumentControllerGetError, type UserDocumentControllerGetErrors, type UserDocumentControllerGetResponse, type UserDocumentControllerGetResponses, type UserDocumentControllerListData, type UserDocumentControllerListError, type UserDocumentControllerListErrors, type UserDocumentControllerListResponse, type UserDocumentControllerListResponses, type UserDocumentControllerRemoveData, type UserDocumentControllerRemoveError, type UserDocumentControllerRemoveErrors, type UserDocumentControllerRemoveResponse, type UserDocumentControllerRemoveResponses, type UserDocumentControllerUpdateData, type UserDocumentControllerUpdateError, type UserDocumentControllerUpdateErrors, type UserDocumentControllerUpdateResponse, type UserDocumentControllerUpdateResponses, type UserPropertiesResource, type UserPropertyControllerDeleteUserPropertyData, type UserPropertyControllerDeleteUserPropertyError, type UserPropertyControllerDeleteUserPropertyErrors, type UserPropertyControllerDeleteUserPropertyResponse, type UserPropertyControllerDeleteUserPropertyResponses, type UserPropertyControllerUpdateUserPropertyData, type UserPropertyControllerUpdateUserPropertyError, type UserPropertyControllerUpdateUserPropertyErrors, type UserPropertyControllerUpdateUserPropertyResponse, type UserPropertyControllerUpdateUserPropertyResponses, type UserPropertyResponseDto, type UserResponseDto, type UsersResource, WakataApiError, WakataAuthError, WakataClient, type WakataClientOptions, WakataConflictError, type WakataErrorEnvelope, WakataNotFoundError, WakataPermissionError, WakataRateLimitError, WakataServerError, WakataValidationError, type ZoneControllerCreateData, type ZoneControllerCreateError, type ZoneControllerCreateErrors, type ZoneControllerCreateResponse, type ZoneControllerCreateResponses, type ZoneControllerDeleteData, type ZoneControllerDeleteError, type ZoneControllerDeleteErrors, type ZoneControllerDeleteResponse, type ZoneControllerDeleteResponses, type ZoneControllerGetData, type ZoneControllerGetError, type ZoneControllerGetErrors, type ZoneControllerGetResponse, type ZoneControllerGetResponses, type ZoneControllerListData, type ZoneControllerListError, type ZoneControllerListErrors, type ZoneControllerListResponse, type ZoneControllerListResponses, type ZoneControllerUpdateData, type ZoneControllerUpdateError, type ZoneControllerUpdateErrors, type ZoneControllerUpdateResponse, type ZoneControllerUpdateResponses, type ZoneResponseDto, generateIdempotencyKey, mapApiError };
|
|
9911
|
+
export { type ApiErrorBody, type ApiErrorDetail, type ApiErrorResponse, type AssetClassControllerCreateAssetClassData, type AssetClassControllerCreateAssetClassError, type AssetClassControllerCreateAssetClassErrors, type AssetClassControllerCreateAssetClassResponse, type AssetClassControllerCreateAssetClassResponses, type AssetClassControllerGetAssetClassListData, type AssetClassControllerGetAssetClassListError, type AssetClassControllerGetAssetClassListErrors, type AssetClassControllerGetAssetClassListResponse, type AssetClassControllerGetAssetClassListResponses, type AssetClassControllerUpdateAssetClassData, type AssetClassControllerUpdateAssetClassError, type AssetClassControllerUpdateAssetClassErrors, type AssetClassControllerUpdateAssetClassResponse, type AssetClassControllerUpdateAssetClassResponses, type AssetClassDocumentControllerCreateData, type AssetClassDocumentControllerCreateError, type AssetClassDocumentControllerCreateErrors, type AssetClassDocumentControllerCreateResponse, type AssetClassDocumentControllerCreateResponses, type AssetClassDocumentControllerGetData, type AssetClassDocumentControllerGetError, type AssetClassDocumentControllerGetErrors, type AssetClassDocumentControllerGetResponse, type AssetClassDocumentControllerGetResponses, type AssetClassDocumentControllerListData, type AssetClassDocumentControllerListError, type AssetClassDocumentControllerListErrors, type AssetClassDocumentControllerListResponse, type AssetClassDocumentControllerListResponses, type AssetClassDocumentControllerRemoveData, type AssetClassDocumentControllerRemoveError, type AssetClassDocumentControllerRemoveErrors, type AssetClassDocumentControllerRemoveResponse, type AssetClassDocumentControllerRemoveResponses, type AssetClassDocumentControllerUpdateData, type AssetClassDocumentControllerUpdateError, type AssetClassDocumentControllerUpdateErrors, type AssetClassDocumentControllerUpdateResponse, type AssetClassDocumentControllerUpdateResponses, type AssetClassListResponseDto, type AssetClassPropertyControllerRemoveData, type AssetClassPropertyControllerRemoveError, type AssetClassPropertyControllerRemoveErrors, type AssetClassPropertyControllerRemoveResponse, type AssetClassPropertyControllerRemoveResponses, type AssetClassPropertyControllerUpdateData, type AssetClassPropertyControllerUpdateError, type AssetClassPropertyControllerUpdateErrors, type AssetClassPropertyControllerUpdateResponse, type AssetClassPropertyControllerUpdateResponses, type AssetClassPropertyResponseDto, type AssetClassResponseDto, type AssetControllerCreateAssetPublicData, type AssetControllerCreateAssetPublicError, type AssetControllerCreateAssetPublicErrors, type AssetControllerCreateAssetPublicResponse, type AssetControllerCreateAssetPublicResponses, type AssetControllerGetAssetData, type AssetControllerGetAssetError, type AssetControllerGetAssetErrors, type AssetControllerGetAssetResponse, type AssetControllerGetAssetResponses, type AssetControllerListAssetsData, type AssetControllerListAssetsError, type AssetControllerListAssetsErrors, type AssetControllerListAssetsResponse, type AssetControllerListAssetsResponses, type AssetControllerUpdateAssetData, type AssetControllerUpdateAssetError, type AssetControllerUpdateAssetErrors, type AssetControllerUpdateAssetResponse, type AssetControllerUpdateAssetResponses, type AssetDocumentControllerCreateData, type AssetDocumentControllerCreateError, type AssetDocumentControllerCreateErrors, type AssetDocumentControllerCreateResponse, type AssetDocumentControllerCreateResponses, type AssetDocumentControllerGetData, type AssetDocumentControllerGetError, type AssetDocumentControllerGetErrors, type AssetDocumentControllerGetResponse, type AssetDocumentControllerGetResponses, type AssetDocumentControllerListData, type AssetDocumentControllerListError, type AssetDocumentControllerListErrors, type AssetDocumentControllerListResponse, type AssetDocumentControllerListResponses, type AssetDocumentControllerRemoveData, type AssetDocumentControllerRemoveError, type AssetDocumentControllerRemoveErrors, type AssetDocumentControllerRemoveResponse, type AssetDocumentControllerRemoveResponses, type AssetDocumentControllerUpdateData, type AssetDocumentControllerUpdateError, type AssetDocumentControllerUpdateErrors, type AssetDocumentControllerUpdateResponse, type AssetDocumentControllerUpdateResponses, type AssetPropertyControllerDeleteAssetPropertyData, type AssetPropertyControllerDeleteAssetPropertyError, type AssetPropertyControllerDeleteAssetPropertyErrors, type AssetPropertyControllerDeleteAssetPropertyResponse, type AssetPropertyControllerDeleteAssetPropertyResponses, type AssetPropertyControllerUpdateAssetPropertyData, type AssetPropertyControllerUpdateAssetPropertyError, type AssetPropertyControllerUpdateAssetPropertyErrors, type AssetPropertyControllerUpdateAssetPropertyResponse, type AssetPropertyControllerUpdateAssetPropertyResponses, type AssetPropertyResponseDto, type AssetsResource, type ChecklistControllerGetChecklistData, type ChecklistControllerGetChecklistError, type ChecklistControllerGetChecklistErrors, type ChecklistControllerGetChecklistResponse, type ChecklistControllerGetChecklistResponses, type ChecklistControllerListChecklistsData, type ChecklistControllerListChecklistsError, type ChecklistControllerListChecklistsErrors, type ChecklistControllerListChecklistsResponse, type ChecklistControllerListChecklistsResponses, type ChecklistSummaryDto, type ClientOptions, type CompanyDocumentControllerCreateData, type CompanyDocumentControllerCreateError, type CompanyDocumentControllerCreateErrors, type CompanyDocumentControllerCreateResponse, type CompanyDocumentControllerCreateResponses, type CompanyDocumentControllerGetData, type CompanyDocumentControllerGetError, type CompanyDocumentControllerGetErrors, type CompanyDocumentControllerGetResponse, type CompanyDocumentControllerGetResponses, type CompanyDocumentControllerListData, type CompanyDocumentControllerListError, type CompanyDocumentControllerListErrors, type CompanyDocumentControllerListResponse, type CompanyDocumentControllerListResponses, type CompanyDocumentControllerRemoveData, type CompanyDocumentControllerRemoveError, type CompanyDocumentControllerRemoveErrors, type CompanyDocumentControllerRemoveResponse, type CompanyDocumentControllerRemoveResponses, type CompanyDocumentControllerUpdateData, type CompanyDocumentControllerUpdateError, type CompanyDocumentControllerUpdateErrors, type CompanyDocumentControllerUpdateResponse, type CompanyDocumentControllerUpdateResponses, type ConfigItemDto, type ConfigTableDto, type CreateAssetClassDto, type CreateConfigItemDto, type CreateCustomerDto, type CreateDocumentDto, type CreateGroupDto, type CreateJobDto, type CreateProjectDto, type CreateSiteDto, type CreateZoneDto, type CustomerControllerCreateData, type CustomerControllerCreateError, type CustomerControllerCreateErrors, type CustomerControllerCreateResponse, type CustomerControllerCreateResponses, type CustomerControllerDeleteData, type CustomerControllerDeleteError, type CustomerControllerDeleteErrors, type CustomerControllerDeleteResponse, type CustomerControllerDeleteResponses, type CustomerControllerGetData, type CustomerControllerGetError, type CustomerControllerGetErrors, type CustomerControllerGetResponse, type CustomerControllerGetResponses, type CustomerControllerListData, type CustomerControllerListError, type CustomerControllerListErrors, type CustomerControllerListResponse, type CustomerControllerListResponses, type CustomerControllerUpdateData, type CustomerControllerUpdateError, type CustomerControllerUpdateErrors, type CustomerControllerUpdateResponse, type CustomerControllerUpdateResponses, type CustomerDocumentControllerCreateData, type CustomerDocumentControllerCreateError, type CustomerDocumentControllerCreateErrors, type CustomerDocumentControllerCreateResponse, type CustomerDocumentControllerCreateResponses, type CustomerDocumentControllerGetData, type CustomerDocumentControllerGetError, type CustomerDocumentControllerGetErrors, type CustomerDocumentControllerGetResponse, type CustomerDocumentControllerGetResponses, type CustomerDocumentControllerListData, type CustomerDocumentControllerListError, type CustomerDocumentControllerListErrors, type CustomerDocumentControllerListResponse, type CustomerDocumentControllerListResponses, type CustomerDocumentControllerRemoveData, type CustomerDocumentControllerRemoveError, type CustomerDocumentControllerRemoveErrors, type CustomerDocumentControllerRemoveResponse, type CustomerDocumentControllerRemoveResponses, type CustomerDocumentControllerUpdateData, type CustomerDocumentControllerUpdateError, type CustomerDocumentControllerUpdateErrors, type CustomerDocumentControllerUpdateResponse, type CustomerDocumentControllerUpdateResponses, type CustomerResponseDto, DEFAULT_BASE_URL, type DeleteAssetClassPropertyResponseDto, type DeleteAssetPropertyResponseDto, type DeleteCustomerResponseDto, type DeleteDocumentResponseDto, type DeleteGroupResponseDto, type DeleteJobResponseDto, type DeleteProjectResponseDto, type DeleteSiteResponseDto, type DeleteUserPropertyResponseDto, type DeleteZoneResponseDto, type DevicePublicControllerGetData, type DevicePublicControllerGetError, type DevicePublicControllerGetErrors, type DevicePublicControllerGetResponse, type DevicePublicControllerGetResponses, type DevicePublicControllerListData, type DevicePublicControllerListError, type DevicePublicControllerListErrors, type DevicePublicControllerListResponse, type DevicePublicControllerListResponses, type DeviceResponseDto, type DocumentResponseDto, type DocumentUploadControllerUploadUrlData, type DocumentUploadControllerUploadUrlError, type DocumentUploadControllerUploadUrlErrors, type DocumentUploadControllerUploadUrlResponse, type DocumentUploadControllerUploadUrlResponses, type DocumentUploadUrlDto, type DocumentUploadUrlResponseDto, type EmbeddedAssetClassPropertyDto, type EmbeddedAssetPropertyDto, type EmbeddedCustomerPropertyDto, type EmbeddedJobPropertyDto, type EmbeddedProjectPropertyDto, type EmbeddedUserPropertyDto, type ErrorDetail, type GroupControllerCreateData, type GroupControllerCreateError, type GroupControllerCreateErrors, type GroupControllerCreateResponse, type GroupControllerCreateResponses, type GroupControllerDeleteData, type GroupControllerDeleteError, type GroupControllerDeleteErrors, type GroupControllerDeleteResponse, type GroupControllerDeleteResponses, type GroupControllerGetData, type GroupControllerGetError, type GroupControllerGetErrors, type GroupControllerGetResponse, type GroupControllerGetResponses, type GroupControllerListData, type GroupControllerListError, type GroupControllerListErrors, type GroupControllerListResponse, type GroupControllerListResponses, type GroupControllerUpdateData, type GroupControllerUpdateError, type GroupControllerUpdateErrors, type GroupControllerUpdateResponse, type GroupControllerUpdateResponses, type GroupResponseDto, type InspectionControllerGetPublicInspectionData, type InspectionControllerGetPublicInspectionError, type InspectionControllerGetPublicInspectionErrors, type InspectionControllerGetPublicInspectionResponse, type InspectionControllerGetPublicInspectionResponses, type InspectionControllerListInspectionsData, type InspectionControllerListInspectionsError, type InspectionControllerListInspectionsErrors, type InspectionControllerListInspectionsResponse, type InspectionControllerListInspectionsResponses, type InspectionResponseDto, type InspectionsResource, type IssueControllerGetIssueHistoryPublicData, type IssueControllerGetIssueHistoryPublicError, type IssueControllerGetIssueHistoryPublicErrors, type IssueControllerGetIssueHistoryPublicResponse, type IssueControllerGetIssueHistoryPublicResponses, type IssueControllerGetIssuePublicData, type IssueControllerGetIssuePublicError, type IssueControllerGetIssuePublicErrors, type IssueControllerGetIssuePublicResponse, type IssueControllerGetIssuePublicResponses, type IssueControllerListIssuesData, type IssueControllerListIssuesError, type IssueControllerListIssuesErrors, type IssueControllerListIssuesResponse, type IssueControllerListIssuesResponses, type IssueControllerUpdateIssuePublicData, type IssueControllerUpdateIssuePublicError, type IssueControllerUpdateIssuePublicErrors, type IssueControllerUpdateIssuePublicResponse, type IssueControllerUpdateIssuePublicResponses, type IssueHistoryDto, type IssueHistoryResponseDto, type IssueResponseDto, type IssuesResource, type JobAssignmentDto, type JobControllerCreateData, type JobControllerCreateError, type JobControllerCreateErrors, type JobControllerCreateResponse, type JobControllerCreateResponses, type JobControllerDeleteData, type JobControllerDeleteError, type JobControllerDeleteErrors, type JobControllerDeleteResponse, type JobControllerDeleteResponses, type JobControllerGetData, type JobControllerGetError, type JobControllerGetErrors, type JobControllerGetResponse, type JobControllerGetResponses, type JobControllerListAssignmentsData, type JobControllerListAssignmentsError, type JobControllerListAssignmentsErrors, type JobControllerListAssignmentsResponse, type JobControllerListAssignmentsResponses, type JobControllerListData, type JobControllerListError, type JobControllerListErrors, type JobControllerListRequirementsData, type JobControllerListRequirementsError, type JobControllerListRequirementsErrors, type JobControllerListRequirementsResponse, type JobControllerListRequirementsResponses, type JobControllerListResponse, type JobControllerListResponses, type JobControllerUpdateData, type JobControllerUpdateError, type JobControllerUpdateErrors, type JobControllerUpdateResponse, type JobControllerUpdateResponses, type JobDocumentControllerCreateData, type JobDocumentControllerCreateError, type JobDocumentControllerCreateErrors, type JobDocumentControllerCreateResponse, type JobDocumentControllerCreateResponses, type JobDocumentControllerGetData, type JobDocumentControllerGetError, type JobDocumentControllerGetErrors, type JobDocumentControllerGetResponse, type JobDocumentControllerGetResponses, type JobDocumentControllerListData, type JobDocumentControllerListError, type JobDocumentControllerListErrors, type JobDocumentControllerListResponse, type JobDocumentControllerListResponses, type JobDocumentControllerRemoveData, type JobDocumentControllerRemoveError, type JobDocumentControllerRemoveErrors, type JobDocumentControllerRemoveResponse, type JobDocumentControllerRemoveResponses, type JobDocumentControllerUpdateData, type JobDocumentControllerUpdateError, type JobDocumentControllerUpdateErrors, type JobDocumentControllerUpdateResponse, type JobDocumentControllerUpdateResponses, type JobRequirementDto, type JobResponseDto, type ListChecklistsResponseDto, type ListConfigItemsResponseDto, type ListConfigTablesResponseDto, type ListCustomersResponseDto, type ListDevicesResponseDto, type ListDocumentsResponseDto, type ListGroupsResponseDto, type ListInspectionsResponseDto, type ListIssuesResponseDto, type ListJobAssignmentsResponseDto, type ListJobRequirementsResponseDto, type ListJobsResponseDto, type ListProjectAssetsResponseDto, type ListProjectUsersResponseDto, type ListProjectsResponseDto, type ListSitesResponseDto, type ListTimesheetsResponseDto, type ListZonesResponseDto, PACKAGE_NAME, PACKAGE_VERSION, type ProjectAssetDto, type ProjectControllerCreateData, type ProjectControllerCreateError, type ProjectControllerCreateErrors, type ProjectControllerCreateResponse, type ProjectControllerCreateResponses, type ProjectControllerDeleteData, type ProjectControllerDeleteError, type ProjectControllerDeleteErrors, type ProjectControllerDeleteResponse, type ProjectControllerDeleteResponses, type ProjectControllerGetData, type ProjectControllerGetError, type ProjectControllerGetErrors, type ProjectControllerGetResponse, type ProjectControllerGetResponses, type ProjectControllerListAssetsData, type ProjectControllerListAssetsError, type ProjectControllerListAssetsErrors, type ProjectControllerListAssetsResponse, type ProjectControllerListAssetsResponses, type ProjectControllerListData, type ProjectControllerListError, type ProjectControllerListErrors, type ProjectControllerListResponse, type ProjectControllerListResponses, type ProjectControllerListUsersData, type ProjectControllerListUsersError, type ProjectControllerListUsersErrors, type ProjectControllerListUsersResponse, type ProjectControllerListUsersResponses, type ProjectControllerUpdateData, type ProjectControllerUpdateError, type ProjectControllerUpdateErrors, type ProjectControllerUpdateResponse, type ProjectControllerUpdateResponses, type ProjectDocumentControllerCreateData, type ProjectDocumentControllerCreateError, type ProjectDocumentControllerCreateErrors, type ProjectDocumentControllerCreateResponse, type ProjectDocumentControllerCreateResponses, type ProjectDocumentControllerGetData, type ProjectDocumentControllerGetError, type ProjectDocumentControllerGetErrors, type ProjectDocumentControllerGetResponse, type ProjectDocumentControllerGetResponses, type ProjectDocumentControllerListData, type ProjectDocumentControllerListError, type ProjectDocumentControllerListErrors, type ProjectDocumentControllerListResponse, type ProjectDocumentControllerListResponses, type ProjectDocumentControllerRemoveData, type ProjectDocumentControllerRemoveError, type ProjectDocumentControllerRemoveErrors, type ProjectDocumentControllerRemoveResponse, type ProjectDocumentControllerRemoveResponses, type ProjectDocumentControllerUpdateData, type ProjectDocumentControllerUpdateError, type ProjectDocumentControllerUpdateErrors, type ProjectDocumentControllerUpdateResponse, type ProjectDocumentControllerUpdateResponses, type ProjectResponseDto, type ProjectUserDto, type PublicConfigControllerCreateConfigItemData, type PublicConfigControllerCreateConfigItemError, type PublicConfigControllerCreateConfigItemErrors, type PublicConfigControllerCreateConfigItemResponse, type PublicConfigControllerCreateConfigItemResponses, type PublicConfigControllerDeleteConfigItemData, type PublicConfigControllerDeleteConfigItemError, type PublicConfigControllerDeleteConfigItemErrors, type PublicConfigControllerDeleteConfigItemResponse, type PublicConfigControllerDeleteConfigItemResponses, type PublicConfigControllerGetConfigItemData, type PublicConfigControllerGetConfigItemError, type PublicConfigControllerGetConfigItemErrors, type PublicConfigControllerGetConfigItemResponse, type PublicConfigControllerGetConfigItemResponses, type PublicConfigControllerListConfigItemsData, type PublicConfigControllerListConfigItemsError, type PublicConfigControllerListConfigItemsErrors, type PublicConfigControllerListConfigItemsResponse, type PublicConfigControllerListConfigItemsResponses, type PublicConfigControllerListConfigTablesData, type PublicConfigControllerListConfigTablesError, type PublicConfigControllerListConfigTablesErrors, type PublicConfigControllerListConfigTablesResponse, type PublicConfigControllerListConfigTablesResponses, type PublicConfigControllerUpdateConfigItemData, type PublicConfigControllerUpdateConfigItemError, type PublicConfigControllerUpdateConfigItemErrors, type PublicConfigControllerUpdateConfigItemResponse, type PublicConfigControllerUpdateConfigItemResponses, type PublicCreateAssetDto, type SiteControllerCreateSiteData, type SiteControllerCreateSiteError, type SiteControllerCreateSiteErrors, type SiteControllerCreateSiteResponse, type SiteControllerCreateSiteResponses, type SiteControllerDeleteSiteData, type SiteControllerDeleteSiteError, type SiteControllerDeleteSiteErrors, type SiteControllerDeleteSiteResponse, type SiteControllerDeleteSiteResponses, type SiteControllerListSitesData, type SiteControllerListSitesError, type SiteControllerListSitesErrors, type SiteControllerListSitesResponse, type SiteControllerListSitesResponses, type SiteControllerUpdateSiteData, type SiteControllerUpdateSiteError, type SiteControllerUpdateSiteErrors, type SiteControllerUpdateSiteResponse, type SiteControllerUpdateSiteResponses, type SiteDocumentControllerCreateData, type SiteDocumentControllerCreateError, type SiteDocumentControllerCreateErrors, type SiteDocumentControllerCreateResponse, type SiteDocumentControllerCreateResponses, type SiteDocumentControllerGetData, type SiteDocumentControllerGetError, type SiteDocumentControllerGetErrors, type SiteDocumentControllerGetResponse, type SiteDocumentControllerGetResponses, type SiteDocumentControllerListData, type SiteDocumentControllerListError, type SiteDocumentControllerListErrors, type SiteDocumentControllerListResponse, type SiteDocumentControllerListResponses, type SiteDocumentControllerRemoveData, type SiteDocumentControllerRemoveError, type SiteDocumentControllerRemoveErrors, type SiteDocumentControllerRemoveResponse, type SiteDocumentControllerRemoveResponses, type SiteDocumentControllerUpdateData, type SiteDocumentControllerUpdateError, type SiteDocumentControllerUpdateErrors, type SiteDocumentControllerUpdateResponse, type SiteDocumentControllerUpdateResponses, type SiteResponseDto, type SitesResource, type TimesheetDetailDto, type TimesheetLineDto, type TimesheetPublicControllerGetData, type TimesheetPublicControllerGetError, type TimesheetPublicControllerGetErrors, type TimesheetPublicControllerGetResponse, type TimesheetPublicControllerGetResponses, type TimesheetPublicControllerListData, type TimesheetPublicControllerListError, type TimesheetPublicControllerListErrors, type TimesheetPublicControllerListResponse, type TimesheetPublicControllerListResponses, type TimesheetSummaryDto, type UpdateAssetClassDto, type UpdateAssetClassPropertyDto, type UpdateAssetDto, type UpdateAssetPropertyDto, type UpdateConfigItemDto, type UpdateCustomerDto, type UpdateDocumentDto, type UpdateGroupDto, type UpdateIssueDto, type UpdateJobDto, type UpdateProjectDto, type UpdateSiteDto, type UpdateUserPropertyDto, type UpdateZoneDto, type UserControllerCreateUserData, type UserControllerCreateUserError, type UserControllerCreateUserErrors, type UserControllerCreateUserResponse, type UserControllerCreateUserResponses, type UserControllerGetUserData, type UserControllerGetUserError, type UserControllerGetUserErrors, type UserControllerGetUserResponse, type UserControllerGetUserResponses, type UserControllerListUsersData, type UserControllerListUsersError, type UserControllerListUsersErrors, type UserControllerListUsersResponse, type UserControllerListUsersResponses, type UserControllerUpdateUserData, type UserControllerUpdateUserError, type UserControllerUpdateUserErrors, type UserControllerUpdateUserResponse, type UserControllerUpdateUserResponses, type UserDocumentControllerCreateData, type UserDocumentControllerCreateError, type UserDocumentControllerCreateErrors, type UserDocumentControllerCreateResponse, type UserDocumentControllerCreateResponses, type UserDocumentControllerGetData, type UserDocumentControllerGetError, type UserDocumentControllerGetErrors, type UserDocumentControllerGetResponse, type UserDocumentControllerGetResponses, type UserDocumentControllerListData, type UserDocumentControllerListError, type UserDocumentControllerListErrors, type UserDocumentControllerListResponse, type UserDocumentControllerListResponses, type UserDocumentControllerRemoveData, type UserDocumentControllerRemoveError, type UserDocumentControllerRemoveErrors, type UserDocumentControllerRemoveResponse, type UserDocumentControllerRemoveResponses, type UserDocumentControllerUpdateData, type UserDocumentControllerUpdateError, type UserDocumentControllerUpdateErrors, type UserDocumentControllerUpdateResponse, type UserDocumentControllerUpdateResponses, type UserPropertiesResource, type UserPropertyControllerDeleteUserPropertyData, type UserPropertyControllerDeleteUserPropertyError, type UserPropertyControllerDeleteUserPropertyErrors, type UserPropertyControllerDeleteUserPropertyResponse, type UserPropertyControllerDeleteUserPropertyResponses, type UserPropertyControllerUpdateUserPropertyData, type UserPropertyControllerUpdateUserPropertyError, type UserPropertyControllerUpdateUserPropertyErrors, type UserPropertyControllerUpdateUserPropertyResponse, type UserPropertyControllerUpdateUserPropertyResponses, type UserPropertyResponseDto, type UserResponseDto, type UsersResource, WakataApiError, WakataAuthError, WakataClient, type WakataClientOptions, WakataConflictError, type WakataErrorEnvelope, WakataNotFoundError, WakataPermissionError, WakataRateLimitError, WakataServerError, WakataValidationError, type ZoneControllerCreateData, type ZoneControllerCreateError, type ZoneControllerCreateErrors, type ZoneControllerCreateResponse, type ZoneControllerCreateResponses, type ZoneControllerDeleteData, type ZoneControllerDeleteError, type ZoneControllerDeleteErrors, type ZoneControllerDeleteResponse, type ZoneControllerDeleteResponses, type ZoneControllerGetData, type ZoneControllerGetError, type ZoneControllerGetErrors, type ZoneControllerGetResponse, type ZoneControllerGetResponses, type ZoneControllerListData, type ZoneControllerListError, type ZoneControllerListErrors, type ZoneControllerListResponse, type ZoneControllerListResponses, type ZoneControllerUpdateData, type ZoneControllerUpdateError, type ZoneControllerUpdateErrors, type ZoneControllerUpdateResponse, type ZoneControllerUpdateResponses, type ZoneResponseDto, generateIdempotencyKey, mapApiError };
|