@wakata-dev/api-client 0.3.3 → 0.4.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.d.cts CHANGED
@@ -388,6 +388,39 @@ type CreateConfigItemDto = {
388
388
  */
389
389
  description?: string;
390
390
  };
391
+ type CreateCustomerDto = {
392
+ /**
393
+ * Customer name
394
+ */
395
+ name: string;
396
+ /**
397
+ * ABN
398
+ */
399
+ abn?: string;
400
+ /**
401
+ * Street address
402
+ */
403
+ address?: string;
404
+ city?: string;
405
+ state?: string;
406
+ postcode?: string;
407
+ country?: string;
408
+ phone?: string;
409
+ email?: string;
410
+ website?: string;
411
+ /**
412
+ * Default payment terms in days
413
+ */
414
+ default_payment_terms?: number;
415
+ /**
416
+ * Free-text notes
417
+ */
418
+ notes?: string;
419
+ /**
420
+ * Status
421
+ */
422
+ status?: string;
423
+ };
391
424
  type CreateDocumentDto = {
392
425
  /**
393
426
  * Parent entity publicId (UUID) the document belongs to. Required for all types except company documents (which are scoped to your company).
@@ -418,6 +451,28 @@ type CreateDocumentDto = {
418
451
  */
419
452
  attachment_file?: string;
420
453
  };
454
+ type CreateGroupDto = {
455
+ /**
456
+ * Group name
457
+ */
458
+ name: string;
459
+ /**
460
+ * Site publicId (UUID) to scope the group to, or omit for company-wide
461
+ */
462
+ site_id?: string;
463
+ /**
464
+ * Auto-include all users
465
+ */
466
+ include_all_users?: boolean;
467
+ /**
468
+ * Auto-include all assets
469
+ */
470
+ include_all_assets?: boolean;
471
+ /**
472
+ * Auto-include all checklists
473
+ */
474
+ include_all_checklists?: boolean;
475
+ };
421
476
  type CreateSiteDto = {
422
477
  /**
423
478
  * Site name
@@ -448,6 +503,79 @@ type CreateSiteDto = {
448
503
  */
449
504
  public_id?: string;
450
505
  };
506
+ type CreateZoneDto = {
507
+ /**
508
+ * Zone name
509
+ */
510
+ name: string;
511
+ /**
512
+ * Site publicId (UUID) the zone belongs to
513
+ */
514
+ site_id: string;
515
+ /**
516
+ * Parent zone publicId (UUID) for nesting, or omit for a top-level zone
517
+ */
518
+ parent_zone_id?: string;
519
+ /**
520
+ * Description
521
+ */
522
+ description?: string;
523
+ /**
524
+ * Latitude
525
+ */
526
+ lat?: number;
527
+ /**
528
+ * Longitude
529
+ */
530
+ lng?: number;
531
+ /**
532
+ * GeoJSON polygon (object) describing the zone boundary
533
+ */
534
+ boundary?: {
535
+ [key: string]: unknown;
536
+ };
537
+ };
538
+ type CustomerResponseDto = {
539
+ public_id: string;
540
+ name: string;
541
+ abn: {
542
+ [key: string]: unknown;
543
+ } | null;
544
+ address: {
545
+ [key: string]: unknown;
546
+ } | null;
547
+ city: {
548
+ [key: string]: unknown;
549
+ } | null;
550
+ state: {
551
+ [key: string]: unknown;
552
+ } | null;
553
+ postcode: {
554
+ [key: string]: unknown;
555
+ } | null;
556
+ country: {
557
+ [key: string]: unknown;
558
+ } | null;
559
+ phone: {
560
+ [key: string]: unknown;
561
+ } | null;
562
+ email: {
563
+ [key: string]: unknown;
564
+ } | null;
565
+ website: {
566
+ [key: string]: unknown;
567
+ } | null;
568
+ default_payment_terms: {
569
+ [key: string]: unknown;
570
+ } | null;
571
+ notes: {
572
+ [key: string]: unknown;
573
+ } | null;
574
+ status: string;
575
+ created_at: string;
576
+ updated_at: string;
577
+ customer_properties: Array<EmbeddedCustomerPropertyDto>;
578
+ };
451
579
  type DeleteAssetClassPropertyResponseDto = {
452
580
  message: string;
453
581
  /**
@@ -465,10 +593,18 @@ type DeleteAssetPropertyResponseDto = {
465
593
  */
466
594
  id: string;
467
595
  };
596
+ type DeleteCustomerResponseDto = {
597
+ message: string;
598
+ public_id: string;
599
+ };
468
600
  type DeleteDocumentResponseDto = {
469
601
  message: string;
470
602
  id: string;
471
603
  };
604
+ type DeleteGroupResponseDto = {
605
+ message: string;
606
+ public_id: string;
607
+ };
472
608
  type DeleteSiteResponseDto = {
473
609
  /**
474
610
  * Success message
@@ -489,6 +625,54 @@ type DeleteUserPropertyResponseDto = {
489
625
  */
490
626
  id: string;
491
627
  };
628
+ type DeleteZoneResponseDto = {
629
+ message: string;
630
+ public_id: string;
631
+ };
632
+ type DeviceResponseDto = {
633
+ public_id: string;
634
+ name: string;
635
+ status: string;
636
+ last_sync_at: {
637
+ [key: string]: unknown;
638
+ } | null;
639
+ activated_at: {
640
+ [key: string]: unknown;
641
+ } | null;
642
+ app_version: {
643
+ [key: string]: unknown;
644
+ } | null;
645
+ os: {
646
+ [key: string]: unknown;
647
+ } | null;
648
+ os_version: {
649
+ [key: string]: unknown;
650
+ } | null;
651
+ device_model: {
652
+ [key: string]: unknown;
653
+ } | null;
654
+ /**
655
+ * Battery level (0-1 or 0-100)
656
+ */
657
+ battery_level: {
658
+ [key: string]: unknown;
659
+ } | null;
660
+ lat: {
661
+ [key: string]: unknown;
662
+ } | null;
663
+ lng: {
664
+ [key: string]: unknown;
665
+ } | null;
666
+ last_known_lat: {
667
+ [key: string]: unknown;
668
+ } | null;
669
+ last_known_lng: {
670
+ [key: string]: unknown;
671
+ } | null;
672
+ location_sharing_status: string;
673
+ created_at: string;
674
+ updated_at: string;
675
+ };
492
676
  type DocumentResponseDto = {
493
677
  /**
494
678
  * Document ID
@@ -667,6 +851,35 @@ type EmbeddedAssetPropertyDto = {
667
851
  [key: string]: unknown;
668
852
  } | null;
669
853
  };
854
+ type EmbeddedCustomerPropertyDto = {
855
+ /**
856
+ * BigInt as string. Property definition id (config_items.id)
857
+ */
858
+ property_id: string;
859
+ /**
860
+ * BigInt as string. Property value row id — pass to PATCH/DELETE /customer-property/:id
861
+ */
862
+ customer_property_id: string;
863
+ property_name: string;
864
+ text_value: {
865
+ [key: string]: unknown;
866
+ } | null;
867
+ numeric_value: {
868
+ [key: string]: unknown;
869
+ } | null;
870
+ date_value: {
871
+ [key: string]: unknown;
872
+ } | null;
873
+ updated_at: {
874
+ [key: string]: unknown;
875
+ } | null;
876
+ updated_by: {
877
+ [key: string]: unknown;
878
+ } | null;
879
+ updated_by_name: {
880
+ [key: string]: unknown;
881
+ } | null;
882
+ };
670
883
  type EmbeddedUserPropertyDto = {
671
884
  /**
672
885
  * Property ID. Serialized as a string in public API responses (BigInt-safe).
@@ -695,6 +908,27 @@ type EmbeddedUserPropertyDto = {
695
908
  [key: string]: unknown;
696
909
  } | null;
697
910
  };
911
+ type GroupResponseDto = {
912
+ public_id: string;
913
+ /**
914
+ * Site publicId, or null for a company-wide group
915
+ */
916
+ site_id: {
917
+ [key: string]: unknown;
918
+ } | null;
919
+ /**
920
+ * Site name
921
+ */
922
+ site_name: {
923
+ [key: string]: unknown;
924
+ } | null;
925
+ name: string;
926
+ include_all_users: boolean;
927
+ include_all_assets: boolean;
928
+ include_all_checklists: boolean;
929
+ created_at: string;
930
+ updated_at: string;
931
+ };
698
932
  type InspectionResponseDto = {
699
933
  /**
700
934
  * Inspection public ID (UUID)
@@ -1199,6 +1433,20 @@ type ListConfigTablesResponseDto = {
1199
1433
  total: number;
1200
1434
  total_pages: number;
1201
1435
  };
1436
+ type ListCustomersResponseDto = {
1437
+ data: Array<CustomerResponseDto>;
1438
+ page: number;
1439
+ per_page: number;
1440
+ total: number;
1441
+ total_pages: number;
1442
+ };
1443
+ type ListDevicesResponseDto = {
1444
+ data: Array<DeviceResponseDto>;
1445
+ page: number;
1446
+ per_page: number;
1447
+ total: number;
1448
+ total_pages: number;
1449
+ };
1202
1450
  type ListDocumentsResponseDto = {
1203
1451
  data: Array<DocumentResponseDto>;
1204
1452
  page: number;
@@ -1206,6 +1454,13 @@ type ListDocumentsResponseDto = {
1206
1454
  total: number;
1207
1455
  total_pages: number;
1208
1456
  };
1457
+ type ListGroupsResponseDto = {
1458
+ data: Array<GroupResponseDto>;
1459
+ page: number;
1460
+ per_page: number;
1461
+ total: number;
1462
+ total_pages: number;
1463
+ };
1209
1464
  type ListInspectionsResponseDto = {
1210
1465
  /**
1211
1466
  * List of inspections
@@ -1272,6 +1527,20 @@ type ListSitesResponseDto = {
1272
1527
  */
1273
1528
  total_pages: number;
1274
1529
  };
1530
+ type ListTimesheetsResponseDto = {
1531
+ data: Array<TimesheetSummaryDto>;
1532
+ page: number;
1533
+ per_page: number;
1534
+ total: number;
1535
+ total_pages: number;
1536
+ };
1537
+ type ListZonesResponseDto = {
1538
+ data: Array<ZoneResponseDto>;
1539
+ page: number;
1540
+ per_page: number;
1541
+ total: number;
1542
+ total_pages: number;
1543
+ };
1275
1544
  type PublicCreateAssetDto = {
1276
1545
  /**
1277
1546
  * Asset number
@@ -1360,77 +1629,216 @@ type SiteResponseDto = {
1360
1629
  [key: string]: unknown;
1361
1630
  };
1362
1631
  };
1363
- type UpdateAssetClassDto = {
1632
+ type TimesheetDetailDto = {
1633
+ public_id: string;
1364
1634
  /**
1365
- * Asset class name (make)
1635
+ * User publicId
1366
1636
  */
1367
- asset_class?: string;
1637
+ user_id: string;
1368
1638
  /**
1369
- * Asset sub-class name (model)
1639
+ * User full name
1370
1640
  */
1371
- asset_sub_class?: string;
1641
+ user_name: {
1642
+ [key: string]: unknown;
1643
+ } | null;
1372
1644
  /**
1373
- * BigInt as string. Asset category ID (from config_items table)
1645
+ * Period start (Monday)
1374
1646
  */
1375
- asset_category_id?: string;
1647
+ period_start: string;
1376
1648
  /**
1377
- * Asset class photo file path
1649
+ * Period end (Sunday)
1378
1650
  */
1379
- asset_class_photo_file?: string;
1651
+ period_end: string;
1380
1652
  /**
1381
- * Asset class photo info (JSON string)
1653
+ * draft, submitted, in_approval, approved, rejected, info_required
1382
1654
  */
1383
- asset_class_photo_info?: string;
1655
+ status: string;
1384
1656
  /**
1385
- * Whether on-the-fly creation is enabled
1657
+ * Total seconds across all lines
1386
1658
  */
1387
- on_the_fly_enabled?: boolean;
1659
+ duration: {
1660
+ [key: string]: unknown;
1661
+ } | null;
1662
+ submitted_at: {
1663
+ [key: string]: unknown;
1664
+ } | null;
1665
+ current_approval_level: {
1666
+ [key: string]: unknown;
1667
+ } | null;
1668
+ total_approval_levels: {
1669
+ [key: string]: unknown;
1670
+ } | null;
1671
+ created_at: string;
1672
+ updated_at: string;
1673
+ lines: Array<TimesheetLineDto>;
1388
1674
  };
