@terrantula/sdk 0.11.1 → 0.12.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/local.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as SchemaFn, P as ProjectNukeResponse, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-CT3fGCOp.mjs';
1
+ import { a as SchemaFn, P as ProjectNukeResponse, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-D-LiD32g.mjs';
2
2
  import * as _terrantula_types from '@terrantula/types';
3
3
  import * as hono_utils_types from 'hono/utils/types';
4
4
  import * as zod from 'zod';
@@ -23,9 +23,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
23
23
  slug: string;
24
24
  id: string;
25
25
  createdAt: string;
26
+ metadata: string | null;
26
27
  deletedAt: string | null;
27
28
  logo: string | null;
28
- metadata: string | null;
29
29
  suspendedAt: string | null;
30
30
  }>;
31
31
  get: SchemaFn<zod.ZodObject<{
@@ -37,12 +37,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
37
37
  }>, {
38
38
  error: string;
39
39
  } | {
40
+ metadata: {
41
+ [x: string]: hono_utils_types.JSONValue;
42
+ } | null;
40
43
  id: string;
41
44
  name: string;
42
45
  slug: string;
43
46
  logo: string | null;
44
47
  createdAt: string;
45
- metadata: string | null;
46
48
  deletedAt: string | null;
47
49
  suspendedAt: string | null;
48
50
  }>;
@@ -294,10 +296,10 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
294
296
  name: string;
295
297
  slug: string;
296
298
  createdAt: string;
297
- updatedAt: string;
298
299
  metadata: {
299
300
  [x: string]: hono_utils_types.JSONValue;
300
301
  };
302
+ updatedAt: string;
301
303
  orgId: string;
302
304
  isDemo: boolean;
303
305
  lastDriftRunAt: string | null;
@@ -946,6 +948,12 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
946
948
  yellowSeconds?: number | undefined;
947
949
  } | null;
948
950
  applier: string | null;
951
+ labels: {
952
+ [x: string]: string;
953
+ };
954
+ labelMappings: {
955
+ [x: string]: string;
956
+ };
949
957
  createdAt: string;
950
958
  updatedAt: string;
951
959
  }[]>;
@@ -1009,6 +1017,12 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1009
1017
  yellowSeconds?: number | undefined;
1010
1018
  } | null;
1011
1019
  applier: string | null;
1020
+ labels: {
1021
+ [x: string]: string;
1022
+ };
1023
+ labelMappings: {
1024
+ [x: string]: string;
1025
+ };
1012
1026
  createdAt: string;
1013
1027
  updatedAt: string;
1014
1028
  }>;
@@ -1159,6 +1173,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1159
1173
  kind: "data" | "resource" | "module";
1160
1174
  address: string;
1161
1175
  }>, "many">>;
1176
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1177
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1162
1178
  } & {
1163
1179
  orgId: zod.ZodString;
1164
1180
  projectId: zod.ZodString;
@@ -1211,6 +1227,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1211
1227
  yellowSeconds?: number | undefined;
1212
1228
  } | undefined;
1213
1229
  applier?: string | undefined;
1230
+ labels?: Record<string, string> | undefined;
1231
+ labelMappings?: Record<string, string> | undefined;
1214
1232
  }, {
1215
1233
  name: string;
1216
1234
  orgId: string;
@@ -1260,6 +1278,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1260
1278
  yellowSeconds?: number | undefined;
1261
1279
  } | undefined;
1262
1280
  applier?: string | undefined;
1281
+ labels?: Record<string, string> | undefined;
1282
+ labelMappings?: Record<string, string> | undefined;
1263
1283
  }>, {
1264
1284
  name: string;
1265
1285
  createdAt: string;
@@ -1310,6 +1330,12 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1310
1330
  yellowSeconds?: number | undefined;
1311
1331
  } | null;
1312
1332
  applier: string | null;
1333
+ labels: {
1334
+ [x: string]: string;
1335
+ };
1336
+ labelMappings: {
1337
+ [x: string]: string;
1338
+ };
1313
1339
  }>;
1314
1340
  update: SchemaFn<zod.ZodObject<{
1315
1341
  kind: zod.ZodLiteral<"EntityType">;
@@ -1458,6 +1484,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1458
1484
  kind: "data" | "resource" | "module";
1459
1485
  address: string;
1460
1486
  }>, "many">>;
1487
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1488
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1461
1489
  } & {
1462
1490
  orgId: zod.ZodString;
1463
1491
  projectId: zod.ZodString;
@@ -1510,6 +1538,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1510
1538
  yellowSeconds?: number | undefined;
1511
1539
  } | undefined;
1512
1540
  applier?: string | undefined;
1541
+ labels?: Record<string, string> | undefined;
1542
+ labelMappings?: Record<string, string> | undefined;
1513
1543
  }, {
1514
1544
  name: string;
1515
1545
  orgId: string;
@@ -1559,6 +1589,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1559
1589
  yellowSeconds?: number | undefined;
1560
1590
  } | undefined;
1561
1591
  applier?: string | undefined;
1592
+ labels?: Record<string, string> | undefined;
1593
+ labelMappings?: Record<string, string> | undefined;
1562
1594
  }>, {
1563
1595
  orgId: string;
1564
1596
  projectId: string;
@@ -1607,6 +1639,12 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1607
1639
  yellowSeconds?: number | undefined;
1608
1640
  } | null;
1609
1641
  applier: string | null;
1642
+ labels: {
1643
+ [x: string]: string;
1644
+ };
1645
+ labelMappings: {
1646
+ [x: string]: string;
1647
+ };
1610
1648
  createdAt: string;
1611
1649
  updatedAt: string;
1612
1650
  }>;
@@ -1642,11 +1680,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1642
1680
  projectId: string;
1643
1681
  name: string;
1644
1682
  displayName: string | null;
1645
- provider: string;
1683
+ provider: string | null;
1646
1684
  config: {
1647
1685
  [x: string]: hono_utils_types.JSONValue;
1648
1686
  };
1649
1687
  credentialRef: string | null;
1688
+ set: string | null;
1689
+ properties: {
1690
+ [x: string]: string;
1691
+ };
1692
+ capacity: number | null;
1693
+ labels: {
1694
+ [x: string]: string;
1695
+ };
1650
1696
  createdAt: string;
1651
1697
  updatedAt: string;
1652
1698
  }[]>;
@@ -1667,11 +1713,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1667
1713
  projectId: string;
1668
1714
  name: string;
1669
1715
  displayName: string | null;
1670
- provider: string;
1716
+ provider: string | null;
1671
1717
  config: {
1672
1718
  [x: string]: hono_utils_types.JSONValue;
1673
1719
  };
1674
1720
  credentialRef: string | null;
1721
+ set: string | null;
1722
+ properties: {
1723
+ [x: string]: string;
1724
+ };
1725
+ capacity: number | null;
1726
+ labels: {
1727
+ [x: string]: string;
1728
+ };
1675
1729
  createdAt: string;
1676
1730
  updatedAt: string;
1677
1731
  }>;
@@ -1679,9 +1733,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1679
1733
  kind: zod.ZodLiteral<"DeploymentTarget">;
1680
1734
  name: zod.ZodString;
1681
1735
  displayName: zod.ZodOptional<zod.ZodString>;
1682
- provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
1736
+ set: zod.ZodOptional<zod.ZodString>;
1737
+ provider: zod.ZodOptional<zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>>;
1683
1738
  config: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
1739
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1740
+ capacity: zod.ZodOptional<zod.ZodNumber>;
1684
1741
  credentialRef: zod.ZodOptional<zod.ZodString>;
1742
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1685
1743
  } & {
1686
1744
  orgId: zod.ZodString;
1687
1745
  projectId: zod.ZodString;
@@ -1689,40 +1747,60 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1689
1747
  name: string;
1690
1748
  orgId: string;
1691
1749
  projectId: string;
1692
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
1750
+ properties: Record<string, string>;
1693
1751
  kind: "DeploymentTarget";
1694
1752
  config: Record<string, unknown>;
1753
+ set?: string | undefined;
1754
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1695
1755
  displayName?: string | undefined;
1756
+ labels?: Record<string, string> | undefined;
1696
1757
  credentialRef?: string | undefined;
1758
+ capacity?: number | undefined;
1697
1759
  }, {
1698
1760
  name: string;
1699
1761
  orgId: string;
1700
1762
  projectId: string;
1701
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
1702
1763
  kind: "DeploymentTarget";
1764
+ set?: string | undefined;
1765
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1703
1766
  displayName?: string | undefined;
1767
+ properties?: Record<string, string> | undefined;
1768
+ labels?: Record<string, string> | undefined;
1704
1769
  config?: Record<string, unknown> | undefined;
1705
1770
  credentialRef?: string | undefined;
1771
+ capacity?: number | undefined;
1706
1772
  }>, {
1707
1773
  name: string;
1708
1774
  createdAt: string;
1775
+ set: string | null;
1709
1776
  updatedAt: string;
1710
1777
  orgId: string;
1711
1778
  projectId: string;
1712
- provider: string;
1779
+ provider: string | null;
1713
1780
  displayName: string | null;
1781
+ properties: {
1782
+ [x: string]: string;
1783
+ };
1784
+ labels: {
1785
+ [x: string]: string;
1786
+ };
1714
1787
  config: {
1715
1788
  [x: string]: hono_utils_types.JSONValue;
1716
1789
  };
1717
1790
  credentialRef: string | null;
1791
+ capacity: number | null;
1718
1792
  }>;
1719
1793
  update: SchemaFn<zod.ZodObject<{
1720
1794
  kind: zod.ZodLiteral<"DeploymentTarget">;
1721
1795
  name: zod.ZodString;
1722
1796
  displayName: zod.ZodOptional<zod.ZodString>;
1723
- provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
1797
+ set: zod.ZodOptional<zod.ZodString>;
1798
+ provider: zod.ZodOptional<zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>>;
1724
1799
  config: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
1800
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1801
+ capacity: zod.ZodOptional<zod.ZodNumber>;
1725
1802
  credentialRef: zod.ZodOptional<zod.ZodString>;
1803
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1726
1804
  } & {
1727
1805
  orgId: zod.ZodString;
1728
1806
  projectId: zod.ZodString;
@@ -1730,32 +1808,178 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1730
1808
  name: string;
1731
1809
  orgId: string;
1732
1810
  projectId: string;
1733
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
1811
+ properties: Record<string, string>;
1734
1812
  kind: "DeploymentTarget";
1735
1813
  config: Record<string, unknown>;
1814
+ set?: string | undefined;
1815
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1736
1816
  displayName?: string | undefined;
1817
+ labels?: Record<string, string> | undefined;
1737
1818
  credentialRef?: string | undefined;
1819
+ capacity?: number | undefined;
1738
1820
  }, {
1739
1821
  name: string;
1740
1822
  orgId: string;
1741
1823
  projectId: string;
1742
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
1743
1824
  kind: "DeploymentTarget";
1825
+ set?: string | undefined;
1826
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
1744
1827
  displayName?: string | undefined;
1828
+ properties?: Record<string, string> | undefined;
1829
+ labels?: Record<string, string> | undefined;
1745
1830
  config?: Record<string, unknown> | undefined;
1746
1831
  credentialRef?: string | undefined;
1832
+ capacity?: number | undefined;
1833
+ }>, {
1834
+ orgId: string;
1835
+ projectId: string;
1836
+ name: string;
1837
+ displayName: string | null;
1838
+ provider: string | null;
1839
+ config: {
1840
+ [x: string]: hono_utils_types.JSONValue;
1841
+ };
1842
+ credentialRef: string | null;
1843
+ set: string | null;
1844
+ properties: {
1845
+ [x: string]: string;
1846
+ };
1847
+ capacity: number | null;
1848
+ labels: {
1849
+ [x: string]: string;
1850
+ };
1851
+ createdAt: string;
1852
+ updatedAt: string;
1853
+ }>;
1854
+ delete: SchemaFn<zod.ZodObject<{
1855
+ orgId: zod.ZodString;
1856
+ projectId: zod.ZodString;
1857
+ name: zod.ZodString;
1858
+ }, "strip", zod.ZodTypeAny, {
1859
+ name: string;
1860
+ orgId: string;
1861
+ projectId: string;
1862
+ }, {
1863
+ name: string;
1864
+ orgId: string;
1865
+ projectId: string;
1866
+ }>, {
1867
+ deleted: true;
1868
+ name: string;
1869
+ }>;
1870
+ };
1871
+ deploymentTargetSets: {
1872
+ list: SchemaFn<zod.ZodObject<{
1873
+ orgId: zod.ZodString;
1874
+ projectId: zod.ZodString;
1875
+ }, "strip", zod.ZodTypeAny, {
1876
+ orgId: string;
1877
+ projectId: string;
1878
+ }, {
1879
+ orgId: string;
1880
+ projectId: string;
1881
+ }>, {
1882
+ orgId: string;
1883
+ projectId: string;
1884
+ name: string;
1885
+ displayName: string | null;
1886
+ provider: string;
1887
+ properties: {
1888
+ [x: string]: string;
1889
+ };
1890
+ config: {
1891
+ [x: string]: hono_utils_types.JSONValue;
1892
+ };
1893
+ credentialRef: string | null;
1894
+ labels: {
1895
+ [x: string]: string;
1896
+ };
1897
+ createdAt: string;
1898
+ updatedAt: string;
1899
+ }[]>;
1900
+ get: SchemaFn<zod.ZodObject<{
1901
+ orgId: zod.ZodString;
1902
+ projectId: zod.ZodString;
1903
+ name: zod.ZodString;
1904
+ }, "strip", zod.ZodTypeAny, {
1905
+ name: string;
1906
+ orgId: string;
1907
+ projectId: string;
1908
+ }, {
1909
+ name: string;
1910
+ orgId: string;
1911
+ projectId: string;
1747
1912
  }>, {
1748
1913
  orgId: string;
1749
1914
  projectId: string;
1750
1915
  name: string;
1751
1916
  displayName: string | null;
1752
1917
  provider: string;
1918
+ properties: {
1919
+ [x: string]: string;
1920
+ };
1753
1921
  config: {
1754
1922
  [x: string]: hono_utils_types.JSONValue;
1755
1923
  };
1756
1924
  credentialRef: string | null;
1925
+ labels: {
1926
+ [x: string]: string;
1927
+ };
1928
+ createdAt: string;
1929
+ updatedAt: string;
1930
+ }>;
1931
+ put: SchemaFn<zod.ZodObject<{
1932
+ kind: zod.ZodLiteral<"DeploymentTargetSet">;
1933
+ name: zod.ZodString;
1934
+ displayName: zod.ZodOptional<zod.ZodString>;
1935
+ provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
1936
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1937
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1938
+ credentialRef: zod.ZodOptional<zod.ZodString>;
1939
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1940
+ } & {
1941
+ orgId: zod.ZodString;
1942
+ projectId: zod.ZodString;
1943
+ }, "strip", zod.ZodTypeAny, {
1944
+ name: string;
1945
+ orgId: string;
1946
+ projectId: string;
1947
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
1948
+ properties: Record<string, string>;
1949
+ kind: "DeploymentTargetSet";
1950
+ displayName?: string | undefined;
1951
+ labels?: Record<string, string> | undefined;
1952
+ config?: Record<string, unknown> | undefined;
1953
+ credentialRef?: string | undefined;
1954
+ }, {
1955
+ name: string;
1956
+ orgId: string;
1957
+ projectId: string;
1958
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
1959
+ kind: "DeploymentTargetSet";
1960
+ displayName?: string | undefined;
1961
+ properties?: Record<string, string> | undefined;
1962
+ labels?: Record<string, string> | undefined;
1963
+ config?: Record<string, unknown> | undefined;
1964
+ credentialRef?: string | undefined;
1965
+ }>, {
1966
+ name: string;
1757
1967
  createdAt: string;
1758
1968
  updatedAt: string;
1969
+ orgId: string;
1970
+ projectId: string;
1971
+ provider: string;
1972
+ displayName: string | null;
1973
+ properties: {
1974
+ [x: string]: string;
1975
+ };
1976
+ labels: {
1977
+ [x: string]: string;
1978
+ };
1979
+ config: {
1980
+ [x: string]: hono_utils_types.JSONValue;
1981
+ };
1982
+ credentialRef: string | null;
1759
1983
  }>;
1760
1984
  delete: SchemaFn<zod.ZodObject<{
1761
1985
  orgId: zod.ZodString;
@@ -1942,8 +2166,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
1942
2166
  envId: string;
1943
2167
  state: string;
1944
2168
  properties: hono_utils_types.JSONValue;
1945
- entityTypeName: string;
1946
2169
  labels: hono_utils_types.JSONValue;
2170
+ entityTypeName: string;
1947
2171
  lastSyncedAt: string | null;
1948
2172
  syncSource: string | null;
1949
2173
  }>;
@@ -2021,8 +2245,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2021
2245
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
2022
2246
  id: string;
2023
2247
  createdAt: string;
2024
- error: string | null;
2025
2248
  metadata: hono_utils_types.JSONValue;
2249
+ error: string | null;
2026
2250
  output: hono_utils_types.JSONValue;
2027
2251
  orgId: string;
2028
2252
  projectId: string;
@@ -2160,7 +2384,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2160
2384
  property: string;
2161
2385
  value?: string | undefined;
2162
2386
  } | null;
