@wakata-dev/api-client 0.5.0 → 0.7.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 +261 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1925 -236
- package/dist/index.d.ts +1925 -236
- package/dist/index.js +261 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,109 @@ type ApiErrorDetail = {
|
|
|
44
44
|
type ApiErrorResponse = {
|
|
45
45
|
error: ApiErrorBody;
|
|
46
46
|
};
|
|
47
|
+
type ApprovalLevelDto = {
|
|
48
|
+
public_id: string;
|
|
49
|
+
level_number: number;
|
|
50
|
+
total_levels: number;
|
|
51
|
+
members: Array<ApprovalLevelMemberDto>;
|
|
52
|
+
};
|
|
53
|
+
type ApprovalLevelMemberDto = {
|
|
54
|
+
public_id: string;
|
|
55
|
+
/**
|
|
56
|
+
* Member kind
|
|
57
|
+
*/
|
|
58
|
+
member_type: 'user' | 'group';
|
|
59
|
+
/**
|
|
60
|
+
* User publicId (when member_type=user)
|
|
61
|
+
*/
|
|
62
|
+
user_id: {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
} | null;
|
|
65
|
+
/**
|
|
66
|
+
* User full name
|
|
67
|
+
*/
|
|
68
|
+
user_name: {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
} | null;
|
|
71
|
+
/**
|
|
72
|
+
* Group publicId (when member_type=group)
|
|
73
|
+
*/
|
|
74
|
+
group_id: {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
} | null;
|
|
77
|
+
/**
|
|
78
|
+
* Group name
|
|
79
|
+
*/
|
|
80
|
+
group_name: {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
} | null;
|
|
83
|
+
member_order: number;
|
|
84
|
+
};
|
|
85
|
+
type ApprovalSchemeDetailDto = {
|
|
86
|
+
public_id: string;
|
|
87
|
+
/**
|
|
88
|
+
* Site publicId (null = company-wide)
|
|
89
|
+
*/
|
|
90
|
+
site_id: {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
} | null;
|
|
93
|
+
/**
|
|
94
|
+
* Site name
|
|
95
|
+
*/
|
|
96
|
+
site_name: {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
} | null;
|
|
99
|
+
version: number;
|
|
100
|
+
for_timesheets: boolean;
|
|
101
|
+
for_inspections: boolean;
|
|
102
|
+
for_checklists: boolean;
|
|
103
|
+
for_dockets: boolean;
|
|
104
|
+
for_work_instructions: boolean;
|
|
105
|
+
date_effective: {
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
} | null;
|
|
108
|
+
date_terminated: {
|
|
109
|
+
[key: string]: unknown;
|
|
110
|
+
} | null;
|
|
111
|
+
published_at: {
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
} | null;
|
|
114
|
+
created_at: string;
|
|
115
|
+
updated_at: string;
|
|
116
|
+
levels: Array<ApprovalLevelDto>;
|
|
117
|
+
};
|
|
118
|
+
type ApprovalSchemeSummaryDto = {
|
|
119
|
+
public_id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Site publicId (null = company-wide)
|
|
122
|
+
*/
|
|
123
|
+
site_id: {
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
} | null;
|
|
126
|
+
/**
|
|
127
|
+
* Site name
|
|
128
|
+
*/
|
|
129
|
+
site_name: {
|
|
130
|
+
[key: string]: unknown;
|
|
131
|
+
} | null;
|
|
132
|
+
version: number;
|
|
133
|
+
for_timesheets: boolean;
|
|
134
|
+
for_inspections: boolean;
|
|
135
|
+
for_checklists: boolean;
|
|
136
|
+
for_dockets: boolean;
|
|
137
|
+
for_work_instructions: boolean;
|
|
138
|
+
date_effective: {
|
|
139
|
+
[key: string]: unknown;
|
|
140
|
+
} | null;
|
|
141
|
+
date_terminated: {
|
|
142
|
+
[key: string]: unknown;
|
|
143
|
+
} | null;
|
|
144
|
+
published_at: {
|
|
145
|
+
[key: string]: unknown;
|
|
146
|
+
} | null;
|
|
147
|
+
created_at: string;
|
|
148
|
+
updated_at: string;
|
|
149
|
+
};
|
|
47
150
|
type AssetClassListResponseDto = {
|
|
48
151
|
/**
|
|
49
152
|
* List of asset classes
|
|
@@ -348,6 +451,37 @@ type ConfigTableDto = {
|
|
|
348
451
|
created_at: string;
|
|
349
452
|
updated_at: string;
|
|
350
453
|
};
|
|
454
|
+
type CostCodeResponseDto = {
|
|
455
|
+
public_id: string;
|
|
456
|
+
/**
|
|
457
|
+
* Customer publicId
|
|
458
|
+
*/
|
|
459
|
+
customer_id: string;
|
|
460
|
+
/**
|
|
461
|
+
* Customer name
|
|
462
|
+
*/
|
|
463
|
+
customer_name: {
|
|
464
|
+
[key: string]: unknown;
|
|
465
|
+
} | null;
|
|
466
|
+
code: string;
|
|
467
|
+
name: string;
|
|
468
|
+
description: {
|
|
469
|
+
[key: string]: unknown;
|
|
470
|
+
} | null;
|
|
471
|
+
/**
|
|
472
|
+
* Parent cost code publicId, or null for a top-level code
|
|
473
|
+
*/
|
|
474
|
+
parent_id: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
} | null;
|
|
477
|
+
/**
|
|
478
|
+
* Depth in the hierarchy (0 = top level)
|
|
479
|
+
*/
|
|
480
|
+
level: number;
|
|
481
|
+
status: string;
|
|
482
|
+
created_at: string;
|
|
483
|
+
updated_at: string;
|
|
484
|
+
};
|
|
351
485
|
type CreateAssetClassDto = {
|
|
352
486
|
/**
|
|
353
487
|
* Asset class name (make)
|
|
@@ -388,6 +522,32 @@ type CreateConfigItemDto = {
|
|
|
388
522
|
*/
|
|
389
523
|
description?: string;
|
|
390
524
|
};
|
|
525
|
+
type CreateCostCodeDto = {
|
|
526
|
+
/**
|
|
527
|
+
* Customer publicId (UUID) the cost code belongs to
|
|
528
|
+
*/
|
|
529
|
+
customer_id: string;
|
|
530
|
+
/**
|
|
531
|
+
* Cost code
|
|
532
|
+
*/
|
|
533
|
+
code: string;
|
|
534
|
+
/**
|
|
535
|
+
* Cost code name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Description
|
|
540
|
+
*/
|
|
541
|
+
description?: string;
|
|
542
|
+
/**
|
|
543
|
+
* Parent cost code publicId (UUID) for nesting
|
|
544
|
+
*/
|
|
545
|
+
parent_id?: string;
|
|
546
|
+
/**
|
|
547
|
+
* Status
|
|
548
|
+
*/
|
|
549
|
+
status?: string;
|
|
550
|
+
};
|
|
391
551
|
type CreateCustomerDto = {
|
|
392
552
|
/**
|
|
393
553
|
* Customer name
|
|
@@ -473,6 +633,80 @@ type CreateGroupDto = {
|
|
|
473
633
|
*/
|
|
474
634
|
include_all_checklists?: boolean;
|
|
475
635
|
};
|
|
636
|
+
type CreateJobDto = {
|
|
637
|
+
/**
|
|
638
|
+
* Customer publicId (UUID) the job is for
|
|
639
|
+
*/
|
|
640
|
+
customer_id: string;
|
|
641
|
+
/**
|
|
642
|
+
* Job title
|
|
643
|
+
*/
|
|
644
|
+
title: string;
|
|
645
|
+
/**
|
|
646
|
+
* Start date (ISO)
|
|
647
|
+
*/
|
|
648
|
+
start_date: string;
|
|
649
|
+
/**
|
|
650
|
+
* BigInt as string. Category id (config_items.id, numeric string)
|
|
651
|
+
*/
|
|
652
|
+
category_id?: string;
|
|
653
|
+
/**
|
|
654
|
+
* Description
|
|
655
|
+
*/
|
|
656
|
+
description?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Status
|
|
659
|
+
*/
|
|
660
|
+
status?: string;
|
|
661
|
+
/**
|
|
662
|
+
* Location address
|
|
663
|
+
*/
|
|
664
|
+
location_address?: string;
|
|
665
|
+
/**
|
|
666
|
+
* Location latitude
|
|
667
|
+
*/
|
|
668
|
+
location_lat?: number;
|
|
669
|
+
/**
|
|
670
|
+
* Location longitude
|
|
671
|
+
*/
|
|
672
|
+
location_lng?: number;
|
|
673
|
+
/**
|
|
674
|
+
* Google place id
|
|
675
|
+
*/
|
|
676
|
+
location_place_id?: string;
|
|
677
|
+
/**
|
|
678
|
+
* End date (ISO)
|
|
679
|
+
*/
|
|
680
|
+
end_date?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Start time (HH:MM[:SS])
|
|
683
|
+
*/
|
|
684
|
+
start_time?: string;
|
|
685
|
+
/**
|
|
686
|
+
* End time (HH:MM[:SS])
|
|
687
|
+
*/
|
|
688
|
+
end_time?: string;
|
|
689
|
+
/**
|
|
690
|
+
* Estimated cost
|
|
691
|
+
*/
|
|
692
|
+
estimated_cost?: number;
|
|
693
|
+
/**
|
|
694
|
+
* Actual cost
|
|
695
|
+
*/
|
|
696
|
+
actual_cost?: number;
|
|
697
|
+
/**
|
|
698
|
+
* Cost notes
|
|
699
|
+
*/
|
|
700
|
+
cost_notes?: string;
|
|
701
|
+
/**
|
|
702
|
+
* Required crew count
|
|
703
|
+
*/
|
|
704
|
+
required_crew_count?: number;
|
|
705
|
+
/**
|
|
706
|
+
* Notes
|
|
707
|
+
*/
|
|
708
|
+
notes?: string;
|
|
709
|
+
};
|
|
476
710
|
type CreateProjectDto = {
|
|
477
711
|
/**
|
|
478
712
|
* Project name
|
|
@@ -624,6 +858,10 @@ type DeleteAssetPropertyResponseDto = {
|
|
|
624
858
|
*/
|
|
625
859
|
id: string;
|
|
626
860
|
};
|
|
861
|
+
type DeleteCostCodeResponseDto = {
|
|
862
|
+
message: string;
|
|
863
|
+
public_id: string;
|
|
864
|
+
};
|
|
627
865
|
type DeleteCustomerResponseDto = {
|
|
628
866
|
message: string;
|
|
629
867
|
public_id: string;
|
|
@@ -636,6 +874,10 @@ type DeleteGroupResponseDto = {
|
|
|
636
874
|
message: string;
|
|
637
875
|
public_id: string;
|
|
638
876
|
};
|
|
877
|
+
type DeleteJobResponseDto = {
|
|
878
|
+
message: string;
|
|
879
|
+
public_id: string;
|
|
880
|
+
};
|
|
639
881
|
type DeleteProjectResponseDto = {
|
|
640
882
|
message: string;
|
|
641
883
|
public_id: string;
|
|
@@ -915,6 +1157,35 @@ type EmbeddedCustomerPropertyDto = {
|
|
|
915
1157
|
[key: string]: unknown;
|
|
916
1158
|
} | null;
|
|
917
1159
|
};
|
|
1160
|
+
type EmbeddedJobPropertyDto = {
|
|
1161
|
+
/**
|
|
1162
|
+
* BigInt as string. Property definition id (config_items.id)
|
|
1163
|
+
*/
|
|
1164
|
+
property_id: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* BigInt as string. Property value row id
|
|
1167
|
+
*/
|
|
1168
|
+
job_property_id: string;
|
|
1169
|
+
property_name: string;
|
|
1170
|
+
text_value: {
|
|
1171
|
+
[key: string]: unknown;
|
|
1172
|
+
} | null;
|
|
1173
|
+
numeric_value: {
|
|
1174
|
+
[key: string]: unknown;
|
|
1175
|
+
} | null;
|
|
1176
|
+
date_value: {
|
|
1177
|
+
[key: string]: unknown;
|
|
1178
|
+
} | null;
|
|
1179
|
+
updated_at: {
|
|
1180
|
+
[key: string]: unknown;
|
|
1181
|
+
} | null;
|
|
1182
|
+
updated_by: {
|
|
1183
|
+
[key: string]: unknown;
|
|
1184
|
+
} | null;
|
|
1185
|
+
updated_by_name: {
|
|
1186
|
+
[key: string]: unknown;
|
|
1187
|
+
} | null;
|
|
1188
|
+
};
|
|
918
1189
|
type EmbeddedProjectPropertyDto = {
|
|
919
1190
|
/**
|
|
920
1191
|
* BigInt as string. Property definition id (config_items.id)
|
|
@@ -1455,63 +1726,243 @@ type IssueResponseDto = {
|
|
|
1455
1726
|
[key: string]: unknown;
|
|
1456
1727
|
};
|
|
1457
1728
|
};
|
|
1458
|
-
type
|
|
1729
|
+
type JobAssignmentDto = {
|
|
1730
|
+
job_assignment_id: string;
|
|
1459
1731
|
/**
|
|
1460
|
-
*
|
|
1732
|
+
* Assigned user publicId
|
|
1461
1733
|
*/
|
|
1462
|
-
|
|
1734
|
+
user_id: {
|
|
1735
|
+
[key: string]: unknown;
|
|
1736
|
+
} | null;
|
|
1463
1737
|
/**
|
|
1464
|
-
*
|
|
1738
|
+
* Assigned user full name
|
|
1465
1739
|
*/
|
|
1466
|
-
|
|
1740
|
+
user_name: {
|
|
1741
|
+
[key: string]: unknown;
|
|
1742
|
+
} | null;
|
|
1467
1743
|
/**
|
|
1468
|
-
*
|
|
1744
|
+
* Assigned asset publicId
|
|
1469
1745
|
*/
|
|
1470
|
-
|
|
1746
|
+
asset_id: {
|
|
1747
|
+
[key: string]: unknown;
|
|
1748
|
+
} | null;
|
|
1471
1749
|
/**
|
|
1472
|
-
*
|
|
1750
|
+
* Assigned asset number
|
|
1473
1751
|
*/
|
|
1474
|
-
|
|
1752
|
+
asset_number: {
|
|
1753
|
+
[key: string]: unknown;
|
|
1754
|
+
} | null;
|
|
1755
|
+
assignment_date: string;
|
|
1475
1756
|
/**
|
|
1476
|
-
*
|
|
1757
|
+
* Start time (HH:MM:SS)
|
|
1477
1758
|
*/
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1759
|
+
start_time: {
|
|
1760
|
+
[key: string]: unknown;
|
|
1761
|
+
} | null;
|
|
1481
1762
|
/**
|
|
1482
|
-
*
|
|
1763
|
+
* End time (HH:MM:SS)
|
|
1483
1764
|
*/
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1765
|
+
end_time: {
|
|
1766
|
+
[key: string]: unknown;
|
|
1767
|
+
} | null;
|
|
1768
|
+
status: string;
|
|
1769
|
+
notes: {
|
|
1770
|
+
[key: string]: unknown;
|
|
1771
|
+
} | null;
|
|
1772
|
+
created_at: string;
|
|
1773
|
+
updated_at: string;
|
|
1489
1774
|
};
|
|
1490
|
-
type
|
|
1775
|
+
type JobRequirementDto = {
|
|
1776
|
+
job_asset_requirement_id: string;
|
|
1491
1777
|
/**
|
|
1492
|
-
*
|
|
1778
|
+
* BigInt as string. Asset category config-item id
|
|
1493
1779
|
*/
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
};
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1780
|
+
asset_category_id: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* Asset category name
|
|
1783
|
+
*/
|
|
1784
|
+
asset_category: {
|
|
1785
|
+
[key: string]: unknown;
|
|
1786
|
+
} | null;
|
|
1787
|
+
/**
|
|
1788
|
+
* Asset class publicId
|
|
1789
|
+
*/
|
|
1790
|
+
asset_class_id: {
|
|
1791
|
+
[key: string]: unknown;
|
|
1792
|
+
} | null;
|
|
1793
|
+
/**
|
|
1794
|
+
* Asset class name
|
|
1795
|
+
*/
|
|
1796
|
+
asset_class: {
|
|
1797
|
+
[key: string]: unknown;
|
|
1798
|
+
} | null;
|
|
1799
|
+
asset_sub_class: {
|
|
1800
|
+
[key: string]: unknown;
|
|
1801
|
+
} | null;
|
|
1802
|
+
quantity: number;
|
|
1803
|
+
is_mandatory: boolean;
|
|
1804
|
+
notes: {
|
|
1805
|
+
[key: string]: unknown;
|
|
1806
|
+
} | null;
|
|
1807
|
+
created_at: string;
|
|
1808
|
+
updated_at: string;
|
|
1809
|
+
};
|
|
1810
|
+
type JobResponseDto = {
|
|
1811
|
+
public_id: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* Customer publicId
|
|
1814
|
+
*/
|
|
1815
|
+
customer_id: string;
|
|
1816
|
+
/**
|
|
1817
|
+
* Customer name
|
|
1818
|
+
*/
|
|
1819
|
+
customer_name: {
|
|
1820
|
+
[key: string]: unknown;
|
|
1821
|
+
} | null;
|
|
1822
|
+
/**
|
|
1823
|
+
* Category config-item id
|
|
1824
|
+
*/
|
|
1825
|
+
category_id: {
|
|
1826
|
+
[key: string]: unknown;
|
|
1827
|
+
} | null;
|
|
1828
|
+
/**
|
|
1829
|
+
* Category name
|
|
1830
|
+
*/
|
|
1831
|
+
category: {
|
|
1832
|
+
[key: string]: unknown;
|
|
1833
|
+
} | null;
|
|
1834
|
+
job_number: string;
|
|
1835
|
+
title: string;
|
|
1836
|
+
description: {
|
|
1837
|
+
[key: string]: unknown;
|
|
1838
|
+
} | null;
|
|
1839
|
+
status: string;
|
|
1840
|
+
location_address: {
|
|
1841
|
+
[key: string]: unknown;
|
|
1842
|
+
} | null;
|
|
1843
|
+
location_lat: {
|
|
1844
|
+
[key: string]: unknown;
|
|
1845
|
+
} | null;
|
|
1846
|
+
location_lng: {
|
|
1847
|
+
[key: string]: unknown;
|
|
1848
|
+
} | null;
|
|
1849
|
+
location_place_id: {
|
|
1850
|
+
[key: string]: unknown;
|
|
1851
|
+
} | null;
|
|
1852
|
+
start_date: string;
|
|
1853
|
+
end_date: {
|
|
1854
|
+
[key: string]: unknown;
|
|
1855
|
+
} | null;
|
|
1856
|
+
/**
|
|
1857
|
+
* Start time (HH:MM:SS)
|
|
1858
|
+
*/
|
|
1859
|
+
start_time: {
|
|
1860
|
+
[key: string]: unknown;
|
|
1861
|
+
} | null;
|
|
1862
|
+
/**
|
|
1863
|
+
* End time (HH:MM:SS)
|
|
1864
|
+
*/
|
|
1865
|
+
end_time: {
|
|
1866
|
+
[key: string]: unknown;
|
|
1867
|
+
} | null;
|
|
1868
|
+
estimated_cost: {
|
|
1869
|
+
[key: string]: unknown;
|
|
1870
|
+
} | null;
|
|
1871
|
+
actual_cost: {
|
|
1872
|
+
[key: string]: unknown;
|
|
1873
|
+
} | null;
|
|
1874
|
+
cost_notes: {
|
|
1875
|
+
[key: string]: unknown;
|
|
1876
|
+
} | null;
|
|
1877
|
+
required_crew_count: {
|
|
1878
|
+
[key: string]: unknown;
|
|
1879
|
+
} | null;
|
|
1880
|
+
notes: {
|
|
1881
|
+
[key: string]: unknown;
|
|
1882
|
+
} | null;
|
|
1883
|
+
/**
|
|
1884
|
+
* Count of assignments
|
|
1885
|
+
*/
|
|
1886
|
+
assignment_count: number;
|
|
1887
|
+
/**
|
|
1888
|
+
* Count of asset requirements
|
|
1889
|
+
*/
|
|
1890
|
+
requirement_count: number;
|
|
1891
|
+
created_at: string;
|
|
1892
|
+
updated_at: string;
|
|
1893
|
+
job_properties: Array<EmbeddedJobPropertyDto>;
|
|
1894
|
+
};
|
|
1895
|
+
type ListApprovalSchemesResponseDto = {
|
|
1896
|
+
data: Array<ApprovalSchemeSummaryDto>;
|
|
1897
|
+
page: number;
|
|
1898
|
+
per_page: number;
|
|
1899
|
+
total: number;
|
|
1900
|
+
total_pages: number;
|
|
1901
|
+
};
|
|
1902
|
+
type ListChecklistsResponseDto = {
|
|
1903
|
+
/**
|
|
1904
|
+
* List of checklists
|
|
1905
|
+
*/
|
|
1906
|
+
data: Array<ChecklistSummaryDto>;
|
|
1907
|
+
/**
|
|
1908
|
+
* Current page number
|
|
1909
|
+
*/
|
|
1910
|
+
page: number;
|
|
1911
|
+
/**
|
|
1912
|
+
* Number of results per page
|
|
1913
|
+
*/
|
|
1914
|
+
per_page: number;
|
|
1915
|
+
/**
|
|
1916
|
+
* Total number of results
|
|
1917
|
+
*/
|
|
1918
|
+
total: number;
|
|
1919
|
+
/**
|
|
1920
|
+
* Total number of pages
|
|
1921
|
+
*/
|
|
1922
|
+
total_pages: number;
|
|
1923
|
+
};
|
|
1924
|
+
type ListConfigItemsResponseDto = {
|
|
1925
|
+
/**
|
|
1926
|
+
* Config items
|
|
1927
|
+
*/
|
|
1928
|
+
data: Array<ConfigItemDto>;
|
|
1929
|
+
page: number;
|
|
1930
|
+
per_page: number;
|
|
1931
|
+
total: number;
|
|
1932
|
+
total_pages: number;
|
|
1933
|
+
};
|
|
1934
|
+
type ListConfigTablesResponseDto = {
|
|
1935
|
+
/**
|
|
1936
|
+
* Config tables
|
|
1937
|
+
*/
|
|
1938
|
+
data: Array<ConfigTableDto>;
|
|
1939
|
+
page: number;
|
|
1940
|
+
per_page: number;
|
|
1941
|
+
total: number;
|
|
1942
|
+
total_pages: number;
|
|
1943
|
+
};
|
|
1944
|
+
type ListCostCodesResponseDto = {
|
|
1945
|
+
data: Array<CostCodeResponseDto>;
|
|
1946
|
+
page: number;
|
|
1947
|
+
per_page: number;
|
|
1948
|
+
total: number;
|
|
1949
|
+
total_pages: number;
|
|
1950
|
+
};
|
|
1951
|
+
type ListCustomersResponseDto = {
|
|
1952
|
+
data: Array<CustomerResponseDto>;
|
|
1953
|
+
page: number;
|
|
1954
|
+
per_page: number;
|
|
1955
|
+
total: number;
|
|
1956
|
+
total_pages: number;
|
|
1957
|
+
};
|
|
1958
|
+
type ListDevicesResponseDto = {
|
|
1959
|
+
data: Array<DeviceResponseDto>;
|
|
1960
|
+
page: number;
|
|
1961
|
+
per_page: number;
|
|
1962
|
+
total: number;
|
|
1963
|
+
total_pages: number;
|
|
1964
|
+
};
|
|
1965
|
+
type ListDocumentsResponseDto = {
|
|
1515
1966
|
data: Array<DocumentResponseDto>;
|
|
1516
1967
|
page: number;
|
|
1517
1968
|
per_page: number;
|
|
@@ -1569,6 +2020,34 @@ type ListIssuesResponseDto = {
|
|
|
1569
2020
|
*/
|
|
1570
2021
|
total_pages: number;
|
|
1571
2022
|
};
|
|
2023
|
+
type ListJobAssignmentsResponseDto = {
|
|
2024
|
+
data: Array<JobAssignmentDto>;
|
|
2025
|
+
page: number;
|
|
2026
|
+
per_page: number;
|
|
2027
|
+
total: number;
|
|
2028
|
+
total_pages: number;
|
|
2029
|
+
};
|
|
2030
|
+
type ListJobRequirementsResponseDto = {
|
|
2031
|
+
data: Array<JobRequirementDto>;
|
|
2032
|
+
page: number;
|
|
2033
|
+
per_page: number;
|
|
2034
|
+
total: number;
|
|
2035
|
+
total_pages: number;
|
|
2036
|
+
};
|
|
2037
|
+
type ListJobsResponseDto = {
|
|
2038
|
+
data: Array<JobResponseDto>;
|
|
2039
|
+
page: number;
|
|
2040
|
+
per_page: number;
|
|
2041
|
+
total: number;
|
|
2042
|
+
total_pages: number;
|
|
2043
|
+
};
|
|
2044
|
+
type ListPermitTypesResponseDto = {
|
|
2045
|
+
data: Array<PermitTypeResponseDto>;
|
|
2046
|
+
page: number;
|
|
2047
|
+
per_page: number;
|
|
2048
|
+
total: number;
|
|
2049
|
+
total_pages: number;
|
|
2050
|
+
};
|
|
1572
2051
|
type ListProjectAssetsResponseDto = {
|
|
1573
2052
|
data: Array<ProjectAssetDto>;
|
|
1574
2053
|
page: number;
|
|
@@ -1612,6 +2091,13 @@ type ListSitesResponseDto = {
|
|
|
1612
2091
|
*/
|
|
1613
2092
|
total_pages: number;
|
|
1614
2093
|
};
|
|
2094
|
+
type ListTimeLinesResponseDto = {
|
|
2095
|
+
data: Array<TimeLineResponseDto>;
|
|
2096
|
+
page: number;
|
|
2097
|
+
per_page: number;
|
|
2098
|
+
total: number;
|
|
2099
|
+
total_pages: number;
|
|
2100
|
+
};
|
|
1615
2101
|
type ListTimesheetsResponseDto = {
|
|
1616
2102
|
data: Array<TimesheetSummaryDto>;
|
|
1617
2103
|
page: number;
|
|
@@ -1626,6 +2112,28 @@ type ListZonesResponseDto = {
|
|
|
1626
2112
|
total: number;
|
|
1627
2113
|
total_pages: number;
|
|
1628
2114
|
};
|
|
2115
|
+
type PermitTypeResponseDto = {
|
|
2116
|
+
public_id: string;
|
|
2117
|
+
code: string;
|
|
2118
|
+
name: string;
|
|
2119
|
+
description: {
|
|
2120
|
+
[key: string]: unknown;
|
|
2121
|
+
} | null;
|
|
2122
|
+
/**
|
|
2123
|
+
* Regulatory reference
|
|
2124
|
+
*/
|
|
2125
|
+
regulatory_ref: {
|
|
2126
|
+
[key: string]: unknown;
|
|
2127
|
+
} | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* True for Wakata system-default permit types (shared, read-only)
|
|
2130
|
+
*/
|
|
2131
|
+
is_system_default: boolean;
|
|
2132
|
+
is_enabled: boolean;
|
|
2133
|
+
sort_order: number;
|
|
2134
|
+
created_at: string;
|
|
2135
|
+
updated_at: string;
|
|
2136
|
+
};
|
|
1629
2137
|
type ProjectAssetDto = {
|
|
1630
2138
|
/**
|
|
1631
2139
|
* Assignment (approval) row publicId
|
|
@@ -1832,6 +2340,48 @@ type SiteResponseDto = {
|
|
|
1832
2340
|
[key: string]: unknown;
|
|
1833
2341
|
};
|
|
1834
2342
|
};
|
|
2343
|
+
type TimeLineResponseDto = {
|
|
2344
|
+
public_id: string;
|
|
2345
|
+
name: string;
|
|
2346
|
+
/**
|
|
2347
|
+
* Site publicId (null = company-wide)
|
|
2348
|
+
*/
|
|
2349
|
+
site_id: {
|
|
2350
|
+
[key: string]: unknown;
|
|
2351
|
+
} | null;
|
|
2352
|
+
/**
|
|
2353
|
+
* Site name
|
|
2354
|
+
*/
|
|
2355
|
+
site_name: {
|
|
2356
|
+
[key: string]: unknown;
|
|
2357
|
+
} | null;
|
|
2358
|
+
/**
|
|
2359
|
+
* Activity category config-item id
|
|
2360
|
+
*/
|
|
2361
|
+
category_id: {
|
|
2362
|
+
[key: string]: unknown;
|
|
2363
|
+
} | null;
|
|
2364
|
+
/**
|
|
2365
|
+
* Activity category name
|
|
2366
|
+
*/
|
|
2367
|
+
category: {
|
|
2368
|
+
[key: string]: unknown;
|
|
2369
|
+
} | null;
|
|
2370
|
+
chargeable: boolean;
|
|
2371
|
+
version: number;
|
|
2372
|
+
status: string;
|
|
2373
|
+
date_effective: {
|
|
2374
|
+
[key: string]: unknown;
|
|
2375
|
+
} | null;
|
|
2376
|
+
date_terminated: {
|
|
2377
|
+
[key: string]: unknown;
|
|
2378
|
+
} | null;
|
|
2379
|
+
published_at: {
|
|
2380
|
+
[key: string]: unknown;
|
|
2381
|
+
} | null;
|
|
2382
|
+
created_at: string;
|
|
2383
|
+
updated_at: string;
|
|
2384
|
+
};
|
|
1835
2385
|
type TimesheetDetailDto = {
|
|
1836
2386
|
public_id: string;
|
|
1837
2387
|
/**
|
|
@@ -2055,6 +2605,32 @@ type UpdateConfigItemDto = {
|
|
|
2055
2605
|
[key: string]: unknown;
|
|
2056
2606
|
} | null;
|
|
2057
2607
|
};
|
|
2608
|
+
type UpdateCostCodeDto = {
|
|
2609
|
+
/**
|
|
2610
|
+
* Cost code
|
|
2611
|
+
*/
|
|
2612
|
+
code?: string;
|
|
2613
|
+
/**
|
|
2614
|
+
* Cost code name
|
|
2615
|
+
*/
|
|
2616
|
+
name?: string;
|
|
2617
|
+
/**
|
|
2618
|
+
* Description
|
|
2619
|
+
*/
|
|
2620
|
+
description?: {
|
|
2621
|
+
[key: string]: unknown;
|
|
2622
|
+
} | null;
|
|
2623
|
+
/**
|
|
2624
|
+
* Parent cost code publicId (UUID), or null to make it top-level
|
|
2625
|
+
*/
|
|
2626
|
+
parent_id?: {
|
|
2627
|
+
[key: string]: unknown;
|
|
2628
|
+
} | null;
|
|
2629
|
+
/**
|
|
2630
|
+
* Status
|
|
2631
|
+
*/
|
|
2632
|
+
status?: string;
|
|
2633
|
+
};
|
|
2058
2634
|
type UpdateCustomerDto = {
|
|
2059
2635
|
/**
|
|
2060
2636
|
* Customer name
|
|
@@ -2225,15 +2801,117 @@ type UpdateIssueDto = {
|
|
|
2225
2801
|
*/
|
|
2226
2802
|
user_id: string;
|
|
2227
2803
|
};
|
|
2228
|
-
type
|
|
2804
|
+
type UpdateJobDto = {
|
|
2229
2805
|
/**
|
|
2230
|
-
*
|
|
2806
|
+
* Customer publicId (UUID)
|
|
2231
2807
|
*/
|
|
2232
|
-
|
|
2808
|
+
customer_id?: string;
|
|
2233
2809
|
/**
|
|
2234
|
-
*
|
|
2810
|
+
* Job title
|
|
2235
2811
|
*/
|
|
2236
|
-
|
|
2812
|
+
title?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
* Category id (numeric)
|
|
2815
|
+
*/
|
|
2816
|
+
category_id?: {
|
|
2817
|
+
[key: string]: unknown;
|
|
2818
|
+
} | null;
|
|
2819
|
+
/**
|
|
2820
|
+
* Description
|
|
2821
|
+
*/
|
|
2822
|
+
description?: {
|
|
2823
|
+
[key: string]: unknown;
|
|
2824
|
+
} | null;
|
|
2825
|
+
/**
|
|
2826
|
+
* Status
|
|
2827
|
+
*/
|
|
2828
|
+
status?: string;
|
|
2829
|
+
/**
|
|
2830
|
+
* Location address
|
|
2831
|
+
*/
|
|
2832
|
+
location_address?: {
|
|
2833
|
+
[key: string]: unknown;
|
|
2834
|
+
} | null;
|
|
2835
|
+
/**
|
|
2836
|
+
* Location latitude
|
|
2837
|
+
*/
|
|
2838
|
+
location_lat?: {
|
|
2839
|
+
[key: string]: unknown;
|
|
2840
|
+
} | null;
|
|
2841
|
+
/**
|
|
2842
|
+
* Location longitude
|
|
2843
|
+
*/
|
|
2844
|
+
location_lng?: {
|
|
2845
|
+
[key: string]: unknown;
|
|
2846
|
+
} | null;
|
|
2847
|
+
/**
|
|
2848
|
+
* Google place id
|
|
2849
|
+
*/
|
|
2850
|
+
location_place_id?: {
|
|
2851
|
+
[key: string]: unknown;
|
|
2852
|
+
} | null;
|
|
2853
|
+
/**
|
|
2854
|
+
* Start date (ISO)
|
|
2855
|
+
*/
|
|
2856
|
+
start_date?: string;
|
|
2857
|
+
/**
|
|
2858
|
+
* End date (ISO)
|
|
2859
|
+
*/
|
|
2860
|
+
end_date?: {
|
|
2861
|
+
[key: string]: unknown;
|
|
2862
|
+
} | null;
|
|
2863
|
+
/**
|
|
2864
|
+
* Start time (HH:MM[:SS])
|
|
2865
|
+
*/
|
|
2866
|
+
start_time?: {
|
|
2867
|
+
[key: string]: unknown;
|
|
2868
|
+
} | null;
|
|
2869
|
+
/**
|
|
2870
|
+
* End time (HH:MM[:SS])
|
|
2871
|
+
*/
|
|
2872
|
+
end_time?: {
|
|
2873
|
+
[key: string]: unknown;
|
|
2874
|
+
} | null;
|
|
2875
|
+
/**
|
|
2876
|
+
* Estimated cost
|
|
2877
|
+
*/
|
|
2878
|
+
estimated_cost?: {
|
|
2879
|
+
[key: string]: unknown;
|
|
2880
|
+
} | null;
|
|
2881
|
+
/**
|
|
2882
|
+
* Actual cost
|
|
2883
|
+
*/
|
|
2884
|
+
actual_cost?: {
|
|
2885
|
+
[key: string]: unknown;
|
|
2886
|
+
} | null;
|
|
2887
|
+
/**
|
|
2888
|
+
* Cost notes
|
|
2889
|
+
*/
|
|
2890
|
+
cost_notes?: {
|
|
2891
|
+
[key: string]: unknown;
|
|
2892
|
+
} | null;
|
|
2893
|
+
/**
|
|
2894
|
+
* Required crew count
|
|
2895
|
+
*/
|
|
2896
|
+
required_crew_count?: {
|
|
2897
|
+
[key: string]: unknown;
|
|
2898
|
+
} | null;
|
|
2899
|
+
/**
|
|
2900
|
+
* Notes
|
|
2901
|
+
*/
|
|
2902
|
+
notes?: {
|
|
2903
|
+
[key: string]: unknown;
|
|
2904
|
+
} | null;
|
|
2905
|
+
};
|
|
2906
|
+
type UpdateProjectDto = {
|
|
2907
|
+
/**
|
|
2908
|
+
* Project name
|
|
2909
|
+
*/
|
|
2910
|
+
name?: string;
|
|
2911
|
+
/**
|
|
2912
|
+
* Project code (unique per company)
|
|
2913
|
+
*/
|
|
2914
|
+
project_code?: string;
|
|
2237
2915
|
/**
|
|
2238
2916
|
* Description
|
|
2239
2917
|
*/
|
|
@@ -6608,13 +7286,983 @@ type CompanyDocumentControllerGetErrors = {
|
|
|
6608
7286
|
*/
|
|
6609
7287
|
500: ApiErrorResponse;
|
|
6610
7288
|
};
|
|
6611
|
-
type CompanyDocumentControllerGetError = CompanyDocumentControllerGetErrors[keyof CompanyDocumentControllerGetErrors];
|
|
6612
|
-
type CompanyDocumentControllerGetResponses = {
|
|
6613
|
-
200: DocumentResponseDto;
|
|
7289
|
+
type CompanyDocumentControllerGetError = CompanyDocumentControllerGetErrors[keyof CompanyDocumentControllerGetErrors];
|
|
7290
|
+
type CompanyDocumentControllerGetResponses = {
|
|
7291
|
+
200: DocumentResponseDto;
|
|
7292
|
+
};
|
|
7293
|
+
type CompanyDocumentControllerGetResponse = CompanyDocumentControllerGetResponses[keyof CompanyDocumentControllerGetResponses];
|
|
7294
|
+
type CompanyDocumentControllerUpdateData = {
|
|
7295
|
+
body: UpdateDocumentDto;
|
|
7296
|
+
headers?: {
|
|
7297
|
+
/**
|
|
7298
|
+
* 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.
|
|
7299
|
+
*/
|
|
7300
|
+
'Idempotency-Key'?: string;
|
|
7301
|
+
};
|
|
7302
|
+
path: {
|
|
7303
|
+
/**
|
|
7304
|
+
* Document ID (numeric string)
|
|
7305
|
+
*/
|
|
7306
|
+
id: string;
|
|
7307
|
+
};
|
|
7308
|
+
query?: never;
|
|
7309
|
+
url: '/company-document/{id}';
|
|
7310
|
+
};
|
|
7311
|
+
type CompanyDocumentControllerUpdateErrors = {
|
|
7312
|
+
/**
|
|
7313
|
+
* 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`.
|
|
7314
|
+
*/
|
|
7315
|
+
400: ApiErrorResponse;
|
|
7316
|
+
/**
|
|
7317
|
+
* 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.
|
|
7318
|
+
*/
|
|
7319
|
+
401: ApiErrorResponse;
|
|
7320
|
+
/**
|
|
7321
|
+
* 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).
|
|
7322
|
+
*/
|
|
7323
|
+
403: ApiErrorResponse;
|
|
7324
|
+
/**
|
|
7325
|
+
* 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.
|
|
7326
|
+
*/
|
|
7327
|
+
404: ApiErrorResponse;
|
|
7328
|
+
/**
|
|
7329
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7330
|
+
*/
|
|
7331
|
+
429: ApiErrorResponse;
|
|
7332
|
+
/**
|
|
7333
|
+
* 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.
|
|
7334
|
+
*/
|
|
7335
|
+
500: ApiErrorResponse;
|
|
7336
|
+
};
|
|
7337
|
+
type CompanyDocumentControllerUpdateError = CompanyDocumentControllerUpdateErrors[keyof CompanyDocumentControllerUpdateErrors];
|
|
7338
|
+
type CompanyDocumentControllerUpdateResponses = {
|
|
7339
|
+
200: DocumentResponseDto;
|
|
7340
|
+
};
|
|
7341
|
+
type CompanyDocumentControllerUpdateResponse = CompanyDocumentControllerUpdateResponses[keyof CompanyDocumentControllerUpdateResponses];
|
|
7342
|
+
type CompanyDocumentControllerCreateData = {
|
|
7343
|
+
body: CreateDocumentDto;
|
|
7344
|
+
headers?: {
|
|
7345
|
+
/**
|
|
7346
|
+
* 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.
|
|
7347
|
+
*/
|
|
7348
|
+
'Idempotency-Key'?: string;
|
|
7349
|
+
};
|
|
7350
|
+
path?: never;
|
|
7351
|
+
query?: never;
|
|
7352
|
+
url: '/company-document';
|
|
7353
|
+
};
|
|
7354
|
+
type CompanyDocumentControllerCreateErrors = {
|
|
7355
|
+
/**
|
|
7356
|
+
* 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`.
|
|
7357
|
+
*/
|
|
7358
|
+
400: ApiErrorResponse;
|
|
7359
|
+
/**
|
|
7360
|
+
* 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.
|
|
7361
|
+
*/
|
|
7362
|
+
401: ApiErrorResponse;
|
|
7363
|
+
/**
|
|
7364
|
+
* 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).
|
|
7365
|
+
*/
|
|
7366
|
+
403: ApiErrorResponse;
|
|
7367
|
+
/**
|
|
7368
|
+
* 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.
|
|
7369
|
+
*/
|
|
7370
|
+
404: ApiErrorResponse;
|
|
7371
|
+
/**
|
|
7372
|
+
* 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`).
|
|
7373
|
+
*/
|
|
7374
|
+
409: ApiErrorResponse;
|
|
7375
|
+
/**
|
|
7376
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7377
|
+
*/
|
|
7378
|
+
429: ApiErrorResponse;
|
|
7379
|
+
/**
|
|
7380
|
+
* 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.
|
|
7381
|
+
*/
|
|
7382
|
+
500: ApiErrorResponse;
|
|
7383
|
+
};
|
|
7384
|
+
type CompanyDocumentControllerCreateError = CompanyDocumentControllerCreateErrors[keyof CompanyDocumentControllerCreateErrors];
|
|
7385
|
+
type CompanyDocumentControllerCreateResponses = {
|
|
7386
|
+
201: DocumentResponseDto;
|
|
7387
|
+
};
|
|
7388
|
+
type CompanyDocumentControllerCreateResponse = CompanyDocumentControllerCreateResponses[keyof CompanyDocumentControllerCreateResponses];
|
|
7389
|
+
type ProjectControllerListData = {
|
|
7390
|
+
body?: never;
|
|
7391
|
+
path?: never;
|
|
7392
|
+
query?: {
|
|
7393
|
+
/**
|
|
7394
|
+
* Results per page
|
|
7395
|
+
*/
|
|
7396
|
+
per_page?: number;
|
|
7397
|
+
/**
|
|
7398
|
+
* Page number
|
|
7399
|
+
*/
|
|
7400
|
+
page?: number;
|
|
7401
|
+
direction?: 'asc' | 'desc';
|
|
7402
|
+
/**
|
|
7403
|
+
* Sort field: name, project_code, status, started_at, created_at, updated_at, id (default updated_at)
|
|
7404
|
+
*/
|
|
7405
|
+
sort?: string;
|
|
7406
|
+
/**
|
|
7407
|
+
* Filter by name (case-insensitive partial)
|
|
7408
|
+
*/
|
|
7409
|
+
name?: string;
|
|
7410
|
+
/**
|
|
7411
|
+
* Filter by project code (case-insensitive partial)
|
|
7412
|
+
*/
|
|
7413
|
+
project_code?: string;
|
|
7414
|
+
/**
|
|
7415
|
+
* Filter by status
|
|
7416
|
+
*/
|
|
7417
|
+
status?: 'active' | 'suspended' | 'completed';
|
|
7418
|
+
/**
|
|
7419
|
+
* Filter to one site by its publicId (UUID)
|
|
7420
|
+
*/
|
|
7421
|
+
site_id?: string;
|
|
7422
|
+
/**
|
|
7423
|
+
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
7424
|
+
*/
|
|
7425
|
+
project_date_updated_from?: string;
|
|
7426
|
+
/**
|
|
7427
|
+
* Filter: updated_at <= (ISO)
|
|
7428
|
+
*/
|
|
7429
|
+
project_date_updated_to?: string;
|
|
7430
|
+
};
|
|
7431
|
+
url: '/project/list';
|
|
7432
|
+
};
|
|
7433
|
+
type ProjectControllerListErrors = {
|
|
7434
|
+
/**
|
|
7435
|
+
* 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`.
|
|
7436
|
+
*/
|
|
7437
|
+
400: ApiErrorResponse;
|
|
7438
|
+
/**
|
|
7439
|
+
* 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.
|
|
7440
|
+
*/
|
|
7441
|
+
401: ApiErrorResponse;
|
|
7442
|
+
/**
|
|
7443
|
+
* 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).
|
|
7444
|
+
*/
|
|
7445
|
+
403: ApiErrorResponse;
|
|
7446
|
+
/**
|
|
7447
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7448
|
+
*/
|
|
7449
|
+
429: ApiErrorResponse;
|
|
7450
|
+
/**
|
|
7451
|
+
* 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.
|
|
7452
|
+
*/
|
|
7453
|
+
500: ApiErrorResponse;
|
|
7454
|
+
};
|
|
7455
|
+
type ProjectControllerListError = ProjectControllerListErrors[keyof ProjectControllerListErrors];
|
|
7456
|
+
type ProjectControllerListResponses = {
|
|
7457
|
+
200: ListProjectsResponseDto;
|
|
7458
|
+
};
|
|
7459
|
+
type ProjectControllerListResponse = ProjectControllerListResponses[keyof ProjectControllerListResponses];
|
|
7460
|
+
type ProjectControllerDeleteData = {
|
|
7461
|
+
body?: never;
|
|
7462
|
+
path: {
|
|
7463
|
+
/**
|
|
7464
|
+
* Project public ID
|
|
7465
|
+
*/
|
|
7466
|
+
id: string;
|
|
7467
|
+
};
|
|
7468
|
+
query?: never;
|
|
7469
|
+
url: '/project/{id}';
|
|
7470
|
+
};
|
|
7471
|
+
type ProjectControllerDeleteErrors = {
|
|
7472
|
+
/**
|
|
7473
|
+
* 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.
|
|
7474
|
+
*/
|
|
7475
|
+
401: ApiErrorResponse;
|
|
7476
|
+
/**
|
|
7477
|
+
* 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).
|
|
7478
|
+
*/
|
|
7479
|
+
403: ApiErrorResponse;
|
|
7480
|
+
/**
|
|
7481
|
+
* 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.
|
|
7482
|
+
*/
|
|
7483
|
+
404: ApiErrorResponse;
|
|
7484
|
+
/**
|
|
7485
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7486
|
+
*/
|
|
7487
|
+
429: ApiErrorResponse;
|
|
7488
|
+
/**
|
|
7489
|
+
* 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.
|
|
7490
|
+
*/
|
|
7491
|
+
500: ApiErrorResponse;
|
|
7492
|
+
};
|
|
7493
|
+
type ProjectControllerDeleteError = ProjectControllerDeleteErrors[keyof ProjectControllerDeleteErrors];
|
|
7494
|
+
type ProjectControllerDeleteResponses = {
|
|
7495
|
+
200: DeleteProjectResponseDto;
|
|
7496
|
+
};
|
|
7497
|
+
type ProjectControllerDeleteResponse = ProjectControllerDeleteResponses[keyof ProjectControllerDeleteResponses];
|
|
7498
|
+
type ProjectControllerGetData = {
|
|
7499
|
+
body?: never;
|
|
7500
|
+
path: {
|
|
7501
|
+
/**
|
|
7502
|
+
* Project public ID
|
|
7503
|
+
*/
|
|
7504
|
+
id: string;
|
|
7505
|
+
};
|
|
7506
|
+
query?: never;
|
|
7507
|
+
url: '/project/{id}';
|
|
7508
|
+
};
|
|
7509
|
+
type ProjectControllerGetErrors = {
|
|
7510
|
+
/**
|
|
7511
|
+
* 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.
|
|
7512
|
+
*/
|
|
7513
|
+
401: ApiErrorResponse;
|
|
7514
|
+
/**
|
|
7515
|
+
* 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).
|
|
7516
|
+
*/
|
|
7517
|
+
403: ApiErrorResponse;
|
|
7518
|
+
/**
|
|
7519
|
+
* 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.
|
|
7520
|
+
*/
|
|
7521
|
+
404: ApiErrorResponse;
|
|
7522
|
+
/**
|
|
7523
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7524
|
+
*/
|
|
7525
|
+
429: ApiErrorResponse;
|
|
7526
|
+
/**
|
|
7527
|
+
* 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.
|
|
7528
|
+
*/
|
|
7529
|
+
500: ApiErrorResponse;
|
|
7530
|
+
};
|
|
7531
|
+
type ProjectControllerGetError = ProjectControllerGetErrors[keyof ProjectControllerGetErrors];
|
|
7532
|
+
type ProjectControllerGetResponses = {
|
|
7533
|
+
200: ProjectResponseDto;
|
|
7534
|
+
};
|
|
7535
|
+
type ProjectControllerGetResponse = ProjectControllerGetResponses[keyof ProjectControllerGetResponses];
|
|
7536
|
+
type ProjectControllerUpdateData = {
|
|
7537
|
+
body: UpdateProjectDto;
|
|
7538
|
+
headers?: {
|
|
7539
|
+
/**
|
|
7540
|
+
* 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.
|
|
7541
|
+
*/
|
|
7542
|
+
'Idempotency-Key'?: string;
|
|
7543
|
+
};
|
|
7544
|
+
path: {
|
|
7545
|
+
/**
|
|
7546
|
+
* Project public ID
|
|
7547
|
+
*/
|
|
7548
|
+
id: string;
|
|
7549
|
+
};
|
|
7550
|
+
query?: never;
|
|
7551
|
+
url: '/project/{id}';
|
|
7552
|
+
};
|
|
7553
|
+
type ProjectControllerUpdateErrors = {
|
|
7554
|
+
/**
|
|
7555
|
+
* 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`.
|
|
7556
|
+
*/
|
|
7557
|
+
400: ApiErrorResponse;
|
|
7558
|
+
/**
|
|
7559
|
+
* 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.
|
|
7560
|
+
*/
|
|
7561
|
+
401: ApiErrorResponse;
|
|
7562
|
+
/**
|
|
7563
|
+
* 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).
|
|
7564
|
+
*/
|
|
7565
|
+
403: ApiErrorResponse;
|
|
7566
|
+
/**
|
|
7567
|
+
* 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.
|
|
7568
|
+
*/
|
|
7569
|
+
404: ApiErrorResponse;
|
|
7570
|
+
/**
|
|
7571
|
+
* 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`).
|
|
7572
|
+
*/
|
|
7573
|
+
409: ApiErrorResponse;
|
|
7574
|
+
/**
|
|
7575
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7576
|
+
*/
|
|
7577
|
+
429: ApiErrorResponse;
|
|
7578
|
+
/**
|
|
7579
|
+
* 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.
|
|
7580
|
+
*/
|
|
7581
|
+
500: ApiErrorResponse;
|
|
7582
|
+
};
|
|
7583
|
+
type ProjectControllerUpdateError = ProjectControllerUpdateErrors[keyof ProjectControllerUpdateErrors];
|
|
7584
|
+
type ProjectControllerUpdateResponses = {
|
|
7585
|
+
200: ProjectResponseDto;
|
|
7586
|
+
};
|
|
7587
|
+
type ProjectControllerUpdateResponse = ProjectControllerUpdateResponses[keyof ProjectControllerUpdateResponses];
|
|
7588
|
+
type ProjectControllerListAssetsData = {
|
|
7589
|
+
body?: never;
|
|
7590
|
+
path: {
|
|
7591
|
+
/**
|
|
7592
|
+
* Project public ID
|
|
7593
|
+
*/
|
|
7594
|
+
id: string;
|
|
7595
|
+
};
|
|
7596
|
+
query?: {
|
|
7597
|
+
/**
|
|
7598
|
+
* Results per page
|
|
7599
|
+
*/
|
|
7600
|
+
per_page?: number;
|
|
7601
|
+
/**
|
|
7602
|
+
* Page number
|
|
7603
|
+
*/
|
|
7604
|
+
page?: number;
|
|
7605
|
+
direction?: 'asc' | 'desc';
|
|
7606
|
+
/**
|
|
7607
|
+
* Sort field: approval_date, expiry_date, approval_status, created_at, updated_at, id (default updated_at)
|
|
7608
|
+
*/
|
|
7609
|
+
sort?: string;
|
|
7610
|
+
/**
|
|
7611
|
+
* Filter by approval status (e.g. approved)
|
|
7612
|
+
*/
|
|
7613
|
+
approval_status?: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
7614
|
+
};
|
|
7615
|
+
url: '/project/{id}/assets';
|
|
7616
|
+
};
|
|
7617
|
+
type ProjectControllerListAssetsErrors = {
|
|
7618
|
+
/**
|
|
7619
|
+
* 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`.
|
|
7620
|
+
*/
|
|
7621
|
+
400: ApiErrorResponse;
|
|
7622
|
+
/**
|
|
7623
|
+
* 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.
|
|
7624
|
+
*/
|
|
7625
|
+
401: ApiErrorResponse;
|
|
7626
|
+
/**
|
|
7627
|
+
* 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).
|
|
7628
|
+
*/
|
|
7629
|
+
403: ApiErrorResponse;
|
|
7630
|
+
/**
|
|
7631
|
+
* 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.
|
|
7632
|
+
*/
|
|
7633
|
+
404: ApiErrorResponse;
|
|
7634
|
+
/**
|
|
7635
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7636
|
+
*/
|
|
7637
|
+
429: ApiErrorResponse;
|
|
7638
|
+
/**
|
|
7639
|
+
* 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.
|
|
7640
|
+
*/
|
|
7641
|
+
500: ApiErrorResponse;
|
|
7642
|
+
};
|
|
7643
|
+
type ProjectControllerListAssetsError = ProjectControllerListAssetsErrors[keyof ProjectControllerListAssetsErrors];
|
|
7644
|
+
type ProjectControllerListAssetsResponses = {
|
|
7645
|
+
200: ListProjectAssetsResponseDto;
|
|
7646
|
+
};
|
|
7647
|
+
type ProjectControllerListAssetsResponse = ProjectControllerListAssetsResponses[keyof ProjectControllerListAssetsResponses];
|
|
7648
|
+
type ProjectControllerListUsersData = {
|
|
7649
|
+
body?: never;
|
|
7650
|
+
path: {
|
|
7651
|
+
/**
|
|
7652
|
+
* Project public ID
|
|
7653
|
+
*/
|
|
7654
|
+
id: string;
|
|
7655
|
+
};
|
|
7656
|
+
query?: {
|
|
7657
|
+
/**
|
|
7658
|
+
* Results per page
|
|
7659
|
+
*/
|
|
7660
|
+
per_page?: number;
|
|
7661
|
+
/**
|
|
7662
|
+
* Page number
|
|
7663
|
+
*/
|
|
7664
|
+
page?: number;
|
|
7665
|
+
direction?: 'asc' | 'desc';
|
|
7666
|
+
/**
|
|
7667
|
+
* Sort field: approval_date, expiry_date, approval_status, created_at, updated_at, id (default updated_at)
|
|
7668
|
+
*/
|
|
7669
|
+
sort?: string;
|
|
7670
|
+
/**
|
|
7671
|
+
* Filter by approval status (e.g. approved)
|
|
7672
|
+
*/
|
|
7673
|
+
approval_status?: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
7674
|
+
};
|
|
7675
|
+
url: '/project/{id}/users';
|
|
7676
|
+
};
|
|
7677
|
+
type ProjectControllerListUsersErrors = {
|
|
7678
|
+
/**
|
|
7679
|
+
* 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`.
|
|
7680
|
+
*/
|
|
7681
|
+
400: ApiErrorResponse;
|
|
7682
|
+
/**
|
|
7683
|
+
* 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.
|
|
7684
|
+
*/
|
|
7685
|
+
401: ApiErrorResponse;
|
|
7686
|
+
/**
|
|
7687
|
+
* 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).
|
|
7688
|
+
*/
|
|
7689
|
+
403: ApiErrorResponse;
|
|
7690
|
+
/**
|
|
7691
|
+
* 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.
|
|
7692
|
+
*/
|
|
7693
|
+
404: ApiErrorResponse;
|
|
7694
|
+
/**
|
|
7695
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7696
|
+
*/
|
|
7697
|
+
429: ApiErrorResponse;
|
|
7698
|
+
/**
|
|
7699
|
+
* 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.
|
|
7700
|
+
*/
|
|
7701
|
+
500: ApiErrorResponse;
|
|
7702
|
+
};
|
|
7703
|
+
type ProjectControllerListUsersError = ProjectControllerListUsersErrors[keyof ProjectControllerListUsersErrors];
|
|
7704
|
+
type ProjectControllerListUsersResponses = {
|
|
7705
|
+
200: ListProjectUsersResponseDto;
|
|
7706
|
+
};
|
|
7707
|
+
type ProjectControllerListUsersResponse = ProjectControllerListUsersResponses[keyof ProjectControllerListUsersResponses];
|
|
7708
|
+
type ProjectControllerCreateData = {
|
|
7709
|
+
body: CreateProjectDto;
|
|
7710
|
+
headers?: {
|
|
7711
|
+
/**
|
|
7712
|
+
* 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.
|
|
7713
|
+
*/
|
|
7714
|
+
'Idempotency-Key'?: string;
|
|
7715
|
+
};
|
|
7716
|
+
path?: never;
|
|
7717
|
+
query?: never;
|
|
7718
|
+
url: '/project';
|
|
7719
|
+
};
|
|
7720
|
+
type ProjectControllerCreateErrors = {
|
|
7721
|
+
/**
|
|
7722
|
+
* 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`.
|
|
7723
|
+
*/
|
|
7724
|
+
400: ApiErrorResponse;
|
|
7725
|
+
/**
|
|
7726
|
+
* 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.
|
|
7727
|
+
*/
|
|
7728
|
+
401: ApiErrorResponse;
|
|
7729
|
+
/**
|
|
7730
|
+
* 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).
|
|
7731
|
+
*/
|
|
7732
|
+
403: ApiErrorResponse;
|
|
7733
|
+
/**
|
|
7734
|
+
* 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.
|
|
7735
|
+
*/
|
|
7736
|
+
404: ApiErrorResponse;
|
|
7737
|
+
/**
|
|
7738
|
+
* 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`).
|
|
7739
|
+
*/
|
|
7740
|
+
409: ApiErrorResponse;
|
|
7741
|
+
/**
|
|
7742
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7743
|
+
*/
|
|
7744
|
+
429: ApiErrorResponse;
|
|
7745
|
+
/**
|
|
7746
|
+
* 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.
|
|
7747
|
+
*/
|
|
7748
|
+
500: ApiErrorResponse;
|
|
7749
|
+
};
|
|
7750
|
+
type ProjectControllerCreateError = ProjectControllerCreateErrors[keyof ProjectControllerCreateErrors];
|
|
7751
|
+
type ProjectControllerCreateResponses = {
|
|
7752
|
+
201: ProjectResponseDto;
|
|
7753
|
+
};
|
|
7754
|
+
type ProjectControllerCreateResponse = ProjectControllerCreateResponses[keyof ProjectControllerCreateResponses];
|
|
7755
|
+
type JobControllerListData = {
|
|
7756
|
+
body?: never;
|
|
7757
|
+
path?: never;
|
|
7758
|
+
query?: {
|
|
7759
|
+
/**
|
|
7760
|
+
* Results per page
|
|
7761
|
+
*/
|
|
7762
|
+
per_page?: number;
|
|
7763
|
+
/**
|
|
7764
|
+
* Page number
|
|
7765
|
+
*/
|
|
7766
|
+
page?: number;
|
|
7767
|
+
direction?: 'asc' | 'desc';
|
|
7768
|
+
/**
|
|
7769
|
+
* Sort field: title, job_number, status, start_date, created_at, updated_at, id (default updated_at)
|
|
7770
|
+
*/
|
|
7771
|
+
sort?: string;
|
|
7772
|
+
/**
|
|
7773
|
+
* Filter by title (case-insensitive partial)
|
|
7774
|
+
*/
|
|
7775
|
+
title?: string;
|
|
7776
|
+
/**
|
|
7777
|
+
* Filter by job number (case-insensitive partial)
|
|
7778
|
+
*/
|
|
7779
|
+
job_number?: string;
|
|
7780
|
+
/**
|
|
7781
|
+
* Filter by status
|
|
7782
|
+
*/
|
|
7783
|
+
status?: string;
|
|
7784
|
+
/**
|
|
7785
|
+
* Filter to one customer by its publicId (UUID)
|
|
7786
|
+
*/
|
|
7787
|
+
customer_id?: string;
|
|
7788
|
+
/**
|
|
7789
|
+
* Filter: start_date >= (ISO date)
|
|
7790
|
+
*/
|
|
7791
|
+
start_date_from?: string;
|
|
7792
|
+
/**
|
|
7793
|
+
* Filter: start_date <= (ISO date)
|
|
7794
|
+
*/
|
|
7795
|
+
start_date_to?: string;
|
|
7796
|
+
/**
|
|
7797
|
+
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
7798
|
+
*/
|
|
7799
|
+
job_date_updated_from?: string;
|
|
7800
|
+
/**
|
|
7801
|
+
* Filter: updated_at <= (ISO)
|
|
7802
|
+
*/
|
|
7803
|
+
job_date_updated_to?: string;
|
|
7804
|
+
};
|
|
7805
|
+
url: '/job/list';
|
|
7806
|
+
};
|
|
7807
|
+
type JobControllerListErrors = {
|
|
7808
|
+
/**
|
|
7809
|
+
* 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`.
|
|
7810
|
+
*/
|
|
7811
|
+
400: ApiErrorResponse;
|
|
7812
|
+
/**
|
|
7813
|
+
* 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.
|
|
7814
|
+
*/
|
|
7815
|
+
401: ApiErrorResponse;
|
|
7816
|
+
/**
|
|
7817
|
+
* 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).
|
|
7818
|
+
*/
|
|
7819
|
+
403: ApiErrorResponse;
|
|
7820
|
+
/**
|
|
7821
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7822
|
+
*/
|
|
7823
|
+
429: ApiErrorResponse;
|
|
7824
|
+
/**
|
|
7825
|
+
* 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.
|
|
7826
|
+
*/
|
|
7827
|
+
500: ApiErrorResponse;
|
|
7828
|
+
};
|
|
7829
|
+
type JobControllerListError = JobControllerListErrors[keyof JobControllerListErrors];
|
|
7830
|
+
type JobControllerListResponses = {
|
|
7831
|
+
200: ListJobsResponseDto;
|
|
7832
|
+
};
|
|
7833
|
+
type JobControllerListResponse = JobControllerListResponses[keyof JobControllerListResponses];
|
|
7834
|
+
type JobControllerDeleteData = {
|
|
7835
|
+
body?: never;
|
|
7836
|
+
path: {
|
|
7837
|
+
/**
|
|
7838
|
+
* Job public ID
|
|
7839
|
+
*/
|
|
7840
|
+
id: string;
|
|
7841
|
+
};
|
|
7842
|
+
query?: never;
|
|
7843
|
+
url: '/job/{id}';
|
|
7844
|
+
};
|
|
7845
|
+
type JobControllerDeleteErrors = {
|
|
7846
|
+
/**
|
|
7847
|
+
* 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.
|
|
7848
|
+
*/
|
|
7849
|
+
401: ApiErrorResponse;
|
|
7850
|
+
/**
|
|
7851
|
+
* 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).
|
|
7852
|
+
*/
|
|
7853
|
+
403: ApiErrorResponse;
|
|
7854
|
+
/**
|
|
7855
|
+
* 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.
|
|
7856
|
+
*/
|
|
7857
|
+
404: ApiErrorResponse;
|
|
7858
|
+
/**
|
|
7859
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7860
|
+
*/
|
|
7861
|
+
429: ApiErrorResponse;
|
|
7862
|
+
/**
|
|
7863
|
+
* 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.
|
|
7864
|
+
*/
|
|
7865
|
+
500: ApiErrorResponse;
|
|
7866
|
+
};
|
|
7867
|
+
type JobControllerDeleteError = JobControllerDeleteErrors[keyof JobControllerDeleteErrors];
|
|
7868
|
+
type JobControllerDeleteResponses = {
|
|
7869
|
+
200: DeleteJobResponseDto;
|
|
7870
|
+
};
|
|
7871
|
+
type JobControllerDeleteResponse = JobControllerDeleteResponses[keyof JobControllerDeleteResponses];
|
|
7872
|
+
type JobControllerGetData = {
|
|
7873
|
+
body?: never;
|
|
7874
|
+
path: {
|
|
7875
|
+
/**
|
|
7876
|
+
* Job public ID
|
|
7877
|
+
*/
|
|
7878
|
+
id: string;
|
|
7879
|
+
};
|
|
7880
|
+
query?: never;
|
|
7881
|
+
url: '/job/{id}';
|
|
7882
|
+
};
|
|
7883
|
+
type JobControllerGetErrors = {
|
|
7884
|
+
/**
|
|
7885
|
+
* 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.
|
|
7886
|
+
*/
|
|
7887
|
+
401: ApiErrorResponse;
|
|
7888
|
+
/**
|
|
7889
|
+
* 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).
|
|
7890
|
+
*/
|
|
7891
|
+
403: ApiErrorResponse;
|
|
7892
|
+
/**
|
|
7893
|
+
* 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.
|
|
7894
|
+
*/
|
|
7895
|
+
404: ApiErrorResponse;
|
|
7896
|
+
/**
|
|
7897
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7898
|
+
*/
|
|
7899
|
+
429: ApiErrorResponse;
|
|
7900
|
+
/**
|
|
7901
|
+
* 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.
|
|
7902
|
+
*/
|
|
7903
|
+
500: ApiErrorResponse;
|
|
7904
|
+
};
|
|
7905
|
+
type JobControllerGetError = JobControllerGetErrors[keyof JobControllerGetErrors];
|
|
7906
|
+
type JobControllerGetResponses = {
|
|
7907
|
+
200: JobResponseDto;
|
|
7908
|
+
};
|
|
7909
|
+
type JobControllerGetResponse = JobControllerGetResponses[keyof JobControllerGetResponses];
|
|
7910
|
+
type JobControllerUpdateData = {
|
|
7911
|
+
body: UpdateJobDto;
|
|
7912
|
+
headers?: {
|
|
7913
|
+
/**
|
|
7914
|
+
* 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.
|
|
7915
|
+
*/
|
|
7916
|
+
'Idempotency-Key'?: string;
|
|
7917
|
+
};
|
|
7918
|
+
path: {
|
|
7919
|
+
/**
|
|
7920
|
+
* Job public ID
|
|
7921
|
+
*/
|
|
7922
|
+
id: string;
|
|
7923
|
+
};
|
|
7924
|
+
query?: never;
|
|
7925
|
+
url: '/job/{id}';
|
|
7926
|
+
};
|
|
7927
|
+
type JobControllerUpdateErrors = {
|
|
7928
|
+
/**
|
|
7929
|
+
* 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`.
|
|
7930
|
+
*/
|
|
7931
|
+
400: ApiErrorResponse;
|
|
7932
|
+
/**
|
|
7933
|
+
* 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.
|
|
7934
|
+
*/
|
|
7935
|
+
401: ApiErrorResponse;
|
|
7936
|
+
/**
|
|
7937
|
+
* 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).
|
|
7938
|
+
*/
|
|
7939
|
+
403: ApiErrorResponse;
|
|
7940
|
+
/**
|
|
7941
|
+
* 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.
|
|
7942
|
+
*/
|
|
7943
|
+
404: ApiErrorResponse;
|
|
7944
|
+
/**
|
|
7945
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7946
|
+
*/
|
|
7947
|
+
429: ApiErrorResponse;
|
|
7948
|
+
/**
|
|
7949
|
+
* 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.
|
|
7950
|
+
*/
|
|
7951
|
+
500: ApiErrorResponse;
|
|
7952
|
+
};
|
|
7953
|
+
type JobControllerUpdateError = JobControllerUpdateErrors[keyof JobControllerUpdateErrors];
|
|
7954
|
+
type JobControllerUpdateResponses = {
|
|
7955
|
+
200: JobResponseDto;
|
|
7956
|
+
};
|
|
7957
|
+
type JobControllerUpdateResponse = JobControllerUpdateResponses[keyof JobControllerUpdateResponses];
|
|
7958
|
+
type JobControllerListAssignmentsData = {
|
|
7959
|
+
body?: never;
|
|
7960
|
+
path: {
|
|
7961
|
+
/**
|
|
7962
|
+
* Job public ID
|
|
7963
|
+
*/
|
|
7964
|
+
id: string;
|
|
7965
|
+
};
|
|
7966
|
+
query?: {
|
|
7967
|
+
/**
|
|
7968
|
+
* Results per page
|
|
7969
|
+
*/
|
|
7970
|
+
per_page?: number;
|
|
7971
|
+
/**
|
|
7972
|
+
* Page number
|
|
7973
|
+
*/
|
|
7974
|
+
page?: number;
|
|
7975
|
+
direction?: 'asc' | 'desc';
|
|
7976
|
+
/**
|
|
7977
|
+
* Sort field: assignment_date, status, created_at, updated_at, id (default assignment_date)
|
|
7978
|
+
*/
|
|
7979
|
+
sort?: string;
|
|
7980
|
+
/**
|
|
7981
|
+
* Filter by assignment status (e.g. assigned)
|
|
7982
|
+
*/
|
|
7983
|
+
status?: string;
|
|
7984
|
+
};
|
|
7985
|
+
url: '/job/{id}/assignments';
|
|
7986
|
+
};
|
|
7987
|
+
type JobControllerListAssignmentsErrors = {
|
|
7988
|
+
/**
|
|
7989
|
+
* 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`.
|
|
7990
|
+
*/
|
|
7991
|
+
400: ApiErrorResponse;
|
|
7992
|
+
/**
|
|
7993
|
+
* 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.
|
|
7994
|
+
*/
|
|
7995
|
+
401: ApiErrorResponse;
|
|
7996
|
+
/**
|
|
7997
|
+
* 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).
|
|
7998
|
+
*/
|
|
7999
|
+
403: ApiErrorResponse;
|
|
8000
|
+
/**
|
|
8001
|
+
* 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.
|
|
8002
|
+
*/
|
|
8003
|
+
404: ApiErrorResponse;
|
|
8004
|
+
/**
|
|
8005
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
8006
|
+
*/
|
|
8007
|
+
429: ApiErrorResponse;
|
|
8008
|
+
/**
|
|
8009
|
+
* 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.
|
|
8010
|
+
*/
|
|
8011
|
+
500: ApiErrorResponse;
|
|
8012
|
+
};
|
|
8013
|
+
type JobControllerListAssignmentsError = JobControllerListAssignmentsErrors[keyof JobControllerListAssignmentsErrors];
|
|
8014
|
+
type JobControllerListAssignmentsResponses = {
|
|
8015
|
+
200: ListJobAssignmentsResponseDto;
|
|
8016
|
+
};
|
|
8017
|
+
type JobControllerListAssignmentsResponse = JobControllerListAssignmentsResponses[keyof JobControllerListAssignmentsResponses];
|
|
8018
|
+
type JobControllerListRequirementsData = {
|
|
8019
|
+
body?: never;
|
|
8020
|
+
path: {
|
|
8021
|
+
/**
|
|
8022
|
+
* Job public ID
|
|
8023
|
+
*/
|
|
8024
|
+
id: string;
|
|
8025
|
+
};
|
|
8026
|
+
query?: {
|
|
8027
|
+
/**
|
|
8028
|
+
* Results per page
|
|
8029
|
+
*/
|
|
8030
|
+
per_page?: number;
|
|
8031
|
+
/**
|
|
8032
|
+
* Page number
|
|
8033
|
+
*/
|
|
8034
|
+
page?: number;
|
|
8035
|
+
direction?: 'asc' | 'desc';
|
|
8036
|
+
/**
|
|
8037
|
+
* Sort field: created_at, updated_at, id (default created_at)
|
|
8038
|
+
*/
|
|
8039
|
+
sort?: string;
|
|
8040
|
+
};
|
|
8041
|
+
url: '/job/{id}/requirements';
|
|
8042
|
+
};
|
|
8043
|
+
type JobControllerListRequirementsErrors = {
|
|
8044
|
+
/**
|
|
8045
|
+
* 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`.
|
|
8046
|
+
*/
|
|
8047
|
+
400: ApiErrorResponse;
|
|
8048
|
+
/**
|
|
8049
|
+
* 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.
|
|
8050
|
+
*/
|
|
8051
|
+
401: ApiErrorResponse;
|
|
8052
|
+
/**
|
|
8053
|
+
* 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).
|
|
8054
|
+
*/
|
|
8055
|
+
403: ApiErrorResponse;
|
|
8056
|
+
/**
|
|
8057
|
+
* 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.
|
|
8058
|
+
*/
|
|
8059
|
+
404: ApiErrorResponse;
|
|
8060
|
+
/**
|
|
8061
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
8062
|
+
*/
|
|
8063
|
+
429: ApiErrorResponse;
|
|
8064
|
+
/**
|
|
8065
|
+
* 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.
|
|
8066
|
+
*/
|
|
8067
|
+
500: ApiErrorResponse;
|
|
8068
|
+
};
|
|
8069
|
+
type JobControllerListRequirementsError = JobControllerListRequirementsErrors[keyof JobControllerListRequirementsErrors];
|
|
8070
|
+
type JobControllerListRequirementsResponses = {
|
|
8071
|
+
200: ListJobRequirementsResponseDto;
|
|
8072
|
+
};
|
|
8073
|
+
type JobControllerListRequirementsResponse = JobControllerListRequirementsResponses[keyof JobControllerListRequirementsResponses];
|
|
8074
|
+
type JobControllerCreateData = {
|
|
8075
|
+
body: CreateJobDto;
|
|
8076
|
+
headers?: {
|
|
8077
|
+
/**
|
|
8078
|
+
* 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.
|
|
8079
|
+
*/
|
|
8080
|
+
'Idempotency-Key'?: string;
|
|
8081
|
+
};
|
|
8082
|
+
path?: never;
|
|
8083
|
+
query?: never;
|
|
8084
|
+
url: '/job';
|
|
8085
|
+
};
|
|
8086
|
+
type JobControllerCreateErrors = {
|
|
8087
|
+
/**
|
|
8088
|
+
* 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`.
|
|
8089
|
+
*/
|
|
8090
|
+
400: ApiErrorResponse;
|
|
8091
|
+
/**
|
|
8092
|
+
* 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.
|
|
8093
|
+
*/
|
|
8094
|
+
401: ApiErrorResponse;
|
|
8095
|
+
/**
|
|
8096
|
+
* 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).
|
|
8097
|
+
*/
|
|
8098
|
+
403: ApiErrorResponse;
|
|
8099
|
+
/**
|
|
8100
|
+
* 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.
|
|
8101
|
+
*/
|
|
8102
|
+
404: ApiErrorResponse;
|
|
8103
|
+
/**
|
|
8104
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
8105
|
+
*/
|
|
8106
|
+
429: ApiErrorResponse;
|
|
8107
|
+
/**
|
|
8108
|
+
* 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.
|
|
8109
|
+
*/
|
|
8110
|
+
500: ApiErrorResponse;
|
|
8111
|
+
};
|
|
8112
|
+
type JobControllerCreateError = JobControllerCreateErrors[keyof JobControllerCreateErrors];
|
|
8113
|
+
type JobControllerCreateResponses = {
|
|
8114
|
+
201: JobResponseDto;
|
|
8115
|
+
};
|
|
8116
|
+
type JobControllerCreateResponse = JobControllerCreateResponses[keyof JobControllerCreateResponses];
|
|
8117
|
+
type CostCodeControllerListData = {
|
|
8118
|
+
body?: never;
|
|
8119
|
+
path?: never;
|
|
8120
|
+
query?: {
|
|
8121
|
+
/**
|
|
8122
|
+
* Results per page
|
|
8123
|
+
*/
|
|
8124
|
+
per_page?: number;
|
|
8125
|
+
/**
|
|
8126
|
+
* Page number
|
|
8127
|
+
*/
|
|
8128
|
+
page?: number;
|
|
8129
|
+
direction?: 'asc' | 'desc';
|
|
8130
|
+
/**
|
|
8131
|
+
* Sort field: code, name, status, created_at, updated_at, id (default updated_at)
|
|
8132
|
+
*/
|
|
8133
|
+
sort?: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* Filter to one customer by its publicId (UUID)
|
|
8136
|
+
*/
|
|
8137
|
+
customer_id?: string;
|
|
8138
|
+
/**
|
|
8139
|
+
* Filter by code (case-insensitive partial)
|
|
8140
|
+
*/
|
|
8141
|
+
code?: string;
|
|
8142
|
+
/**
|
|
8143
|
+
* Filter by name (case-insensitive partial)
|
|
8144
|
+
*/
|
|
8145
|
+
name?: string;
|
|
8146
|
+
/**
|
|
8147
|
+
* Filter by status (e.g. active)
|
|
8148
|
+
*/
|
|
8149
|
+
status?: string;
|
|
8150
|
+
/**
|
|
8151
|
+
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
8152
|
+
*/
|
|
8153
|
+
cost_code_date_updated_from?: string;
|
|
8154
|
+
/**
|
|
8155
|
+
* Filter: updated_at <= (ISO)
|
|
8156
|
+
*/
|
|
8157
|
+
cost_code_date_updated_to?: string;
|
|
8158
|
+
};
|
|
8159
|
+
url: '/cost-code/list';
|
|
8160
|
+
};
|
|
8161
|
+
type CostCodeControllerListErrors = {
|
|
8162
|
+
/**
|
|
8163
|
+
* 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`.
|
|
8164
|
+
*/
|
|
8165
|
+
400: ApiErrorResponse;
|
|
8166
|
+
/**
|
|
8167
|
+
* 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.
|
|
8168
|
+
*/
|
|
8169
|
+
401: ApiErrorResponse;
|
|
8170
|
+
/**
|
|
8171
|
+
* 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).
|
|
8172
|
+
*/
|
|
8173
|
+
403: ApiErrorResponse;
|
|
8174
|
+
/**
|
|
8175
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
8176
|
+
*/
|
|
8177
|
+
429: ApiErrorResponse;
|
|
8178
|
+
/**
|
|
8179
|
+
* 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.
|
|
8180
|
+
*/
|
|
8181
|
+
500: ApiErrorResponse;
|
|
8182
|
+
};
|
|
8183
|
+
type CostCodeControllerListError = CostCodeControllerListErrors[keyof CostCodeControllerListErrors];
|
|
8184
|
+
type CostCodeControllerListResponses = {
|
|
8185
|
+
200: ListCostCodesResponseDto;
|
|
8186
|
+
};
|
|
8187
|
+
type CostCodeControllerListResponse = CostCodeControllerListResponses[keyof CostCodeControllerListResponses];
|
|
8188
|
+
type CostCodeControllerDeleteData = {
|
|
8189
|
+
body?: never;
|
|
8190
|
+
path: {
|
|
8191
|
+
/**
|
|
8192
|
+
* Cost code public ID
|
|
8193
|
+
*/
|
|
8194
|
+
id: string;
|
|
8195
|
+
};
|
|
8196
|
+
query?: never;
|
|
8197
|
+
url: '/cost-code/{id}';
|
|
8198
|
+
};
|
|
8199
|
+
type CostCodeControllerDeleteErrors = {
|
|
8200
|
+
/**
|
|
8201
|
+
* 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.
|
|
8202
|
+
*/
|
|
8203
|
+
401: ApiErrorResponse;
|
|
8204
|
+
/**
|
|
8205
|
+
* 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).
|
|
8206
|
+
*/
|
|
8207
|
+
403: ApiErrorResponse;
|
|
8208
|
+
/**
|
|
8209
|
+
* 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.
|
|
8210
|
+
*/
|
|
8211
|
+
404: ApiErrorResponse;
|
|
8212
|
+
/**
|
|
8213
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
8214
|
+
*/
|
|
8215
|
+
429: ApiErrorResponse;
|
|
8216
|
+
/**
|
|
8217
|
+
* 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.
|
|
8218
|
+
*/
|
|
8219
|
+
500: ApiErrorResponse;
|
|
8220
|
+
};
|
|
8221
|
+
type CostCodeControllerDeleteError = CostCodeControllerDeleteErrors[keyof CostCodeControllerDeleteErrors];
|
|
8222
|
+
type CostCodeControllerDeleteResponses = {
|
|
8223
|
+
200: DeleteCostCodeResponseDto;
|
|
8224
|
+
};
|
|
8225
|
+
type CostCodeControllerDeleteResponse = CostCodeControllerDeleteResponses[keyof CostCodeControllerDeleteResponses];
|
|
8226
|
+
type CostCodeControllerGetData = {
|
|
8227
|
+
body?: never;
|
|
8228
|
+
path: {
|
|
8229
|
+
/**
|
|
8230
|
+
* Cost code public ID
|
|
8231
|
+
*/
|
|
8232
|
+
id: string;
|
|
8233
|
+
};
|
|
8234
|
+
query?: never;
|
|
8235
|
+
url: '/cost-code/{id}';
|
|
8236
|
+
};
|
|
8237
|
+
type CostCodeControllerGetErrors = {
|
|
8238
|
+
/**
|
|
8239
|
+
* 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.
|
|
8240
|
+
*/
|
|
8241
|
+
401: ApiErrorResponse;
|
|
8242
|
+
/**
|
|
8243
|
+
* 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).
|
|
8244
|
+
*/
|
|
8245
|
+
403: ApiErrorResponse;
|
|
8246
|
+
/**
|
|
8247
|
+
* 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.
|
|
8248
|
+
*/
|
|
8249
|
+
404: ApiErrorResponse;
|
|
8250
|
+
/**
|
|
8251
|
+
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
8252
|
+
*/
|
|
8253
|
+
429: ApiErrorResponse;
|
|
8254
|
+
/**
|
|
8255
|
+
* 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.
|
|
8256
|
+
*/
|
|
8257
|
+
500: ApiErrorResponse;
|
|
8258
|
+
};
|
|
8259
|
+
type CostCodeControllerGetError = CostCodeControllerGetErrors[keyof CostCodeControllerGetErrors];
|
|
8260
|
+
type CostCodeControllerGetResponses = {
|
|
8261
|
+
200: CostCodeResponseDto;
|
|
6614
8262
|
};
|
|
6615
|
-
type
|
|
6616
|
-
type
|
|
6617
|
-
body:
|
|
8263
|
+
type CostCodeControllerGetResponse = CostCodeControllerGetResponses[keyof CostCodeControllerGetResponses];
|
|
8264
|
+
type CostCodeControllerUpdateData = {
|
|
8265
|
+
body: UpdateCostCodeDto;
|
|
6618
8266
|
headers?: {
|
|
6619
8267
|
/**
|
|
6620
8268
|
* 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.
|
|
@@ -6623,14 +8271,14 @@ type CompanyDocumentControllerUpdateData = {
|
|
|
6623
8271
|
};
|
|
6624
8272
|
path: {
|
|
6625
8273
|
/**
|
|
6626
|
-
*
|
|
8274
|
+
* Cost code public ID
|
|
6627
8275
|
*/
|
|
6628
8276
|
id: string;
|
|
6629
8277
|
};
|
|
6630
8278
|
query?: never;
|
|
6631
|
-
url: '/
|
|
8279
|
+
url: '/cost-code/{id}';
|
|
6632
8280
|
};
|
|
6633
|
-
type
|
|
8281
|
+
type CostCodeControllerUpdateErrors = {
|
|
6634
8282
|
/**
|
|
6635
8283
|
* 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`.
|
|
6636
8284
|
*/
|
|
@@ -6647,6 +8295,10 @@ type CompanyDocumentControllerUpdateErrors = {
|
|
|
6647
8295
|
* 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.
|
|
6648
8296
|
*/
|
|
6649
8297
|
404: ApiErrorResponse;
|
|
8298
|
+
/**
|
|
8299
|
+
* 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`).
|
|
8300
|
+
*/
|
|
8301
|
+
409: ApiErrorResponse;
|
|
6650
8302
|
/**
|
|
6651
8303
|
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6652
8304
|
*/
|
|
@@ -6656,13 +8308,13 @@ type CompanyDocumentControllerUpdateErrors = {
|
|
|
6656
8308
|
*/
|
|
6657
8309
|
500: ApiErrorResponse;
|
|
6658
8310
|
};
|
|
6659
|
-
type
|
|
6660
|
-
type
|
|
6661
|
-
200:
|
|
8311
|
+
type CostCodeControllerUpdateError = CostCodeControllerUpdateErrors[keyof CostCodeControllerUpdateErrors];
|
|
8312
|
+
type CostCodeControllerUpdateResponses = {
|
|
8313
|
+
200: CostCodeResponseDto;
|
|
6662
8314
|
};
|
|
6663
|
-
type
|
|
6664
|
-
type
|
|
6665
|
-
body:
|
|
8315
|
+
type CostCodeControllerUpdateResponse = CostCodeControllerUpdateResponses[keyof CostCodeControllerUpdateResponses];
|
|
8316
|
+
type CostCodeControllerCreateData = {
|
|
8317
|
+
body: CreateCostCodeDto;
|
|
6666
8318
|
headers?: {
|
|
6667
8319
|
/**
|
|
6668
8320
|
* 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.
|
|
@@ -6671,9 +8323,9 @@ type CompanyDocumentControllerCreateData = {
|
|
|
6671
8323
|
};
|
|
6672
8324
|
path?: never;
|
|
6673
8325
|
query?: never;
|
|
6674
|
-
url: '/
|
|
8326
|
+
url: '/cost-code';
|
|
6675
8327
|
};
|
|
6676
|
-
type
|
|
8328
|
+
type CostCodeControllerCreateErrors = {
|
|
6677
8329
|
/**
|
|
6678
8330
|
* 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`.
|
|
6679
8331
|
*/
|
|
@@ -6703,12 +8355,12 @@ type CompanyDocumentControllerCreateErrors = {
|
|
|
6703
8355
|
*/
|
|
6704
8356
|
500: ApiErrorResponse;
|
|
6705
8357
|
};
|
|
6706
|
-
type
|
|
6707
|
-
type
|
|
6708
|
-
201:
|
|
8358
|
+
type CostCodeControllerCreateError = CostCodeControllerCreateErrors[keyof CostCodeControllerCreateErrors];
|
|
8359
|
+
type CostCodeControllerCreateResponses = {
|
|
8360
|
+
201: CostCodeResponseDto;
|
|
6709
8361
|
};
|
|
6710
|
-
type
|
|
6711
|
-
type
|
|
8362
|
+
type CostCodeControllerCreateResponse = CostCodeControllerCreateResponses[keyof CostCodeControllerCreateResponses];
|
|
8363
|
+
type PermitTypeControllerListData = {
|
|
6712
8364
|
body?: never;
|
|
6713
8365
|
path?: never;
|
|
6714
8366
|
query?: {
|
|
@@ -6722,7 +8374,7 @@ type ProjectControllerListData = {
|
|
|
6722
8374
|
page?: number;
|
|
6723
8375
|
direction?: 'asc' | 'desc';
|
|
6724
8376
|
/**
|
|
6725
|
-
* Sort field:
|
|
8377
|
+
* Sort field: sort_order, code, name, created_at, updated_at, id (default sort_order)
|
|
6726
8378
|
*/
|
|
6727
8379
|
sort?: string;
|
|
6728
8380
|
/**
|
|
@@ -6730,29 +8382,17 @@ type ProjectControllerListData = {
|
|
|
6730
8382
|
*/
|
|
6731
8383
|
name?: string;
|
|
6732
8384
|
/**
|
|
6733
|
-
* Filter by
|
|
6734
|
-
*/
|
|
6735
|
-
project_code?: string;
|
|
6736
|
-
/**
|
|
6737
|
-
* Filter by status
|
|
6738
|
-
*/
|
|
6739
|
-
status?: 'active' | 'suspended' | 'completed';
|
|
6740
|
-
/**
|
|
6741
|
-
* Filter to one site by its publicId (UUID)
|
|
6742
|
-
*/
|
|
6743
|
-
site_id?: string;
|
|
6744
|
-
/**
|
|
6745
|
-
* Filter: updated_at >= (ISO) — incremental sync watermark
|
|
8385
|
+
* Filter by code (case-insensitive partial)
|
|
6746
8386
|
*/
|
|
6747
|
-
|
|
8387
|
+
code?: string;
|
|
6748
8388
|
/**
|
|
6749
|
-
* Filter
|
|
8389
|
+
* Filter by enabled state (true/false)
|
|
6750
8390
|
*/
|
|
6751
|
-
|
|
8391
|
+
is_enabled?: string;
|
|
6752
8392
|
};
|
|
6753
|
-
url: '/
|
|
8393
|
+
url: '/permit-type/list';
|
|
6754
8394
|
};
|
|
6755
|
-
type
|
|
8395
|
+
type PermitTypeControllerListErrors = {
|
|
6756
8396
|
/**
|
|
6757
8397
|
* 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`.
|
|
6758
8398
|
*/
|
|
@@ -6774,23 +8414,23 @@ type ProjectControllerListErrors = {
|
|
|
6774
8414
|
*/
|
|
6775
8415
|
500: ApiErrorResponse;
|
|
6776
8416
|
};
|
|
6777
|
-
type
|
|
6778
|
-
type
|
|
6779
|
-
200:
|
|
8417
|
+
type PermitTypeControllerListError = PermitTypeControllerListErrors[keyof PermitTypeControllerListErrors];
|
|
8418
|
+
type PermitTypeControllerListResponses = {
|
|
8419
|
+
200: ListPermitTypesResponseDto;
|
|
6780
8420
|
};
|
|
6781
|
-
type
|
|
6782
|
-
type
|
|
8421
|
+
type PermitTypeControllerListResponse = PermitTypeControllerListResponses[keyof PermitTypeControllerListResponses];
|
|
8422
|
+
type PermitTypeControllerGetData = {
|
|
6783
8423
|
body?: never;
|
|
6784
8424
|
path: {
|
|
6785
8425
|
/**
|
|
6786
|
-
*
|
|
8426
|
+
* Permit type public ID
|
|
6787
8427
|
*/
|
|
6788
8428
|
id: string;
|
|
6789
8429
|
};
|
|
6790
8430
|
query?: never;
|
|
6791
|
-
url: '/
|
|
8431
|
+
url: '/permit-type/{id}';
|
|
6792
8432
|
};
|
|
6793
|
-
type
|
|
8433
|
+
type PermitTypeControllerGetErrors = {
|
|
6794
8434
|
/**
|
|
6795
8435
|
* 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.
|
|
6796
8436
|
*/
|
|
@@ -6812,67 +8452,40 @@ type ProjectControllerDeleteErrors = {
|
|
|
6812
8452
|
*/
|
|
6813
8453
|
500: ApiErrorResponse;
|
|
6814
8454
|
};
|
|
6815
|
-
type
|
|
6816
|
-
type
|
|
6817
|
-
200:
|
|
8455
|
+
type PermitTypeControllerGetError = PermitTypeControllerGetErrors[keyof PermitTypeControllerGetErrors];
|
|
8456
|
+
type PermitTypeControllerGetResponses = {
|
|
8457
|
+
200: PermitTypeResponseDto;
|
|
6818
8458
|
};
|
|
6819
|
-
type
|
|
6820
|
-
type
|
|
8459
|
+
type PermitTypeControllerGetResponse = PermitTypeControllerGetResponses[keyof PermitTypeControllerGetResponses];
|
|
8460
|
+
type TimeLineControllerListData = {
|
|
6821
8461
|
body?: never;
|
|
6822
|
-
path
|
|
8462
|
+
path?: never;
|
|
8463
|
+
query?: {
|
|
6823
8464
|
/**
|
|
6824
|
-
*
|
|
8465
|
+
* Results per page
|
|
6825
8466
|
*/
|
|
6826
|
-
|
|
6827
|
-
};
|
|
6828
|
-
query?: never;
|
|
6829
|
-
url: '/project/{id}';
|
|
6830
|
-
};
|
|
6831
|
-
type ProjectControllerGetErrors = {
|
|
6832
|
-
/**
|
|
6833
|
-
* 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.
|
|
6834
|
-
*/
|
|
6835
|
-
401: ApiErrorResponse;
|
|
6836
|
-
/**
|
|
6837
|
-
* 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).
|
|
6838
|
-
*/
|
|
6839
|
-
403: ApiErrorResponse;
|
|
6840
|
-
/**
|
|
6841
|
-
* 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.
|
|
6842
|
-
*/
|
|
6843
|
-
404: ApiErrorResponse;
|
|
6844
|
-
/**
|
|
6845
|
-
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6846
|
-
*/
|
|
6847
|
-
429: ApiErrorResponse;
|
|
6848
|
-
/**
|
|
6849
|
-
* 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.
|
|
6850
|
-
*/
|
|
6851
|
-
500: ApiErrorResponse;
|
|
6852
|
-
};
|
|
6853
|
-
type ProjectControllerGetError = ProjectControllerGetErrors[keyof ProjectControllerGetErrors];
|
|
6854
|
-
type ProjectControllerGetResponses = {
|
|
6855
|
-
200: ProjectResponseDto;
|
|
6856
|
-
};
|
|
6857
|
-
type ProjectControllerGetResponse = ProjectControllerGetResponses[keyof ProjectControllerGetResponses];
|
|
6858
|
-
type ProjectControllerUpdateData = {
|
|
6859
|
-
body: UpdateProjectDto;
|
|
6860
|
-
headers?: {
|
|
8467
|
+
per_page?: number;
|
|
6861
8468
|
/**
|
|
6862
|
-
*
|
|
8469
|
+
* Page number
|
|
6863
8470
|
*/
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
path: {
|
|
8471
|
+
page?: number;
|
|
8472
|
+
direction?: 'asc' | 'desc';
|
|
6867
8473
|
/**
|
|
6868
|
-
*
|
|
8474
|
+
* Sort field: name, version, published_at, created_at, updated_at, id (default name)
|
|
6869
8475
|
*/
|
|
6870
|
-
|
|
8476
|
+
sort?: string;
|
|
8477
|
+
/**
|
|
8478
|
+
* Filter by name (case-insensitive partial)
|
|
8479
|
+
*/
|
|
8480
|
+
name?: string;
|
|
8481
|
+
/**
|
|
8482
|
+
* Filter to one site by its publicId (UUID)
|
|
8483
|
+
*/
|
|
8484
|
+
site_id?: string;
|
|
6871
8485
|
};
|
|
6872
|
-
|
|
6873
|
-
url: '/project/{id}';
|
|
8486
|
+
url: '/time-line/list';
|
|
6874
8487
|
};
|
|
6875
|
-
type
|
|
8488
|
+
type TimeLineControllerListErrors = {
|
|
6876
8489
|
/**
|
|
6877
8490
|
* 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`.
|
|
6878
8491
|
*/
|
|
@@ -6885,14 +8498,6 @@ type ProjectControllerUpdateErrors = {
|
|
|
6885
8498
|
* 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).
|
|
6886
8499
|
*/
|
|
6887
8500
|
403: ApiErrorResponse;
|
|
6888
|
-
/**
|
|
6889
|
-
* 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.
|
|
6890
|
-
*/
|
|
6891
|
-
404: ApiErrorResponse;
|
|
6892
|
-
/**
|
|
6893
|
-
* 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`).
|
|
6894
|
-
*/
|
|
6895
|
-
409: ApiErrorResponse;
|
|
6896
8501
|
/**
|
|
6897
8502
|
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
6898
8503
|
*/
|
|
@@ -6902,45 +8507,23 @@ type ProjectControllerUpdateErrors = {
|
|
|
6902
8507
|
*/
|
|
6903
8508
|
500: ApiErrorResponse;
|
|
6904
8509
|
};
|
|
6905
|
-
type
|
|
6906
|
-
type
|
|
6907
|
-
200:
|
|
8510
|
+
type TimeLineControllerListError = TimeLineControllerListErrors[keyof TimeLineControllerListErrors];
|
|
8511
|
+
type TimeLineControllerListResponses = {
|
|
8512
|
+
200: ListTimeLinesResponseDto;
|
|
6908
8513
|
};
|
|
6909
|
-
type
|
|
6910
|
-
type
|
|
8514
|
+
type TimeLineControllerListResponse = TimeLineControllerListResponses[keyof TimeLineControllerListResponses];
|
|
8515
|
+
type TimeLineControllerGetData = {
|
|
6911
8516
|
body?: never;
|
|
6912
8517
|
path: {
|
|
6913
8518
|
/**
|
|
6914
|
-
*
|
|
8519
|
+
* Time line public ID
|
|
6915
8520
|
*/
|
|
6916
8521
|
id: string;
|
|
6917
8522
|
};
|
|
6918
|
-
query?:
|
|
6919
|
-
|
|
6920
|
-
* Results per page
|
|
6921
|
-
*/
|
|
6922
|
-
per_page?: number;
|
|
6923
|
-
/**
|
|
6924
|
-
* Page number
|
|
6925
|
-
*/
|
|
6926
|
-
page?: number;
|
|
6927
|
-
direction?: 'asc' | 'desc';
|
|
6928
|
-
/**
|
|
6929
|
-
* Sort field: approval_date, expiry_date, approval_status, created_at, updated_at, id (default updated_at)
|
|
6930
|
-
*/
|
|
6931
|
-
sort?: string;
|
|
6932
|
-
/**
|
|
6933
|
-
* Filter by approval status (e.g. approved)
|
|
6934
|
-
*/
|
|
6935
|
-
approval_status?: 'pending' | 'in_review' | 'approved' | 'rejected' | 'expired' | 'returned';
|
|
6936
|
-
};
|
|
6937
|
-
url: '/project/{id}/assets';
|
|
8523
|
+
query?: never;
|
|
8524
|
+
url: '/time-line/{id}';
|
|
6938
8525
|
};
|
|
6939
|
-
type
|
|
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;
|
|
8526
|
+
type TimeLineControllerGetErrors = {
|
|
6944
8527
|
/**
|
|
6945
8528
|
* 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
8529
|
*/
|
|
@@ -6962,19 +8545,14 @@ type ProjectControllerListAssetsErrors = {
|
|
|
6962
8545
|
*/
|
|
6963
8546
|
500: ApiErrorResponse;
|
|
6964
8547
|
};
|
|
6965
|
-
type
|
|
6966
|
-
type
|
|
6967
|
-
200:
|
|
8548
|
+
type TimeLineControllerGetError = TimeLineControllerGetErrors[keyof TimeLineControllerGetErrors];
|
|
8549
|
+
type TimeLineControllerGetResponses = {
|
|
8550
|
+
200: TimeLineResponseDto;
|
|
6968
8551
|
};
|
|
6969
|
-
type
|
|
6970
|
-
type
|
|
8552
|
+
type TimeLineControllerGetResponse = TimeLineControllerGetResponses[keyof TimeLineControllerGetResponses];
|
|
8553
|
+
type ApprovalSchemeControllerListData = {
|
|
6971
8554
|
body?: never;
|
|
6972
|
-
path
|
|
6973
|
-
/**
|
|
6974
|
-
* Project public ID
|
|
6975
|
-
*/
|
|
6976
|
-
id: string;
|
|
6977
|
-
};
|
|
8555
|
+
path?: never;
|
|
6978
8556
|
query?: {
|
|
6979
8557
|
/**
|
|
6980
8558
|
* Results per page
|
|
@@ -6986,17 +8564,17 @@ type ProjectControllerListUsersData = {
|
|
|
6986
8564
|
page?: number;
|
|
6987
8565
|
direction?: 'asc' | 'desc';
|
|
6988
8566
|
/**
|
|
6989
|
-
* Sort field:
|
|
8567
|
+
* Sort field: version, published_at, created_at, updated_at, id (default updated_at)
|
|
6990
8568
|
*/
|
|
6991
8569
|
sort?: string;
|
|
6992
8570
|
/**
|
|
6993
|
-
* Filter by
|
|
8571
|
+
* Filter to one site by its publicId (UUID)
|
|
6994
8572
|
*/
|
|
6995
|
-
|
|
8573
|
+
site_id?: string;
|
|
6996
8574
|
};
|
|
6997
|
-
url: '/
|
|
8575
|
+
url: '/approval-scheme/list';
|
|
6998
8576
|
};
|
|
6999
|
-
type
|
|
8577
|
+
type ApprovalSchemeControllerListErrors = {
|
|
7000
8578
|
/**
|
|
7001
8579
|
* 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`.
|
|
7002
8580
|
*/
|
|
@@ -7009,10 +8587,6 @@ type ProjectControllerListUsersErrors = {
|
|
|
7009
8587
|
* 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).
|
|
7010
8588
|
*/
|
|
7011
8589
|
403: ApiErrorResponse;
|
|
7012
|
-
/**
|
|
7013
|
-
* 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.
|
|
7014
|
-
*/
|
|
7015
|
-
404: ApiErrorResponse;
|
|
7016
8590
|
/**
|
|
7017
8591
|
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7018
8592
|
*/
|
|
@@ -7022,28 +8596,23 @@ type ProjectControllerListUsersErrors = {
|
|
|
7022
8596
|
*/
|
|
7023
8597
|
500: ApiErrorResponse;
|
|
7024
8598
|
};
|
|
7025
|
-
type
|
|
7026
|
-
type
|
|
7027
|
-
200:
|
|
8599
|
+
type ApprovalSchemeControllerListError = ApprovalSchemeControllerListErrors[keyof ApprovalSchemeControllerListErrors];
|
|
8600
|
+
type ApprovalSchemeControllerListResponses = {
|
|
8601
|
+
200: ListApprovalSchemesResponseDto;
|
|
7028
8602
|
};
|
|
7029
|
-
type
|
|
7030
|
-
type
|
|
7031
|
-
body
|
|
7032
|
-
|
|
8603
|
+
type ApprovalSchemeControllerListResponse = ApprovalSchemeControllerListResponses[keyof ApprovalSchemeControllerListResponses];
|
|
8604
|
+
type ApprovalSchemeControllerGetData = {
|
|
8605
|
+
body?: never;
|
|
8606
|
+
path: {
|
|
7033
8607
|
/**
|
|
7034
|
-
*
|
|
8608
|
+
* Approval scheme public ID
|
|
7035
8609
|
*/
|
|
7036
|
-
|
|
8610
|
+
id: string;
|
|
7037
8611
|
};
|
|
7038
|
-
path?: never;
|
|
7039
8612
|
query?: never;
|
|
7040
|
-
url: '/
|
|
8613
|
+
url: '/approval-scheme/{id}';
|
|
7041
8614
|
};
|
|
7042
|
-
type
|
|
7043
|
-
/**
|
|
7044
|
-
* 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`.
|
|
7045
|
-
*/
|
|
7046
|
-
400: ApiErrorResponse;
|
|
8615
|
+
type ApprovalSchemeControllerGetErrors = {
|
|
7047
8616
|
/**
|
|
7048
8617
|
* 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.
|
|
7049
8618
|
*/
|
|
@@ -7056,10 +8625,6 @@ type ProjectControllerCreateErrors = {
|
|
|
7056
8625
|
* 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.
|
|
7057
8626
|
*/
|
|
7058
8627
|
404: ApiErrorResponse;
|
|
7059
|
-
/**
|
|
7060
|
-
* 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`).
|
|
7061
|
-
*/
|
|
7062
|
-
409: ApiErrorResponse;
|
|
7063
8628
|
/**
|
|
7064
8629
|
* Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
|
|
7065
8630
|
*/
|
|
@@ -7069,11 +8634,11 @@ type ProjectControllerCreateErrors = {
|
|
|
7069
8634
|
*/
|
|
7070
8635
|
500: ApiErrorResponse;
|
|
7071
8636
|
};
|
|
7072
|
-
type
|
|
7073
|
-
type
|
|
7074
|
-
|
|
8637
|
+
type ApprovalSchemeControllerGetError = ApprovalSchemeControllerGetErrors[keyof ApprovalSchemeControllerGetErrors];
|
|
8638
|
+
type ApprovalSchemeControllerGetResponses = {
|
|
8639
|
+
200: ApprovalSchemeDetailDto;
|
|
7075
8640
|
};
|
|
7076
|
-
type
|
|
8641
|
+
type ApprovalSchemeControllerGetResponse = ApprovalSchemeControllerGetResponses[keyof ApprovalSchemeControllerGetResponses];
|
|
7077
8642
|
type CustomerControllerListData = {
|
|
7078
8643
|
body?: never;
|
|
7079
8644
|
path?: never;
|
|
@@ -8253,11 +9818,7 @@ declare const assetControllerListAssets: <ThrowOnError extends boolean = false>(
|
|
|
8253
9818
|
data?: Array<{
|
|
8254
9819
|
id?: string;
|
|
8255
9820
|
publicId?: string;
|
|
8256
|
-
assetNumber
|
|
8257
|
-
/**
|
|
8258
|
-
* Get a company document
|
|
8259
|
-
*/
|
|
8260
|
-
?: string;
|
|
9821
|
+
assetNumber?: string;
|
|
8261
9822
|
assetClassId?: string;
|
|
8262
9823
|
siteId?: string;
|
|
8263
9824
|
companyId?: string;
|
|
@@ -8632,6 +10193,96 @@ declare const projectControllerListUsers: <ThrowOnError extends boolean = false>
|
|
|
8632
10193
|
* 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`.
|
|
8633
10194
|
*/
|
|
8634
10195
|
declare const projectControllerCreate: <ThrowOnError extends boolean = false>(options: Options<ProjectControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProjectResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10196
|
+
/**
|
|
10197
|
+
* List jobs
|
|
10198
|
+
* 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.
|
|
10199
|
+
*/
|
|
10200
|
+
declare const jobControllerList: <ThrowOnError extends boolean = false>(options?: Options<JobControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListJobsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10201
|
+
/**
|
|
10202
|
+
* Delete a job
|
|
10203
|
+
* Soft-deletes a job by its public_id (UUID). Requires job:delete.
|
|
10204
|
+
*/
|
|
10205
|
+
declare const jobControllerDelete: <ThrowOnError extends boolean = false>(options: Options<JobControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteJobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10206
|
+
/**
|
|
10207
|
+
* Get a job by public ID
|
|
10208
|
+
* Returns one job (with embedded job_properties[] and assignment/requirement counts) by its public_id (UUID). Requires job:read.
|
|
10209
|
+
*/
|
|
10210
|
+
declare const jobControllerGet: <ThrowOnError extends boolean = false>(options: Options<JobControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<JobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10211
|
+
/**
|
|
10212
|
+
* Update a job
|
|
10213
|
+
* 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`.
|
|
10214
|
+
*/
|
|
10215
|
+
declare const jobControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<JobControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<JobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10216
|
+
/**
|
|
10217
|
+
* List assignments for a job
|
|
10218
|
+
* 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.
|
|
10219
|
+
*/
|
|
10220
|
+
declare const jobControllerListAssignments: <ThrowOnError extends boolean = false>(options: Options<JobControllerListAssignmentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListJobAssignmentsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10221
|
+
/**
|
|
10222
|
+
* List asset requirements for a job
|
|
10223
|
+
* Returns the asset requirements for a job (read-only): the asset category/class, sub-class, quantity and whether mandatory. Requires job:read.
|
|
10224
|
+
*/
|
|
10225
|
+
declare const jobControllerListRequirements: <ThrowOnError extends boolean = false>(options: Options<JobControllerListRequirementsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListJobRequirementsResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10226
|
+
/**
|
|
10227
|
+
* Create a job
|
|
10228
|
+
* 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`.
|
|
10229
|
+
*/
|
|
10230
|
+
declare const jobControllerCreate: <ThrowOnError extends boolean = false>(options: Options<JobControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<JobResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10231
|
+
/**
|
|
10232
|
+
* List cost codes
|
|
10233
|
+
* Returns a paginated list of cost codes for the authenticated company. Filter by customer (publicId), code, name, status, and an incremental `updated_at` watermark. Requires cost_code:read.
|
|
10234
|
+
*/
|
|
10235
|
+
declare const costCodeControllerList: <ThrowOnError extends boolean = false>(options?: Options<CostCodeControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListCostCodesResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10236
|
+
/**
|
|
10237
|
+
* Delete a cost code
|
|
10238
|
+
* Soft-deletes a cost code by its public_id (UUID). Requires cost_code:delete.
|
|
10239
|
+
*/
|
|
10240
|
+
declare const costCodeControllerDelete: <ThrowOnError extends boolean = false>(options: Options<CostCodeControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteCostCodeResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10241
|
+
/**
|
|
10242
|
+
* Get a cost code by public ID
|
|
10243
|
+
* Returns one cost code by its public_id (UUID). Requires cost_code:read.
|
|
10244
|
+
*/
|
|
10245
|
+
declare const costCodeControllerGet: <ThrowOnError extends boolean = false>(options: Options<CostCodeControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CostCodeResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10246
|
+
/**
|
|
10247
|
+
* Update a cost code
|
|
10248
|
+
* Updates a cost code by its public_id (UUID). Only provided fields are changed; set parent_id to null to make it top-level. Requires cost_code:update. Supports `Idempotency-Key`.
|
|
10249
|
+
*/
|
|
10250
|
+
declare const costCodeControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<CostCodeControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CostCodeResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10251
|
+
/**
|
|
10252
|
+
* Create a cost code
|
|
10253
|
+
* Creates a cost code for a customer (by publicId). Optionally nest under a parent cost code (by publicId) — level is derived. Requires cost_code:create. Supports `Idempotency-Key`.
|
|
10254
|
+
*/
|
|
10255
|
+
declare const costCodeControllerCreate: <ThrowOnError extends boolean = false>(options: Options<CostCodeControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CostCodeResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10256
|
+
/**
|
|
10257
|
+
* List permit types
|
|
10258
|
+
* Returns the permit-type catalog available to the authenticated company — both the company's own types and the shared Wakata system defaults (read-only). Filter by name, code, enabled state. Requires permit:read.
|
|
10259
|
+
*/
|
|
10260
|
+
declare const permitTypeControllerList: <ThrowOnError extends boolean = false>(options?: Options<PermitTypeControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPermitTypesResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10261
|
+
/**
|
|
10262
|
+
* Get a permit type by public ID
|
|
10263
|
+
* Returns one permit type (company-owned or system default) by its public_id (UUID). Read-only. Requires permit:read.
|
|
10264
|
+
*/
|
|
10265
|
+
declare const permitTypeControllerGet: <ThrowOnError extends boolean = false>(options: Options<PermitTypeControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PermitTypeResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10266
|
+
/**
|
|
10267
|
+
* List time lines (activity catalog)
|
|
10268
|
+
* Returns the published activity catalog for the authenticated company — the latest published version per activity. Filter by name and site (publicId). Read-only (time lines are versioned and edited in the app). Requires time_line:read.
|
|
10269
|
+
*/
|
|
10270
|
+
declare const timeLineControllerList: <ThrowOnError extends boolean = false>(options?: Options<TimeLineControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListTimeLinesResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10271
|
+
/**
|
|
10272
|
+
* Get a time line by public ID
|
|
10273
|
+
* Returns one time line (any version) by its public_id (UUID). Read-only. Requires time_line:read.
|
|
10274
|
+
*/
|
|
10275
|
+
declare const timeLineControllerGet: <ThrowOnError extends boolean = false>(options: Options<TimeLineControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TimeLineResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10276
|
+
/**
|
|
10277
|
+
* List approval schemes
|
|
10278
|
+
* Returns the latest version per approval scheme for the authenticated company (read-only). Each summary shows which workflows it applies to (for_timesheets/for_inspections/…) and its site. Requires approval_scheme:read.
|
|
10279
|
+
*/
|
|
10280
|
+
declare const approvalSchemeControllerList: <ThrowOnError extends boolean = false>(options?: Options<ApprovalSchemeControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListApprovalSchemesResponseDto, ApiErrorResponse, ThrowOnError>;
|
|
10281
|
+
/**
|
|
10282
|
+
* Get an approval scheme by public ID
|
|
10283
|
+
* Returns one approval scheme with its levels[] and each level's members[] (a member is a user or a group) by its public_id (UUID). Read-only. Requires approval_scheme:read.
|
|
10284
|
+
*/
|
|
10285
|
+
declare const approvalSchemeControllerGet: <ThrowOnError extends boolean = false>(options: Options<ApprovalSchemeControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ApprovalSchemeDetailDto, ApiErrorResponse, ThrowOnError>;
|
|
8635
10286
|
/**
|
|
8636
10287
|
* List customers
|
|
8637
10288
|
* Returns a paginated list of customers for the authenticated company. Supports name/status filters and an incremental `updated_at` watermark. Requires customer:read.
|
|
@@ -8874,6 +10525,39 @@ interface ProjectsResource {
|
|
|
8874
10525
|
/** Read the user assignments for a project (filter by approval_status). */
|
|
8875
10526
|
users: (options: WakataMethodOptions<Parameters<typeof projectControllerListUsers>[0]>) => Promise<Awaited<ReturnType<typeof projectControllerListUsers>>['data']>;
|
|
8876
10527
|
}
|
|
10528
|
+
interface JobsResource {
|
|
10529
|
+
list: (options?: WakataMethodOptions<Parameters<typeof jobControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof jobControllerList>>['data']>;
|
|
10530
|
+
get: (options: WakataMethodOptions<Parameters<typeof jobControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerGet>>['data']>;
|
|
10531
|
+
create: (options: WakataMethodOptions<Parameters<typeof jobControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerCreate>>['data']>;
|
|
10532
|
+
update: (options: WakataMethodOptions<Parameters<typeof jobControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerUpdate>>['data']>;
|
|
10533
|
+
delete: (options: WakataMethodOptions<Parameters<typeof jobControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerDelete>>['data']>;
|
|
10534
|
+
/** Read crew/asset assignments for a job (filter by status). */
|
|
10535
|
+
assignments: (options: WakataMethodOptions<Parameters<typeof jobControllerListAssignments>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerListAssignments>>['data']>;
|
|
10536
|
+
/** Read asset requirements (needs spec) for a job. */
|
|
10537
|
+
requirements: (options: WakataMethodOptions<Parameters<typeof jobControllerListRequirements>[0]>) => Promise<Awaited<ReturnType<typeof jobControllerListRequirements>>['data']>;
|
|
10538
|
+
}
|
|
10539
|
+
interface CostCodesResource {
|
|
10540
|
+
list: (options?: WakataMethodOptions<Parameters<typeof costCodeControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof costCodeControllerList>>['data']>;
|
|
10541
|
+
get: (options: WakataMethodOptions<Parameters<typeof costCodeControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof costCodeControllerGet>>['data']>;
|
|
10542
|
+
create: (options: WakataMethodOptions<Parameters<typeof costCodeControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof costCodeControllerCreate>>['data']>;
|
|
10543
|
+
update: (options: WakataMethodOptions<Parameters<typeof costCodeControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof costCodeControllerUpdate>>['data']>;
|
|
10544
|
+
delete: (options: WakataMethodOptions<Parameters<typeof costCodeControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof costCodeControllerDelete>>['data']>;
|
|
10545
|
+
}
|
|
10546
|
+
/** Permit type catalog — read-only (includes shared system defaults). */
|
|
10547
|
+
interface PermitTypesResource {
|
|
10548
|
+
list: (options?: WakataMethodOptions<Parameters<typeof permitTypeControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof permitTypeControllerList>>['data']>;
|
|
10549
|
+
get: (options: WakataMethodOptions<Parameters<typeof permitTypeControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof permitTypeControllerGet>>['data']>;
|
|
10550
|
+
}
|
|
10551
|
+
/** Time line / activity catalog — read-only. */
|
|
10552
|
+
interface TimeLinesResource {
|
|
10553
|
+
list: (options?: WakataMethodOptions<Parameters<typeof timeLineControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof timeLineControllerList>>['data']>;
|
|
10554
|
+
get: (options: WakataMethodOptions<Parameters<typeof timeLineControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof timeLineControllerGet>>['data']>;
|
|
10555
|
+
}
|
|
10556
|
+
/** Approval schemes (+ levels/members) — read-only. */
|
|
10557
|
+
interface ApprovalSchemesResource {
|
|
10558
|
+
list: (options?: WakataMethodOptions<Parameters<typeof approvalSchemeControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof approvalSchemeControllerList>>['data']>;
|
|
10559
|
+
get: (options: WakataMethodOptions<Parameters<typeof approvalSchemeControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof approvalSchemeControllerGet>>['data']>;
|
|
10560
|
+
}
|
|
8877
10561
|
/**
|
|
8878
10562
|
* One entity-document type's CRUD. All document types share the same DTOs, so
|
|
8879
10563
|
* the shape is typed against the asset-document operations (structurally
|
|
@@ -8934,6 +10618,11 @@ declare class WakataClient {
|
|
|
8934
10618
|
readonly devices: DevicesResource;
|
|
8935
10619
|
readonly timesheets: TimesheetsResource;
|
|
8936
10620
|
readonly projects: ProjectsResource;
|
|
10621
|
+
readonly jobs: JobsResource;
|
|
10622
|
+
readonly costCodes: CostCodesResource;
|
|
10623
|
+
readonly permitTypes: PermitTypesResource;
|
|
10624
|
+
readonly timeLines: TimeLinesResource;
|
|
10625
|
+
readonly approvalSchemes: ApprovalSchemesResource;
|
|
8937
10626
|
constructor(options: WakataClientOptions);
|
|
8938
10627
|
}
|
|
8939
10628
|
|
|
@@ -9107,4 +10796,4 @@ declare const PACKAGE_VERSION = "0.3.3";
|
|
|
9107
10796
|
/** Default base URL for the Wakata Public API (production). */
|
|
9108
10797
|
declare const DEFAULT_BASE_URL = "https://api.wakata.ai/api/v1";
|
|
9109
10798
|
|
|
9110
|
-
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 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 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 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 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 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 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 };
|
|
10799
|
+
export { type ApiErrorBody, type ApiErrorDetail, type ApiErrorResponse, type ApprovalLevelDto, type ApprovalLevelMemberDto, type ApprovalSchemeControllerGetData, type ApprovalSchemeControllerGetError, type ApprovalSchemeControllerGetErrors, type ApprovalSchemeControllerGetResponse, type ApprovalSchemeControllerGetResponses, type ApprovalSchemeControllerListData, type ApprovalSchemeControllerListError, type ApprovalSchemeControllerListErrors, type ApprovalSchemeControllerListResponse, type ApprovalSchemeControllerListResponses, type ApprovalSchemeDetailDto, type ApprovalSchemeSummaryDto, 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 CostCodeControllerCreateData, type CostCodeControllerCreateError, type CostCodeControllerCreateErrors, type CostCodeControllerCreateResponse, type CostCodeControllerCreateResponses, type CostCodeControllerDeleteData, type CostCodeControllerDeleteError, type CostCodeControllerDeleteErrors, type CostCodeControllerDeleteResponse, type CostCodeControllerDeleteResponses, type CostCodeControllerGetData, type CostCodeControllerGetError, type CostCodeControllerGetErrors, type CostCodeControllerGetResponse, type CostCodeControllerGetResponses, type CostCodeControllerListData, type CostCodeControllerListError, type CostCodeControllerListErrors, type CostCodeControllerListResponse, type CostCodeControllerListResponses, type CostCodeControllerUpdateData, type CostCodeControllerUpdateError, type CostCodeControllerUpdateErrors, type CostCodeControllerUpdateResponse, type CostCodeControllerUpdateResponses, type CostCodeResponseDto, type CreateAssetClassDto, type CreateConfigItemDto, type CreateCostCodeDto, 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 DeleteCostCodeResponseDto, 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 ListApprovalSchemesResponseDto, type ListChecklistsResponseDto, type ListConfigItemsResponseDto, type ListConfigTablesResponseDto, type ListCostCodesResponseDto, type ListCustomersResponseDto, type ListDevicesResponseDto, type ListDocumentsResponseDto, type ListGroupsResponseDto, type ListInspectionsResponseDto, type ListIssuesResponseDto, type ListJobAssignmentsResponseDto, type ListJobRequirementsResponseDto, type ListJobsResponseDto, type ListPermitTypesResponseDto, type ListProjectAssetsResponseDto, type ListProjectUsersResponseDto, type ListProjectsResponseDto, type ListSitesResponseDto, type ListTimeLinesResponseDto, type ListTimesheetsResponseDto, type ListZonesResponseDto, PACKAGE_NAME, PACKAGE_VERSION, type PermitTypeControllerGetData, type PermitTypeControllerGetError, type PermitTypeControllerGetErrors, type PermitTypeControllerGetResponse, type PermitTypeControllerGetResponses, type PermitTypeControllerListData, type PermitTypeControllerListError, type PermitTypeControllerListErrors, type PermitTypeControllerListResponse, type PermitTypeControllerListResponses, type PermitTypeResponseDto, 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 TimeLineControllerGetData, type TimeLineControllerGetError, type TimeLineControllerGetErrors, type TimeLineControllerGetResponse, type TimeLineControllerGetResponses, type TimeLineControllerListData, type TimeLineControllerListError, type TimeLineControllerListErrors, type TimeLineControllerListResponse, type TimeLineControllerListResponses, type TimeLineResponseDto, 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 UpdateCostCodeDto, 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 };
|