1389
- type UpdateAssetClassPropertyDto = {
1675
+ type TimesheetLineDto = {
1676
+ public_id: string;
1677
+ line_date: string;
1390
1678
  /**
1391
- * Property value (string, number, or date depending on the property type defined in config_items).
1679
+ * Activity (time line) publicId
1392
1680
  */
1393
- value: {
1681
+ activity_id: {
1394
1682
  [key: string]: unknown;
1395
- };
1396
- };
1397
- type UpdateAssetDto = {
1683
+ } | null;
1398
1684
  /**
1399
- * Asset number
1685
+ * Activity (time line) name
1400
1686
  */
1401
- asset_number?: string;
1687
+ activity_name: {
1688
+ [key: string]: unknown;
1689
+ } | null;
1402
1690
  /**
1403
- * Asset class public ID
1691
+ * Duration in seconds
1404
1692
  */
1405
- asset_class?: string;
1693
+ duration: {
1694
+ [key: string]: unknown;
1695
+ } | null;
1696
+ start_time: {
1697
+ [key: string]: unknown;
1698
+ } | null;
1699
+ end_time: {
1700
+ [key: string]: unknown;
1701
+ } | null;
1406
1702
  /**
1407
- * Site public ID
1703
+ * Site publicId
1408
1704
  */
1409
- site_id?: string;
1705
+ site_id: {
1706
+ [key: string]: unknown;
1707
+ } | null;
1410
1708
  /**
1411
- * Asset photo file path or URL
1709
+ * Asset publicId
1412
1710
  */
1413
- asset_photo_file?: string;
1711
+ asset_id: {
1712
+ [key: string]: unknown;
1713
+ } | null;
1414
1714
  /**
1415
- * Asset photo metadata as JSON string
1715
+ * Project publicId
1416
1716
  */
1417
- asset_photo_info?: string;
1717
+ project_id: {
1718
+ [key: string]: unknown;
1719
+ } | null;
1418
1720
  /**
1419
- * Latitude coordinate
1721
+ * Customer publicId
1420
1722
  */
1421
- lat?: number;
1723
+ customer_id: {
1724
+ [key: string]: unknown;
1725
+ } | null;
1726
+ created_at: string;
1727
+ updated_at: string;
1728
+ };
1729
+ type TimesheetSummaryDto = {
1730
+ public_id: string;
1422
1731
  /**
1423
- * Longitude coordinate
1732
+ * User publicId
1424
1733
  */
1425
- lng?: number;
1426
- };
1427
- type UpdateAssetPropertyDto = {
1734
+ user_id: string;
1428
1735
  /**
1429
- * Property value (can be string, number, or date depending on property type)
1736
+ * User full name
1430
1737
  */
1431
- value: {
1738
+ user_name: {
1432
1739
  [key: string]: unknown;
1433
- };
1740
+ } | null;
1741
+ /**
1742
+ * Period start (Monday)
1743
+ */
1744
+ period_start: string;
1745
+ /**
1746
+ * Period end (Sunday)
1747
+ */
1748
+ period_end: string;
1749
+ /**
1750
+ * draft, submitted, in_approval, approved, rejected, info_required
1751
+ */
1752
+ status: string;
1753
+ /**
1754
+ * Total seconds across all lines
1755
+ */
1756
+ duration: {
1757
+ [key: string]: unknown;
1758
+ } | null;
1759
+ submitted_at: {
1760
+ [key: string]: unknown;
1761
+ } | null;
1762
+ current_approval_level: {
1763
+ [key: string]: unknown;
1764
+ } | null;
1765
+ total_approval_levels: {
1766
+ [key: string]: unknown;
1767
+ } | null;
1768
+ created_at: string;
1769
+ updated_at: string;
1770
+ };
1771
+ type UpdateAssetClassDto = {
1772
+ /**
1773
+ * Asset class name (make)
1774
+ */
1775
+ asset_class?: string;
1776
+ /**
1777
+ * Asset sub-class name (model)
1778
+ */
1779
+ asset_sub_class?: string;
1780
+ /**
1781
+ * BigInt as string. Asset category ID (from config_items table)
1782
+ */
1783
+ asset_category_id?: string;
1784
+ /**
1785
+ * Asset class photo file path
1786
+ */
1787
+ asset_class_photo_file?: string;
1788
+ /**
1789
+ * Asset class photo info (JSON string)
1790
+ */
1791
+ asset_class_photo_info?: string;
1792
+ /**
1793
+ * Whether on-the-fly creation is enabled
1794
+ */
1795
+ on_the_fly_enabled?: boolean;
1796
+ };
1797
+ type UpdateAssetClassPropertyDto = {
1798
+ /**
1799
+ * Property value (string, number, or date depending on the property type defined in config_items).
1800
+ */
1801
+ value: {
1802
+ [key: string]: unknown;
1803
+ };
1804
+ };
1805
+ type UpdateAssetDto = {
1806
+ /**
1807
+ * Asset number
1808
+ */
1809
+ asset_number?: string;
1810
+ /**
1811
+ * Asset class public ID
1812
+ */
1813
+ asset_class?: string;
1814
+ /**
1815
+ * Site public ID
1816
+ */
1817
+ site_id?: string;
1818
+ /**
1819
+ * Asset photo file path or URL
1820
+ */
1821
+ asset_photo_file?: string;
1822
+ /**
1823
+ * Asset photo metadata as JSON string
1824
+ */
1825
+ asset_photo_info?: string;
1826
+ /**
1827
+ * Latitude coordinate
1828
+ */
1829
+ lat?: number;
1830
+ /**
1831
+ * Longitude coordinate
1832
+ */
1833
+ lng?: number;
1834
+ };
1835
+ type UpdateAssetPropertyDto = {
1836
+ /**
1837
+ * Property value (can be string, number, or date depending on property type)
1838
+ */
1839
+ value: {
1840
+ [key: string]: unknown;
1841
+ };
1434
1842
  };
1435
1843
  type UpdateConfigItemDto = {
1436
1844
  /**
@@ -1444,6 +1852,58 @@ type UpdateConfigItemDto = {
1444
1852
  [key: string]: unknown;
1445
1853
  } | null;
1446
1854
  };
1855
+ type UpdateCustomerDto = {
1856
+ /**
1857
+ * Customer name
1858
+ */
1859
+ name?: string;
1860
+ /**
1861
+ * ABN
1862
+ */
1863
+ abn?: {
1864
+ [key: string]: unknown;
1865
+ } | null;
1866
+ /**
1867
+ * Street address
1868
+ */
1869
+ address?: {
1870
+ [key: string]: unknown;
1871
+ } | null;
1872
+ city?: {
1873
+ [key: string]: unknown;
1874
+ } | null;
1875
+ state?: {
1876
+ [key: string]: unknown;
1877
+ } | null;
1878
+ postcode?: {
1879
+ [key: string]: unknown;
1880
+ } | null;
1881
+ country?: {
1882
+ [key: string]: unknown;
1883
+ } | null;
1884
+ phone?: {
1885
+ [key: string]: unknown;
1886
+ } | null;
1887
+ email?: {
1888
+ [key: string]: unknown;
1889
+ } | null;
1890
+ website?: {
1891
+ [key: string]: unknown;
1892
+ } | null;
1893
+ /**
1894
+ * Default payment terms in days
1895
+ */
1896
+ default_payment_terms?: {
1897
+ [key: string]: unknown;
1898
+ } | null;
1899
+ notes?: {
1900
+ [key: string]: unknown;
1901
+ } | null;
1902
+ /**
1903
+ * Status
1904
+ */
1905
+ status?: string;
1906
+ };
1447
1907
  type UpdateDocumentDto = {
1448
1908
  /**
1449
1909
  * Document name
@@ -1476,6 +1936,30 @@ type UpdateDocumentDto = {
1476
1936
  */
1477
1937
  attachment_file?: string;
1478
1938
  };
1939
+ type UpdateGroupDto = {
1940
+ /**
1941
+ * Group name
1942
+ */
1943
+ name?: string;
1944
+ /**
1945
+ * Site publicId (UUID), or null to make the group company-wide
1946
+ */
1947
+ site_id?: {
1948
+ [key: string]: unknown;
1949
+ } | null;
1950
+ /**
1951
+ * Auto-include all users
1952
+ */
1953
+ include_all_users?: boolean;
1954
+ /**
1955
+ * Auto-include all assets
1956
+ */
1957
+ include_all_assets?: boolean;
1958
+ /**
1959
+ * Auto-include all checklists
1960
+ */
1961
+ include_all_checklists?: boolean;
1962
+ };
1479
1963
  type UpdateIssueDto = {
1480
1964
  /**
1481
1965
  * Issue title
@@ -1572,6 +2056,42 @@ type UpdateUserPropertyDto = {
1572
2056
  [key: string]: unknown;
1573
2057
  };
1574
2058
  };
2059
+ type UpdateZoneDto = {
2060
+ /**
2061
+ * Zone name
2062
+ */
2063
+ name?: string;
2064
+ /**
2065
+ * Parent zone publicId (UUID), or null to make it top-level
2066
+ */
2067
+ parent_zone_id?: {
2068
+ [key: string]: unknown;
2069
+ } | null;
2070
+ /**
2071
+ * Description
2072
+ */
2073
+ description?: {
2074
+ [key: string]: unknown;
2075
+ } | null;
2076
+ /**
2077
+ * Latitude
2078
+ */
2079
+ lat?: {
2080
+ [key: string]: unknown;
2081
+ } | null;
2082
+ /**
2083
+ * Longitude
2084
+ */
2085
+ lng?: {
2086
+ [key: string]: unknown;
2087
+ } | null;
2088
+ /**
2089
+ * GeoJSON polygon (object), or null to clear
2090
+ */
2091
+ boundary?: {
2092
+ [key: string]: unknown;
2093
+ } | null;
2094
+ };
1575
2095
  type UserPropertyResponseDto = {
1576
2096
  /**
1577
2097
  * User property ID. Serialized as a string in public API responses (BigInt-safe).
@@ -1714,6 +2234,43 @@ type UserResponseDto = {
1714
2234
  */
1715
2235
  user_properties: Array<EmbeddedUserPropertyDto>;
1716
2236
  };
2237
+ type ZoneResponseDto = {
2238
+ public_id: string;
2239
+ /**
2240
+ * Site publicId
2241
+ */
2242
+ site_id: string;
2243
+ /**
2244
+ * Site name
2245
+ */
2246
+ site_name: {
2247
+ [key: string]: unknown;
2248
+ } | null;
2249
+ /**
2250
+ * Parent zone publicId, or null for a top-level zone
2251
+ */
2252
+ parent_zone_id: {
2253
+ [key: string]: unknown;
2254
+ } | null;
2255
+ name: string;
2256
+ description: {
2257
+ [key: string]: unknown;
2258
+ } | null;
2259
+ lat: {
2260
+ [key: string]: unknown;
2261
+ } | null;
2262
+ lng: {
2263
+ [key: string]: unknown;
2264
+ } | null;
2265
+ /**
2266
+ * GeoJSON polygon boundary
2267
+ */
2268
+ boundary: {
2269
+ [key: string]: unknown;
2270
+ } | null;
2271
+ created_at: string;
2272
+ updated_at: string;
2273
+ };
1717
2274
  type AssetControllerCreateAssetPublicData = {
1718
2275
  /**
1719
2276
  * Asset creation data with entity public IDs
@@ -5390,12 +5947,992 @@ type ProjectDocumentControllerCreateErrors = {
5390
5947
  */
5391
5948
  500: ApiErrorResponse;
5392
5949
  };
5393
- type ProjectDocumentControllerCreateError = ProjectDocumentControllerCreateErrors[keyof ProjectDocumentControllerCreateErrors];
5394
- type ProjectDocumentControllerCreateResponses = {
5395
- 201: DocumentResponseDto;
5950
+ type ProjectDocumentControllerCreateError = ProjectDocumentControllerCreateErrors[keyof ProjectDocumentControllerCreateErrors];
5951
+ type ProjectDocumentControllerCreateResponses = {
5952
+ 201: DocumentResponseDto;
5953
+ };
5954
+ type ProjectDocumentControllerCreateResponse = ProjectDocumentControllerCreateResponses[keyof ProjectDocumentControllerCreateResponses];
5955
+ type JobDocumentControllerListData = {
5956
+ body?: never;
5957
+ path?: never;
5958
+ query?: {
5959
+ /**
5960
+ * Results per page
5961
+ */
5962
+ per_page?: number;
5963
+ /**
5964
+ * Page number
5965
+ */
5966
+ page?: number;
5967
+ direction?: 'asc' | 'desc';
5968
+ /**
5969
+ * Sort field: name, issued_on, expires_on, created_at, updated_at, id (default updated_at)
5970
+ */
5971
+ sort?: string;
5972
+ /**
5973
+ * Filter to one parent by its publicId (UUID)
5974
+ */
5975
+ parent_id?: string;
5976
+ /**
5977
+ * Filter by document type id (numeric string)
5978
+ */
5979
+ document_type_id?: string;
5980
+ /**
5981
+ * Filter by name (case-insensitive partial)
5982
+ */
5983
+ name?: string;
5984
+ /**
5985
+ * Filter: expires_on >= (ISO date)
5986
+ */
5987
+ expires_on_from?: string;
5988
+ /**
5989
+ * Filter: expires_on <= (ISO date)
5990
+ */
5991
+ expires_on_to?: string;
5992
+ /**
5993
+ * Filter: updated_at >= (ISO) — incremental sync watermark
5994
+ */
5995
+ document_date_updated_from?: string;
5996
+ /**
5997
+ * Filter: updated_at <= (ISO)
5998
+ */
5999
+ document_date_updated_to?: string;
6000
+ };
6001
+ url: '/job-document/list';
6002
+ };
6003
+ type JobDocumentControllerListErrors = {
6004
+ /**
6005
+ * 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`.
6006
+ */
6007
+ 400: ApiErrorResponse;
6008
+ /**
6009
+ * 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.
6010
+ */
6011
+ 401: ApiErrorResponse;
6012
+ /**
6013
+ * 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).
6014
+ */
6015
+ 403: ApiErrorResponse;
6016
+ /**
6017
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6018
+ */
6019
+ 429: ApiErrorResponse;
6020
+ /**
6021
+ * 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.
6022
+ */
6023
+ 500: ApiErrorResponse;
6024
+ };
6025
+ type JobDocumentControllerListError = JobDocumentControllerListErrors[keyof JobDocumentControllerListErrors];
6026
+ type JobDocumentControllerListResponses = {
6027
+ 200: ListDocumentsResponseDto;
6028
+ };
6029
+ type JobDocumentControllerListResponse = JobDocumentControllerListResponses[keyof JobDocumentControllerListResponses];
6030
+ type JobDocumentControllerRemoveData = {
6031
+ body?: never;
6032
+ path: {
6033
+ /**
6034
+ * Document ID (numeric string)
6035
+ */
6036
+ id: string;
6037
+ };
6038
+ query?: never;
6039
+ url: '/job-document/{id}';
6040
+ };
6041
+ type JobDocumentControllerRemoveErrors = {
6042
+ /**
6043
+ * 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`.
6044
+ */
6045
+ 400: ApiErrorResponse;
6046
+ /**
6047
+ * 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.
6048
+ */
6049
+ 401: ApiErrorResponse;
6050
+ /**
6051
+ * 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).
6052
+ */
6053
+ 403: ApiErrorResponse;
6054
+ /**
6055
+ * 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.
6056
+ */
6057
+ 404: ApiErrorResponse;
6058
+ /**
6059
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6060
+ */
6061
+ 429: ApiErrorResponse;
6062
+ /**
6063
+ * 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.
6064
+ */
6065
+ 500: ApiErrorResponse;
6066
+ };
6067
+ type JobDocumentControllerRemoveError = JobDocumentControllerRemoveErrors[keyof JobDocumentControllerRemoveErrors];
6068
+ type JobDocumentControllerRemoveResponses = {
6069
+ 200: DeleteDocumentResponseDto;
6070
+ };
6071
+ type JobDocumentControllerRemoveResponse = JobDocumentControllerRemoveResponses[keyof JobDocumentControllerRemoveResponses];
6072
+ type JobDocumentControllerGetData = {
6073
+ body?: never;
6074
+ path: {
6075
+ /**
6076
+ * Document ID (numeric string)
6077
+ */
6078
+ id: string;
6079
+ };
6080
+ query?: never;
6081
+ url: '/job-document/{id}';
6082
+ };
6083
+ type JobDocumentControllerGetErrors = {
6084
+ /**
6085
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6086
+ */
6087
+ 400: ApiErrorResponse;
6088
+ /**
6089
+ * 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.
6090
+ */
6091
+ 401: ApiErrorResponse;
6092
+ /**
6093
+ * 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).
6094
+ */
6095
+ 403: ApiErrorResponse;
6096
+ /**
6097
+ * 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.
6098
+ */
6099
+ 404: ApiErrorResponse;
6100
+ /**
6101
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6102
+ */
6103
+ 429: ApiErrorResponse;
6104
+ /**
6105
+ * 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.
6106
+ */
6107
+ 500: ApiErrorResponse;
6108
+ };
6109
+ type JobDocumentControllerGetError = JobDocumentControllerGetErrors[keyof JobDocumentControllerGetErrors];
6110
+ type JobDocumentControllerGetResponses = {
6111
+ 200: DocumentResponseDto;
6112
+ };
6113
+ type JobDocumentControllerGetResponse = JobDocumentControllerGetResponses[keyof JobDocumentControllerGetResponses];
6114
+ type JobDocumentControllerUpdateData = {
6115
+ body: UpdateDocumentDto;
6116
+ headers?: {
6117
+ /**
6118
+ * 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.
6119
+ */
6120
+ 'Idempotency-Key'?: string;
6121
+ };
6122
+ path: {
6123
+ /**
6124
+ * Document ID (numeric string)
6125
+ */
6126
+ id: string;
6127
+ };
6128
+ query?: never;
6129
+ url: '/job-document/{id}';
6130
+ };
6131
+ type JobDocumentControllerUpdateErrors = {
6132
+ /**
6133
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6134
+ */
6135
+ 400: ApiErrorResponse;
6136
+ /**
6137
+ * 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.
6138
+ */
6139
+ 401: ApiErrorResponse;
6140
+ /**
6141
+ * 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).
6142
+ */
6143
+ 403: ApiErrorResponse;
6144
+ /**
6145
+ * 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.
6146
+ */
6147
+ 404: ApiErrorResponse;
6148
+ /**
6149
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6150
+ */
6151
+ 429: ApiErrorResponse;
6152
+ /**
6153
+ * 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.
6154
+ */
6155
+ 500: ApiErrorResponse;
6156
+ };
6157
+ type JobDocumentControllerUpdateError = JobDocumentControllerUpdateErrors[keyof JobDocumentControllerUpdateErrors];
6158
+ type JobDocumentControllerUpdateResponses = {
6159
+ 200: DocumentResponseDto;
6160
+ };
6161
+ type JobDocumentControllerUpdateResponse = JobDocumentControllerUpdateResponses[keyof JobDocumentControllerUpdateResponses];
6162
+ type JobDocumentControllerCreateData = {
6163
+ body: CreateDocumentDto;
6164
+ headers?: {
6165
+ /**
6166
+ * 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.
6167
+ */
6168
+ 'Idempotency-Key'?: string;
6169
+ };
6170
+ path?: never;
6171
+ query?: never;
6172
+ url: '/job-document';
6173
+ };
6174
+ type JobDocumentControllerCreateErrors = {
6175
+ /**
6176
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6177
+ */
6178
+ 400: ApiErrorResponse;
6179
+ /**
6180
+ * 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.
6181
+ */
6182
+ 401: ApiErrorResponse;
6183
+ /**
6184
+ * 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).
6185
+ */
6186
+ 403: ApiErrorResponse;
6187
+ /**
6188
+ * 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.
6189
+ */
6190
+ 404: ApiErrorResponse;
6191
+ /**
6192
+ * 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`).
6193
+ */
6194
+ 409: ApiErrorResponse;
6195
+ /**
6196
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6197
+ */
6198
+ 429: ApiErrorResponse;
6199
+ /**
6200
+ * 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.
6201
+ */
6202
+ 500: ApiErrorResponse;
6203
+ };
6204
+ type JobDocumentControllerCreateError = JobDocumentControllerCreateErrors[keyof JobDocumentControllerCreateErrors];
6205
+ type JobDocumentControllerCreateResponses = {
6206
+ 201: DocumentResponseDto;
6207
+ };
6208
+ type JobDocumentControllerCreateResponse = JobDocumentControllerCreateResponses[keyof JobDocumentControllerCreateResponses];
6209
+ type CompanyDocumentControllerListData = {
6210
+ body?: never;
6211
+ path?: never;
6212
+ query?: {
6213
+ /**
6214
+ * Results per page
6215
+ */
6216
+ per_page?: number;
6217
+ /**
6218
+ * Page number
6219
+ */
6220
+ page?: number;
6221
+ direction?: 'asc' | 'desc';
6222
+ /**
6223
+ * Sort field: name, issued_on, expires_on, created_at, updated_at, id (default updated_at)
6224
+ */
6225
+ sort?: string;
6226
+ /**
6227
+ * Filter to one parent by its publicId (UUID)
6228
+ */
6229
+ parent_id?: string;
6230
+ /**
6231
+ * Filter by document type id (numeric string)
6232
+ */
6233
+ document_type_id?: string;
6234
+ /**
6235
+ * Filter by name (case-insensitive partial)
6236
+ */
6237
+ name?: string;
6238
+ /**
6239
+ * Filter: expires_on >= (ISO date)
6240
+ */
6241
+ expires_on_from?: string;
6242
+ /**
6243
+ * Filter: expires_on <= (ISO date)
6244
+ */
6245
+ expires_on_to?: string;
6246
+ /**
6247
+ * Filter: updated_at >= (ISO) — incremental sync watermark
6248
+ */
6249
+ document_date_updated_from?: string;
6250
+ /**
6251
+ * Filter: updated_at <= (ISO)
6252
+ */
6253
+ document_date_updated_to?: string;
6254
+ };
6255
+ url: '/company-document/list';
6256
+ };
6257
+ type CompanyDocumentControllerListErrors = {
6258
+ /**
6259
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6260
+ */
6261
+ 400: ApiErrorResponse;
6262
+ /**
6263
+ * 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.
6264
+ */
6265
+ 401: ApiErrorResponse;
6266
+ /**
6267
+ * 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).
6268
+ */
6269
+ 403: ApiErrorResponse;
6270
+ /**
6271
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6272
+ */
6273
+ 429: ApiErrorResponse;
6274
+ /**
6275
+ * 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.
6276
+ */
6277
+ 500: ApiErrorResponse;
6278
+ };
6279
+ type CompanyDocumentControllerListError = CompanyDocumentControllerListErrors[keyof CompanyDocumentControllerListErrors];
6280
+ type CompanyDocumentControllerListResponses = {
6281
+ 200: ListDocumentsResponseDto;
6282
+ };
6283
+ type CompanyDocumentControllerListResponse = CompanyDocumentControllerListResponses[keyof CompanyDocumentControllerListResponses];
6284
+ type CompanyDocumentControllerRemoveData = {
6285
+ body?: never;
6286
+ path: {
6287
+ /**
6288
+ * Document ID (numeric string)
6289
+ */
6290
+ id: string;
6291
+ };
6292
+ query?: never;
6293
+ url: '/company-document/{id}';
6294
+ };
6295
+ type CompanyDocumentControllerRemoveErrors = {
6296
+ /**
6297
+ * 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`.
6298
+ */
6299
+ 400: ApiErrorResponse;
6300
+ /**
6301
+ * The Bearer token is missing, malformed, or no longer valid. Verify the `Authorization` header is set to `Bearer wk_…` and that the key has not been revoked or rotated out.
6302
+ */
6303
+ 401: ApiErrorResponse;
6304
+ /**
6305
+ * 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).
6306
+ */
6307
+ 403: ApiErrorResponse;
6308
+ /**
6309
+ * 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.
6310
+ */
6311
+ 404: ApiErrorResponse;
6312
+ /**
6313
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6314
+ */
6315
+ 429: ApiErrorResponse;
6316
+ /**
6317
+ * 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.
6318
+ */
6319
+ 500: ApiErrorResponse;
6320
+ };
6321
+ type CompanyDocumentControllerRemoveError = CompanyDocumentControllerRemoveErrors[keyof CompanyDocumentControllerRemoveErrors];
6322
+ type CompanyDocumentControllerRemoveResponses = {
6323
+ 200: DeleteDocumentResponseDto;
6324
+ };
6325
+ type CompanyDocumentControllerRemoveResponse = CompanyDocumentControllerRemoveResponses[keyof CompanyDocumentControllerRemoveResponses];
6326
+ type CompanyDocumentControllerGetData = {
6327
+ body?: never;
6328
+ path: {
6329
+ /**
6330
+ * Document ID (numeric string)
6331
+ */
6332
+ id: string;
6333
+ };
6334
+ query?: never;
6335
+ url: '/company-document/{id}';
6336
+ };
6337
+ type CompanyDocumentControllerGetErrors = {
6338
+ /**
6339
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6340
+ */
6341
+ 400: ApiErrorResponse;
6342
+ /**
6343
+ * 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.
6344
+ */
6345
+ 401: ApiErrorResponse;
6346
+ /**
6347
+ * 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).
6348
+ */
6349
+ 403: ApiErrorResponse;
6350
+ /**
6351
+ * 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.
6352
+ */
6353
+ 404: ApiErrorResponse;
6354
+ /**
6355
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6356
+ */
6357
+ 429: ApiErrorResponse;
6358
+ /**
6359
+ * 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.
6360
+ */
6361
+ 500: ApiErrorResponse;
6362
+ };
6363
+ type CompanyDocumentControllerGetError = CompanyDocumentControllerGetErrors[keyof CompanyDocumentControllerGetErrors];
6364
+ type CompanyDocumentControllerGetResponses = {
6365
+ 200: DocumentResponseDto;
6366
+ };
6367
+ type CompanyDocumentControllerGetResponse = CompanyDocumentControllerGetResponses[keyof CompanyDocumentControllerGetResponses];
6368
+ type CompanyDocumentControllerUpdateData = {
6369
+ body: UpdateDocumentDto;
6370
+ headers?: {
6371
+ /**
6372
+ * 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.
6373
+ */
6374
+ 'Idempotency-Key'?: string;
6375
+ };
6376
+ path: {
6377
+ /**
6378
+ * Document ID (numeric string)
6379
+ */
6380
+ id: string;
6381
+ };
6382
+ query?: never;
6383
+ url: '/company-document/{id}';
6384
+ };
6385
+ type CompanyDocumentControllerUpdateErrors = {
6386
+ /**
6387
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6388
+ */
6389
+ 400: ApiErrorResponse;
6390
+ /**
6391
+ * 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.
6392
+ */
6393
+ 401: ApiErrorResponse;
6394
+ /**
6395
+ * 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).
6396
+ */
6397
+ 403: ApiErrorResponse;
6398
+ /**
6399
+ * 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.
6400
+ */
6401
+ 404: ApiErrorResponse;
6402
+ /**
6403
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6404
+ */
6405
+ 429: ApiErrorResponse;
6406
+ /**
6407
+ * 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.
6408
+ */
6409
+ 500: ApiErrorResponse;
6410
+ };
6411
+ type CompanyDocumentControllerUpdateError = CompanyDocumentControllerUpdateErrors[keyof CompanyDocumentControllerUpdateErrors];
6412
+ type CompanyDocumentControllerUpdateResponses = {
6413
+ 200: DocumentResponseDto;
6414
+ };
6415
+ type CompanyDocumentControllerUpdateResponse = CompanyDocumentControllerUpdateResponses[keyof CompanyDocumentControllerUpdateResponses];
6416
+ type CompanyDocumentControllerCreateData = {
6417
+ body: CreateDocumentDto;
6418
+ headers?: {
6419
+ /**
6420
+ * 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.
6421
+ */
6422
+ 'Idempotency-Key'?: string;
6423
+ };
6424
+ path?: never;
6425
+ query?: never;
6426
+ url: '/company-document';
6427
+ };
6428
+ type CompanyDocumentControllerCreateErrors = {
6429
+ /**
6430
+ * Validation failed or the request was malformed. The response body will use `code: validation_error` (with `details[]` populated when the failure can be pinpointed to specific fields) or the more generic `code: bad_request`.
6431
+ */
6432
+ 400: ApiErrorResponse;
6433
+ /**
6434
+ * 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.
6435
+ */
6436
+ 401: ApiErrorResponse;
6437
+ /**
6438
+ * 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).
6439
+ */
6440
+ 403: ApiErrorResponse;
6441
+ /**
6442
+ * No resource was found at the requested location, or a referenced resource (`publicId` in the body) doesn't exist or is not visible to the calling company.
6443
+ */
6444
+ 404: ApiErrorResponse;
6445
+ /**
6446
+ * The request conflicts with current state. Common cases: a unique business identifier already exists (`conflict`), or an `Idempotency-Key` was reused with a different request body (`idempotency_key_conflict`).
6447
+ */
6448
+ 409: ApiErrorResponse;
6449
+ /**
6450
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6451
+ */
6452
+ 429: ApiErrorResponse;
6453
+ /**
6454
+ * 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.
6455
+ */
6456
+ 500: ApiErrorResponse;
6457
+ };
6458
+ type CompanyDocumentControllerCreateError = CompanyDocumentControllerCreateErrors[keyof CompanyDocumentControllerCreateErrors];
6459
+ type CompanyDocumentControllerCreateResponses = {
6460
+ 201: DocumentResponseDto;
6461
+ };
6462
+ type CompanyDocumentControllerCreateResponse = CompanyDocumentControllerCreateResponses[keyof CompanyDocumentControllerCreateResponses];
6463
+ type CustomerControllerListData = {
6464
+ body?: never;
6465
+ path?: never;
6466
+ query?: {
6467
+ /**
6468
+ * Results per page
6469
+ */
6470
+ per_page?: number;
6471
+ /**
6472
+ * Page number
6473
+ */
6474
+ page?: number;
6475
+ direction?: 'asc' | 'desc';
6476
+ /**
6477
+ * Sort field: name, status, created_at, updated_at, id (default updated_at)
6478
+ */
6479
+ sort?: string;
6480
+ /**
6481
+ * Filter by name (case-insensitive partial)
6482
+ */
6483
+ name?: string;
6484
+ /**
6485
+ * Filter by status (e.g. active, inactive)
6486
+ */
6487
+ status?: string;
6488
+ /**
6489
+ * Filter: updated_at >= (ISO) — incremental sync watermark
6490
+ */
6491
+ customer_date_updated_from?: string;
6492
+ /**
6493
+ * Filter: updated_at <= (ISO)
6494
+ */
6495
+ customer_date_updated_to?: string;
6496
+ };
6497
+ url: '/customer/list';
6498
+ };
6499
+ type CustomerControllerListErrors = {
6500
+ /**
6501
+ * 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`.
6502
+ */
6503
+ 400: ApiErrorResponse;
6504
+ /**
6505
+ * 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.
6506
+ */
6507
+ 401: ApiErrorResponse;
6508
+ /**
6509
+ * 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).
6510
+ */
6511
+ 403: ApiErrorResponse;
6512
+ /**
6513
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6514
+ */
6515
+ 429: ApiErrorResponse;
6516
+ /**
6517
+ * 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.
6518
+ */
6519
+ 500: ApiErrorResponse;
6520
+ };
6521
+ type CustomerControllerListError = CustomerControllerListErrors[keyof CustomerControllerListErrors];
6522
+ type CustomerControllerListResponses = {
6523
+ 200: ListCustomersResponseDto;
6524
+ };
6525
+ type CustomerControllerListResponse = CustomerControllerListResponses[keyof CustomerControllerListResponses];
6526
+ type CustomerControllerDeleteData = {
6527
+ body?: never;
6528
+ path: {
6529
+ /**
6530
+ * Customer public ID
6531
+ */
6532
+ id: string;
6533
+ };
6534
+ query?: never;
6535
+ url: '/customer/{id}';
6536
+ };
6537
+ type CustomerControllerDeleteErrors = {
6538
+ /**
6539
+ * 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.
6540
+ */
6541
+ 401: ApiErrorResponse;
6542
+ /**
6543
+ * 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).
6544
+ */
6545
+ 403: ApiErrorResponse;
6546
+ /**
6547
+ * 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.
6548
+ */
6549
+ 404: ApiErrorResponse;
6550
+ /**
6551
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6552
+ */
6553
+ 429: ApiErrorResponse;
6554
+ /**
6555
+ * 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.
6556
+ */
6557
+ 500: ApiErrorResponse;
6558
+ };
6559
+ type CustomerControllerDeleteError = CustomerControllerDeleteErrors[keyof CustomerControllerDeleteErrors];
6560
+ type CustomerControllerDeleteResponses = {
6561
+ 200: DeleteCustomerResponseDto;
6562
+ };
6563
+ type CustomerControllerDeleteResponse = CustomerControllerDeleteResponses[keyof CustomerControllerDeleteResponses];
6564
+ type CustomerControllerGetData = {
6565
+ body?: never;
6566
+ path: {
6567
+ /**
6568
+ * Customer public ID
6569
+ */
6570
+ id: string;
6571
+ };
6572
+ query?: never;
6573
+ url: '/customer/{id}';
6574
+ };
6575
+ type CustomerControllerGetErrors = {
6576
+ /**
6577
+ * 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.
6578
+ */
6579
+ 401: ApiErrorResponse;
6580
+ /**
6581
+ * 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).
6582
+ */
6583
+ 403: ApiErrorResponse;
6584
+ /**
6585
+ * 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.
6586
+ */
6587
+ 404: ApiErrorResponse;
6588
+ /**
6589
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6590
+ */
6591
+ 429: ApiErrorResponse;
6592
+ /**
6593
+ * 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.
6594
+ */
6595
+ 500: ApiErrorResponse;
6596
+ };
6597
+ type CustomerControllerGetError = CustomerControllerGetErrors[keyof CustomerControllerGetErrors];
6598
+ type CustomerControllerGetResponses = {
6599
+ 200: CustomerResponseDto;
6600
+ };
6601
+ type CustomerControllerGetResponse = CustomerControllerGetResponses[keyof CustomerControllerGetResponses];
6602
+ type CustomerControllerUpdateData = {
6603
+ body: UpdateCustomerDto;
6604
+ headers?: {
6605
+ /**
6606
+ * 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.
6607
+ */
6608
+ 'Idempotency-Key'?: string;
6609
+ };
6610
+ path: {
6611
+ /**
6612
+ * Customer public ID
6613
+ */
6614
+ id: string;
6615
+ };
6616
+ query?: never;
6617
+ url: '/customer/{id}';
6618
+ };
6619
+ type CustomerControllerUpdateErrors = {
6620
+ /**
6621
+ * 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`.
6622
+ */
6623
+ 400: ApiErrorResponse;
6624
+ /**
6625
+ * 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.
6626
+ */
6627
+ 401: ApiErrorResponse;
6628
+ /**
6629
+ * 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).
6630
+ */
6631
+ 403: ApiErrorResponse;
6632
+ /**
6633
+ * 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.
6634
+ */
6635
+ 404: ApiErrorResponse;
6636
+ /**
6637
+ * 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`).
6638
+ */
6639
+ 409: ApiErrorResponse;
6640
+ /**
6641
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6642
+ */
6643
+ 429: ApiErrorResponse;
6644
+ /**
6645
+ * 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.
6646
+ */
6647
+ 500: ApiErrorResponse;
6648
+ };
6649
+ type CustomerControllerUpdateError = CustomerControllerUpdateErrors[keyof CustomerControllerUpdateErrors];
6650
+ type CustomerControllerUpdateResponses = {
6651
+ 200: CustomerResponseDto;
6652
+ };
6653
+ type CustomerControllerUpdateResponse = CustomerControllerUpdateResponses[keyof CustomerControllerUpdateResponses];
6654
+ type CustomerControllerCreateData = {
6655
+ body: CreateCustomerDto;
6656
+ headers?: {
6657
+ /**
6658
+ * 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.
6659
+ */
6660
+ 'Idempotency-Key'?: string;
6661
+ };
6662
+ path?: never;
6663
+ query?: never;
6664
+ url: '/customer';
6665
+ };
6666
+ type CustomerControllerCreateErrors = {
6667
+ /**
6668
+ * 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`.
6669
+ */
6670
+ 400: ApiErrorResponse;
6671
+ /**
6672
+ * 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.
6673
+ */
6674
+ 401: ApiErrorResponse;
6675
+ /**
6676
+ * 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).
6677
+ */
6678
+ 403: ApiErrorResponse;
6679
+ /**
6680
+ * 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`).
6681
+ */
6682
+ 409: ApiErrorResponse;
6683
+ /**
6684
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6685
+ */
6686
+ 429: ApiErrorResponse;
6687
+ /**
6688
+ * 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.
6689
+ */
6690
+ 500: ApiErrorResponse;
6691
+ };
6692
+ type CustomerControllerCreateError = CustomerControllerCreateErrors[keyof CustomerControllerCreateErrors];
6693
+ type CustomerControllerCreateResponses = {
6694
+ 201: CustomerResponseDto;
6695
+ };
6696
+ type CustomerControllerCreateResponse = CustomerControllerCreateResponses[keyof CustomerControllerCreateResponses];
6697
+ type ZoneControllerListData = {
6698
+ body?: never;
6699
+ path?: never;
6700
+ query?: {
6701
+ /**
6702
+ * Results per page
6703
+ */
6704
+ per_page?: number;
6705
+ /**
6706
+ * Page number
6707
+ */
6708
+ page?: number;
6709
+ direction?: 'asc' | 'desc';
6710
+ /**
6711
+ * Sort field: name, created_at, updated_at, id (default updated_at)
6712
+ */
6713
+ sort?: string;
6714
+ /**
6715
+ * Filter to one site by its publicId (UUID)
6716
+ */
6717
+ site_id?: string;
6718
+ /**
6719
+ * Filter by name (case-insensitive partial)
6720
+ */
6721
+ name?: string;
6722
+ /**
6723
+ * Filter: updated_at >= (ISO) — incremental sync watermark
6724
+ */
6725
+ zone_date_updated_from?: string;
6726
+ /**
6727
+ * Filter: updated_at <= (ISO)
6728
+ */
6729
+ zone_date_updated_to?: string;
6730
+ };
6731
+ url: '/zone/list';
6732
+ };
6733
+ type ZoneControllerListErrors = {
6734
+ /**
6735
+ * 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`.
6736
+ */
6737
+ 400: ApiErrorResponse;
6738
+ /**
6739
+ * 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.
6740
+ */
6741
+ 401: ApiErrorResponse;
6742
+ /**
6743
+ * 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).
6744
+ */
6745
+ 403: ApiErrorResponse;
6746
+ /**
6747
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6748
+ */
6749
+ 429: ApiErrorResponse;
6750
+ /**
6751
+ * 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.
6752
+ */
6753
+ 500: ApiErrorResponse;
6754
+ };
6755
+ type ZoneControllerListError = ZoneControllerListErrors[keyof ZoneControllerListErrors];
6756
+ type ZoneControllerListResponses = {
6757
+ 200: ListZonesResponseDto;
6758
+ };
6759
+ type ZoneControllerListResponse = ZoneControllerListResponses[keyof ZoneControllerListResponses];
6760
+ type ZoneControllerDeleteData = {
6761
+ body?: never;
6762
+ path: {
6763
+ /**
6764
+ * Zone public ID
6765
+ */
6766
+ id: string;
6767
+ };
6768
+ query?: never;
6769
+ url: '/zone/{id}';
6770
+ };
6771
+ type ZoneControllerDeleteErrors = {
6772
+ /**
6773
+ * 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.
6774
+ */
6775
+ 401: ApiErrorResponse;
6776
+ /**
6777
+ * 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).
6778
+ */
6779
+ 403: ApiErrorResponse;
6780
+ /**
6781
+ * 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.
6782
+ */
6783
+ 404: ApiErrorResponse;
6784
+ /**
6785
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6786
+ */
6787
+ 429: ApiErrorResponse;
6788
+ /**
6789
+ * 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.
6790
+ */
6791
+ 500: ApiErrorResponse;
6792
+ };
6793
+ type ZoneControllerDeleteError = ZoneControllerDeleteErrors[keyof ZoneControllerDeleteErrors];
6794
+ type ZoneControllerDeleteResponses = {
6795
+ 200: DeleteZoneResponseDto;
6796
+ };
6797
+ type ZoneControllerDeleteResponse = ZoneControllerDeleteResponses[keyof ZoneControllerDeleteResponses];
6798
+ type ZoneControllerGetData = {
6799
+ body?: never;
6800
+ path: {
6801
+ /**
6802
+ * Zone public ID
6803
+ */
6804
+ id: string;
6805
+ };
6806
+ query?: never;
6807
+ url: '/zone/{id}';
6808
+ };
6809
+ type ZoneControllerGetErrors = {
6810
+ /**
6811
+ * 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.
6812
+ */
6813
+ 401: ApiErrorResponse;
6814
+ /**
6815
+ * 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).
6816
+ */
6817
+ 403: ApiErrorResponse;
6818
+ /**
6819
+ * 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.
6820
+ */
6821
+ 404: ApiErrorResponse;
6822
+ /**
6823
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6824
+ */
6825
+ 429: ApiErrorResponse;
6826
+ /**
6827
+ * 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.
6828
+ */
6829
+ 500: ApiErrorResponse;
6830
+ };
6831
+ type ZoneControllerGetError = ZoneControllerGetErrors[keyof ZoneControllerGetErrors];
6832
+ type ZoneControllerGetResponses = {
6833
+ 200: ZoneResponseDto;
6834
+ };
6835
+ type ZoneControllerGetResponse = ZoneControllerGetResponses[keyof ZoneControllerGetResponses];
6836
+ type ZoneControllerUpdateData = {
6837
+ body: UpdateZoneDto;
6838
+ headers?: {
6839
+ /**
6840
+ * 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.
6841
+ */
6842
+ 'Idempotency-Key'?: string;
6843
+ };
6844
+ path: {
6845
+ /**
6846
+ * Zone public ID
6847
+ */
6848
+ id: string;
6849
+ };
6850
+ query?: never;
6851
+ url: '/zone/{id}';
6852
+ };
6853
+ type ZoneControllerUpdateErrors = {
6854
+ /**
6855
+ * 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`.
6856
+ */
6857
+ 400: ApiErrorResponse;
6858
+ /**
6859
+ * 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.
6860
+ */
6861
+ 401: ApiErrorResponse;
6862
+ /**
6863
+ * 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).
6864
+ */
6865
+ 403: ApiErrorResponse;
6866
+ /**
6867
+ * 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.
6868
+ */
6869
+ 404: ApiErrorResponse;
6870
+ /**
6871
+ * 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`).
6872
+ */
6873
+ 409: ApiErrorResponse;
6874
+ /**
6875
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6876
+ */
6877
+ 429: ApiErrorResponse;
6878
+ /**
6879
+ * 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.
6880
+ */
6881
+ 500: ApiErrorResponse;
6882
+ };
6883
+ type ZoneControllerUpdateError = ZoneControllerUpdateErrors[keyof ZoneControllerUpdateErrors];
6884
+ type ZoneControllerUpdateResponses = {
6885
+ 200: ZoneResponseDto;
6886
+ };
6887
+ type ZoneControllerUpdateResponse = ZoneControllerUpdateResponses[keyof ZoneControllerUpdateResponses];
6888
+ type ZoneControllerCreateData = {
6889
+ body: CreateZoneDto;
6890
+ headers?: {
6891
+ /**
6892
+ * 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.
6893
+ */
6894
+ 'Idempotency-Key'?: string;
6895
+ };
6896
+ path?: never;
6897
+ query?: never;
6898
+ url: '/zone';
6899
+ };
6900
+ type ZoneControllerCreateErrors = {
6901
+ /**
6902
+ * 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`.
6903
+ */
6904
+ 400: ApiErrorResponse;
6905
+ /**
6906
+ * 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.
6907
+ */
6908
+ 401: ApiErrorResponse;
6909
+ /**
6910
+ * 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).
6911
+ */
6912
+ 403: ApiErrorResponse;
6913
+ /**
6914
+ * 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.
6915
+ */
6916
+ 404: ApiErrorResponse;
6917
+ /**
6918
+ * 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`).
6919
+ */
6920
+ 409: ApiErrorResponse;
6921
+ /**
6922
+ * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
6923
+ */
6924
+ 429: ApiErrorResponse;
6925
+ /**
6926
+ * 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.
6927
+ */
6928
+ 500: ApiErrorResponse;
6929
+ };
6930
+ type ZoneControllerCreateError = ZoneControllerCreateErrors[keyof ZoneControllerCreateErrors];
6931
+ type ZoneControllerCreateResponses = {
6932
+ 201: ZoneResponseDto;
5396
6933
  };
5397
- type ProjectDocumentControllerCreateResponse = ProjectDocumentControllerCreateResponses[keyof ProjectDocumentControllerCreateResponses];
5398
- type JobDocumentControllerListData = {
6934
+ type ZoneControllerCreateResponse = ZoneControllerCreateResponses[keyof ZoneControllerCreateResponses];
6935
+ type GroupControllerListData = {
5399
6936
  body?: never;
5400
6937
  path?: never;
5401
6938
  query?: {
@@ -5409,41 +6946,29 @@ type JobDocumentControllerListData = {
5409
6946
  page?: number;
5410
6947
  direction?: 'asc' | 'desc';
5411
6948
  /**
5412
- * Sort field: name, issued_on, expires_on, created_at, updated_at, id (default updated_at)
6949
+ * Sort field: name, created_at, updated_at, id (default updated_at)
5413
6950
  */
5414
6951
  sort?: string;
5415
6952
  /**
5416
- * Filter to one parent by its publicId (UUID)
5417
- */
5418
- parent_id?: string;
5419
- /**
5420
- * Filter by document type id (numeric string)
6953
+ * Filter to one site by its publicId (UUID)
5421
6954
  */
5422
- document_type_id?: string;
6955
+ site_id?: string;
5423
6956
  /**
5424
6957
  * Filter by name (case-insensitive partial)
5425
6958
  */
5426
6959
  name?: string;
5427
- /**
5428
- * Filter: expires_on >= (ISO date)
5429
- */
5430
- expires_on_from?: string;
5431
- /**
5432
- * Filter: expires_on <= (ISO date)
5433
- */
5434
- expires_on_to?: string;
5435
6960
  /**
5436
6961
  * Filter: updated_at >= (ISO) — incremental sync watermark
5437
6962
  */
5438
- document_date_updated_from?: string;
6963
+ group_date_updated_from?: string;
5439
6964
  /**
5440
6965
  * Filter: updated_at <= (ISO)
5441
6966
  */
5442
- document_date_updated_to?: string;
6967
+ group_date_updated_to?: string;
5443
6968
  };
5444
- url: '/job-document/list';
6969
+ url: '/group/list';
5445
6970
  };
5446
- type JobDocumentControllerListErrors = {
6971
+ type GroupControllerListErrors = {
5447
6972
  /**
5448
6973
  * 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`.
5449
6974
  */
@@ -5465,27 +6990,23 @@ type JobDocumentControllerListErrors = {
5465
6990
  */
5466
6991
  500: ApiErrorResponse;
5467
6992
  };
5468
- type JobDocumentControllerListError = JobDocumentControllerListErrors[keyof JobDocumentControllerListErrors];
5469
- type JobDocumentControllerListResponses = {
5470
- 200: ListDocumentsResponseDto;
6993
+ type GroupControllerListError = GroupControllerListErrors[keyof GroupControllerListErrors];
6994
+ type GroupControllerListResponses = {
6995
+ 200: ListGroupsResponseDto;
5471
6996
  };
5472
- type JobDocumentControllerListResponse = JobDocumentControllerListResponses[keyof JobDocumentControllerListResponses];
5473
- type JobDocumentControllerRemoveData = {
6997
+ type GroupControllerListResponse = GroupControllerListResponses[keyof GroupControllerListResponses];
6998
+ type GroupControllerDeleteData = {
5474
6999
  body?: never;
5475
7000
  path: {
5476
7001
  /**
5477
- * Document ID (numeric string)
7002
+ * Group public ID
5478
7003
  */
5479
7004
  id: string;
5480
7005
  };
5481
7006
  query?: never;
5482
- url: '/job-document/{id}';
7007
+ url: '/group/{id}';
5483
7008
  };
5484
- type JobDocumentControllerRemoveErrors = {
5485
- /**
5486
- * 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`.
5487
- */
5488
- 400: ApiErrorResponse;
7009
+ type GroupControllerDeleteErrors = {
5489
7010
  /**
5490
7011
  * 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.
5491
7012
  */
@@ -5507,27 +7028,23 @@ type JobDocumentControllerRemoveErrors = {
5507
7028
  */
5508
7029
  500: ApiErrorResponse;
5509
7030
  };
5510
- type JobDocumentControllerRemoveError = JobDocumentControllerRemoveErrors[keyof JobDocumentControllerRemoveErrors];
5511
- type JobDocumentControllerRemoveResponses = {
5512
- 200: DeleteDocumentResponseDto;
7031
+ type GroupControllerDeleteError = GroupControllerDeleteErrors[keyof GroupControllerDeleteErrors];
7032
+ type GroupControllerDeleteResponses = {
7033
+ 200: DeleteGroupResponseDto;
5513
7034
  };
5514
- type JobDocumentControllerRemoveResponse = JobDocumentControllerRemoveResponses[keyof JobDocumentControllerRemoveResponses];
5515
- type JobDocumentControllerGetData = {
7035
+ type GroupControllerDeleteResponse = GroupControllerDeleteResponses[keyof GroupControllerDeleteResponses];
7036
+ type GroupControllerGetData = {
5516
7037
  body?: never;
5517
7038
  path: {
5518
7039
  /**
5519
- * Document ID (numeric string)
7040
+ * Group public ID
5520
7041
  */
5521
7042
  id: string;
5522
7043
  };
5523
7044
  query?: never;
5524
- url: '/job-document/{id}';
7045
+ url: '/group/{id}';
5525
7046
  };
5526
- type JobDocumentControllerGetErrors = {
5527
- /**
5528
- * 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`.
5529
- */
5530
- 400: ApiErrorResponse;
7047
+ type GroupControllerGetErrors = {
5531
7048
  /**
5532
7049
  * 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.
5533
7050
  */
@@ -5549,13 +7066,13 @@ type JobDocumentControllerGetErrors = {
5549
7066
  */
5550
7067
  500: ApiErrorResponse;
5551
7068
  };
5552
- type JobDocumentControllerGetError = JobDocumentControllerGetErrors[keyof JobDocumentControllerGetErrors];
5553
- type JobDocumentControllerGetResponses = {
5554
- 200: DocumentResponseDto;
7069
+ type GroupControllerGetError = GroupControllerGetErrors[keyof GroupControllerGetErrors];
7070
+ type GroupControllerGetResponses = {
7071
+ 200: GroupResponseDto;
5555
7072
  };
5556
- type JobDocumentControllerGetResponse = JobDocumentControllerGetResponses[keyof JobDocumentControllerGetResponses];
5557
- type JobDocumentControllerUpdateData = {
5558
- body: UpdateDocumentDto;
7073
+ type GroupControllerGetResponse = GroupControllerGetResponses[keyof GroupControllerGetResponses];
7074
+ type GroupControllerUpdateData = {
7075
+ body: UpdateGroupDto;
5559
7076
  headers?: {
5560
7077
  /**
5561
7078
  * 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.
@@ -5564,14 +7081,14 @@ type JobDocumentControllerUpdateData = {
5564
7081
  };
5565
7082
  path: {
5566
7083
  /**
5567
- * Document ID (numeric string)
7084
+ * Group public ID
5568
7085
  */
5569
7086
  id: string;
5570
7087
  };
5571
7088
  query?: never;
5572
- url: '/job-document/{id}';
7089
+ url: '/group/{id}';
5573
7090
  };
5574
- type JobDocumentControllerUpdateErrors = {
7091
+ type GroupControllerUpdateErrors = {
5575
7092
  /**
5576
7093
  * 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`.
5577
7094
  */
@@ -5597,13 +7114,13 @@ type JobDocumentControllerUpdateErrors = {
5597
7114
  */
5598
7115
  500: ApiErrorResponse;
5599
7116
  };
5600
- type JobDocumentControllerUpdateError = JobDocumentControllerUpdateErrors[keyof JobDocumentControllerUpdateErrors];
5601
- type JobDocumentControllerUpdateResponses = {
5602
- 200: DocumentResponseDto;
7117
+ type GroupControllerUpdateError = GroupControllerUpdateErrors[keyof GroupControllerUpdateErrors];
7118
+ type GroupControllerUpdateResponses = {
7119
+ 200: GroupResponseDto;
5603
7120
  };
5604
- type JobDocumentControllerUpdateResponse = JobDocumentControllerUpdateResponses[keyof JobDocumentControllerUpdateResponses];
5605
- type JobDocumentControllerCreateData = {
5606
- body: CreateDocumentDto;
7121
+ type GroupControllerUpdateResponse = GroupControllerUpdateResponses[keyof GroupControllerUpdateResponses];
7122
+ type GroupControllerCreateData = {
7123
+ body: CreateGroupDto;
5607
7124
  headers?: {
5608
7125
  /**
5609
7126
  * 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.
@@ -5612,9 +7129,9 @@ type JobDocumentControllerCreateData = {
5612
7129
  };
5613
7130
  path?: never;
5614
7131
  query?: never;
5615
- url: '/job-document';
7132
+ url: '/group';
5616
7133
  };
5617
- type JobDocumentControllerCreateErrors = {
7134
+ type GroupControllerCreateErrors = {
5618
7135
  /**
5619
7136
  * 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`.
5620
7137
  */
@@ -5631,10 +7148,6 @@ type JobDocumentControllerCreateErrors = {
5631
7148
  * 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.
5632
7149
  */
5633
7150
  404: ApiErrorResponse;
5634
- /**
5635
- * 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`).
5636
- */
5637
- 409: ApiErrorResponse;
5638
7151
  /**
5639
7152
  * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
5640
7153
  */
@@ -5644,12 +7157,12 @@ type JobDocumentControllerCreateErrors = {
5644
7157
  */
5645
7158
  500: ApiErrorResponse;
5646
7159
  };
5647
- type JobDocumentControllerCreateError = JobDocumentControllerCreateErrors[keyof JobDocumentControllerCreateErrors];
5648
- type JobDocumentControllerCreateResponses = {
5649
- 201: DocumentResponseDto;
7160
+ type GroupControllerCreateError = GroupControllerCreateErrors[keyof GroupControllerCreateErrors];
7161
+ type GroupControllerCreateResponses = {
7162
+ 201: GroupResponseDto;
5650
7163
  };
5651
- type JobDocumentControllerCreateResponse = JobDocumentControllerCreateResponses[keyof JobDocumentControllerCreateResponses];
5652
- type CompanyDocumentControllerListData = {
7164
+ type GroupControllerCreateResponse = GroupControllerCreateResponses[keyof GroupControllerCreateResponses];
7165
+ type DevicePublicControllerListData = {
5653
7166
  body?: never;
5654
7167
  path?: never;
5655
7168
  query?: {
@@ -5663,41 +7176,29 @@ type CompanyDocumentControllerListData = {
5663
7176
  page?: number;
5664
7177
  direction?: 'asc' | 'desc';
5665
7178
  /**
5666
- * Sort field: name, issued_on, expires_on, created_at, updated_at, id (default updated_at)
7179
+ * Sort field: name, status, last_sync_at, created_at, updated_at, id (default updated_at)
5667
7180
  */
5668
7181
  sort?: string;
5669
7182
  /**
5670
- * Filter to one parent by its publicId (UUID)
5671
- */
5672
- parent_id?: string;
5673
- /**
5674
- * Filter by document type id (numeric string)
7183
+ * Filter by status (e.g. active, pending)
5675
7184
  */
5676
- document_type_id?: string;
7185
+ status?: string;
5677
7186
  /**
5678
7187
  * Filter by name (case-insensitive partial)
5679
7188
  */
5680
7189
  name?: string;
5681
- /**
5682
- * Filter: expires_on >= (ISO date)
5683
- */
5684
- expires_on_from?: string;
5685
- /**
5686
- * Filter: expires_on <= (ISO date)
5687
- */
5688
- expires_on_to?: string;
5689
7190
  /**
5690
7191
  * Filter: updated_at >= (ISO) — incremental sync watermark
5691
7192
  */
5692
- document_date_updated_from?: string;
7193
+ device_date_updated_from?: string;
5693
7194
  /**
5694
7195
  * Filter: updated_at <= (ISO)
5695
7196
  */
5696
- document_date_updated_to?: string;
7197
+ device_date_updated_to?: string;
5697
7198
  };
5698
- url: '/company-document/list';
7199
+ url: '/device/list';
5699
7200
  };
5700
- type CompanyDocumentControllerListErrors = {
7201
+ type DevicePublicControllerListErrors = {
5701
7202
  /**
5702
7203
  * 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`.
5703
7204
  */
@@ -5719,27 +7220,23 @@ type CompanyDocumentControllerListErrors = {
5719
7220
  */
5720
7221
  500: ApiErrorResponse;
5721
7222
  };
5722
- type CompanyDocumentControllerListError = CompanyDocumentControllerListErrors[keyof CompanyDocumentControllerListErrors];
5723
- type CompanyDocumentControllerListResponses = {
5724
- 200: ListDocumentsResponseDto;
7223
+ type DevicePublicControllerListError = DevicePublicControllerListErrors[keyof DevicePublicControllerListErrors];
7224
+ type DevicePublicControllerListResponses = {
7225
+ 200: ListDevicesResponseDto;
5725
7226
  };
5726
- type CompanyDocumentControllerListResponse = CompanyDocumentControllerListResponses[keyof CompanyDocumentControllerListResponses];
5727
- type CompanyDocumentControllerRemoveData = {
7227
+ type DevicePublicControllerListResponse = DevicePublicControllerListResponses[keyof DevicePublicControllerListResponses];
7228
+ type DevicePublicControllerGetData = {
5728
7229
  body?: never;
5729
7230
  path: {
5730
7231
  /**
5731
- * Document ID (numeric string)
7232
+ * Device public ID
5732
7233
  */
5733
7234
  id: string;
5734
7235
  };
5735
7236
  query?: never;
5736
- url: '/company-document/{id}';
7237
+ url: '/device/{id}';
5737
7238
  };
5738
- type CompanyDocumentControllerRemoveErrors = {
5739
- /**
5740
- * 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`.
5741
- */
5742
- 400: ApiErrorResponse;
7239
+ type DevicePublicControllerGetErrors = {
5743
7240
  /**
5744
7241
  * 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.
5745
7242
  */
@@ -5761,71 +7258,56 @@ type CompanyDocumentControllerRemoveErrors = {
5761
7258
  */
5762
7259
  500: ApiErrorResponse;
5763
7260
  };
5764
- type CompanyDocumentControllerRemoveError = CompanyDocumentControllerRemoveErrors[keyof CompanyDocumentControllerRemoveErrors];
5765
- type CompanyDocumentControllerRemoveResponses = {
5766
- 200: DeleteDocumentResponseDto;
7261
+ type DevicePublicControllerGetError = DevicePublicControllerGetErrors[keyof DevicePublicControllerGetErrors];
7262
+ type DevicePublicControllerGetResponses = {
7263
+ 200: DeviceResponseDto;
5767
7264
  };
5768
- type CompanyDocumentControllerRemoveResponse = CompanyDocumentControllerRemoveResponses[keyof CompanyDocumentControllerRemoveResponses];
5769
- type CompanyDocumentControllerGetData = {
7265
+ type DevicePublicControllerGetResponse = DevicePublicControllerGetResponses[keyof DevicePublicControllerGetResponses];
7266
+ type TimesheetPublicControllerListData = {
5770
7267
  body?: never;
5771
- path: {
7268
+ path?: never;
7269
+ query?: {
5772
7270
  /**
5773
- * Document ID (numeric string)
7271
+ * Results per page
5774
7272
  */
5775
- id: string;
5776
- };
5777
- query?: never;
5778
- url: '/company-document/{id}';
5779
- };
5780
- type CompanyDocumentControllerGetErrors = {
5781
- /**
5782
- * 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`.
5783
- */
5784
- 400: ApiErrorResponse;
5785
- /**
5786
- * 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.
5787
- */
5788
- 401: ApiErrorResponse;
5789
- /**
5790
- * 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).
5791
- */
5792
- 403: ApiErrorResponse;
5793
- /**
5794
- * 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.
5795
- */
5796
- 404: ApiErrorResponse;
5797
- /**
5798
- * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
5799
- */
5800
- 429: ApiErrorResponse;
5801
- /**
5802
- * 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.
5803
- */
5804
- 500: ApiErrorResponse;
5805
- };
5806
- type CompanyDocumentControllerGetError = CompanyDocumentControllerGetErrors[keyof CompanyDocumentControllerGetErrors];
5807
- type CompanyDocumentControllerGetResponses = {
5808
- 200: DocumentResponseDto;
5809
- };
5810
- type CompanyDocumentControllerGetResponse = CompanyDocumentControllerGetResponses[keyof CompanyDocumentControllerGetResponses];
5811
- type CompanyDocumentControllerUpdateData = {
5812
- body: UpdateDocumentDto;
5813
- headers?: {
7273
+ per_page?: number;
5814
7274
  /**
5815
- * 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.
7275
+ * Page number
5816
7276
  */
5817
- 'Idempotency-Key'?: string;
5818
- };
5819
- path: {
7277
+ page?: number;
7278
+ direction?: 'asc' | 'desc';
5820
7279
  /**
5821
- * Document ID (numeric string)
7280
+ * Sort field: period_start, status, submitted_at, created_at, updated_at, id (default period_start)
5822
7281
  */
5823
- id: string;
7282
+ sort?: string;
7283
+ /**
7284
+ * Filter by status: draft, submitted, in_approval, approved, rejected, info_required
7285
+ */
7286
+ status?: string;
7287
+ /**
7288
+ * Filter to one user by their publicId (UUID)
7289
+ */
7290
+ user_id?: string;
7291
+ /**
7292
+ * Filter: period_start >= (ISO date)
7293
+ */
7294
+ period_start_from?: string;
7295
+ /**
7296
+ * Filter: period_start <= (ISO date)
7297
+ */
7298
+ period_start_to?: string;
7299
+ /**
7300
+ * Filter: updated_at >= (ISO) — incremental sync watermark
7301
+ */
7302
+ timesheet_date_updated_from?: string;
7303
+ /**
7304
+ * Filter: updated_at <= (ISO)
7305
+ */
7306
+ timesheet_date_updated_to?: string;
5824
7307
  };
5825
- query?: never;
5826
- url: '/company-document/{id}';
7308
+ url: '/timesheet/list';
5827
7309
  };
5828
- type CompanyDocumentControllerUpdateErrors = {
7310
+ type TimesheetPublicControllerListErrors = {
5829
7311
  /**
5830
7312
  * 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`.
5831
7313
  */
@@ -5838,10 +7320,6 @@ type CompanyDocumentControllerUpdateErrors = {
5838
7320
  * 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).
5839
7321
  */
5840
7322
  403: ApiErrorResponse;
5841
- /**
5842
- * 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.
5843
- */
5844
- 404: ApiErrorResponse;
5845
7323
  /**
5846
7324
  * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
5847
7325
  */
@@ -5851,28 +7329,23 @@ type CompanyDocumentControllerUpdateErrors = {
5851
7329
  */
5852
7330
  500: ApiErrorResponse;
5853
7331
  };
5854
- type CompanyDocumentControllerUpdateError = CompanyDocumentControllerUpdateErrors[keyof CompanyDocumentControllerUpdateErrors];
5855
- type CompanyDocumentControllerUpdateResponses = {
5856
- 200: DocumentResponseDto;
7332
+ type TimesheetPublicControllerListError = TimesheetPublicControllerListErrors[keyof TimesheetPublicControllerListErrors];
7333
+ type TimesheetPublicControllerListResponses = {
7334
+ 200: ListTimesheetsResponseDto;
5857
7335
  };
5858
- type CompanyDocumentControllerUpdateResponse = CompanyDocumentControllerUpdateResponses[keyof CompanyDocumentControllerUpdateResponses];
5859
- type CompanyDocumentControllerCreateData = {
5860
- body: CreateDocumentDto;
5861
- headers?: {
7336
+ type TimesheetPublicControllerListResponse = TimesheetPublicControllerListResponses[keyof TimesheetPublicControllerListResponses];
7337
+ type TimesheetPublicControllerGetData = {
7338
+ body?: never;
7339
+ path: {
5862
7340
  /**
5863
- * 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.
7341
+ * Timesheet public ID
5864
7342
  */
5865
- 'Idempotency-Key'?: string;
7343
+ id: string;
5866
7344
  };
5867
- path?: never;
5868
7345
  query?: never;
5869
- url: '/company-document';
7346
+ url: '/timesheet/{id}';
5870
7347
  };
5871
- type CompanyDocumentControllerCreateErrors = {
5872
- /**
5873
- * 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`.
5874
- */
5875
- 400: ApiErrorResponse;
7348
+ type TimesheetPublicControllerGetErrors = {
5876
7349
  /**
5877
7350
  * 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.
5878
7351
  */
@@ -5885,10 +7358,6 @@ type CompanyDocumentControllerCreateErrors = {
5885
7358
  * 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.
5886
7359
  */
5887
7360
  404: ApiErrorResponse;
5888
- /**
5889
- * 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`).
5890
- */
5891
- 409: ApiErrorResponse;
5892
7361
  /**
5893
7362
  * Rate limit exceeded for this API key. Inspect `X-RateLimit-Reset` and `Retry-After` to find out when the window resets.
5894
7363
  */
@@ -5898,11 +7367,11 @@ type CompanyDocumentControllerCreateErrors = {
5898
7367
  */
5899
7368
  500: ApiErrorResponse;
5900
7369
  };
5901
- type CompanyDocumentControllerCreateError = CompanyDocumentControllerCreateErrors[keyof CompanyDocumentControllerCreateErrors];
5902
- type CompanyDocumentControllerCreateResponses = {
5903
- 201: DocumentResponseDto;
7370
+ type TimesheetPublicControllerGetError = TimesheetPublicControllerGetErrors[keyof TimesheetPublicControllerGetErrors];
7371
+ type TimesheetPublicControllerGetResponses = {
7372
+ 200: TimesheetDetailDto;
5904
7373
  };
5905
- type CompanyDocumentControllerCreateResponse = CompanyDocumentControllerCreateResponses[keyof CompanyDocumentControllerCreateResponses];
7374
+ type TimesheetPublicControllerGetResponse = TimesheetPublicControllerGetResponses[keyof TimesheetPublicControllerGetResponses];
5906
7375
  type SiteControllerListSitesData = {
5907
7376
  body?: never;
5908
7377
  path?: never;
@@ -6121,7 +7590,7 @@ type SiteControllerUpdateSiteResponses = {
6121
7590
  };
6122
7591
  type SiteControllerUpdateSiteResponse = SiteControllerUpdateSiteResponses[keyof SiteControllerUpdateSiteResponses];
6123
7592
  type ClientOptions = {
6124
- baseUrl: 'https://api.wakata.ai' | (string & {});
7593
+ baseUrl: 'https://dev-api.wakata.ai' | (string & {});
6125
7594
  };
6126
7595
 
6127
7596
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -6510,6 +7979,101 @@ declare const assetDocumentControllerUpdate: <ThrowOnError extends boolean = fal
6510
7979
  * Create an asset document
6511
7980
  */
6512
7981
  declare const assetDocumentControllerCreate: <ThrowOnError extends boolean = false>(options: Options<AssetDocumentControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DocumentResponseDto, ApiErrorResponse, ThrowOnError>;
7982
+ /**
7983
+ * List customers
7984
+ * Returns a paginated list of customers for the authenticated company. Supports name/status filters and an incremental `updated_at` watermark. Requires customer:read.
7985
+ */
7986
+ declare const customerControllerList: <ThrowOnError extends boolean = false>(options?: Options<CustomerControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListCustomersResponseDto, ApiErrorResponse, ThrowOnError>;
7987
+ /**
7988
+ * Delete a customer
7989
+ * Soft-deletes a customer by its public_id (UUID). Requires customer:delete.
7990
+ */
7991
+ declare const customerControllerDelete: <ThrowOnError extends boolean = false>(options: Options<CustomerControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteCustomerResponseDto, ApiErrorResponse, ThrowOnError>;
7992
+ /**
7993
+ * Get a customer by public ID
7994
+ * Returns one customer (with embedded customer_properties[]) by its public_id (UUID). Requires customer:read.
7995
+ */
7996
+ declare const customerControllerGet: <ThrowOnError extends boolean = false>(options: Options<CustomerControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CustomerResponseDto, ApiErrorResponse, ThrowOnError>;
7997
+ /**
7998
+ * Update a customer
7999
+ * Updates a customer by its public_id (UUID). Only provided fields are changed. Requires customer:update. Supports `Idempotency-Key`.
8000
+ */
8001
+ declare const customerControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<CustomerControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CustomerResponseDto, ApiErrorResponse, ThrowOnError>;
8002
+ /**
8003
+ * Create a customer
8004
+ * Creates a customer for the authenticated company. Requires customer:create. Customer names are unique per company (case-insensitive) — a duplicate returns 409. Supports `Idempotency-Key`.
8005
+ */
8006
+ declare const customerControllerCreate: <ThrowOnError extends boolean = false>(options: Options<CustomerControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CustomerResponseDto, ApiErrorResponse, ThrowOnError>;
8007
+ /**
8008
+ * List zones
8009
+ * Returns a paginated list of zones for the authenticated company. Filter by site (publicId), name, and an incremental `updated_at` watermark. Requires zone:read.
8010
+ */
8011
+ declare const zoneControllerList: <ThrowOnError extends boolean = false>(options?: Options<ZoneControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListZonesResponseDto, ApiErrorResponse, ThrowOnError>;
8012
+ /**
8013
+ * Delete a zone
8014
+ * Soft-deletes a zone by its public_id (UUID). Requires zone:delete.
8015
+ */
8016
+ declare const zoneControllerDelete: <ThrowOnError extends boolean = false>(options: Options<ZoneControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteZoneResponseDto, ApiErrorResponse, ThrowOnError>;
8017
+ /**
8018
+ * Get a zone by public ID
8019
+ * Returns one zone by its public_id (UUID). Requires zone:read.
8020
+ */
8021
+ declare const zoneControllerGet: <ThrowOnError extends boolean = false>(options: Options<ZoneControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ZoneResponseDto, ApiErrorResponse, ThrowOnError>;
8022
+ /**
8023
+ * Update a zone
8024
+ * Updates a zone by its public_id (UUID). Only provided fields are changed; set parent_zone_id to null to make a zone top-level. Requires zone:update. Supports `Idempotency-Key`.
8025
+ */
8026
+ declare const zoneControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<ZoneControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ZoneResponseDto, ApiErrorResponse, ThrowOnError>;
8027
+ /**
8028
+ * Create a zone
8029
+ * Creates a zone under a site for the authenticated company. Reference the site (required) and optional parent zone by their publicId. Zone names are unique per site — a duplicate returns 409. Requires zone:create. Supports `Idempotency-Key`.
8030
+ */
8031
+ declare const zoneControllerCreate: <ThrowOnError extends boolean = false>(options: Options<ZoneControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ZoneResponseDto, ApiErrorResponse, ThrowOnError>;
8032
+ /**
8033
+ * List groups
8034
+ * Returns a paginated list of groups (containers) for the authenticated company. Filter by site (publicId), name, and an incremental `updated_at` watermark. Membership is not included — see the group membership endpoints (coming soon). Requires group:read.
8035
+ */
8036
+ declare const groupControllerList: <ThrowOnError extends boolean = false>(options?: Options<GroupControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListGroupsResponseDto, ApiErrorResponse, ThrowOnError>;
8037
+ /**
8038
+ * Delete a group
8039
+ * Soft-deletes a group container by its public_id (UUID). Requires group:delete.
8040
+ */
8041
+ declare const groupControllerDelete: <ThrowOnError extends boolean = false>(options: Options<GroupControllerDeleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteGroupResponseDto, ApiErrorResponse, ThrowOnError>;
8042
+ /**
8043
+ * Get a group by public ID
8044
+ * Returns one group container by its public_id (UUID). Membership is not included. Requires group:read.
8045
+ */
8046
+ declare const groupControllerGet: <ThrowOnError extends boolean = false>(options: Options<GroupControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GroupResponseDto, ApiErrorResponse, ThrowOnError>;
8047
+ /**
8048
+ * Update a group
8049
+ * Updates a group container by its public_id (UUID). Only provided fields are changed; set site_id to null to make it company-wide. Requires group:update. Supports `Idempotency-Key`.
8050
+ */
8051
+ declare const groupControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<GroupControllerUpdateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GroupResponseDto, ApiErrorResponse, ThrowOnError>;
8052
+ /**
8053
+ * Create a group
8054
+ * Creates a group container for the authenticated company. Optionally scope it to a site (by publicId). Requires group:create. Supports `Idempotency-Key`.
8055
+ */
8056
+ declare const groupControllerCreate: <ThrowOnError extends boolean = false>(options: Options<GroupControllerCreateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GroupResponseDto, ApiErrorResponse, ThrowOnError>;
8057
+ /**
8058
+ * List devices
8059
+ * Returns a paginated inventory of devices for the authenticated company (name, status, last sync, app/OS version, battery, location). Devices are created only via the in-app pairing flow — this endpoint is read-only. Requires device:read.
8060
+ */
8061
+ declare const devicePublicControllerList: <ThrowOnError extends boolean = false>(options?: Options<DevicePublicControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListDevicesResponseDto, ApiErrorResponse, ThrowOnError>;
8062
+ /**
8063
+ * Get a device by public ID
8064
+ * Returns one device by its public_id (UUID). Read-only. Requires device:read.
8065
+ */
8066
+ declare const devicePublicControllerGet: <ThrowOnError extends boolean = false>(options: Options<DevicePublicControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeviceResponseDto, ApiErrorResponse, ThrowOnError>;
8067
+ /**
8068
+ * List timesheets
8069
+ * Returns a paginated list of timesheet summaries for the authenticated company. Filter by status, user (publicId), period range, and an incremental `updated_at` watermark. Read-only — timesheets are created in the Wakata app. Requires timesheet:read.
8070
+ */
8071
+ declare const timesheetPublicControllerList: <ThrowOnError extends boolean = false>(options?: Options<TimesheetPublicControllerListData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListTimesheetsResponseDto, ApiErrorResponse, ThrowOnError>;
8072
+ /**
8073
+ * Get a timesheet by public ID
8074
+ * Returns one timesheet (header + line-level rows: date, activity, duration, site/asset/project/customer allocation) by its public_id (UUID). Read-only. Requires timesheet:read.
8075
+ */
8076
+ declare const timesheetPublicControllerGet: <ThrowOnError extends boolean = false>(options: Options<TimesheetPublicControllerGetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TimesheetDetailDto, ApiErrorResponse, ThrowOnError>;
6513
8077
  /**
6514
8078
  * List sites
6515
8079
  * Returns a paginated list of sites for the authenticated company. Supports filtering by name, category, and date modified. Requires Bearer token authentication with site:read permission.
@@ -6615,6 +8179,37 @@ interface AssetClassPropertiesResource {
6615
8179
  update: (options: WakataMethodOptions<Parameters<typeof assetClassPropertyControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof assetClassPropertyControllerUpdate>>['data']>;
6616
8180
  delete: (options: WakataMethodOptions<Parameters<typeof assetClassPropertyControllerRemove>[0]>) => Promise<Awaited<ReturnType<typeof assetClassPropertyControllerRemove>>['data']>;
6617
8181
  }
8182
+ interface CustomersResource {
8183
+ list: (options?: WakataMethodOptions<Parameters<typeof customerControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof customerControllerList>>['data']>;
8184
+ get: (options: WakataMethodOptions<Parameters<typeof customerControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof customerControllerGet>>['data']>;
8185
+ create: (options: WakataMethodOptions<Parameters<typeof customerControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof customerControllerCreate>>['data']>;
8186
+ update: (options: WakataMethodOptions<Parameters<typeof customerControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof customerControllerUpdate>>['data']>;
8187
+ delete: (options: WakataMethodOptions<Parameters<typeof customerControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof customerControllerDelete>>['data']>;
8188
+ }
8189
+ interface ZonesResource {
8190
+ list: (options?: WakataMethodOptions<Parameters<typeof zoneControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof zoneControllerList>>['data']>;
8191
+ get: (options: WakataMethodOptions<Parameters<typeof zoneControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof zoneControllerGet>>['data']>;
8192
+ create: (options: WakataMethodOptions<Parameters<typeof zoneControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof zoneControllerCreate>>['data']>;
8193
+ update: (options: WakataMethodOptions<Parameters<typeof zoneControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof zoneControllerUpdate>>['data']>;
8194
+ delete: (options: WakataMethodOptions<Parameters<typeof zoneControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof zoneControllerDelete>>['data']>;
8195
+ }
8196
+ interface GroupsResource {
8197
+ list: (options?: WakataMethodOptions<Parameters<typeof groupControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof groupControllerList>>['data']>;
8198
+ get: (options: WakataMethodOptions<Parameters<typeof groupControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof groupControllerGet>>['data']>;
8199
+ create: (options: WakataMethodOptions<Parameters<typeof groupControllerCreate>[0]>) => Promise<Awaited<ReturnType<typeof groupControllerCreate>>['data']>;
8200
+ update: (options: WakataMethodOptions<Parameters<typeof groupControllerUpdate>[0]>) => Promise<Awaited<ReturnType<typeof groupControllerUpdate>>['data']>;
8201
+ delete: (options: WakataMethodOptions<Parameters<typeof groupControllerDelete>[0]>) => Promise<Awaited<ReturnType<typeof groupControllerDelete>>['data']>;
8202
+ }
8203
+ /** Device inventory — read-only (devices are paired in-app). */
8204
+ interface DevicesResource {
8205
+ list: (options?: WakataMethodOptions<Parameters<typeof devicePublicControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof devicePublicControllerList>>['data']>;
8206
+ get: (options: WakataMethodOptions<Parameters<typeof devicePublicControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof devicePublicControllerGet>>['data']>;
8207
+ }
8208
+ /** Timesheets — read-only (created in the Wakata app). */
8209
+ interface TimesheetsResource {
8210
+ list: (options?: WakataMethodOptions<Parameters<typeof timesheetPublicControllerList>[0] extends infer O ? O : never>) => Promise<Awaited<ReturnType<typeof timesheetPublicControllerList>>['data']>;
8211
+ get: (options: WakataMethodOptions<Parameters<typeof timesheetPublicControllerGet>[0]>) => Promise<Awaited<ReturnType<typeof timesheetPublicControllerGet>>['data']>;
8212
+ }
6618
8213
  /**
6619
8214
  * One entity-document type's CRUD. All document types share the same DTOs, so
6620
8215
  * the shape is typed against the asset-document operations (structurally
@@ -6669,6 +8264,11 @@ declare class WakataClient {
6669
8264
  readonly config: ConfigResource;
6670
8265
  readonly assetClassProperties: AssetClassPropertiesResource;
6671
8266
  readonly documents: DocumentsResource;
8267
+ readonly customers: CustomersResource;
8268
+ readonly zones: ZonesResource;
8269
+ readonly groups: GroupsResource;
8270
+ readonly devices: DevicesResource;
8271
+ readonly timesheets: TimesheetsResource;
6672
8272
  constructor(options: WakataClientOptions);
6673
8273
  }
6674
8274
 
@@ -6842,4 +8442,4 @@ declare const PACKAGE_VERSION = "0.3.3";
6842
8442
  /** Default base URL for the Wakata Public API (production). */
6843
8443
  declare const DEFAULT_BASE_URL = "https://api.wakata.ai/api/v1";
6844
8444
 
6845
- 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 CreateDocumentDto, type CreateSiteDto, 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, DEFAULT_BASE_URL, type DeleteAssetClassPropertyResponseDto, type DeleteAssetPropertyResponseDto, type DeleteDocumentResponseDto, type DeleteSiteResponseDto, type DeleteUserPropertyResponseDto, type DocumentResponseDto, type DocumentUploadControllerUploadUrlData, type DocumentUploadControllerUploadUrlError, type DocumentUploadControllerUploadUrlErrors, type DocumentUploadControllerUploadUrlResponse, type DocumentUploadControllerUploadUrlResponses, type DocumentUploadUrlDto, type DocumentUploadUrlResponseDto, type EmbeddedAssetClassPropertyDto, type EmbeddedAssetPropertyDto, type EmbeddedUserPropertyDto, type ErrorDetail, 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 ListDocumentsResponseDto, type ListInspectionsResponseDto, type ListIssuesResponseDto, type ListSitesResponseDto, PACKAGE_NAME, PACKAGE_VERSION, type ProjectDocumentControllerCreateData, type ProjectDocumentControllerCreateError, type ProjectDocumentControllerCreateErrors, type ProjectDocumentControllerCreateResponse, type ProjectDocumentControllerCreateResponses, type ProjectDocumentControllerGetData, type ProjectDocumentControllerGetError, type ProjectDocumentControllerGetErrors, type ProjectDocumentControllerGetResponse, type ProjectDocumentControllerGetResponses, type ProjectDocumentControllerListData, type ProjectDocumentControllerListError, type ProjectDocumentControllerListErrors, type ProjectDocumentControllerListResponse, type ProjectDocumentControllerListResponses, type ProjectDocumentControllerRemoveData, type ProjectDocumentControllerRemoveError, type ProjectDocumentControllerRemoveErrors, type ProjectDocumentControllerRemoveResponse, type ProjectDocumentControllerRemoveResponses, type ProjectDocumentControllerUpdateData, type ProjectDocumentControllerUpdateError, type ProjectDocumentControllerUpdateErrors, type ProjectDocumentControllerUpdateResponse, type ProjectDocumentControllerUpdateResponses, type PublicConfigControllerCreateConfigItemData, type PublicConfigControllerCreateConfigItemError, type PublicConfigControllerCreateConfigItemErrors, type PublicConfigControllerCreateConfigItemResponse, type PublicConfigControllerCreateConfigItemResponses, type PublicConfigControllerDeleteConfigItemData, type PublicConfigControllerDeleteConfigItemError, type PublicConfigControllerDeleteConfigItemErrors, type PublicConfigControllerDeleteConfigItemResponse, type PublicConfigControllerDeleteConfigItemResponses, type PublicConfigControllerGetConfigItemData, type PublicConfigControllerGetConfigItemError, type PublicConfigControllerGetConfigItemErrors, type PublicConfigControllerGetConfigItemResponse, type PublicConfigControllerGetConfigItemResponses, type PublicConfigControllerListConfigItemsData, type PublicConfigControllerListConfigItemsError, type PublicConfigControllerListConfigItemsErrors, type PublicConfigControllerListConfigItemsResponse, type PublicConfigControllerListConfigItemsResponses, type PublicConfigControllerListConfigTablesData, type PublicConfigControllerListConfigTablesError, type PublicConfigControllerListConfigTablesErrors, type PublicConfigControllerListConfigTablesResponse, type PublicConfigControllerListConfigTablesResponses, type PublicConfigControllerUpdateConfigItemData, type PublicConfigControllerUpdateConfigItemError, type PublicConfigControllerUpdateConfigItemErrors, type PublicConfigControllerUpdateConfigItemResponse, type PublicConfigControllerUpdateConfigItemResponses, type PublicCreateAssetDto, type SiteControllerCreateSiteData, type SiteControllerCreateSiteError, type SiteControllerCreateSiteErrors, type SiteControllerCreateSiteResponse, type SiteControllerCreateSiteResponses, type SiteControllerDeleteSiteData, type SiteControllerDeleteSiteError, type SiteControllerDeleteSiteErrors, type SiteControllerDeleteSiteResponse, type SiteControllerDeleteSiteResponses, type SiteControllerListSitesData, type SiteControllerListSitesError, type SiteControllerListSitesErrors, type SiteControllerListSitesResponse, type SiteControllerListSitesResponses, type SiteControllerUpdateSiteData, type SiteControllerUpdateSiteError, type SiteControllerUpdateSiteErrors, type SiteControllerUpdateSiteResponse, type SiteControllerUpdateSiteResponses, type SiteDocumentControllerCreateData, type SiteDocumentControllerCreateError, type SiteDocumentControllerCreateErrors, type SiteDocumentControllerCreateResponse, type SiteDocumentControllerCreateResponses, type SiteDocumentControllerGetData, type SiteDocumentControllerGetError, type SiteDocumentControllerGetErrors, type SiteDocumentControllerGetResponse, type SiteDocumentControllerGetResponses, type SiteDocumentControllerListData, type SiteDocumentControllerListError, type SiteDocumentControllerListErrors, type SiteDocumentControllerListResponse, type SiteDocumentControllerListResponses, type SiteDocumentControllerRemoveData, type SiteDocumentControllerRemoveError, type SiteDocumentControllerRemoveErrors, type SiteDocumentControllerRemoveResponse, type SiteDocumentControllerRemoveResponses, type SiteDocumentControllerUpdateData, type SiteDocumentControllerUpdateError, type SiteDocumentControllerUpdateErrors, type SiteDocumentControllerUpdateResponse, type SiteDocumentControllerUpdateResponses, type SiteResponseDto, type SitesResource, type UpdateAssetClassDto, type UpdateAssetClassPropertyDto, type UpdateAssetDto, type UpdateAssetPropertyDto, type UpdateConfigItemDto, type UpdateDocumentDto, type UpdateIssueDto, type UpdateSiteDto, type UpdateUserPropertyDto, 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, generateIdempotencyKey, mapApiError };
8445
+ export { type ApiErrorBody, type ApiErrorDetail, type ApiErrorResponse, type AssetClassControllerCreateAssetClassData, type AssetClassControllerCreateAssetClassError, type AssetClassControllerCreateAssetClassErrors, type AssetClassControllerCreateAssetClassResponse, type AssetClassControllerCreateAssetClassResponses, type AssetClassControllerGetAssetClassListData, type AssetClassControllerGetAssetClassListError, type AssetClassControllerGetAssetClassListErrors, type AssetClassControllerGetAssetClassListResponse, type AssetClassControllerGetAssetClassListResponses, type AssetClassControllerUpdateAssetClassData, type AssetClassControllerUpdateAssetClassError, type AssetClassControllerUpdateAssetClassErrors, type AssetClassControllerUpdateAssetClassResponse, type AssetClassControllerUpdateAssetClassResponses, type AssetClassDocumentControllerCreateData, type AssetClassDocumentControllerCreateError, type AssetClassDocumentControllerCreateErrors, type AssetClassDocumentControllerCreateResponse, type AssetClassDocumentControllerCreateResponses, type AssetClassDocumentControllerGetData, type AssetClassDocumentControllerGetError, type AssetClassDocumentControllerGetErrors, type AssetClassDocumentControllerGetResponse, type AssetClassDocumentControllerGetResponses, type AssetClassDocumentControllerListData, type AssetClassDocumentControllerListError, type AssetClassDocumentControllerListErrors, type AssetClassDocumentControllerListResponse, type AssetClassDocumentControllerListResponses, type AssetClassDocumentControllerRemoveData, type AssetClassDocumentControllerRemoveError, type AssetClassDocumentControllerRemoveErrors, type AssetClassDocumentControllerRemoveResponse, type AssetClassDocumentControllerRemoveResponses, type AssetClassDocumentControllerUpdateData, type AssetClassDocumentControllerUpdateError, type AssetClassDocumentControllerUpdateErrors, type AssetClassDocumentControllerUpdateResponse, type AssetClassDocumentControllerUpdateResponses, type AssetClassListResponseDto, type AssetClassPropertyControllerRemoveData, type AssetClassPropertyControllerRemoveError, type AssetClassPropertyControllerRemoveErrors, type AssetClassPropertyControllerRemoveResponse, type AssetClassPropertyControllerRemoveResponses, type AssetClassPropertyControllerUpdateData, type AssetClassPropertyControllerUpdateError, type AssetClassPropertyControllerUpdateErrors, type AssetClassPropertyControllerUpdateResponse, type AssetClassPropertyControllerUpdateResponses, type AssetClassPropertyResponseDto, type AssetClassResponseDto, type AssetControllerCreateAssetPublicData, type AssetControllerCreateAssetPublicError, type AssetControllerCreateAssetPublicErrors, type AssetControllerCreateAssetPublicResponse, type AssetControllerCreateAssetPublicResponses, type AssetControllerGetAssetData, type AssetControllerGetAssetError, type AssetControllerGetAssetErrors, type AssetControllerGetAssetResponse, type AssetControllerGetAssetResponses, type AssetControllerListAssetsData, type AssetControllerListAssetsError, type AssetControllerListAssetsErrors, type AssetControllerListAssetsResponse, type AssetControllerListAssetsResponses, type AssetControllerUpdateAssetData, type AssetControllerUpdateAssetError, type AssetControllerUpdateAssetErrors, type AssetControllerUpdateAssetResponse, type AssetControllerUpdateAssetResponses, type AssetDocumentControllerCreateData, type AssetDocumentControllerCreateError, type AssetDocumentControllerCreateErrors, type AssetDocumentControllerCreateResponse, type AssetDocumentControllerCreateResponses, type AssetDocumentControllerGetData, type AssetDocumentControllerGetError, type AssetDocumentControllerGetErrors, type AssetDocumentControllerGetResponse, type AssetDocumentControllerGetResponses, type AssetDocumentControllerListData, type AssetDocumentControllerListError, type AssetDocumentControllerListErrors, type AssetDocumentControllerListResponse, type AssetDocumentControllerListResponses, type AssetDocumentControllerRemoveData, type AssetDocumentControllerRemoveError, type AssetDocumentControllerRemoveErrors, type AssetDocumentControllerRemoveResponse, type AssetDocumentControllerRemoveResponses, type AssetDocumentControllerUpdateData, type AssetDocumentControllerUpdateError, type AssetDocumentControllerUpdateErrors, type AssetDocumentControllerUpdateResponse, type AssetDocumentControllerUpdateResponses, type AssetPropertyControllerDeleteAssetPropertyData, type AssetPropertyControllerDeleteAssetPropertyError, type AssetPropertyControllerDeleteAssetPropertyErrors, type AssetPropertyControllerDeleteAssetPropertyResponse, type AssetPropertyControllerDeleteAssetPropertyResponses, type AssetPropertyControllerUpdateAssetPropertyData, type AssetPropertyControllerUpdateAssetPropertyError, type AssetPropertyControllerUpdateAssetPropertyErrors, type AssetPropertyControllerUpdateAssetPropertyResponse, type AssetPropertyControllerUpdateAssetPropertyResponses, type AssetPropertyResponseDto, type AssetsResource, type ChecklistControllerGetChecklistData, type ChecklistControllerGetChecklistError, type ChecklistControllerGetChecklistErrors, type ChecklistControllerGetChecklistResponse, type ChecklistControllerGetChecklistResponses, type ChecklistControllerListChecklistsData, type ChecklistControllerListChecklistsError, type ChecklistControllerListChecklistsErrors, type ChecklistControllerListChecklistsResponse, type ChecklistControllerListChecklistsResponses, type ChecklistSummaryDto, type ClientOptions, type CompanyDocumentControllerCreateData, type CompanyDocumentControllerCreateError, type CompanyDocumentControllerCreateErrors, type CompanyDocumentControllerCreateResponse, type CompanyDocumentControllerCreateResponses, type CompanyDocumentControllerGetData, type CompanyDocumentControllerGetError, type CompanyDocumentControllerGetErrors, type CompanyDocumentControllerGetResponse, type CompanyDocumentControllerGetResponses, type CompanyDocumentControllerListData, type CompanyDocumentControllerListError, type CompanyDocumentControllerListErrors, type CompanyDocumentControllerListResponse, type CompanyDocumentControllerListResponses, type CompanyDocumentControllerRemoveData, type CompanyDocumentControllerRemoveError, type CompanyDocumentControllerRemoveErrors, type CompanyDocumentControllerRemoveResponse, type CompanyDocumentControllerRemoveResponses, type CompanyDocumentControllerUpdateData, type CompanyDocumentControllerUpdateError, type CompanyDocumentControllerUpdateErrors, type CompanyDocumentControllerUpdateResponse, type CompanyDocumentControllerUpdateResponses, type ConfigItemDto, type ConfigTableDto, type CreateAssetClassDto, type CreateConfigItemDto, type CreateCustomerDto, type CreateDocumentDto, type CreateGroupDto, type CreateSiteDto, type CreateZoneDto, type CustomerControllerCreateData, type CustomerControllerCreateError, type CustomerControllerCreateErrors, type CustomerControllerCreateResponse, type CustomerControllerCreateResponses, type CustomerControllerDeleteData, type CustomerControllerDeleteError, type CustomerControllerDeleteErrors, type CustomerControllerDeleteResponse, type CustomerControllerDeleteResponses, type CustomerControllerGetData, type CustomerControllerGetError, type CustomerControllerGetErrors, type CustomerControllerGetResponse, type CustomerControllerGetResponses, type CustomerControllerListData, type CustomerControllerListError, type CustomerControllerListErrors, type CustomerControllerListResponse, type CustomerControllerListResponses, type CustomerControllerUpdateData, type CustomerControllerUpdateError, type CustomerControllerUpdateErrors, type CustomerControllerUpdateResponse, type CustomerControllerUpdateResponses, type CustomerDocumentControllerCreateData, type CustomerDocumentControllerCreateError, type CustomerDocumentControllerCreateErrors, type CustomerDocumentControllerCreateResponse, type CustomerDocumentControllerCreateResponses, type CustomerDocumentControllerGetData, type CustomerDocumentControllerGetError, type CustomerDocumentControllerGetErrors, type CustomerDocumentControllerGetResponse, type CustomerDocumentControllerGetResponses, type CustomerDocumentControllerListData, type CustomerDocumentControllerListError, type CustomerDocumentControllerListErrors, type CustomerDocumentControllerListResponse, type CustomerDocumentControllerListResponses, type CustomerDocumentControllerRemoveData, type CustomerDocumentControllerRemoveError, type CustomerDocumentControllerRemoveErrors, type CustomerDocumentControllerRemoveResponse, type CustomerDocumentControllerRemoveResponses, type CustomerDocumentControllerUpdateData, type CustomerDocumentControllerUpdateError, type CustomerDocumentControllerUpdateErrors, type CustomerDocumentControllerUpdateResponse, type CustomerDocumentControllerUpdateResponses, type CustomerResponseDto, DEFAULT_BASE_URL, type DeleteAssetClassPropertyResponseDto, type DeleteAssetPropertyResponseDto, type DeleteCustomerResponseDto, type DeleteDocumentResponseDto, type DeleteGroupResponseDto, type DeleteSiteResponseDto, type DeleteUserPropertyResponseDto, type DeleteZoneResponseDto, type DevicePublicControllerGetData, type DevicePublicControllerGetError, type DevicePublicControllerGetErrors, type DevicePublicControllerGetResponse, type DevicePublicControllerGetResponses, type DevicePublicControllerListData, type DevicePublicControllerListError, type DevicePublicControllerListErrors, type DevicePublicControllerListResponse, type DevicePublicControllerListResponses, type DeviceResponseDto, type DocumentResponseDto, type DocumentUploadControllerUploadUrlData, type DocumentUploadControllerUploadUrlError, type DocumentUploadControllerUploadUrlErrors, type DocumentUploadControllerUploadUrlResponse, type DocumentUploadControllerUploadUrlResponses, type DocumentUploadUrlDto, type DocumentUploadUrlResponseDto, type EmbeddedAssetClassPropertyDto, type EmbeddedAssetPropertyDto, type EmbeddedCustomerPropertyDto, type EmbeddedUserPropertyDto, type ErrorDetail, type GroupControllerCreateData, type GroupControllerCreateError, type GroupControllerCreateErrors, type GroupControllerCreateResponse, type GroupControllerCreateResponses, type GroupControllerDeleteData, type GroupControllerDeleteError, type GroupControllerDeleteErrors, type GroupControllerDeleteResponse, type GroupControllerDeleteResponses, type GroupControllerGetData, type GroupControllerGetError, type GroupControllerGetErrors, type GroupControllerGetResponse, type GroupControllerGetResponses, type GroupControllerListData, type GroupControllerListError, type GroupControllerListErrors, type GroupControllerListResponse, type GroupControllerListResponses, type GroupControllerUpdateData, type GroupControllerUpdateError, type GroupControllerUpdateErrors, type GroupControllerUpdateResponse, type GroupControllerUpdateResponses, type GroupResponseDto, type InspectionControllerGetPublicInspectionData, type InspectionControllerGetPublicInspectionError, type InspectionControllerGetPublicInspectionErrors, type InspectionControllerGetPublicInspectionResponse, type InspectionControllerGetPublicInspectionResponses, type InspectionControllerListInspectionsData, type InspectionControllerListInspectionsError, type InspectionControllerListInspectionsErrors, type InspectionControllerListInspectionsResponse, type InspectionControllerListInspectionsResponses, type InspectionResponseDto, type InspectionsResource, type IssueControllerGetIssueHistoryPublicData, type IssueControllerGetIssueHistoryPublicError, type IssueControllerGetIssueHistoryPublicErrors, type IssueControllerGetIssueHistoryPublicResponse, type IssueControllerGetIssueHistoryPublicResponses, type IssueControllerGetIssuePublicData, type IssueControllerGetIssuePublicError, type IssueControllerGetIssuePublicErrors, type IssueControllerGetIssuePublicResponse, type IssueControllerGetIssuePublicResponses, type IssueControllerListIssuesData, type IssueControllerListIssuesError, type IssueControllerListIssuesErrors, type IssueControllerListIssuesResponse, type IssueControllerListIssuesResponses, type IssueControllerUpdateIssuePublicData, type IssueControllerUpdateIssuePublicError, type IssueControllerUpdateIssuePublicErrors, type IssueControllerUpdateIssuePublicResponse, type IssueControllerUpdateIssuePublicResponses, type IssueHistoryDto, type IssueHistoryResponseDto, type IssueResponseDto, type IssuesResource, type JobDocumentControllerCreateData, type JobDocumentControllerCreateError, type JobDocumentControllerCreateErrors, type JobDocumentControllerCreateResponse, type JobDocumentControllerCreateResponses, type JobDocumentControllerGetData, type JobDocumentControllerGetError, type JobDocumentControllerGetErrors, type JobDocumentControllerGetResponse, type JobDocumentControllerGetResponses, type JobDocumentControllerListData, type JobDocumentControllerListError, type JobDocumentControllerListErrors, type JobDocumentControllerListResponse, type JobDocumentControllerListResponses, type JobDocumentControllerRemoveData, type JobDocumentControllerRemoveError, type JobDocumentControllerRemoveErrors, type JobDocumentControllerRemoveResponse, type JobDocumentControllerRemoveResponses, type JobDocumentControllerUpdateData, type JobDocumentControllerUpdateError, type JobDocumentControllerUpdateErrors, type JobDocumentControllerUpdateResponse, type JobDocumentControllerUpdateResponses, type ListChecklistsResponseDto, type ListConfigItemsResponseDto, type ListConfigTablesResponseDto, type ListCustomersResponseDto, type ListDevicesResponseDto, type ListDocumentsResponseDto, type ListGroupsResponseDto, type ListInspectionsResponseDto, type ListIssuesResponseDto, type ListSitesResponseDto, type ListTimesheetsResponseDto, type ListZonesResponseDto, PACKAGE_NAME, PACKAGE_VERSION, type ProjectDocumentControllerCreateData, type ProjectDocumentControllerCreateError, type ProjectDocumentControllerCreateErrors, type ProjectDocumentControllerCreateResponse, type ProjectDocumentControllerCreateResponses, type ProjectDocumentControllerGetData, type ProjectDocumentControllerGetError, type ProjectDocumentControllerGetErrors, type ProjectDocumentControllerGetResponse, type ProjectDocumentControllerGetResponses, type ProjectDocumentControllerListData, type ProjectDocumentControllerListError, type ProjectDocumentControllerListErrors, type ProjectDocumentControllerListResponse, type ProjectDocumentControllerListResponses, type ProjectDocumentControllerRemoveData, type ProjectDocumentControllerRemoveError, type ProjectDocumentControllerRemoveErrors, type ProjectDocumentControllerRemoveResponse, type ProjectDocumentControllerRemoveResponses, type ProjectDocumentControllerUpdateData, type ProjectDocumentControllerUpdateError, type ProjectDocumentControllerUpdateErrors, type ProjectDocumentControllerUpdateResponse, type ProjectDocumentControllerUpdateResponses, type PublicConfigControllerCreateConfigItemData, type PublicConfigControllerCreateConfigItemError, type PublicConfigControllerCreateConfigItemErrors, type PublicConfigControllerCreateConfigItemResponse, type PublicConfigControllerCreateConfigItemResponses, type PublicConfigControllerDeleteConfigItemData, type PublicConfigControllerDeleteConfigItemError, type PublicConfigControllerDeleteConfigItemErrors, type PublicConfigControllerDeleteConfigItemResponse, type PublicConfigControllerDeleteConfigItemResponses, type PublicConfigControllerGetConfigItemData, type PublicConfigControllerGetConfigItemError, type PublicConfigControllerGetConfigItemErrors, type PublicConfigControllerGetConfigItemResponse, type PublicConfigControllerGetConfigItemResponses, type PublicConfigControllerListConfigItemsData, type PublicConfigControllerListConfigItemsError, type PublicConfigControllerListConfigItemsErrors, type PublicConfigControllerListConfigItemsResponse, type PublicConfigControllerListConfigItemsResponses, type PublicConfigControllerListConfigTablesData, type PublicConfigControllerListConfigTablesError, type PublicConfigControllerListConfigTablesErrors, type PublicConfigControllerListConfigTablesResponse, type PublicConfigControllerListConfigTablesResponses, type PublicConfigControllerUpdateConfigItemData, type PublicConfigControllerUpdateConfigItemError, type PublicConfigControllerUpdateConfigItemErrors, type PublicConfigControllerUpdateConfigItemResponse, type PublicConfigControllerUpdateConfigItemResponses, type PublicCreateAssetDto, type SiteControllerCreateSiteData, type SiteControllerCreateSiteError, type SiteControllerCreateSiteErrors, type SiteControllerCreateSiteResponse, type SiteControllerCreateSiteResponses, type SiteControllerDeleteSiteData, type SiteControllerDeleteSiteError, type SiteControllerDeleteSiteErrors, type SiteControllerDeleteSiteResponse, type SiteControllerDeleteSiteResponses, type SiteControllerListSitesData, type SiteControllerListSitesError, type SiteControllerListSitesErrors, type SiteControllerListSitesResponse, type SiteControllerListSitesResponses, type SiteControllerUpdateSiteData, type SiteControllerUpdateSiteError, type SiteControllerUpdateSiteErrors, type SiteControllerUpdateSiteResponse, type SiteControllerUpdateSiteResponses, type SiteDocumentControllerCreateData, type SiteDocumentControllerCreateError, type SiteDocumentControllerCreateErrors, type SiteDocumentControllerCreateResponse, type SiteDocumentControllerCreateResponses, type SiteDocumentControllerGetData, type SiteDocumentControllerGetError, type SiteDocumentControllerGetErrors, type SiteDocumentControllerGetResponse, type SiteDocumentControllerGetResponses, type SiteDocumentControllerListData, type SiteDocumentControllerListError, type SiteDocumentControllerListErrors, type SiteDocumentControllerListResponse, type SiteDocumentControllerListResponses, type SiteDocumentControllerRemoveData, type SiteDocumentControllerRemoveError, type SiteDocumentControllerRemoveErrors, type SiteDocumentControllerRemoveResponse, type SiteDocumentControllerRemoveResponses, type SiteDocumentControllerUpdateData, type SiteDocumentControllerUpdateError, type SiteDocumentControllerUpdateErrors, type SiteDocumentControllerUpdateResponse, type SiteDocumentControllerUpdateResponses, type SiteResponseDto, type SitesResource, type TimesheetDetailDto, type TimesheetLineDto, type TimesheetPublicControllerGetData, type TimesheetPublicControllerGetError, type TimesheetPublicControllerGetErrors, type TimesheetPublicControllerGetResponse, type TimesheetPublicControllerGetResponses, type TimesheetPublicControllerListData, type TimesheetPublicControllerListError, type TimesheetPublicControllerListErrors, type TimesheetPublicControllerListResponse, type TimesheetPublicControllerListResponses, type TimesheetSummaryDto, type UpdateAssetClassDto, type UpdateAssetClassPropertyDto, type UpdateAssetDto, type UpdateAssetPropertyDto, type UpdateConfigItemDto, type UpdateCustomerDto, type UpdateDocumentDto, type UpdateGroupDto, type UpdateIssueDto, type UpdateSiteDto, type UpdateUserPropertyDto, type UpdateZoneDto, type UserControllerCreateUserData, type UserControllerCreateUserError, type UserControllerCreateUserErrors, type UserControllerCreateUserResponse, type UserControllerCreateUserResponses, type UserControllerGetUserData, type UserControllerGetUserError, type UserControllerGetUserErrors, type UserControllerGetUserResponse, type UserControllerGetUserResponses, type UserControllerListUsersData, type UserControllerListUsersError, type UserControllerListUsersErrors, type UserControllerListUsersResponse, type UserControllerListUsersResponses, type UserControllerUpdateUserData, type UserControllerUpdateUserError, type UserControllerUpdateUserErrors, type UserControllerUpdateUserResponse, type UserControllerUpdateUserResponses, type UserDocumentControllerCreateData, type UserDocumentControllerCreateError, type UserDocumentControllerCreateErrors, type UserDocumentControllerCreateResponse, type UserDocumentControllerCreateResponses, type UserDocumentControllerGetData, type UserDocumentControllerGetError, type UserDocumentControllerGetErrors, type UserDocumentControllerGetResponse, type UserDocumentControllerGetResponses, type UserDocumentControllerListData, type UserDocumentControllerListError, type UserDocumentControllerListErrors, type UserDocumentControllerListResponse, type UserDocumentControllerListResponses, type UserDocumentControllerRemoveData, type UserDocumentControllerRemoveError, type UserDocumentControllerRemoveErrors, type UserDocumentControllerRemoveResponse, type UserDocumentControllerRemoveResponses, type UserDocumentControllerUpdateData, type UserDocumentControllerUpdateError, type UserDocumentControllerUpdateErrors, type UserDocumentControllerUpdateResponse, type UserDocumentControllerUpdateResponses, type UserPropertiesResource, type UserPropertyControllerDeleteUserPropertyData, type UserPropertyControllerDeleteUserPropertyError, type UserPropertyControllerDeleteUserPropertyErrors, type UserPropertyControllerDeleteUserPropertyResponse, type UserPropertyControllerDeleteUserPropertyResponses, type UserPropertyControllerUpdateUserPropertyData, type UserPropertyControllerUpdateUserPropertyError, type UserPropertyControllerUpdateUserPropertyErrors, type UserPropertyControllerUpdateUserPropertyResponse, type UserPropertyControllerUpdateUserPropertyResponses, type UserPropertyResponseDto, type UserResponseDto, type UsersResource, WakataApiError, WakataAuthError, WakataClient, type WakataClientOptions, WakataConflictError, type WakataErrorEnvelope, WakataNotFoundError, WakataPermissionError, WakataRateLimitError, WakataServerError, WakataValidationError, type ZoneControllerCreateData, type ZoneControllerCreateError, type ZoneControllerCreateErrors, type ZoneControllerCreateResponse, type ZoneControllerCreateResponses, type ZoneControllerDeleteData, type ZoneControllerDeleteError, type ZoneControllerDeleteErrors, type ZoneControllerDeleteResponse, type ZoneControllerDeleteResponses, type ZoneControllerGetData, type ZoneControllerGetError, type ZoneControllerGetErrors, type ZoneControllerGetResponse, type ZoneControllerGetResponses, type ZoneControllerListData, type ZoneControllerListError, type ZoneControllerListErrors, type ZoneControllerListResponse, type ZoneControllerListResponses, type ZoneControllerUpdateData, type ZoneControllerUpdateError, type ZoneControllerUpdateErrors, type ZoneControllerUpdateResponse, type ZoneControllerUpdateResponses, type ZoneResponseDto, generateIdempotencyKey, mapApiError };