2163
- deploymentTarget: string | null;
2387
+ targetSelector: {
2388
+ primary: {
2389
+ set: string;
2390
+ policy: "least-loaded" | "round-robin" | "random";
2391
+ match?: {
2392
+ property: string;
2393
+ equals: {
2394
+ source: "environment";
2395
+ } | {
2396
+ name: string;
2397
+ source: "entityProperty";
2398
+ } | {
2399
+ value: string;
2400
+ source: "literal";
2401
+ };
2402
+ }[] | undefined;
2403
+ };
2404
+ roles?: {
2405
+ [x: string]: {
2406
+ set: string;
2407
+ policy: "least-loaded" | "round-robin" | "random";
2408
+ match?: {
2409
+ property: string;
2410
+ equals: {
2411
+ source: "environment";
2412
+ } | {
2413
+ name: string;
2414
+ source: "entityProperty";
2415
+ } | {
2416
+ value: string;
2417
+ source: "literal";
2418
+ };
2419
+ }[] | undefined;
2420
+ };
2421
+ } | undefined;
2422
+ } | null;
2423
+ labels: {
2424
+ [x: string]: string;
2425
+ };
2164
2426
  createdAt: string;
2165
2427
  updatedAt: string;
2166
2428
  }[]>;
@@ -2194,7 +2456,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2194
2456
  property: string;
2195
2457
  value?: string | undefined;
2196
2458
  } | null;
2197
- deploymentTarget: string | null;
2459
+ targetSelector: {
2460
+ primary: {
2461
+ set: string;
2462
+ policy: "least-loaded" | "round-robin" | "random";
2463
+ match?: {
2464
+ property: string;
2465
+ equals: {
2466
+ source: "environment";
2467
+ } | {
2468
+ name: string;
2469
+ source: "entityProperty";
2470
+ } | {
2471
+ value: string;
2472
+ source: "literal";
2473
+ };
2474
+ }[] | undefined;
2475
+ };
2476
+ roles?: {
2477
+ [x: string]: {
2478
+ set: string;
2479
+ policy: "least-loaded" | "round-robin" | "random";
2480
+ match?: {
2481
+ property: string;
2482
+ equals: {
2483
+ source: "environment";
2484
+ } | {
2485
+ name: string;
2486
+ source: "entityProperty";
2487
+ } | {
2488
+ value: string;
2489
+ source: "literal";
2490
+ };
2491
+ }[] | undefined;
2492
+ };
2493
+ } | undefined;
2494
+ } | null;
2495
+ labels: {
2496
+ [x: string]: string;
2497
+ };
2198
2498
  createdAt: string;
2199
2499
  updatedAt: string;
2200
2500
  }>;
@@ -2240,81 +2540,423 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2240
2540
  value?: string | undefined;
2241
2541
  };
2242
2542
  }>>;
2243
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
2244
- } & {
2245
- orgId: zod.ZodString;
2246
- projectId: zod.ZodString;
2247
- }, "strip", zod.ZodTypeAny, {
2248
- name: string;
2249
- orgId: string;
2250
- projectId: string;
2251
- entityType: string;
2252
- constraints: {
2253
- max: number;
2254
- metric: string;
2255
- aggregate: "max" | "sum" | "avg" | "min";
2256
- }[];
2257
- kind: "Cell";
2258
- placementPolicy: "least-loaded" | "round-robin" | "random";
2259
- parentCells: string[];
2260
- displayName?: string | undefined;
2261
- deploymentTarget?: string | undefined;
2262
- membership?: {
2263
- derivedFrom: {
2264
- property: string;
2265
- value?: string | undefined;
2266
- };
2267
- } | undefined;
2268
- }, {
2269
- name: string;
2270
- orgId: string;
2271
- projectId: string;
2272
- entityType: string;
2273
- kind: "Cell";
2274
- displayName?: string | undefined;
2275
- constraints?: {
2276
- max: number;
2277
- metric: string;
2278
- aggregate: "max" | "sum" | "avg" | "min";
2279
- }[] | undefined;
2280
- placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
2281
- parentCells?: string[] | undefined;
2282
- deploymentTarget?: string | undefined;
2283
- membership?: {
2284
- derivedFrom: {
2285
- property: string;
2286
- value?: string | undefined;
2287
- };
2288
- } | undefined;
2289
- }>, {
2290
- name: string;
2291
- createdAt: string;
2292
- updatedAt: string;
2293
- orgId: string;
2294
- projectId: string;
2295
- displayName: string | null;
2296
- constraints: {
2297
- max: number;
2298
- metric: string;
2299
- aggregate: "max" | "sum" | "avg" | "min";
2300
- }[];
2301
- entityTypeName: string;
2302
- placementPolicy: "least-loaded" | "round-robin" | "random";
2303
- parentCells: string[];
2304
- membershipMode: string;
2305
- membershipDerivedFrom: {
2306
- property: string;
2307
- value?: string | undefined;
2308
- } | null;
2309
- deploymentTarget: string | null;
2310
- }>;
2311
- update: SchemaFn<zod.ZodObject<{
2312
- kind: zod.ZodLiteral<"Cell">;
2313
- name: zod.ZodString;
2314
- displayName: zod.ZodOptional<zod.ZodString>;
2315
- entityType: zod.ZodString;
2316
- placementPolicy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
2317
- constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2543
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
2544
+ primary: zod.ZodObject<{
2545
+ set: zod.ZodString;
2546
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2547
+ property: zod.ZodString;
2548
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
2549
+ source: zod.ZodLiteral<"environment">;
2550
+ }, "strip", zod.ZodTypeAny, {
2551
+ source: "environment";
2552
+ }, {
2553
+ source: "environment";
2554
+ }>, zod.ZodObject<{
2555
+ source: zod.ZodLiteral<"entityProperty">;
2556
+ name: zod.ZodString;
2557
+ }, "strip", zod.ZodTypeAny, {
2558
+ name: string;
2559
+ source: "entityProperty";
2560
+ }, {
2561
+ name: string;
2562
+ source: "entityProperty";
2563
+ }>, zod.ZodObject<{
2564
+ source: zod.ZodLiteral<"literal">;
2565
+ value: zod.ZodString;
2566
+ }, "strip", zod.ZodTypeAny, {
2567
+ value: string;
2568
+ source: "literal";
2569
+ }, {
2570
+ value: string;
2571
+ source: "literal";
2572
+ }>]>;
2573
+ }, "strip", zod.ZodTypeAny, {
2574
+ property: string;
2575
+ equals: {
2576
+ source: "environment";
2577
+ } | {
2578
+ name: string;
2579
+ source: "entityProperty";
2580
+ } | {
2581
+ value: string;
2582
+ source: "literal";
2583
+ };
2584
+ }, {
2585
+ property: string;
2586
+ equals: {
2587
+ source: "environment";
2588
+ } | {
2589
+ name: string;
2590
+ source: "entityProperty";
2591
+ } | {
2592
+ value: string;
2593
+ source: "literal";
2594
+ };
2595
+ }>, "many">>;
2596
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
2597
+ }, "strip", zod.ZodTypeAny, {
2598
+ set: string;
2599
+ policy: "least-loaded" | "round-robin" | "random";
2600
+ match?: {
2601
+ property: string;
2602
+ equals: {
2603
+ source: "environment";
2604
+ } | {
2605
+ name: string;
2606
+ source: "entityProperty";
2607
+ } | {
2608
+ value: string;
2609
+ source: "literal";
2610
+ };
2611
+ }[] | undefined;
2612
+ }, {
2613
+ set: string;
2614
+ match?: {
2615
+ property: string;
2616
+ equals: {
2617
+ source: "environment";
2618
+ } | {
2619
+ name: string;
2620
+ source: "entityProperty";
2621
+ } | {
2622
+ value: string;
2623
+ source: "literal";
2624
+ };
2625
+ }[] | undefined;
2626
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2627
+ }>;
2628
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
2629
+ set: zod.ZodString;
2630
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2631
+ property: zod.ZodString;
2632
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
2633
+ source: zod.ZodLiteral<"environment">;
2634
+ }, "strip", zod.ZodTypeAny, {
2635
+ source: "environment";
2636
+ }, {
2637
+ source: "environment";
2638
+ }>, zod.ZodObject<{
2639
+ source: zod.ZodLiteral<"entityProperty">;
2640
+ name: zod.ZodString;
2641
+ }, "strip", zod.ZodTypeAny, {
2642
+ name: string;
2643
+ source: "entityProperty";
2644
+ }, {
2645
+ name: string;
2646
+ source: "entityProperty";
2647
+ }>, zod.ZodObject<{
2648
+ source: zod.ZodLiteral<"literal">;
2649
+ value: zod.ZodString;
2650
+ }, "strip", zod.ZodTypeAny, {
2651
+ value: string;
2652
+ source: "literal";
2653
+ }, {
2654
+ value: string;
2655
+ source: "literal";
2656
+ }>]>;
2657
+ }, "strip", zod.ZodTypeAny, {
2658
+ property: string;
2659
+ equals: {
2660
+ source: "environment";
2661
+ } | {
2662
+ name: string;
2663
+ source: "entityProperty";
2664
+ } | {
2665
+ value: string;
2666
+ source: "literal";
2667
+ };
2668
+ }, {
2669
+ property: string;
2670
+ equals: {
2671
+ source: "environment";
2672
+ } | {
2673
+ name: string;
2674
+ source: "entityProperty";
2675
+ } | {
2676
+ value: string;
2677
+ source: "literal";
2678
+ };
2679
+ }>, "many">>;
2680
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
2681
+ }, "strip", zod.ZodTypeAny, {
2682
+ set: string;
2683
+ policy: "least-loaded" | "round-robin" | "random";
2684
+ match?: {
2685
+ property: string;
2686
+ equals: {
2687
+ source: "environment";
2688
+ } | {
2689
+ name: string;
2690
+ source: "entityProperty";
2691
+ } | {
2692
+ value: string;
2693
+ source: "literal";
2694
+ };
2695
+ }[] | undefined;
2696
+ }, {
2697
+ set: string;
2698
+ match?: {
2699
+ property: string;
2700
+ equals: {
2701
+ source: "environment";
2702
+ } | {
2703
+ name: string;
2704
+ source: "entityProperty";
2705
+ } | {
2706
+ value: string;
2707
+ source: "literal";
2708
+ };
2709
+ }[] | undefined;
2710
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2711
+ }>>>;
2712
+ }, "strip", zod.ZodTypeAny, {
2713
+ primary: {
2714
+ set: string;
2715
+ policy: "least-loaded" | "round-robin" | "random";
2716
+ match?: {
2717
+ property: string;
2718
+ equals: {
2719
+ source: "environment";
2720
+ } | {
2721
+ name: string;
2722
+ source: "entityProperty";
2723
+ } | {
2724
+ value: string;
2725
+ source: "literal";
2726
+ };
2727
+ }[] | undefined;
2728
+ };
2729
+ roles?: Record<string, {
2730
+ set: string;
2731
+ policy: "least-loaded" | "round-robin" | "random";
2732
+ match?: {
2733
+ property: string;
2734
+ equals: {
2735
+ source: "environment";
2736
+ } | {
2737
+ name: string;
2738
+ source: "entityProperty";
2739
+ } | {
2740
+ value: string;
2741
+ source: "literal";
2742
+ };
2743
+ }[] | undefined;
2744
+ }> | undefined;
2745
+ }, {
2746
+ primary: {
2747
+ set: string;
2748
+ match?: {
2749
+ property: string;
2750
+ equals: {
2751
+ source: "environment";
2752
+ } | {
2753
+ name: string;
2754
+ source: "entityProperty";
2755
+ } | {
2756
+ value: string;
2757
+ source: "literal";
2758
+ };
2759
+ }[] | undefined;
2760
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2761
+ };
2762
+ roles?: Record<string, {
2763
+ set: string;
2764
+ match?: {
2765
+ property: string;
2766
+ equals: {
2767
+ source: "environment";
2768
+ } | {
2769
+ name: string;
2770
+ source: "entityProperty";
2771
+ } | {
2772
+ value: string;
2773
+ source: "literal";
2774
+ };
2775
+ }[] | undefined;
2776
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2777
+ }> | undefined;
2778
+ }>>;
2779
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2780
+ } & {
2781
+ orgId: zod.ZodString;
2782
+ projectId: zod.ZodString;
2783
+ }, "strip", zod.ZodTypeAny, {
2784
+ name: string;
2785
+ orgId: string;
2786
+ projectId: string;
2787
+ entityType: string;
2788
+ constraints: {
2789
+ max: number;
2790
+ metric: string;
2791
+ aggregate: "max" | "sum" | "avg" | "min";
2792
+ }[];
2793
+ kind: "Cell";
2794
+ placementPolicy: "least-loaded" | "round-robin" | "random";
2795
+ parentCells: string[];
2796
+ displayName?: string | undefined;
2797
+ labels?: Record<string, string> | undefined;
2798
+ targetSelector?: {
2799
+ primary: {
2800
+ set: string;
2801
+ policy: "least-loaded" | "round-robin" | "random";
2802
+ match?: {
2803
+ property: string;
2804
+ equals: {
2805
+ source: "environment";
2806
+ } | {
2807
+ name: string;
2808
+ source: "entityProperty";
2809
+ } | {
2810
+ value: string;
2811
+ source: "literal";
2812
+ };
2813
+ }[] | undefined;
2814
+ };
2815
+ roles?: Record<string, {
2816
+ set: string;
2817
+ policy: "least-loaded" | "round-robin" | "random";
2818
+ match?: {
2819
+ property: string;
2820
+ equals: {
2821
+ source: "environment";
2822
+ } | {
2823
+ name: string;
2824
+ source: "entityProperty";
2825
+ } | {
2826
+ value: string;
2827
+ source: "literal";
2828
+ };
2829
+ }[] | undefined;
2830
+ }> | undefined;
2831
+ } | undefined;
2832
+ membership?: {
2833
+ derivedFrom: {
2834
+ property: string;
2835
+ value?: string | undefined;
2836
+ };
2837
+ } | undefined;
2838
+ }, {
2839
+ name: string;
2840
+ orgId: string;
2841
+ projectId: string;
2842
+ entityType: string;
2843
+ kind: "Cell";
2844
+ displayName?: string | undefined;
2845
+ constraints?: {
2846
+ max: number;
2847
+ metric: string;
2848
+ aggregate: "max" | "sum" | "avg" | "min";
2849
+ }[] | undefined;
2850
+ labels?: Record<string, string> | undefined;
2851
+ placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
2852
+ parentCells?: string[] | undefined;
2853
+ targetSelector?: {
2854
+ primary: {
2855
+ set: string;
2856
+ match?: {
2857
+ property: string;
2858
+ equals: {
2859
+ source: "environment";
2860
+ } | {
2861
+ name: string;
2862
+ source: "entityProperty";
2863
+ } | {
2864
+ value: string;
2865
+ source: "literal";
2866
+ };
2867
+ }[] | undefined;
2868
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2869
+ };
2870
+ roles?: Record<string, {
2871
+ set: string;
2872
+ match?: {
2873
+ property: string;
2874
+ equals: {
2875
+ source: "environment";
2876
+ } | {
2877
+ name: string;
2878
+ source: "entityProperty";
2879
+ } | {
2880
+ value: string;
2881
+ source: "literal";
2882
+ };
2883
+ }[] | undefined;
2884
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2885
+ }> | undefined;
2886
+ } | undefined;
2887
+ membership?: {
2888
+ derivedFrom: {
2889
+ property: string;
2890
+ value?: string | undefined;
2891
+ };
2892
+ } | undefined;
2893
+ }>, {
2894
+ name: string;
2895
+ createdAt: string;
2896
+ updatedAt: string;
2897
+ orgId: string;
2898
+ projectId: string;
2899
+ displayName: string | null;
2900
+ constraints: {
2901
+ max: number;
2902
+ metric: string;
2903
+ aggregate: "max" | "sum" | "avg" | "min";
2904
+ }[];
2905
+ labels: {
2906
+ [x: string]: string;
2907
+ };
2908
+ entityTypeName: string;
2909
+ placementPolicy: "least-loaded" | "round-robin" | "random";
2910
+ parentCells: string[];
2911
+ membershipMode: string;
2912
+ membershipDerivedFrom: {
2913
+ property: string;
2914
+ value?: string | undefined;
2915
+ } | null;
2916
+ targetSelector: {
2917
+ primary: {
2918
+ set: string;
2919
+ policy: "least-loaded" | "round-robin" | "random";
2920
+ match?: {
2921
+ property: string;
2922
+ equals: {
2923
+ source: "environment";
2924
+ } | {
2925
+ name: string;
2926
+ source: "entityProperty";
2927
+ } | {
2928
+ value: string;
2929
+ source: "literal";
2930
+ };
2931
+ }[] | undefined;
2932
+ };
2933
+ roles?: {
2934
+ [x: string]: {
2935
+ set: string;
2936
+ policy: "least-loaded" | "round-robin" | "random";
2937
+ match?: {
2938
+ property: string;
2939
+ equals: {
2940
+ source: "environment";
2941
+ } | {
2942
+ name: string;
2943
+ source: "entityProperty";
2944
+ } | {
2945
+ value: string;
2946
+ source: "literal";
2947
+ };
2948
+ }[] | undefined;
2949
+ };
2950
+ } | undefined;
2951
+ } | null;
2952
+ }>;
2953
+ update: SchemaFn<zod.ZodObject<{
2954
+ kind: zod.ZodLiteral<"Cell">;
2955
+ name: zod.ZodString;
2956
+ displayName: zod.ZodOptional<zod.ZodString>;
2957
+ entityType: zod.ZodString;
2958
+ placementPolicy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
2959
+ constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2318
2960
  metric: zod.ZodString;
2319
2961
  aggregate: zod.ZodEnum<["sum", "avg", "min", "max"]>;
2320
2962
  max: zod.ZodNumber;
@@ -2333,24 +2975,260 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2333
2975
  property: zod.ZodString;
2334
2976
  value: zod.ZodOptional<zod.ZodString>;
2335
2977
  }, "strip", zod.ZodTypeAny, {
2336
- property: string;
2337
- value?: string | undefined;
2978
+ property: string;
2979
+ value?: string | undefined;
2980
+ }, {
2981
+ property: string;
2982
+ value?: string | undefined;
2983
+ }>;
2984
+ }, "strip", zod.ZodTypeAny, {
2985
+ derivedFrom: {
2986
+ property: string;
2987
+ value?: string | undefined;
2988
+ };
2989
+ }, {
2990
+ derivedFrom: {
2991
+ property: string;
2992
+ value?: string | undefined;
2993
+ };
2994
+ }>>;
2995
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
2996
+ primary: zod.ZodObject<{
2997
+ set: zod.ZodString;
2998
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2999
+ property: zod.ZodString;
3000
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
3001
+ source: zod.ZodLiteral<"environment">;
3002
+ }, "strip", zod.ZodTypeAny, {
3003
+ source: "environment";
3004
+ }, {
3005
+ source: "environment";
3006
+ }>, zod.ZodObject<{
3007
+ source: zod.ZodLiteral<"entityProperty">;
3008
+ name: zod.ZodString;
3009
+ }, "strip", zod.ZodTypeAny, {
3010
+ name: string;
3011
+ source: "entityProperty";
3012
+ }, {
3013
+ name: string;
3014
+ source: "entityProperty";
3015
+ }>, zod.ZodObject<{
3016
+ source: zod.ZodLiteral<"literal">;
3017
+ value: zod.ZodString;
3018
+ }, "strip", zod.ZodTypeAny, {
3019
+ value: string;
3020
+ source: "literal";
3021
+ }, {
3022
+ value: string;
3023
+ source: "literal";
3024
+ }>]>;
3025
+ }, "strip", zod.ZodTypeAny, {
3026
+ property: string;
3027
+ equals: {
3028
+ source: "environment";
3029
+ } | {
3030
+ name: string;
3031
+ source: "entityProperty";
3032
+ } | {
3033
+ value: string;
3034
+ source: "literal";
3035
+ };
3036
+ }, {
3037
+ property: string;
3038
+ equals: {
3039
+ source: "environment";
3040
+ } | {
3041
+ name: string;
3042
+ source: "entityProperty";
3043
+ } | {
3044
+ value: string;
3045
+ source: "literal";
3046
+ };
3047
+ }>, "many">>;
3048
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
3049
+ }, "strip", zod.ZodTypeAny, {
3050
+ set: string;
3051
+ policy: "least-loaded" | "round-robin" | "random";
3052
+ match?: {
3053
+ property: string;
3054
+ equals: {
3055
+ source: "environment";
3056
+ } | {
3057
+ name: string;
3058
+ source: "entityProperty";
3059
+ } | {
3060
+ value: string;
3061
+ source: "literal";
3062
+ };
3063
+ }[] | undefined;
3064
+ }, {
3065
+ set: string;
3066
+ match?: {
3067
+ property: string;
3068
+ equals: {
3069
+ source: "environment";
3070
+ } | {
3071
+ name: string;
3072
+ source: "entityProperty";
3073
+ } | {
3074
+ value: string;
3075
+ source: "literal";
3076
+ };
3077
+ }[] | undefined;
3078
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
3079
+ }>;
3080
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
3081
+ set: zod.ZodString;
3082
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3083
+ property: zod.ZodString;
3084
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
3085
+ source: zod.ZodLiteral<"environment">;
3086
+ }, "strip", zod.ZodTypeAny, {
3087
+ source: "environment";
3088
+ }, {
3089
+ source: "environment";
3090
+ }>, zod.ZodObject<{
3091
+ source: zod.ZodLiteral<"entityProperty">;
3092
+ name: zod.ZodString;
3093
+ }, "strip", zod.ZodTypeAny, {
3094
+ name: string;
3095
+ source: "entityProperty";
3096
+ }, {
3097
+ name: string;
3098
+ source: "entityProperty";
3099
+ }>, zod.ZodObject<{
3100
+ source: zod.ZodLiteral<"literal">;
3101
+ value: zod.ZodString;
3102
+ }, "strip", zod.ZodTypeAny, {
3103
+ value: string;
3104
+ source: "literal";
3105
+ }, {
3106
+ value: string;
3107
+ source: "literal";
3108
+ }>]>;
3109
+ }, "strip", zod.ZodTypeAny, {
3110
+ property: string;
3111
+ equals: {
3112
+ source: "environment";
3113
+ } | {
3114
+ name: string;
3115
+ source: "entityProperty";
3116
+ } | {
3117
+ value: string;
3118
+ source: "literal";
3119
+ };
3120
+ }, {
3121
+ property: string;
3122
+ equals: {
3123
+ source: "environment";
3124
+ } | {
3125
+ name: string;
3126
+ source: "entityProperty";
3127
+ } | {
3128
+ value: string;
3129
+ source: "literal";
3130
+ };
3131
+ }>, "many">>;
3132
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
3133
+ }, "strip", zod.ZodTypeAny, {
3134
+ set: string;
3135
+ policy: "least-loaded" | "round-robin" | "random";
3136
+ match?: {
3137
+ property: string;
3138
+ equals: {
3139
+ source: "environment";
3140
+ } | {
3141
+ name: string;
3142
+ source: "entityProperty";
3143
+ } | {
3144
+ value: string;
3145
+ source: "literal";
3146
+ };
3147
+ }[] | undefined;
2338
3148
  }, {
2339
- property: string;
2340
- value?: string | undefined;
2341
- }>;
3149
+ set: string;
3150
+ match?: {
3151
+ property: string;
3152
+ equals: {
3153
+ source: "environment";
3154
+ } | {
3155
+ name: string;
3156
+ source: "entityProperty";
3157
+ } | {
3158
+ value: string;
3159
+ source: "literal";
3160
+ };
3161
+ }[] | undefined;
3162
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
3163
+ }>>>;
2342
3164
  }, "strip", zod.ZodTypeAny, {
2343
- derivedFrom: {
2344
- property: string;
2345
- value?: string | undefined;
3165
+ primary: {
3166
+ set: string;
3167
+ policy: "least-loaded" | "round-robin" | "random";
3168
+ match?: {
3169
+ property: string;
3170
+ equals: {
3171
+ source: "environment";
3172
+ } | {
3173
+ name: string;
3174
+ source: "entityProperty";
3175
+ } | {
3176
+ value: string;
3177
+ source: "literal";
3178
+ };
3179
+ }[] | undefined;
2346
3180
  };
3181
+ roles?: Record<string, {
3182
+ set: string;
3183
+ policy: "least-loaded" | "round-robin" | "random";
3184
+ match?: {
3185
+ property: string;
3186
+ equals: {
3187
+ source: "environment";
3188
+ } | {
3189
+ name: string;
3190
+ source: "entityProperty";
3191
+ } | {
3192
+ value: string;
3193
+ source: "literal";
3194
+ };
3195
+ }[] | undefined;
3196
+ }> | undefined;
2347
3197
  }, {
2348
- derivedFrom: {
2349
- property: string;
2350
- value?: string | undefined;
3198
+ primary: {
3199
+ set: string;
3200
+ match?: {
3201
+ property: string;
3202
+ equals: {
3203
+ source: "environment";
3204
+ } | {
3205
+ name: string;
3206
+ source: "entityProperty";
3207
+ } | {
3208
+ value: string;
3209
+ source: "literal";
3210
+ };
3211
+ }[] | undefined;
3212
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
2351
3213
  };
3214
+ roles?: Record<string, {
3215
+ set: string;
3216
+ match?: {
3217
+ property: string;
3218
+ equals: {
3219
+ source: "environment";
3220
+ } | {
3221
+ name: string;
3222
+ source: "entityProperty";
3223
+ } | {
3224
+ value: string;
3225
+ source: "literal";
3226
+ };
3227
+ }[] | undefined;
3228
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
3229
+ }> | undefined;
2352
3230
  }>>;
2353
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
3231
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2354
3232
  } & {
2355
3233
  orgId: zod.ZodString;
2356
3234
  projectId: zod.ZodString;
@@ -2368,7 +3246,41 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2368
3246
  placementPolicy: "least-loaded" | "round-robin" | "random";
2369
3247
  parentCells: string[];
2370
3248
  displayName?: string | undefined;
2371
- deploymentTarget?: string | undefined;
3249
+ labels?: Record<string, string> | undefined;
3250
+ targetSelector?: {
3251
+ primary: {
3252
+ set: string;
3253
+ policy: "least-loaded" | "round-robin" | "random";
3254
+ match?: {
3255
+ property: string;
3256
+ equals: {
3257
+ source: "environment";
3258
+ } | {
3259
+ name: string;
3260
+ source: "entityProperty";
3261
+ } | {
3262
+ value: string;
3263
+ source: "literal";
3264
+ };
3265
+ }[] | undefined;
3266
+ };
3267
+ roles?: Record<string, {
3268
+ set: string;
3269
+ policy: "least-loaded" | "round-robin" | "random";
3270
+ match?: {
3271
+ property: string;
3272
+ equals: {
3273
+ source: "environment";
3274
+ } | {
3275
+ name: string;
3276
+ source: "entityProperty";
3277
+ } | {
3278
+ value: string;
3279
+ source: "literal";
3280
+ };
3281
+ }[] | undefined;
3282
+ }> | undefined;
3283
+ } | undefined;
2372
3284
  membership?: {
2373
3285
  derivedFrom: {
2374
3286
  property: string;
@@ -2387,9 +3299,43 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2387
3299
  metric: string;
2388
3300
  aggregate: "max" | "sum" | "avg" | "min";
2389
3301
  }[] | undefined;
3302
+ labels?: Record<string, string> | undefined;
2390
3303
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
2391
3304
  parentCells?: string[] | undefined;
2392
- deploymentTarget?: string | undefined;
3305
+ targetSelector?: {
3306
+ primary: {
3307
+ set: string;
3308
+ match?: {
3309
+ property: string;
3310
+ equals: {
3311
+ source: "environment";
3312
+ } | {
3313
+ name: string;
3314
+ source: "entityProperty";
3315
+ } | {
3316
+ value: string;
3317
+ source: "literal";
3318
+ };
3319
+ }[] | undefined;
3320
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
3321
+ };
3322
+ roles?: Record<string, {
3323
+ set: string;
3324
+ match?: {
3325
+ property: string;
3326
+ equals: {
3327
+ source: "environment";
3328
+ } | {
3329
+ name: string;
3330
+ source: "entityProperty";
3331
+ } | {
3332
+ value: string;
3333
+ source: "literal";
3334
+ };
3335
+ }[] | undefined;
3336
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
3337
+ }> | undefined;
3338
+ } | undefined;
2393
3339
  membership?: {
2394
3340
  derivedFrom: {
2395
3341
  property: string;
@@ -2414,7 +3360,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2414
3360
  property: string;
2415
3361
  value?: string | undefined;
2416
3362
  } | null;
2417
- deploymentTarget: string | null;
3363
+ targetSelector: {
3364
+ primary: {
3365
+ set: string;
3366
+ policy: "least-loaded" | "round-robin" | "random";
3367
+ match?: {
3368
+ property: string;
3369
+ equals: {
3370
+ source: "environment";
3371
+ } | {
3372
+ name: string;
3373
+ source: "entityProperty";
3374
+ } | {
3375
+ value: string;
3376
+ source: "literal";
3377
+ };
3378
+ }[] | undefined;
3379
+ };
3380
+ roles?: {
3381
+ [x: string]: {
3382
+ set: string;
3383
+ policy: "least-loaded" | "round-robin" | "random";
3384
+ match?: {
3385
+ property: string;
3386
+ equals: {
3387
+ source: "environment";
3388
+ } | {
3389
+ name: string;
3390
+ source: "entityProperty";
3391
+ } | {
3392
+ value: string;
3393
+ source: "literal";
3394
+ };
3395
+ }[] | undefined;
3396
+ };
3397
+ } | undefined;
3398
+ } | null;
3399
+ labels: {
3400
+ [x: string]: string;
3401
+ };
2418
3402
  createdAt: string;
2419
3403
  updatedAt: string;
2420
3404
  }>;
@@ -2537,8 +3521,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2537
3521
  envId: string;
2538
3522
  state: string;
2539
3523
  properties: hono_utils_types.JSONValue;
2540
- entityTypeName: string;
2541
3524
  labels: hono_utils_types.JSONValue;
3525
+ entityTypeName: string;
2542
3526
  lastSyncedAt: string | null;
2543
3527
  syncSource: string | null;
2544
3528
  };
@@ -3041,8 +4025,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3041
4025
  properties: Record<string, unknown>;
3042
4026
  relationshipType: string;
3043
4027
  kind: "Relationship";
3044
- to: string;
3045
4028
  labels: Record<string, string>;
4029
+ to: string;
3046
4030
  state?: string | undefined;
3047
4031
  }, {
3048
4032
  from: string;
@@ -3459,6 +4443,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3459
4443
  webhookSecret?: string | undefined;
3460
4444
  body?: string | undefined;
3461
4445
  title?: string | undefined;
4446
+ labels?: string[] | undefined;
3462
4447
  auth?: {
3463
4448
  token: string;
3464
4449
  type: "token";
@@ -3483,7 +4468,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3483
4468
  value?: hono_utils_types.JSONValue | undefined;
3484
4469
  } | undefined;
3485
4470
  }[] | undefined;
3486
- labels?: string[] | undefined;
3487
4471
  reviewers?: string[] | undefined;
3488
4472
  teamReviewers?: string[] | undefined;
3489
4473
  postMergeDispatch?: {
@@ -3962,6 +4946,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3962
4946
  webhookSecret?: string | undefined;
3963
4947
  body?: string | undefined;
3964
4948
  title?: string | undefined;
4949
+ labels?: string[] | undefined;
3965
4950
  auth?: {
3966
4951
  token: string;
3967
4952
  type: "token";
@@ -3986,7 +4971,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3986
4971
  value?: hono_utils_types.JSONValue | undefined;
3987
4972
  } | undefined;
3988
4973
  }[] | undefined;
3989
- labels?: string[] | undefined;
3990
4974
  reviewers?: string[] | undefined;
3991
4975
  teamReviewers?: string[] | undefined;
3992
4976
  postMergeDispatch?: {
@@ -4925,8 +5909,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4925
5909
  }[];
4926
5910
  webhookSecret?: string | undefined;
4927
5911
  body?: string | undefined;
4928
- base?: string | undefined;
4929
5912
  labels?: string[] | undefined;
5913
+ base?: string | undefined;
4930
5914
  reviewers?: string[] | undefined;
4931
5915
  teamReviewers?: string[] | undefined;
4932
5916
  postMergeDispatch?: {
@@ -5211,8 +6195,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5211
6195
  }[];
5212
6196
  webhookSecret?: string | undefined;
5213
6197
  body?: string | undefined;
5214
- base?: string | undefined;
5215
6198
  labels?: string[] | undefined;
6199
+ base?: string | undefined;
5216
6200
  reviewers?: string[] | undefined;
5217
6201
  teamReviewers?: string[] | undefined;
5218
6202
  }>>;
@@ -5315,8 +6299,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5315
6299
  }[];
5316
6300
  webhookSecret?: string | undefined;
5317
6301
  body?: string | undefined;
5318
- base?: string | undefined;
5319
6302
  labels?: string[] | undefined;
6303
+ base?: string | undefined;
5320
6304
  reviewers?: string[] | undefined;
5321
6305
  teamReviewers?: string[] | undefined;
5322
6306
  } | undefined;
@@ -5623,8 +6607,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5623
6607
  }[];
5624
6608
  webhookSecret?: string | undefined;
5625
6609
  body?: string | undefined;
5626
- base?: string | undefined;
5627
6610
  labels?: string[] | undefined;
6611
+ base?: string | undefined;
5628
6612
  reviewers?: string[] | undefined;
5629
6613
  teamReviewers?: string[] | undefined;
5630
6614
  postMergeDispatch?: {
@@ -5695,8 +6679,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5695
6679
  }[];
5696
6680
  webhookSecret?: string | undefined;
5697
6681
  body?: string | undefined;
5698
- base?: string | undefined;
5699
6682
  labels?: string[] | undefined;
6683
+ base?: string | undefined;
5700
6684
  reviewers?: string[] | undefined;
5701
6685
  teamReviewers?: string[] | undefined;
5702
6686
  } | undefined;
@@ -5991,6 +6975,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5991
6975
  webhookSecret?: string | undefined;
5992
6976
  body?: string | undefined;
5993
6977
  title?: string | undefined;
6978
+ labels?: string[] | undefined;
5994
6979
  auth?: {
5995
6980
  token: string;
5996
6981
  type: "token";
@@ -6015,7 +7000,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6015
7000
  value?: unknown;
6016
7001
  } | undefined;
6017
7002
  }[] | undefined;
6018
- labels?: string[] | undefined;
6019
7003
  reviewers?: string[] | undefined;
6020
7004
  teamReviewers?: string[] | undefined;
6021
7005
  postMergeDispatch?: {
@@ -6029,6 +7013,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6029
7013
  webhookSecret?: string | undefined;
6030
7014
  body?: string | undefined;
6031
7015
  title?: string | undefined;
7016
+ labels?: string[] | undefined;
6032
7017
  auth?: {
6033
7018
  token: string;
6034
7019
  type: "token";
@@ -6053,7 +7038,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6053
7038
  } | undefined;
6054
7039
  operation?: "replace" | "patch" | undefined;
6055
7040
  }[] | undefined;
6056
- labels?: string[] | undefined;
6057
7041
  reviewers?: string[] | undefined;
6058
7042
  teamReviewers?: string[] | undefined;
6059
7043
  postMergeDispatch?: {
@@ -6337,8 +7321,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6337
7321
  }[];
6338
7322
  webhookSecret?: string | undefined;
6339
7323
  body?: string | undefined;
6340
- base?: string | undefined;
6341
7324
  labels?: string[] | undefined;
7325
+ base?: string | undefined;
6342
7326
  reviewers?: string[] | undefined;
6343
7327
  teamReviewers?: string[] | undefined;
6344
7328
  }>>;
@@ -6441,8 +7425,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6441
7425
  }[];
6442
7426
  webhookSecret?: string | undefined;
6443
7427
  body?: string | undefined;
6444
- base?: string | undefined;
6445
7428
  labels?: string[] | undefined;
7429
+ base?: string | undefined;
6446
7430
  reviewers?: string[] | undefined;
6447
7431
  teamReviewers?: string[] | undefined;
6448
7432
  } | undefined;
@@ -6869,6 +7853,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6869
7853
  webhookSecret?: string | undefined;
6870
7854
  body?: string | undefined;
6871
7855
  title?: string | undefined;
7856
+ labels?: string[] | undefined;
6872
7857
  auth?: {
6873
7858
  token: string;
6874
7859
  type: "token";
@@ -6893,7 +7878,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6893
7878
  value?: unknown;
6894
7879
  } | undefined;
6895
7880
  }[] | undefined;
6896
- labels?: string[] | undefined;
6897
7881
  reviewers?: string[] | undefined;
6898
7882
  teamReviewers?: string[] | undefined;
6899
7883
  postMergeDispatch?: {
@@ -7158,8 +8142,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7158
8142
  }[];
7159
8143
  webhookSecret?: string | undefined;
7160
8144
  body?: string | undefined;
7161
- base?: string | undefined;
7162
8145
  labels?: string[] | undefined;
8146
+ base?: string | undefined;
7163
8147
  reviewers?: string[] | undefined;
7164
8148
  teamReviewers?: string[] | undefined;
7165
8149
  postMergeDispatch?: {
@@ -7230,8 +8214,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7230
8214
  }[];
7231
8215
  webhookSecret?: string | undefined;
7232
8216
  body?: string | undefined;
7233
- base?: string | undefined;
7234
8217
  labels?: string[] | undefined;
8218
+ base?: string | undefined;
7235
8219
  reviewers?: string[] | undefined;
7236
8220
  teamReviewers?: string[] | undefined;
7237
8221
  } | undefined;
@@ -7314,6 +8298,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7314
8298
  webhookSecret?: string | undefined;
7315
8299
  body?: string | undefined;
7316
8300
  title?: string | undefined;
8301
+ labels?: string[] | undefined;
7317
8302
  auth?: {
7318
8303
  token: string;
7319
8304
  type: "token";
@@ -7338,7 +8323,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7338
8323
  } | undefined;
7339
8324
  operation?: "replace" | "patch" | undefined;
7340
8325
  }[] | undefined;
7341
- labels?: string[] | undefined;
7342
8326
  reviewers?: string[] | undefined;
7343
8327
  teamReviewers?: string[] | undefined;
7344
8328
  postMergeDispatch?: {
@@ -7408,8 +8392,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7408
8392
  }[];
7409
8393
  webhookSecret?: string | undefined;
7410
8394
  body?: string | undefined;
7411
- base?: string | undefined;
7412
8395
  labels?: string[] | undefined;
8396
+ base?: string | undefined;
7413
8397
  reviewers?: string[] | undefined;
7414
8398
  teamReviewers?: string[] | undefined;
7415
8399
  } | undefined;
@@ -7795,6 +8779,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7795
8779
  webhookSecret?: string | undefined;
7796
8780
  body?: string | undefined;
7797
8781
  title?: string | undefined;
8782
+ labels?: string[] | undefined;
7798
8783
  auth?: {
7799
8784
  token: string;
7800
8785
  type: "token";
@@ -7819,7 +8804,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7819
8804
  value?: hono_utils_types.JSONValue | undefined;
7820
8805
  } | undefined;
7821
8806
  }[] | undefined;
7822
- labels?: string[] | undefined;
7823
8807
  reviewers?: string[] | undefined;
7824
8808
  teamReviewers?: string[] | undefined;
7825
8809
  postMergeDispatch?: {
@@ -8758,8 +9742,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8758
9742
  }[];
8759
9743
  webhookSecret?: string | undefined;
8760
9744
  body?: string | undefined;
8761
- base?: string | undefined;
8762
9745
  labels?: string[] | undefined;
9746
+ base?: string | undefined;
8763
9747
  reviewers?: string[] | undefined;
8764
9748
  teamReviewers?: string[] | undefined;
8765
9749
  postMergeDispatch?: {
@@ -9044,8 +10028,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9044
10028
  }[];
9045
10029
  webhookSecret?: string | undefined;
9046
10030
  body?: string | undefined;
9047
- base?: string | undefined;
9048
10031
  labels?: string[] | undefined;
10032
+ base?: string | undefined;
9049
10033
  reviewers?: string[] | undefined;
9050
10034
  teamReviewers?: string[] | undefined;
9051
10035
  }>>;
@@ -9148,8 +10132,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9148
10132
  }[];
9149
10133
  webhookSecret?: string | undefined;
9150
10134
  body?: string | undefined;
9151
- base?: string | undefined;
9152
10135
  labels?: string[] | undefined;
10136
+ base?: string | undefined;
9153
10137
  reviewers?: string[] | undefined;
9154
10138
  teamReviewers?: string[] | undefined;
9155
10139
  } | undefined;
@@ -9456,8 +10440,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9456
10440
  }[];
9457
10441
  webhookSecret?: string | undefined;
9458
10442
  body?: string | undefined;
9459
- base?: string | undefined;
9460
10443
  labels?: string[] | undefined;
10444
+ base?: string | undefined;
9461
10445
  reviewers?: string[] | undefined;
9462
10446
  teamReviewers?: string[] | undefined;
9463
10447
  postMergeDispatch?: {
@@ -9528,8 +10512,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9528
10512
  }[];
9529
10513
  webhookSecret?: string | undefined;
9530
10514
  body?: string | undefined;
9531
- base?: string | undefined;
9532
10515
  labels?: string[] | undefined;
10516
+ base?: string | undefined;
9533
10517
  reviewers?: string[] | undefined;
9534
10518
  teamReviewers?: string[] | undefined;
9535
10519
  } | undefined;
@@ -9824,6 +10808,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9824
10808
  webhookSecret?: string | undefined;
9825
10809
  body?: string | undefined;
9826
10810
  title?: string | undefined;
10811
+ labels?: string[] | undefined;
9827
10812
  auth?: {
9828
10813
  token: string;
9829
10814
  type: "token";
@@ -9848,7 +10833,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9848
10833
  value?: unknown;
9849
10834
  } | undefined;
9850
10835
  }[] | undefined;
9851
- labels?: string[] | undefined;
9852
10836
  reviewers?: string[] | undefined;
9853
10837
  teamReviewers?: string[] | undefined;
9854
10838
  postMergeDispatch?: {
@@ -9862,6 +10846,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9862
10846
  webhookSecret?: string | undefined;
9863
10847
  body?: string | undefined;
9864
10848
  title?: string | undefined;
10849
+ labels?: string[] | undefined;
9865
10850
  auth?: {
9866
10851
  token: string;
9867
10852
  type: "token";
@@ -9886,7 +10871,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9886
10871
  } | undefined;
9887
10872
  operation?: "replace" | "patch" | undefined;
9888
10873
  }[] | undefined;
9889
- labels?: string[] | undefined;
9890
10874
  reviewers?: string[] | undefined;
9891
10875
  teamReviewers?: string[] | undefined;
9892
10876
  postMergeDispatch?: {
@@ -10170,8 +11154,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10170
11154
  }[];
10171
11155
  webhookSecret?: string | undefined;
10172
11156
  body?: string | undefined;
10173
- base?: string | undefined;
10174
11157
  labels?: string[] | undefined;
11158
+ base?: string | undefined;
10175
11159
  reviewers?: string[] | undefined;
10176
11160
  teamReviewers?: string[] | undefined;
10177
11161
  }>>;
@@ -10274,8 +11258,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10274
11258
  }[];
10275
11259
  webhookSecret?: string | undefined;
10276
11260
  body?: string | undefined;
10277
- base?: string | undefined;
10278
11261
  labels?: string[] | undefined;
11262
+ base?: string | undefined;
10279
11263
  reviewers?: string[] | undefined;
10280
11264
  teamReviewers?: string[] | undefined;
10281
11265
  } | undefined;
@@ -10702,6 +11686,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10702
11686
  webhookSecret?: string | undefined;
10703
11687
  body?: string | undefined;
10704
11688
  title?: string | undefined;
11689
+ labels?: string[] | undefined;
10705
11690
  auth?: {
10706
11691
  token: string;
10707
11692
  type: "token";
@@ -10726,7 +11711,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10726
11711
  value?: unknown;
10727
11712
  } | undefined;
10728
11713
  }[] | undefined;
10729
- labels?: string[] | undefined;
10730
11714
  reviewers?: string[] | undefined;
10731
11715
  teamReviewers?: string[] | undefined;
10732
11716
  postMergeDispatch?: {
@@ -10991,8 +11975,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10991
11975
  }[];
10992
11976
  webhookSecret?: string | undefined;
10993
11977
  body?: string | undefined;
10994
- base?: string | undefined;
10995
11978
  labels?: string[] | undefined;
11979
+ base?: string | undefined;
10996
11980
  reviewers?: string[] | undefined;
10997
11981
  teamReviewers?: string[] | undefined;
10998
11982
  postMergeDispatch?: {
@@ -11063,8 +12047,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11063
12047
  }[];
11064
12048
  webhookSecret?: string | undefined;
11065
12049
  body?: string | undefined;
11066
- base?: string | undefined;
11067
12050
  labels?: string[] | undefined;
12051
+ base?: string | undefined;
11068
12052
  reviewers?: string[] | undefined;
11069
12053
  teamReviewers?: string[] | undefined;
11070
12054
  } | undefined;
@@ -11147,6 +12131,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11147
12131
  webhookSecret?: string | undefined;
11148
12132
  body?: string | undefined;
11149
12133
  title?: string | undefined;
12134
+ labels?: string[] | undefined;
11150
12135
  auth?: {
11151
12136
  token: string;
11152
12137
  type: "token";
@@ -11171,7 +12156,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11171
12156
  } | undefined;
11172
12157
  operation?: "replace" | "patch" | undefined;
11173
12158
  }[] | undefined;
11174
- labels?: string[] | undefined;
11175
12159
  reviewers?: string[] | undefined;
11176
12160
  teamReviewers?: string[] | undefined;
11177
12161
  postMergeDispatch?: {
@@ -11241,8 +12225,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11241
12225
  }[];
11242
12226
  webhookSecret?: string | undefined;
11243
12227
  body?: string | undefined;
11244
- base?: string | undefined;
11245
12228
  labels?: string[] | undefined;
12229
+ base?: string | undefined;
11246
12230
  reviewers?: string[] | undefined;
11247
12231
  teamReviewers?: string[] | undefined;
11248
12232
  } | undefined;
@@ -11628,6 +12612,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11628
12612
  webhookSecret?: string | undefined;
11629
12613
  body?: string | undefined;
11630
12614
  title?: string | undefined;
12615
+ labels?: string[] | undefined;
11631
12616
  auth?: {
11632
12617
  token: string;
11633
12618
  type: "token";
@@ -11652,7 +12637,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11652
12637
  value?: hono_utils_types.JSONValue | undefined;
11653
12638
  } | undefined;
11654
12639
  }[] | undefined;
11655
- labels?: string[] | undefined;
11656
12640
  reviewers?: string[] | undefined;
11657
12641
  teamReviewers?: string[] | undefined;
11658
12642
  postMergeDispatch?: {
@@ -11805,8 +12789,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
11805
12789
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
11806
12790
  id: string;
11807
12791
  createdAt: string;
11808
- error: string | null;
11809
12792
  metadata: hono_utils_types.JSONValue;
12793
+ error: string | null;
11810
12794
  output: hono_utils_types.JSONValue;
11811
12795
  orgId: string;
11812
12796
  projectId: string;
@@ -12198,6 +13182,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12198
13182
  kind: "data" | "resource" | "module";
12199
13183
  address: string;
12200
13184
  }>, "many">>;
13185
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
13186
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
12201
13187
  }, "strip", zod.ZodTypeAny, {
12202
13188
  name: string;
12203
13189
  states: string[];
@@ -12245,6 +13231,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12245
13231
  yellowSeconds?: number | undefined;
12246
13232
  } | undefined;
12247
13233
  applier?: string | undefined;
13234
+ labels?: Record<string, string> | undefined;
13235
+ labelMappings?: Record<string, string> | undefined;
12248
13236
  }, {
12249
13237
  name: string;
12250
13238
  states: string[];
@@ -12292,6 +13280,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12292
13280
  yellowSeconds?: number | undefined;
12293
13281
  } | undefined;
12294
13282
  applier?: string | undefined;
13283
+ labels?: Record<string, string> | undefined;
13284
+ labelMappings?: Record<string, string> | undefined;
12295
13285
  }>, zod.ZodObject<{
12296
13286
  kind: zod.ZodLiteral<"Cell">;
12297
13287
  name: zod.ZodString;
@@ -12329,12 +13319,248 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12329
13319
  value?: string | undefined;
12330
13320
  };
12331
13321
  }, {
12332
- derivedFrom: {
12333
- property: string;
12334
- value?: string | undefined;
13322
+ derivedFrom: {
13323
+ property: string;
13324
+ value?: string | undefined;
13325
+ };
13326
+ }>>;
13327
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
13328
+ primary: zod.ZodObject<{
13329
+ set: zod.ZodString;
13330
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13331
+ property: zod.ZodString;
13332
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
13333
+ source: zod.ZodLiteral<"environment">;
13334
+ }, "strip", zod.ZodTypeAny, {
13335
+ source: "environment";
13336
+ }, {
13337
+ source: "environment";
13338
+ }>, zod.ZodObject<{
13339
+ source: zod.ZodLiteral<"entityProperty">;
13340
+ name: zod.ZodString;
13341
+ }, "strip", zod.ZodTypeAny, {
13342
+ name: string;
13343
+ source: "entityProperty";
13344
+ }, {
13345
+ name: string;
13346
+ source: "entityProperty";
13347
+ }>, zod.ZodObject<{
13348
+ source: zod.ZodLiteral<"literal">;
13349
+ value: zod.ZodString;
13350
+ }, "strip", zod.ZodTypeAny, {
13351
+ value: string;
13352
+ source: "literal";
13353
+ }, {
13354
+ value: string;
13355
+ source: "literal";
13356
+ }>]>;
13357
+ }, "strip", zod.ZodTypeAny, {
13358
+ property: string;
13359
+ equals: {
13360
+ source: "environment";
13361
+ } | {
13362
+ name: string;
13363
+ source: "entityProperty";
13364
+ } | {
13365
+ value: string;
13366
+ source: "literal";
13367
+ };
13368
+ }, {
13369
+ property: string;
13370
+ equals: {
13371
+ source: "environment";
13372
+ } | {
13373
+ name: string;
13374
+ source: "entityProperty";
13375
+ } | {
13376
+ value: string;
13377
+ source: "literal";
13378
+ };
13379
+ }>, "many">>;
13380
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
13381
+ }, "strip", zod.ZodTypeAny, {
13382
+ set: string;
13383
+ policy: "least-loaded" | "round-robin" | "random";
13384
+ match?: {
13385
+ property: string;
13386
+ equals: {
13387
+ source: "environment";
13388
+ } | {
13389
+ name: string;
13390
+ source: "entityProperty";
13391
+ } | {
13392
+ value: string;
13393
+ source: "literal";
13394
+ };
13395
+ }[] | undefined;
13396
+ }, {
13397
+ set: string;
13398
+ match?: {
13399
+ property: string;
13400
+ equals: {
13401
+ source: "environment";
13402
+ } | {
13403
+ name: string;
13404
+ source: "entityProperty";
13405
+ } | {
13406
+ value: string;
13407
+ source: "literal";
13408
+ };
13409
+ }[] | undefined;
13410
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
13411
+ }>;
13412
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
13413
+ set: zod.ZodString;
13414
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
13415
+ property: zod.ZodString;
13416
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
13417
+ source: zod.ZodLiteral<"environment">;
13418
+ }, "strip", zod.ZodTypeAny, {
13419
+ source: "environment";
13420
+ }, {
13421
+ source: "environment";
13422
+ }>, zod.ZodObject<{
13423
+ source: zod.ZodLiteral<"entityProperty">;
13424
+ name: zod.ZodString;
13425
+ }, "strip", zod.ZodTypeAny, {
13426
+ name: string;
13427
+ source: "entityProperty";
13428
+ }, {
13429
+ name: string;
13430
+ source: "entityProperty";
13431
+ }>, zod.ZodObject<{
13432
+ source: zod.ZodLiteral<"literal">;
13433
+ value: zod.ZodString;
13434
+ }, "strip", zod.ZodTypeAny, {
13435
+ value: string;
13436
+ source: "literal";
13437
+ }, {
13438
+ value: string;
13439
+ source: "literal";
13440
+ }>]>;
13441
+ }, "strip", zod.ZodTypeAny, {
13442
+ property: string;
13443
+ equals: {
13444
+ source: "environment";
13445
+ } | {
13446
+ name: string;
13447
+ source: "entityProperty";
13448
+ } | {
13449
+ value: string;
13450
+ source: "literal";
13451
+ };
13452
+ }, {
13453
+ property: string;
13454
+ equals: {
13455
+ source: "environment";
13456
+ } | {
13457
+ name: string;
13458
+ source: "entityProperty";
13459
+ } | {
13460
+ value: string;
13461
+ source: "literal";
13462
+ };
13463
+ }>, "many">>;
13464
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
13465
+ }, "strip", zod.ZodTypeAny, {
13466
+ set: string;
13467
+ policy: "least-loaded" | "round-robin" | "random";
13468
+ match?: {
13469
+ property: string;
13470
+ equals: {
13471
+ source: "environment";
13472
+ } | {
13473
+ name: string;
13474
+ source: "entityProperty";
13475
+ } | {
13476
+ value: string;
13477
+ source: "literal";
13478
+ };
13479
+ }[] | undefined;
13480
+ }, {
13481
+ set: string;
13482
+ match?: {
13483
+ property: string;
13484
+ equals: {
13485
+ source: "environment";
13486
+ } | {
13487
+ name: string;
13488
+ source: "entityProperty";
13489
+ } | {
13490
+ value: string;
13491
+ source: "literal";
13492
+ };
13493
+ }[] | undefined;
13494
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
13495
+ }>>>;
13496
+ }, "strip", zod.ZodTypeAny, {
13497
+ primary: {
13498
+ set: string;
13499
+ policy: "least-loaded" | "round-robin" | "random";
13500
+ match?: {
13501
+ property: string;
13502
+ equals: {
13503
+ source: "environment";
13504
+ } | {
13505
+ name: string;
13506
+ source: "entityProperty";
13507
+ } | {
13508
+ value: string;
13509
+ source: "literal";
13510
+ };
13511
+ }[] | undefined;
13512
+ };
13513
+ roles?: Record<string, {
13514
+ set: string;
13515
+ policy: "least-loaded" | "round-robin" | "random";
13516
+ match?: {
13517
+ property: string;
13518
+ equals: {
13519
+ source: "environment";
13520
+ } | {
13521
+ name: string;
13522
+ source: "entityProperty";
13523
+ } | {
13524
+ value: string;
13525
+ source: "literal";
13526
+ };
13527
+ }[] | undefined;
13528
+ }> | undefined;
13529
+ }, {
13530
+ primary: {
13531
+ set: string;
13532
+ match?: {
13533
+ property: string;
13534
+ equals: {
13535
+ source: "environment";
13536
+ } | {
13537
+ name: string;
13538
+ source: "entityProperty";
13539
+ } | {
13540
+ value: string;
13541
+ source: "literal";
13542
+ };
13543
+ }[] | undefined;
13544
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
12335
13545
  };
13546
+ roles?: Record<string, {
13547
+ set: string;
13548
+ match?: {
13549
+ property: string;
13550
+ equals: {
13551
+ source: "environment";
13552
+ } | {
13553
+ name: string;
13554
+ source: "entityProperty";
13555
+ } | {
13556
+ value: string;
13557
+ source: "literal";
13558
+ };
13559
+ }[] | undefined;
13560
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
13561
+ }> | undefined;
12336
13562
  }>>;
12337
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
13563
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
12338
13564
  }, "strip", zod.ZodTypeAny, {
12339
13565
  name: string;
12340
13566
  entityType: string;
@@ -12347,7 +13573,41 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12347
13573
  placementPolicy: "least-loaded" | "round-robin" | "random";
12348
13574
  parentCells: string[];
12349
13575
  displayName?: string | undefined;
12350
- deploymentTarget?: string | undefined;
13576
+ labels?: Record<string, string> | undefined;
13577
+ targetSelector?: {
13578
+ primary: {
13579
+ set: string;
13580
+ policy: "least-loaded" | "round-robin" | "random";
13581
+ match?: {
13582
+ property: string;
13583
+ equals: {
13584
+ source: "environment";
13585
+ } | {
13586
+ name: string;
13587
+ source: "entityProperty";
13588
+ } | {
13589
+ value: string;
13590
+ source: "literal";
13591
+ };
13592
+ }[] | undefined;
13593
+ };
13594
+ roles?: Record<string, {
13595
+ set: string;
13596
+ policy: "least-loaded" | "round-robin" | "random";
13597
+ match?: {
13598
+ property: string;
13599
+ equals: {
13600
+ source: "environment";
13601
+ } | {
13602
+ name: string;
13603
+ source: "entityProperty";
13604
+ } | {
13605
+ value: string;
13606
+ source: "literal";
13607
+ };
13608
+ }[] | undefined;
13609
+ }> | undefined;
13610
+ } | undefined;
12351
13611
  membership?: {
12352
13612
  derivedFrom: {
12353
13613
  property: string;
@@ -12364,9 +13624,43 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12364
13624
  metric: string;
12365
13625
  aggregate: "max" | "sum" | "avg" | "min";
12366
13626
  }[] | undefined;
13627
+ labels?: Record<string, string> | undefined;
12367
13628
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
12368
13629
  parentCells?: string[] | undefined;
12369
- deploymentTarget?: string | undefined;
13630
+ targetSelector?: {
13631
+ primary: {
13632
+ set: string;
13633
+ match?: {
13634
+ property: string;
13635
+ equals: {
13636
+ source: "environment";
13637
+ } | {
13638
+ name: string;
13639
+ source: "entityProperty";
13640
+ } | {
13641
+ value: string;
13642
+ source: "literal";
13643
+ };
13644
+ }[] | undefined;
13645
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
13646
+ };
13647
+ roles?: Record<string, {
13648
+ set: string;
13649
+ match?: {
13650
+ property: string;
13651
+ equals: {
13652
+ source: "environment";
13653
+ } | {
13654
+ name: string;
13655
+ source: "entityProperty";
13656
+ } | {
13657
+ value: string;
13658
+ source: "literal";
13659
+ };
13660
+ }[] | undefined;
13661
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
13662
+ }> | undefined;
13663
+ } | undefined;
12370
13664
  membership?: {
12371
13665
  derivedFrom: {
12372
13666
  property: string;
@@ -13309,8 +14603,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13309
14603
  }[];
13310
14604
  webhookSecret?: string | undefined;
13311
14605
  body?: string | undefined;
13312
- base?: string | undefined;
13313
14606
  labels?: string[] | undefined;
14607
+ base?: string | undefined;
13314
14608
  reviewers?: string[] | undefined;
13315
14609
  teamReviewers?: string[] | undefined;
13316
14610
  postMergeDispatch?: {
@@ -13595,8 +14889,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13595
14889
  }[];
13596
14890
  webhookSecret?: string | undefined;
13597
14891
  body?: string | undefined;
13598
- base?: string | undefined;
13599
14892
  labels?: string[] | undefined;
14893
+ base?: string | undefined;
13600
14894
  reviewers?: string[] | undefined;
13601
14895
  teamReviewers?: string[] | undefined;
13602
14896
  }>>;
@@ -13699,8 +14993,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13699
14993
  }[];
13700
14994
  webhookSecret?: string | undefined;
13701
14995
  body?: string | undefined;
13702
- base?: string | undefined;
13703
14996
  labels?: string[] | undefined;
14997
+ base?: string | undefined;
13704
14998
  reviewers?: string[] | undefined;
13705
14999
  teamReviewers?: string[] | undefined;
13706
15000
  } | undefined;
@@ -14007,8 +15301,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14007
15301
  }[];
14008
15302
  webhookSecret?: string | undefined;
14009
15303
  body?: string | undefined;
14010
- base?: string | undefined;
14011
15304
  labels?: string[] | undefined;
15305
+ base?: string | undefined;
14012
15306
  reviewers?: string[] | undefined;
14013
15307
  teamReviewers?: string[] | undefined;
14014
15308
  postMergeDispatch?: {
@@ -14079,8 +15373,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14079
15373
  }[];
14080
15374
  webhookSecret?: string | undefined;
14081
15375
  body?: string | undefined;
14082
- base?: string | undefined;
14083
15376
  labels?: string[] | undefined;
15377
+ base?: string | undefined;
14084
15378
  reviewers?: string[] | undefined;
14085
15379
  teamReviewers?: string[] | undefined;
14086
15380
  } | undefined;
@@ -14375,6 +15669,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14375
15669
  webhookSecret?: string | undefined;
14376
15670
  body?: string | undefined;
14377
15671
  title?: string | undefined;
15672
+ labels?: string[] | undefined;
14378
15673
  auth?: {
14379
15674
  token: string;
14380
15675
  type: "token";
@@ -14399,7 +15694,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14399
15694
  value?: unknown;
14400
15695
  } | undefined;
14401
15696
  }[] | undefined;
14402
- labels?: string[] | undefined;
14403
15697
  reviewers?: string[] | undefined;
14404
15698
  teamReviewers?: string[] | undefined;
14405
15699
  postMergeDispatch?: {
@@ -14413,6 +15707,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14413
15707
  webhookSecret?: string | undefined;
14414
15708
  body?: string | undefined;
14415
15709
  title?: string | undefined;
15710
+ labels?: string[] | undefined;
14416
15711
  auth?: {
14417
15712
  token: string;
14418
15713
  type: "token";
@@ -14437,7 +15732,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14437
15732
  } | undefined;
14438
15733
  operation?: "replace" | "patch" | undefined;
14439
15734
  }[] | undefined;
14440
- labels?: string[] | undefined;
14441
15735
  reviewers?: string[] | undefined;
14442
15736
  teamReviewers?: string[] | undefined;
14443
15737
  postMergeDispatch?: {
@@ -14721,8 +16015,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14721
16015
  }[];
14722
16016
  webhookSecret?: string | undefined;
14723
16017
  body?: string | undefined;
14724
- base?: string | undefined;
14725
16018
  labels?: string[] | undefined;
16019
+ base?: string | undefined;
14726
16020
  reviewers?: string[] | undefined;
14727
16021
  teamReviewers?: string[] | undefined;
14728
16022
  }>>;
@@ -14825,8 +16119,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14825
16119
  }[];
14826
16120
  webhookSecret?: string | undefined;
14827
16121
  body?: string | undefined;
14828
- base?: string | undefined;
14829
16122
  labels?: string[] | undefined;
16123
+ base?: string | undefined;
14830
16124
  reviewers?: string[] | undefined;
14831
16125
  teamReviewers?: string[] | undefined;
14832
16126
  } | undefined;
@@ -15248,6 +16542,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15248
16542
  webhookSecret?: string | undefined;
15249
16543
  body?: string | undefined;
15250
16544
  title?: string | undefined;
16545
+ labels?: string[] | undefined;
15251
16546
  auth?: {
15252
16547
  token: string;
15253
16548
  type: "token";
@@ -15272,7 +16567,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15272
16567
  value?: unknown;
15273
16568
  } | undefined;
15274
16569
  }[] | undefined;
15275
- labels?: string[] | undefined;
15276
16570
  reviewers?: string[] | undefined;
15277
16571
  teamReviewers?: string[] | undefined;
15278
16572
  postMergeDispatch?: {
@@ -15535,8 +16829,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15535
16829
  }[];
15536
16830
  webhookSecret?: string | undefined;
15537
16831
  body?: string | undefined;
15538
- base?: string | undefined;
15539
16832
  labels?: string[] | undefined;
16833
+ base?: string | undefined;
15540
16834
  reviewers?: string[] | undefined;
15541
16835
  teamReviewers?: string[] | undefined;
15542
16836
  postMergeDispatch?: {
@@ -15607,8 +16901,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15607
16901
  }[];
15608
16902
  webhookSecret?: string | undefined;
15609
16903
  body?: string | undefined;
15610
- base?: string | undefined;
15611
16904
  labels?: string[] | undefined;
16905
+ base?: string | undefined;
15612
16906
  reviewers?: string[] | undefined;
15613
16907
  teamReviewers?: string[] | undefined;
15614
16908
  } | undefined;
@@ -15691,6 +16985,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15691
16985
  webhookSecret?: string | undefined;
15692
16986
  body?: string | undefined;
15693
16987
  title?: string | undefined;
16988
+ labels?: string[] | undefined;
15694
16989
  auth?: {
15695
16990
  token: string;
15696
16991
  type: "token";
@@ -15715,7 +17010,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15715
17010
  } | undefined;
15716
17011
  operation?: "replace" | "patch" | undefined;
15717
17012
  }[] | undefined;
15718
- labels?: string[] | undefined;
15719
17013
  reviewers?: string[] | undefined;
15720
17014
  teamReviewers?: string[] | undefined;
15721
17015
  postMergeDispatch?: {
@@ -15785,8 +17079,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15785
17079
  }[];
15786
17080
  webhookSecret?: string | undefined;
15787
17081
  body?: string | undefined;
15788
- base?: string | undefined;
15789
17082
  labels?: string[] | undefined;
17083
+ base?: string | undefined;
15790
17084
  reviewers?: string[] | undefined;
15791
17085
  teamReviewers?: string[] | undefined;
15792
17086
  } | undefined;
@@ -15868,8 +17162,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15868
17162
  properties: Record<string, unknown>;
15869
17163
  relationshipType: string;
15870
17164
  kind: "Relationship";
15871
- to: string;
15872
17165
  labels: Record<string, string>;
17166
+ to: string;
15873
17167
  state?: string | undefined;
15874
17168
  }, {
15875
17169
  from: string;
@@ -15883,34 +17177,73 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15883
17177
  kind: zod.ZodLiteral<"DeploymentTarget">;
15884
17178
  name: zod.ZodString;
15885
17179
  displayName: zod.ZodOptional<zod.ZodString>;
15886
- provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
17180
+ set: zod.ZodOptional<zod.ZodString>;
17181
+ provider: zod.ZodOptional<zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>>;
15887
17182
  config: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
17183
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17184
+ capacity: zod.ZodOptional<zod.ZodNumber>;
15888
17185
  credentialRef: zod.ZodOptional<zod.ZodString>;
17186
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
15889
17187
  }, "strip", zod.ZodTypeAny, {
15890
17188
  name: string;
15891
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17189
+ properties: Record<string, string>;
15892
17190
  kind: "DeploymentTarget";
15893
17191
  config: Record<string, unknown>;
17192
+ set?: string | undefined;
17193
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
15894
17194
  displayName?: string | undefined;
17195
+ labels?: Record<string, string> | undefined;
15895
17196
  credentialRef?: string | undefined;
17197
+ capacity?: number | undefined;
15896
17198
  }, {
15897
17199
  name: string;
15898
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
15899
17200
  kind: "DeploymentTarget";
17201
+ set?: string | undefined;
17202
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
17203
+ displayName?: string | undefined;
17204
+ properties?: Record<string, string> | undefined;
17205
+ labels?: Record<string, string> | undefined;
17206
+ config?: Record<string, unknown> | undefined;
17207
+ credentialRef?: string | undefined;
17208
+ capacity?: number | undefined;
17209
+ }>, zod.ZodObject<{
17210
+ kind: zod.ZodLiteral<"DeploymentTargetSet">;
17211
+ name: zod.ZodString;
17212
+ displayName: zod.ZodOptional<zod.ZodString>;
17213
+ provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
17214
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17215
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
17216
+ credentialRef: zod.ZodOptional<zod.ZodString>;
17217
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
17218
+ }, "strip", zod.ZodTypeAny, {
17219
+ name: string;
17220
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17221
+ properties: Record<string, string>;
17222
+ kind: "DeploymentTargetSet";
17223
+ displayName?: string | undefined;
17224
+ labels?: Record<string, string> | undefined;
17225
+ config?: Record<string, unknown> | undefined;
17226
+ credentialRef?: string | undefined;
17227
+ }, {
17228
+ name: string;
17229
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17230
+ kind: "DeploymentTargetSet";
15900
17231
  displayName?: string | undefined;
17232
+ properties?: Record<string, string> | undefined;
17233
+ labels?: Record<string, string> | undefined;
15901
17234
  config?: Record<string, unknown> | undefined;
15902
17235
  credentialRef?: string | undefined;
15903
17236
  }>]>, "many">;
15904
17237
  force: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
15905
17238
  deletions: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
15906
- kind: zod.ZodEnum<["EntityType", "Cell", "RelationshipType", "Action", "Secret", "DeploymentTarget"]>;
17239
+ kind: zod.ZodEnum<["EntityType", "Cell", "RelationshipType", "Action", "Secret", "DeploymentTarget", "DeploymentTargetSet"]>;
15907
17240
  name: zod.ZodString;
15908
17241
  }, "strip", zod.ZodTypeAny, {
15909
17242
  name: string;
15910
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
17243
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
15911
17244
  }, {
15912
17245
  name: string;
15913
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
17246
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
15914
17247
  }>, "many">>>;
15915
17248
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
15916
17249
  } & {
@@ -16239,6 +17572,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16239
17572
  webhookSecret?: string | undefined;
16240
17573
  body?: string | undefined;
16241
17574
  title?: string | undefined;
17575
+ labels?: string[] | undefined;
16242
17576
  auth?: {
16243
17577
  token: string;
16244
17578
  type: "token";
@@ -16263,7 +17597,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16263
17597
  value?: unknown;
16264
17598
  } | undefined;
16265
17599
  }[] | undefined;
16266
- labels?: string[] | undefined;
16267
17600
  reviewers?: string[] | undefined;
16268
17601
  teamReviewers?: string[] | undefined;
16269
17602
  postMergeDispatch?: {
@@ -16411,6 +17744,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16411
17744
  yellowSeconds?: number | undefined;
16412
17745
  } | undefined;
16413
17746
  applier?: string | undefined;
17747
+ labels?: Record<string, string> | undefined;
17748
+ labelMappings?: Record<string, string> | undefined;
16414
17749
  } | {
16415
17750
  name: string;
16416
17751
  entityType: string;
@@ -16423,7 +17758,41 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16423
17758
  placementPolicy: "least-loaded" | "round-robin" | "random";
16424
17759
  parentCells: string[];
16425
17760
  displayName?: string | undefined;
16426
- deploymentTarget?: string | undefined;
17761
+ labels?: Record<string, string> | undefined;
17762
+ targetSelector?: {
17763
+ primary: {
17764
+ set: string;
17765
+ policy: "least-loaded" | "round-robin" | "random";
17766
+ match?: {
17767
+ property: string;
17768
+ equals: {
17769
+ source: "environment";
17770
+ } | {
17771
+ name: string;
17772
+ source: "entityProperty";
17773
+ } | {
17774
+ value: string;
17775
+ source: "literal";
17776
+ };
17777
+ }[] | undefined;
17778
+ };
17779
+ roles?: Record<string, {
17780
+ set: string;
17781
+ policy: "least-loaded" | "round-robin" | "random";
17782
+ match?: {
17783
+ property: string;
17784
+ equals: {
17785
+ source: "environment";
17786
+ } | {
17787
+ name: string;
17788
+ source: "entityProperty";
17789
+ } | {
17790
+ value: string;
17791
+ source: "literal";
17792
+ };
17793
+ }[] | undefined;
17794
+ }> | undefined;
17795
+ } | undefined;
16427
17796
  membership?: {
16428
17797
  derivedFrom: {
16429
17798
  property: string;
@@ -16474,20 +17843,33 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16474
17843
  properties: Record<string, unknown>;
16475
17844
  relationshipType: string;
16476
17845
  kind: "Relationship";
16477
- to: string;
16478
17846
  labels: Record<string, string>;
17847
+ to: string;
16479
17848
  state?: string | undefined;
16480
17849
  } | {
16481
17850
  name: string;
16482
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17851
+ properties: Record<string, string>;
16483
17852
  kind: "DeploymentTarget";
16484
17853
  config: Record<string, unknown>;
17854
+ set?: string | undefined;
17855
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
17856
+ displayName?: string | undefined;
17857
+ labels?: Record<string, string> | undefined;
17858
+ credentialRef?: string | undefined;
17859
+ capacity?: number | undefined;
17860
+ } | {
17861
+ name: string;
17862
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17863
+ properties: Record<string, string>;
17864
+ kind: "DeploymentTargetSet";
16485
17865
  displayName?: string | undefined;
17866
+ labels?: Record<string, string> | undefined;
17867
+ config?: Record<string, unknown> | undefined;
16486
17868
  credentialRef?: string | undefined;
16487
17869
  })[];
16488
17870
  deletions: {
16489
17871
  name: string;
16490
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
17872
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
16491
17873
  }[];
16492
17874
  force: boolean;
16493
17875
  dryRun: boolean;
@@ -16657,8 +18039,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16657
18039
  }[];
16658
18040
  webhookSecret?: string | undefined;
16659
18041
  body?: string | undefined;
16660
- base?: string | undefined;
16661
18042
  labels?: string[] | undefined;
18043
+ base?: string | undefined;
16662
18044
  reviewers?: string[] | undefined;
16663
18045
  teamReviewers?: string[] | undefined;
16664
18046
  postMergeDispatch?: {
@@ -16729,8 +18111,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16729
18111
  }[];
16730
18112
  webhookSecret?: string | undefined;
16731
18113
  body?: string | undefined;
16732
- base?: string | undefined;
16733
18114
  labels?: string[] | undefined;
18115
+ base?: string | undefined;
16734
18116
  reviewers?: string[] | undefined;
16735
18117
  teamReviewers?: string[] | undefined;
16736
18118
  } | undefined;
@@ -16813,6 +18195,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16813
18195
  webhookSecret?: string | undefined;
16814
18196
  body?: string | undefined;
16815
18197
  title?: string | undefined;
18198
+ labels?: string[] | undefined;
16816
18199
  auth?: {
16817
18200
  token: string;
16818
18201
  type: "token";
@@ -16837,7 +18220,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16837
18220
  } | undefined;
16838
18221
  operation?: "replace" | "patch" | undefined;
16839
18222
  }[] | undefined;
16840
- labels?: string[] | undefined;
16841
18223
  reviewers?: string[] | undefined;
16842
18224
  teamReviewers?: string[] | undefined;
16843
18225
  postMergeDispatch?: {
@@ -16907,8 +18289,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16907
18289
  }[];
16908
18290
  webhookSecret?: string | undefined;
16909
18291
  body?: string | undefined;
16910
- base?: string | undefined;
16911
18292
  labels?: string[] | undefined;
18293
+ base?: string | undefined;
16912
18294
  reviewers?: string[] | undefined;
16913
18295
  teamReviewers?: string[] | undefined;
16914
18296
  } | undefined;
@@ -16985,6 +18367,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16985
18367
  yellowSeconds?: number | undefined;
16986
18368
  } | undefined;
16987
18369
  applier?: string | undefined;
18370
+ labels?: Record<string, string> | undefined;
18371
+ labelMappings?: Record<string, string> | undefined;
16988
18372
  } | {
16989
18373
  name: string;
16990
18374
  entityType: string;
@@ -16995,9 +18379,43 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16995
18379
  metric: string;
16996
18380
  aggregate: "max" | "sum" | "avg" | "min";
16997
18381
  }[] | undefined;
18382
+ labels?: Record<string, string> | undefined;
16998
18383
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
16999
18384
  parentCells?: string[] | undefined;
17000
- deploymentTarget?: string | undefined;
18385
+ targetSelector?: {
18386
+ primary: {
18387
+ set: string;
18388
+ match?: {
18389
+ property: string;
18390
+ equals: {
18391
+ source: "environment";
18392
+ } | {
18393
+ name: string;
18394
+ source: "entityProperty";
18395
+ } | {
18396
+ value: string;
18397
+ source: "literal";
18398
+ };
18399
+ }[] | undefined;
18400
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
18401
+ };
18402
+ roles?: Record<string, {
18403
+ set: string;
18404
+ match?: {
18405
+ property: string;
18406
+ equals: {
18407
+ source: "environment";
18408
+ } | {
18409
+ name: string;
18410
+ source: "entityProperty";
18411
+ } | {
18412
+ value: string;
18413
+ source: "literal";
18414
+ };
18415
+ }[] | undefined;
18416
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
18417
+ }> | undefined;
18418
+ } | undefined;
17001
18419
  membership?: {
17002
18420
  derivedFrom: {
17003
18421
  property: string;
@@ -17053,15 +18471,28 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17053
18471
  labels?: Record<string, string> | undefined;
17054
18472
  } | {
17055
18473
  name: string;
17056
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
17057
18474
  kind: "DeploymentTarget";
18475
+ set?: string | undefined;
18476
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
18477
+ displayName?: string | undefined;
18478
+ properties?: Record<string, string> | undefined;
18479
+ labels?: Record<string, string> | undefined;
18480
+ config?: Record<string, unknown> | undefined;
18481
+ credentialRef?: string | undefined;
18482
+ capacity?: number | undefined;
18483
+ } | {
18484
+ name: string;
18485
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
18486
+ kind: "DeploymentTargetSet";
17058
18487
  displayName?: string | undefined;
18488
+ properties?: Record<string, string> | undefined;
18489
+ labels?: Record<string, string> | undefined;
17059
18490
  config?: Record<string, unknown> | undefined;
17060
18491
  credentialRef?: string | undefined;
17061
18492
  })[];
17062
18493
  deletions?: {
17063
18494
  name: string;
17064
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
18495
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
17065
18496
  }[] | undefined;
17066
18497
  force?: boolean | undefined;
17067
18498
  dryRun?: boolean | undefined;
@@ -17105,14 +18536,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17105
18536
  orgId: zod.ZodString;
17106
18537
  projectId: zod.ZodString;
17107
18538
  limit: zod.ZodOptional<zod.ZodNumber>;
18539
+ before: zod.ZodOptional<zod.ZodString>;
17108
18540
  }, "strip", zod.ZodTypeAny, {
17109
18541
  orgId: string;
17110
18542
  projectId: string;
17111
18543
  limit?: number | undefined;
18544
+ before?: string | undefined;
17112
18545
  }, {
17113
18546
  orgId: string;
17114
18547
  projectId: string;
17115
18548
  limit?: number | undefined;
18549
+ before?: string | undefined;
17116
18550
  }>, {
17117
18551
  id: string;
17118
18552
  projectId: string | null;
@@ -17224,6 +18658,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17224
18658
  action: zod.ZodOptional<zod.ZodString>;
17225
18659
  resourceKind: zod.ZodOptional<zod.ZodString>;
17226
18660
  since: zod.ZodOptional<zod.ZodString>;
18661
+ before: zod.ZodOptional<zod.ZodString>;
17227
18662
  limit: zod.ZodOptional<zod.ZodNumber>;
17228
18663
  }, "strip", zod.ZodTypeAny, {
17229
18664
  orgId: string;
@@ -17234,6 +18669,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17234
18669
  actorId?: string | undefined;
17235
18670
  action?: string | undefined;
17236
18671
  resourceKind?: string | undefined;
18672
+ before?: string | undefined;
17237
18673
  since?: string | undefined;
17238
18674
  }, {
17239
18675
  orgId: string;
@@ -17244,6 +18680,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17244
18680
  actorId?: string | undefined;
17245
18681
  action?: string | undefined;
17246
18682
  resourceKind?: string | undefined;
18683
+ before?: string | undefined;
17247
18684
  since?: string | undefined;
17248
18685
  }>, {
17249
18686
  id: string;
@@ -17273,6 +18710,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17273
18710
  kind: zod.ZodOptional<zod.ZodString>;
17274
18711
  entityName: zod.ZodOptional<zod.ZodString>;
17275
18712
  since: zod.ZodOptional<zod.ZodString>;
18713
+ before: zod.ZodOptional<zod.ZodString>;
17276
18714
  limit: zod.ZodOptional<zod.ZodNumber>;
17277
18715
  }, "strip", zod.ZodTypeAny, {
17278
18716
  orgId: string;
@@ -17282,6 +18720,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17282
18720
  limit?: number | undefined;
17283
18721
  kind?: string | undefined;
17284
18722
  entityName?: string | undefined;
18723
+ before?: string | undefined;
17285
18724
  since?: string | undefined;
17286
18725
  }, {
17287
18726
  orgId: string;
@@ -17291,6 +18730,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17291
18730
  limit?: number | undefined;
17292
18731
  kind?: string | undefined;
17293
18732
  entityName?: string | undefined;
18733
+ before?: string | undefined;
17294
18734
  since?: string | undefined;
17295
18735
  }>, {
17296
18736
  detectedAt: string;
@@ -17563,6 +19003,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17563
19003
  labels: {
17564
19004
  [x: string]: string[];
17565
19005
  };
19006
+ relationshipTypes?: string[] | undefined;
19007
+ cellNames?: string[] | undefined;
17566
19008
  };
17567
19009
  grouping: {
17568
19010
  cellsEnabled: boolean;
@@ -17620,6 +19062,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17620
19062
  labels: {
17621
19063
  [x: string]: string[];
17622
19064
  };
19065
+ relationshipTypes?: string[] | undefined;
19066
+ cellNames?: string[] | undefined;
17623
19067
  };
17624
19068
  grouping: {
17625
19069
  cellsEnabled: boolean;
@@ -17702,6 +19146,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17702
19146
  labels: {
17703
19147
  [x: string]: string[];
17704
19148
  };
19149
+ relationshipTypes?: string[] | undefined;
19150
+ cellNames?: string[] | undefined;
17705
19151
  };
17706
19152
  grouping: {
17707
19153
  cellsEnabled: boolean;
@@ -17782,6 +19228,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17782
19228
  labels: {
17783
19229
  [x: string]: string[];
17784
19230
  };
19231
+ relationshipTypes?: string[] | undefined;
19232
+ cellNames?: string[] | undefined;
17785
19233
  };
17786
19234
  grouping: {
17787
19235
  cellsEnabled: boolean;
@@ -17855,6 +19303,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
17855
19303
  labels: {
17856
19304
  [x: string]: string[];
17857
19305
  };
19306
+ relationshipTypes?: string[] | undefined;
19307
+ cellNames?: string[] | undefined;
17858
19308
  };
17859
19309
  grouping: {
17860
19310
  cellsEnabled: boolean;
@@ -18385,7 +19835,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18385
19835
  property: string;
18386
19836
  value?: string | undefined;
18387
19837
  } | null;
18388
- deploymentTarget: string | null;
19838
+ targetSelector: {
19839
+ primary: {
19840
+ set: string;
19841
+ policy: "least-loaded" | "round-robin" | "random";
19842
+ match?: {
19843
+ property: string;
19844
+ equals: {
19845
+ source: "environment";
19846
+ } | {
19847
+ name: string;
19848
+ source: "entityProperty";
19849
+ } | {
19850
+ value: string;
19851
+ source: "literal";
19852
+ };
19853
+ }[] | undefined;
19854
+ };
19855
+ roles?: {
19856
+ [x: string]: {
19857
+ set: string;
19858
+ policy: "least-loaded" | "round-robin" | "random";
19859
+ match?: {
19860
+ property: string;
19861
+ equals: {
19862
+ source: "environment";
19863
+ } | {
19864
+ name: string;
19865
+ source: "entityProperty";
19866
+ } | {
19867
+ value: string;
19868
+ source: "literal";
19869
+ };
19870
+ }[] | undefined;
19871
+ };
19872
+ } | undefined;
19873
+ } | null;
19874
+ labels: {
19875
+ [x: string]: string;
19876
+ };
18389
19877
  createdAt: string;
18390
19878
  updatedAt: string;
18391
19879
  }[]>;
@@ -18419,7 +19907,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18419
19907
  property: string;
18420
19908
  value?: string | undefined;
18421
19909
  } | null;
18422
- deploymentTarget: string | null;
19910
+ targetSelector: {
19911
+ primary: {
19912
+ set: string;
19913
+ policy: "least-loaded" | "round-robin" | "random";
19914
+ match?: {
19915
+ property: string;
19916
+ equals: {
19917
+ source: "environment";
19918
+ } | {
19919
+ name: string;
19920
+ source: "entityProperty";
19921
+ } | {
19922
+ value: string;
19923
+ source: "literal";
19924
+ };
19925
+ }[] | undefined;
19926
+ };
19927
+ roles?: {
19928
+ [x: string]: {
19929
+ set: string;
19930
+ policy: "least-loaded" | "round-robin" | "random";
19931
+ match?: {
19932
+ property: string;
19933
+ equals: {
19934
+ source: "environment";
19935
+ } | {
19936
+ name: string;
19937
+ source: "entityProperty";
19938
+ } | {
19939
+ value: string;
19940
+ source: "literal";
19941
+ };
19942
+ }[] | undefined;
19943
+ };
19944
+ } | undefined;
19945
+ } | null;
19946
+ labels: {
19947
+ [x: string]: string;
19948
+ };
18423
19949
  createdAt: string;
18424
19950
  updatedAt: string;
18425
19951
  }>;
@@ -18448,24 +19974,260 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18448
19974
  property: zod.ZodString;
18449
19975
  value: zod.ZodOptional<zod.ZodString>;
18450
19976
  }, "strip", zod.ZodTypeAny, {
18451
- property: string;
18452
- value?: string | undefined;
19977
+ property: string;
19978
+ value?: string | undefined;
19979
+ }, {
19980
+ property: string;
19981
+ value?: string | undefined;
19982
+ }>;
19983
+ }, "strip", zod.ZodTypeAny, {
19984
+ derivedFrom: {
19985
+ property: string;
19986
+ value?: string | undefined;
19987
+ };
19988
+ }, {
19989
+ derivedFrom: {
19990
+ property: string;
19991
+ value?: string | undefined;
19992
+ };
19993
+ }>>;
19994
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
19995
+ primary: zod.ZodObject<{
19996
+ set: zod.ZodString;
19997
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
19998
+ property: zod.ZodString;
19999
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
20000
+ source: zod.ZodLiteral<"environment">;
20001
+ }, "strip", zod.ZodTypeAny, {
20002
+ source: "environment";
20003
+ }, {
20004
+ source: "environment";
20005
+ }>, zod.ZodObject<{
20006
+ source: zod.ZodLiteral<"entityProperty">;
20007
+ name: zod.ZodString;
20008
+ }, "strip", zod.ZodTypeAny, {
20009
+ name: string;
20010
+ source: "entityProperty";
20011
+ }, {
20012
+ name: string;
20013
+ source: "entityProperty";
20014
+ }>, zod.ZodObject<{
20015
+ source: zod.ZodLiteral<"literal">;
20016
+ value: zod.ZodString;
20017
+ }, "strip", zod.ZodTypeAny, {
20018
+ value: string;
20019
+ source: "literal";
20020
+ }, {
20021
+ value: string;
20022
+ source: "literal";
20023
+ }>]>;
20024
+ }, "strip", zod.ZodTypeAny, {
20025
+ property: string;
20026
+ equals: {
20027
+ source: "environment";
20028
+ } | {
20029
+ name: string;
20030
+ source: "entityProperty";
20031
+ } | {
20032
+ value: string;
20033
+ source: "literal";
20034
+ };
20035
+ }, {
20036
+ property: string;
20037
+ equals: {
20038
+ source: "environment";
20039
+ } | {
20040
+ name: string;
20041
+ source: "entityProperty";
20042
+ } | {
20043
+ value: string;
20044
+ source: "literal";
20045
+ };
20046
+ }>, "many">>;
20047
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
20048
+ }, "strip", zod.ZodTypeAny, {
20049
+ set: string;
20050
+ policy: "least-loaded" | "round-robin" | "random";
20051
+ match?: {
20052
+ property: string;
20053
+ equals: {
20054
+ source: "environment";
20055
+ } | {
20056
+ name: string;
20057
+ source: "entityProperty";
20058
+ } | {
20059
+ value: string;
20060
+ source: "literal";
20061
+ };
20062
+ }[] | undefined;
20063
+ }, {
20064
+ set: string;
20065
+ match?: {
20066
+ property: string;
20067
+ equals: {
20068
+ source: "environment";
20069
+ } | {
20070
+ name: string;
20071
+ source: "entityProperty";
20072
+ } | {
20073
+ value: string;
20074
+ source: "literal";
20075
+ };
20076
+ }[] | undefined;
20077
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20078
+ }>;
20079
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
20080
+ set: zod.ZodString;
20081
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20082
+ property: zod.ZodString;
20083
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
20084
+ source: zod.ZodLiteral<"environment">;
20085
+ }, "strip", zod.ZodTypeAny, {
20086
+ source: "environment";
20087
+ }, {
20088
+ source: "environment";
20089
+ }>, zod.ZodObject<{
20090
+ source: zod.ZodLiteral<"entityProperty">;
20091
+ name: zod.ZodString;
20092
+ }, "strip", zod.ZodTypeAny, {
20093
+ name: string;
20094
+ source: "entityProperty";
20095
+ }, {
20096
+ name: string;
20097
+ source: "entityProperty";
20098
+ }>, zod.ZodObject<{
20099
+ source: zod.ZodLiteral<"literal">;
20100
+ value: zod.ZodString;
20101
+ }, "strip", zod.ZodTypeAny, {
20102
+ value: string;
20103
+ source: "literal";
20104
+ }, {
20105
+ value: string;
20106
+ source: "literal";
20107
+ }>]>;
20108
+ }, "strip", zod.ZodTypeAny, {
20109
+ property: string;
20110
+ equals: {
20111
+ source: "environment";
20112
+ } | {
20113
+ name: string;
20114
+ source: "entityProperty";
20115
+ } | {
20116
+ value: string;
20117
+ source: "literal";
20118
+ };
20119
+ }, {
20120
+ property: string;
20121
+ equals: {
20122
+ source: "environment";
20123
+ } | {
20124
+ name: string;
20125
+ source: "entityProperty";
20126
+ } | {
20127
+ value: string;
20128
+ source: "literal";
20129
+ };
20130
+ }>, "many">>;
20131
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
20132
+ }, "strip", zod.ZodTypeAny, {
20133
+ set: string;
20134
+ policy: "least-loaded" | "round-robin" | "random";
20135
+ match?: {
20136
+ property: string;
20137
+ equals: {
20138
+ source: "environment";
20139
+ } | {
20140
+ name: string;
20141
+ source: "entityProperty";
20142
+ } | {
20143
+ value: string;
20144
+ source: "literal";
20145
+ };
20146
+ }[] | undefined;
18453
20147
  }, {
18454
- property: string;
18455
- value?: string | undefined;
18456
- }>;
20148
+ set: string;
20149
+ match?: {
20150
+ property: string;
20151
+ equals: {
20152
+ source: "environment";
20153
+ } | {
20154
+ name: string;
20155
+ source: "entityProperty";
20156
+ } | {
20157
+ value: string;
20158
+ source: "literal";
20159
+ };
20160
+ }[] | undefined;
20161
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20162
+ }>>>;
18457
20163
  }, "strip", zod.ZodTypeAny, {
18458
- derivedFrom: {
18459
- property: string;
18460
- value?: string | undefined;
20164
+ primary: {
20165
+ set: string;
20166
+ policy: "least-loaded" | "round-robin" | "random";
20167
+ match?: {
20168
+ property: string;
20169
+ equals: {
20170
+ source: "environment";
20171
+ } | {
20172
+ name: string;
20173
+ source: "entityProperty";
20174
+ } | {
20175
+ value: string;
20176
+ source: "literal";
20177
+ };
20178
+ }[] | undefined;
18461
20179
  };
20180
+ roles?: Record<string, {
20181
+ set: string;
20182
+ policy: "least-loaded" | "round-robin" | "random";
20183
+ match?: {
20184
+ property: string;
20185
+ equals: {
20186
+ source: "environment";
20187
+ } | {
20188
+ name: string;
20189
+ source: "entityProperty";
20190
+ } | {
20191
+ value: string;
20192
+ source: "literal";
20193
+ };
20194
+ }[] | undefined;
20195
+ }> | undefined;
18462
20196
  }, {
18463
- derivedFrom: {
18464
- property: string;
18465
- value?: string | undefined;
20197
+ primary: {
20198
+ set: string;
20199
+ match?: {
20200
+ property: string;
20201
+ equals: {
20202
+ source: "environment";
20203
+ } | {
20204
+ name: string;
20205
+ source: "entityProperty";
20206
+ } | {
20207
+ value: string;
20208
+ source: "literal";
20209
+ };
20210
+ }[] | undefined;
20211
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
18466
20212
  };
20213
+ roles?: Record<string, {
20214
+ set: string;
20215
+ match?: {
20216
+ property: string;
20217
+ equals: {
20218
+ source: "environment";
20219
+ } | {
20220
+ name: string;
20221
+ source: "entityProperty";
20222
+ } | {
20223
+ value: string;
20224
+ source: "literal";
20225
+ };
20226
+ }[] | undefined;
20227
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20228
+ }> | undefined;
18467
20229
  }>>;
18468
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
20230
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
18469
20231
  } & {
18470
20232
  orgId: zod.ZodString;
18471
20233
  projectId: zod.ZodString;
@@ -18483,7 +20245,41 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18483
20245
  placementPolicy: "least-loaded" | "round-robin" | "random";
18484
20246
  parentCells: string[];
18485
20247
  displayName?: string | undefined;
18486
- deploymentTarget?: string | undefined;
20248
+ labels?: Record<string, string> | undefined;
20249
+ targetSelector?: {
20250
+ primary: {
20251
+ set: string;
20252
+ policy: "least-loaded" | "round-robin" | "random";
20253
+ match?: {
20254
+ property: string;
20255
+ equals: {
20256
+ source: "environment";
20257
+ } | {
20258
+ name: string;
20259
+ source: "entityProperty";
20260
+ } | {
20261
+ value: string;
20262
+ source: "literal";
20263
+ };
20264
+ }[] | undefined;
20265
+ };
20266
+ roles?: Record<string, {
20267
+ set: string;
20268
+ policy: "least-loaded" | "round-robin" | "random";
20269
+ match?: {
20270
+ property: string;
20271
+ equals: {
20272
+ source: "environment";
20273
+ } | {
20274
+ name: string;
20275
+ source: "entityProperty";
20276
+ } | {
20277
+ value: string;
20278
+ source: "literal";
20279
+ };
20280
+ }[] | undefined;
20281
+ }> | undefined;
20282
+ } | undefined;
18487
20283
  membership?: {
18488
20284
  derivedFrom: {
18489
20285
  property: string;
@@ -18502,9 +20298,43 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18502
20298
  metric: string;
18503
20299
  aggregate: "max" | "sum" | "avg" | "min";
18504
20300
  }[] | undefined;
20301
+ labels?: Record<string, string> | undefined;
18505
20302
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
18506
20303
  parentCells?: string[] | undefined;
18507
- deploymentTarget?: string | undefined;
20304
+ targetSelector?: {
20305
+ primary: {
20306
+ set: string;
20307
+ match?: {
20308
+ property: string;
20309
+ equals: {
20310
+ source: "environment";
20311
+ } | {
20312
+ name: string;
20313
+ source: "entityProperty";
20314
+ } | {
20315
+ value: string;
20316
+ source: "literal";
20317
+ };
20318
+ }[] | undefined;
20319
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20320
+ };
20321
+ roles?: Record<string, {
20322
+ set: string;
20323
+ match?: {
20324
+ property: string;
20325
+ equals: {
20326
+ source: "environment";
20327
+ } | {
20328
+ name: string;
20329
+ source: "entityProperty";
20330
+ } | {
20331
+ value: string;
20332
+ source: "literal";
20333
+ };
20334
+ }[] | undefined;
20335
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20336
+ }> | undefined;
20337
+ } | undefined;
18508
20338
  membership?: {
18509
20339
  derivedFrom: {
18510
20340
  property: string;
@@ -18523,6 +20353,9 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18523
20353
  metric: string;
18524
20354
  aggregate: "max" | "sum" | "avg" | "min";
18525
20355
  }[];
20356
+ labels: {
20357
+ [x: string]: string;
20358
+ };
18526
20359
  entityTypeName: string;
18527
20360
  placementPolicy: "least-loaded" | "round-robin" | "random";
18528
20361
  parentCells: string[];
@@ -18531,7 +20364,42 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18531
20364
  property: string;
18532
20365
  value?: string | undefined;
18533
20366
  } | null;
18534
- deploymentTarget: string | null;
20367
+ targetSelector: {
20368
+ primary: {
20369
+ set: string;
20370
+ policy: "least-loaded" | "round-robin" | "random";
20371
+ match?: {
20372
+ property: string;
20373
+ equals: {
20374
+ source: "environment";
20375
+ } | {
20376
+ name: string;
20377
+ source: "entityProperty";
20378
+ } | {
20379
+ value: string;
20380
+ source: "literal";
20381
+ };
20382
+ }[] | undefined;
20383
+ };
20384
+ roles?: {
20385
+ [x: string]: {
20386
+ set: string;
20387
+ policy: "least-loaded" | "round-robin" | "random";
20388
+ match?: {
20389
+ property: string;
20390
+ equals: {
20391
+ source: "environment";
20392
+ } | {
20393
+ name: string;
20394
+ source: "entityProperty";
20395
+ } | {
20396
+ value: string;
20397
+ source: "literal";
20398
+ };
20399
+ }[] | undefined;
20400
+ };
20401
+ } | undefined;
20402
+ } | null;
18535
20403
  }>;
18536
20404
  update: SchemaFn<zod.ZodObject<{
18537
20405
  kind: zod.ZodLiteral<"Cell">;
@@ -18575,7 +20443,243 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18575
20443
  value?: string | undefined;
18576
20444
  };
18577
20445
  }>>;
18578
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
20446
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
20447
+ primary: zod.ZodObject<{
20448
+ set: zod.ZodString;
20449
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20450
+ property: zod.ZodString;
20451
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
20452
+ source: zod.ZodLiteral<"environment">;
20453
+ }, "strip", zod.ZodTypeAny, {
20454
+ source: "environment";
20455
+ }, {
20456
+ source: "environment";
20457
+ }>, zod.ZodObject<{
20458
+ source: zod.ZodLiteral<"entityProperty">;
20459
+ name: zod.ZodString;
20460
+ }, "strip", zod.ZodTypeAny, {
20461
+ name: string;
20462
+ source: "entityProperty";
20463
+ }, {
20464
+ name: string;
20465
+ source: "entityProperty";
20466
+ }>, zod.ZodObject<{
20467
+ source: zod.ZodLiteral<"literal">;
20468
+ value: zod.ZodString;
20469
+ }, "strip", zod.ZodTypeAny, {
20470
+ value: string;
20471
+ source: "literal";
20472
+ }, {
20473
+ value: string;
20474
+ source: "literal";
20475
+ }>]>;
20476
+ }, "strip", zod.ZodTypeAny, {
20477
+ property: string;
20478
+ equals: {
20479
+ source: "environment";
20480
+ } | {
20481
+ name: string;
20482
+ source: "entityProperty";
20483
+ } | {
20484
+ value: string;
20485
+ source: "literal";
20486
+ };
20487
+ }, {
20488
+ property: string;
20489
+ equals: {
20490
+ source: "environment";
20491
+ } | {
20492
+ name: string;
20493
+ source: "entityProperty";
20494
+ } | {
20495
+ value: string;
20496
+ source: "literal";
20497
+ };
20498
+ }>, "many">>;
20499
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
20500
+ }, "strip", zod.ZodTypeAny, {
20501
+ set: string;
20502
+ policy: "least-loaded" | "round-robin" | "random";
20503
+ match?: {
20504
+ property: string;
20505
+ equals: {
20506
+ source: "environment";
20507
+ } | {
20508
+ name: string;
20509
+ source: "entityProperty";
20510
+ } | {
20511
+ value: string;
20512
+ source: "literal";
20513
+ };
20514
+ }[] | undefined;
20515
+ }, {
20516
+ set: string;
20517
+ match?: {
20518
+ property: string;
20519
+ equals: {
20520
+ source: "environment";
20521
+ } | {
20522
+ name: string;
20523
+ source: "entityProperty";
20524
+ } | {
20525
+ value: string;
20526
+ source: "literal";
20527
+ };
20528
+ }[] | undefined;
20529
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20530
+ }>;
20531
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
20532
+ set: zod.ZodString;
20533
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20534
+ property: zod.ZodString;
20535
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
20536
+ source: zod.ZodLiteral<"environment">;
20537
+ }, "strip", zod.ZodTypeAny, {
20538
+ source: "environment";
20539
+ }, {
20540
+ source: "environment";
20541
+ }>, zod.ZodObject<{
20542
+ source: zod.ZodLiteral<"entityProperty">;
20543
+ name: zod.ZodString;
20544
+ }, "strip", zod.ZodTypeAny, {
20545
+ name: string;
20546
+ source: "entityProperty";
20547
+ }, {
20548
+ name: string;
20549
+ source: "entityProperty";
20550
+ }>, zod.ZodObject<{
20551
+ source: zod.ZodLiteral<"literal">;
20552
+ value: zod.ZodString;
20553
+ }, "strip", zod.ZodTypeAny, {
20554
+ value: string;
20555
+ source: "literal";
20556
+ }, {
20557
+ value: string;
20558
+ source: "literal";
20559
+ }>]>;
20560
+ }, "strip", zod.ZodTypeAny, {
20561
+ property: string;
20562
+ equals: {
20563
+ source: "environment";
20564
+ } | {
20565
+ name: string;
20566
+ source: "entityProperty";
20567
+ } | {
20568
+ value: string;
20569
+ source: "literal";
20570
+ };
20571
+ }, {
20572
+ property: string;
20573
+ equals: {
20574
+ source: "environment";
20575
+ } | {
20576
+ name: string;
20577
+ source: "entityProperty";
20578
+ } | {
20579
+ value: string;
20580
+ source: "literal";
20581
+ };
20582
+ }>, "many">>;
20583
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
20584
+ }, "strip", zod.ZodTypeAny, {
20585
+ set: string;
20586
+ policy: "least-loaded" | "round-robin" | "random";
20587
+ match?: {
20588
+ property: string;
20589
+ equals: {
20590
+ source: "environment";
20591
+ } | {
20592
+ name: string;
20593
+ source: "entityProperty";
20594
+ } | {
20595
+ value: string;
20596
+ source: "literal";
20597
+ };
20598
+ }[] | undefined;
20599
+ }, {
20600
+ set: string;
20601
+ match?: {
20602
+ property: string;
20603
+ equals: {
20604
+ source: "environment";
20605
+ } | {
20606
+ name: string;
20607
+ source: "entityProperty";
20608
+ } | {
20609
+ value: string;
20610
+ source: "literal";
20611
+ };
20612
+ }[] | undefined;
20613
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20614
+ }>>>;
20615
+ }, "strip", zod.ZodTypeAny, {
20616
+ primary: {
20617
+ set: string;
20618
+ policy: "least-loaded" | "round-robin" | "random";
20619
+ match?: {
20620
+ property: string;
20621
+ equals: {
20622
+ source: "environment";
20623
+ } | {
20624
+ name: string;
20625
+ source: "entityProperty";
20626
+ } | {
20627
+ value: string;
20628
+ source: "literal";
20629
+ };
20630
+ }[] | undefined;
20631
+ };
20632
+ roles?: Record<string, {
20633
+ set: string;
20634
+ policy: "least-loaded" | "round-robin" | "random";
20635
+ match?: {
20636
+ property: string;
20637
+ equals: {
20638
+ source: "environment";
20639
+ } | {
20640
+ name: string;
20641
+ source: "entityProperty";
20642
+ } | {
20643
+ value: string;
20644
+ source: "literal";
20645
+ };
20646
+ }[] | undefined;
20647
+ }> | undefined;
20648
+ }, {
20649
+ primary: {
20650
+ set: string;
20651
+ match?: {
20652
+ property: string;
20653
+ equals: {
20654
+ source: "environment";
20655
+ } | {
20656
+ name: string;
20657
+ source: "entityProperty";
20658
+ } | {
20659
+ value: string;
20660
+ source: "literal";
20661
+ };
20662
+ }[] | undefined;
20663
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20664
+ };
20665
+ roles?: Record<string, {
20666
+ set: string;
20667
+ match?: {
20668
+ property: string;
20669
+ equals: {
20670
+ source: "environment";
20671
+ } | {
20672
+ name: string;
20673
+ source: "entityProperty";
20674
+ } | {
20675
+ value: string;
20676
+ source: "literal";
20677
+ };
20678
+ }[] | undefined;
20679
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20680
+ }> | undefined;
20681
+ }>>;
20682
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
18579
20683
  } & {
18580
20684
  orgId: zod.ZodString;
18581
20685
  projectId: zod.ZodString;
@@ -18593,7 +20697,41 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18593
20697
  placementPolicy: "least-loaded" | "round-robin" | "random";
18594
20698
  parentCells: string[];
18595
20699
  displayName?: string | undefined;
18596
- deploymentTarget?: string | undefined;
20700
+ labels?: Record<string, string> | undefined;
20701
+ targetSelector?: {
20702
+ primary: {
20703
+ set: string;
20704
+ policy: "least-loaded" | "round-robin" | "random";
20705
+ match?: {
20706
+ property: string;
20707
+ equals: {
20708
+ source: "environment";
20709
+ } | {
20710
+ name: string;
20711
+ source: "entityProperty";
20712
+ } | {
20713
+ value: string;
20714
+ source: "literal";
20715
+ };
20716
+ }[] | undefined;
20717
+ };
20718
+ roles?: Record<string, {
20719
+ set: string;
20720
+ policy: "least-loaded" | "round-robin" | "random";
20721
+ match?: {
20722
+ property: string;
20723
+ equals: {
20724
+ source: "environment";
20725
+ } | {
20726
+ name: string;
20727
+ source: "entityProperty";
20728
+ } | {
20729
+ value: string;
20730
+ source: "literal";
20731
+ };
20732
+ }[] | undefined;
20733
+ }> | undefined;
20734
+ } | undefined;
18597
20735
  membership?: {
18598
20736
  derivedFrom: {
18599
20737
  property: string;
@@ -18612,9 +20750,43 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18612
20750
  metric: string;
18613
20751
  aggregate: "max" | "sum" | "avg" | "min";
18614
20752
  }[] | undefined;
20753
+ labels?: Record<string, string> | undefined;
18615
20754
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
18616
20755
  parentCells?: string[] | undefined;
18617
- deploymentTarget?: string | undefined;
20756
+ targetSelector?: {
20757
+ primary: {
20758
+ set: string;
20759
+ match?: {
20760
+ property: string;
20761
+ equals: {
20762
+ source: "environment";
20763
+ } | {
20764
+ name: string;
20765
+ source: "entityProperty";
20766
+ } | {
20767
+ value: string;
20768
+ source: "literal";
20769
+ };
20770
+ }[] | undefined;
20771
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20772
+ };
20773
+ roles?: Record<string, {
20774
+ set: string;
20775
+ match?: {
20776
+ property: string;
20777
+ equals: {
20778
+ source: "environment";
20779
+ } | {
20780
+ name: string;
20781
+ source: "entityProperty";
20782
+ } | {
20783
+ value: string;
20784
+ source: "literal";
20785
+ };
20786
+ }[] | undefined;
20787
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20788
+ }> | undefined;
20789
+ } | undefined;
18618
20790
  membership?: {
18619
20791
  derivedFrom: {
18620
20792
  property: string;
@@ -18639,7 +20811,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18639
20811
  property: string;
18640
20812
  value?: string | undefined;
18641
20813
  } | null;
18642
- deploymentTarget: string | null;
20814
+ targetSelector: {
20815
+ primary: {
20816
+ set: string;
20817
+ policy: "least-loaded" | "round-robin" | "random";
20818
+ match?: {
20819
+ property: string;
20820
+ equals: {
20821
+ source: "environment";
20822
+ } | {
20823
+ name: string;
20824
+ source: "entityProperty";
20825
+ } | {
20826
+ value: string;
20827
+ source: "literal";
20828
+ };
20829
+ }[] | undefined;
20830
+ };
20831
+ roles?: {
20832
+ [x: string]: {
20833
+ set: string;
20834
+ policy: "least-loaded" | "round-robin" | "random";
20835
+ match?: {
20836
+ property: string;
20837
+ equals: {
20838
+ source: "environment";
20839
+ } | {
20840
+ name: string;
20841
+ source: "entityProperty";
20842
+ } | {
20843
+ value: string;
20844
+ source: "literal";
20845
+ };
20846
+ }[] | undefined;
20847
+ };
20848
+ } | undefined;
20849
+ } | null;
20850
+ labels: {
20851
+ [x: string]: string;
20852
+ };
18643
20853
  createdAt: string;
18644
20854
  updatedAt: string;
18645
20855
  }>;
@@ -18762,8 +20972,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18762
20972
  envId: string;
18763
20973
  state: string;
18764
20974
  properties: hono_utils_types.JSONValue;
18765
- entityTypeName: string;
18766
20975
  labels: hono_utils_types.JSONValue;
20976
+ entityTypeName: string;
18767
20977
  lastSyncedAt: string | null;
18768
20978
  syncSource: string | null;
18769
20979
  };
@@ -18776,14 +20986,17 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
18776
20986
  orgId: zod.ZodString;
18777
20987
  projectId: zod.ZodString;
18778
20988
  limit: zod.ZodOptional<zod.ZodNumber>;
20989
+ before: zod.ZodOptional<zod.ZodString>;
18779
20990
  }, "strip", zod.ZodTypeAny, {
18780
20991
  orgId: string;
18781
20992
  projectId: string;
18782
20993
  limit?: number | undefined;
20994
+ before?: string | undefined;
18783
20995
  }, {
18784
20996
  orgId: string;
18785
20997
  projectId: string;
18786
20998
  limit?: number | undefined;
20999
+ before?: string | undefined;
18787
21000
  }>, {
18788
21001
  id: string;
18789
21002
  projectId: string | null;