@terrantula/sdk 0.11.2 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4,8 +4,8 @@ import * as _terrantula_types from '@terrantula/types';
4
4
  export { RegistryInput, RegistryOutput } from '@terrantula/types';
5
5
  import * as zod from 'zod';
6
6
  import * as hono_hono_base from 'hono/hono-base';
7
- import * as hono_utils_types from 'hono/utils/types';
8
7
  import * as hono_utils_http_status from 'hono/utils/http-status';
8
+ import * as hono_utils_types from 'hono/utils/types';
9
9
  import * as hono_types from 'hono/types';
10
10
 
11
11
  /**
@@ -402,8 +402,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
402
402
  envId: string;
403
403
  state: string;
404
404
  properties: hono_utils_types.JSONValue;
405
- entityTypeName: string;
406
405
  labels: hono_utils_types.JSONValue;
406
+ entityTypeName: string;
407
407
  lastSyncedAt: string | null;
408
408
  syncSource: string | null;
409
409
  };
@@ -543,7 +543,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
543
543
  name: string;
544
544
  };
545
545
  };
546
- output: {
546
+ output: ({
547
+ origin: "explicit";
547
548
  fromEntityName: string;
548
549
  toEntityName: string;
549
550
  id: string;
@@ -551,7 +552,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
551
552
  fromEntityId: string;
552
553
  toEntityId: string;
553
554
  state: string;
554
- properties: hono_utils_types.JSONValue;
555
555
  labels: hono_utils_types.JSONValue;
556
556
  createdAt: string;
557
557
  updatedAt: string;
@@ -560,7 +560,25 @@ declare const projectApp: hono_hono_base.HonoBase<{
560
560
  envId: string;
561
561
  deletionScheduledAt: string | null;
562
562
  deletionGracePeriodSeconds: number | null;
563
- }[];
563
+ } | {
564
+ id: null;
565
+ relationshipTypeName: string;
566
+ fromEntityName: string;
567
+ toEntityName: string;
568
+ origin: "derived" | "explicit";
569
+ state: string | null;
570
+ labels: {
571
+ [x: string]: string;
572
+ };
573
+ fromEntityId: null;
574
+ toEntityId: null;
575
+ envId: null;
576
+ orgId: null;
577
+ projectId: null;
578
+ createdAt: null;
579
+ updatedAt: null;
580
+ deletionScheduledAt: null;
581
+ })[];
564
582
  outputFormat: "json";
565
583
  status: hono_utils_http_status.ContentfulStatusCode;
566
584
  };
@@ -655,9 +673,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
655
673
  addToCell?: string | undefined;
656
674
  createRelationship?: {
657
675
  relationshipType: string;
676
+ to: string;
658
677
  onSuccess: string;
659
678
  onFailure: string;
660
- to: string;
661
679
  properties?: {
662
680
  [x: string]: string;
663
681
  } | undefined;
@@ -725,10 +743,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
725
743
  type: "create-relationship";
726
744
  from: string;
727
745
  relationshipType: string;
746
+ to: string;
728
747
  onTrigger: string;
729
748
  onSuccess: string;
730
749
  onFailure: string;
731
- to: string;
732
750
  properties?: {
733
751
  [x: string]: string;
734
752
  } | undefined;
@@ -750,10 +768,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
750
768
  } | {
751
769
  type: "migrate-relationship";
752
770
  relationshipType: string;
771
+ to: string;
753
772
  onTrigger: string;
754
773
  onSuccess: string;
755
774
  onFailure: string;
756
- to: string;
757
775
  };
758
776
  trigger: {
759
777
  type: "webhook";
@@ -964,6 +982,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
964
982
  webhookSecret?: string | undefined;
965
983
  body?: string | undefined;
966
984
  title?: string | undefined;
985
+ labels?: string[] | undefined;
967
986
  auth?: {
968
987
  type: "token";
969
988
  token: string;
@@ -988,7 +1007,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
988
1007
  value?: hono_utils_types.JSONValue | undefined;
989
1008
  } | undefined;
990
1009
  }[] | undefined;
991
- labels?: string[] | undefined;
992
1010
  reviewers?: string[] | undefined;
993
1011
  teamReviewers?: string[] | undefined;
994
1012
  postMergeDispatch?: {
@@ -1125,8 +1143,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
1125
1143
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
1126
1144
  id: string;
1127
1145
  createdAt: string;
1128
- error: string | null;
1129
1146
  metadata: hono_utils_types.JSONValue;
1147
+ error: string | null;
1130
1148
  output: hono_utils_types.JSONValue;
1131
1149
  orgId: string;
1132
1150
  projectId: string;
@@ -1177,7 +1195,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
1177
1195
  [x: string]: string | string[];
1178
1196
  } | undefined;
1179
1197
  };
1180
- output: {
1198
+ output: ({
1199
+ origin: "explicit";
1181
1200
  fromEntityName: string;
1182
1201
  toEntityName: string;
1183
1202
  id: string;
@@ -1185,7 +1204,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1185
1204
  fromEntityId: string;
1186
1205
  toEntityId: string;
1187
1206
  state: string;
1188
- properties: hono_utils_types.JSONValue;
1189
1207
  labels: hono_utils_types.JSONValue;
1190
1208
  createdAt: string;
1191
1209
  updatedAt: string;
@@ -1194,7 +1212,25 @@ declare const projectApp: hono_hono_base.HonoBase<{
1194
1212
  envId: string;
1195
1213
  deletionScheduledAt: string | null;
1196
1214
  deletionGracePeriodSeconds: number | null;
1197
- }[];
1215
+ } | {
1216
+ id: null;
1217
+ relationshipTypeName: string;
1218
+ fromEntityName: string;
1219
+ toEntityName: string;
1220
+ origin: "derived" | "explicit";
1221
+ state: string | null;
1222
+ labels: {
1223
+ [x: string]: string;
1224
+ };
1225
+ fromEntityId: null;
1226
+ toEntityId: null;
1227
+ envId: null;
1228
+ orgId: null;
1229
+ projectId: null;
1230
+ createdAt: null;
1231
+ updatedAt: null;
1232
+ deletionScheduledAt: null;
1233
+ })[];
1198
1234
  outputFormat: "json";
1199
1235
  status: hono_utils_http_status.ContentfulStatusCode;
1200
1236
  };
@@ -1222,17 +1258,16 @@ declare const projectApp: hono_hono_base.HonoBase<{
1222
1258
  };
1223
1259
  output: {
1224
1260
  id: string;
1261
+ relationshipTypeName: string;
1262
+ fromEntityId: string;
1263
+ toEntityId: string;
1264
+ state: string;
1265
+ labels: hono_utils_types.JSONValue;
1225
1266
  createdAt: string;
1226
1267
  updatedAt: string;
1227
- orgId: string;
1228
1268
  projectId: string;
1269
+ orgId: string;
1229
1270
  envId: string;
1230
- state: string;
1231
- properties: hono_utils_types.JSONValue;
1232
- labels: hono_utils_types.JSONValue;
1233
- relationshipTypeName: string;
1234
- fromEntityId: string;
1235
- toEntityId: string;
1236
1271
  deletionScheduledAt: string | null;
1237
1272
  deletionGracePeriodSeconds: number | null;
1238
1273
  };
@@ -1254,7 +1289,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1254
1289
  fromEntityId: string;
1255
1290
  toEntityId: string;
1256
1291
  state: string;
1257
- properties: hono_utils_types.JSONValue;
1258
1292
  labels: hono_utils_types.JSONValue;
1259
1293
  createdAt: string;
1260
1294
  updatedAt: string;
@@ -1271,22 +1305,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1271
1305
  } & {
1272
1306
  "/:id": {
1273
1307
  $put: {
1274
- input: {
1275
- json?: any;
1276
- query?: {
1277
- [x: string]: string | string[];
1278
- } | undefined;
1279
- } & {
1280
- param: {
1281
- id: string;
1282
- };
1283
- };
1284
- output: {
1285
- error: string;
1286
- };
1287
- outputFormat: "json";
1288
- status: 403;
1289
- } | {
1290
1308
  input: {
1291
1309
  json?: any;
1292
1310
  query?: {
@@ -1303,7 +1321,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1303
1321
  fromEntityId: string;
1304
1322
  toEntityId: string;
1305
1323
  state: string;
1306
- properties: hono_utils_types.JSONValue;
1307
1324
  labels: hono_utils_types.JSONValue;
1308
1325
  createdAt: string;
1309
1326
  updatedAt: string;
@@ -1315,6 +1332,22 @@ declare const projectApp: hono_hono_base.HonoBase<{
1315
1332
  };
1316
1333
  outputFormat: "json";
1317
1334
  status: hono_utils_http_status.ContentfulStatusCode;
1335
+ } | {
1336
+ input: {
1337
+ json?: any;
1338
+ query?: {
1339
+ [x: string]: string | string[];
1340
+ } | undefined;
1341
+ } & {
1342
+ param: {
1343
+ id: string;
1344
+ };
1345
+ };
1346
+ output: {
1347
+ error: string;
1348
+ };
1349
+ outputFormat: "json";
1350
+ status: 403;
1318
1351
  };
1319
1352
  };
1320
1353
  } & {
@@ -1352,7 +1385,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1352
1385
  fromEntityId: string;
1353
1386
  toEntityId: string;
1354
1387
  state: string;
1355
- properties: hono_utils_types.JSONValue;
1356
1388
  labels: hono_utils_types.JSONValue;
1357
1389
  createdAt: string;
1358
1390
  updatedAt: string;
@@ -1385,7 +1417,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
1385
1417
  fromEntityId: string;
1386
1418
  toEntityId: string;
1387
1419
  state: string;
1388
- properties: hono_utils_types.JSONValue;
1389
1420
  labels: hono_utils_types.JSONValue;
1390
1421
  createdAt: string;
1391
1422
  updatedAt: string;
@@ -1557,8 +1588,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
1557
1588
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
1558
1589
  id: string;
1559
1590
  createdAt: string;
1560
- error: string | null;
1561
1591
  metadata: hono_utils_types.JSONValue;
1592
+ error: string | null;
1562
1593
  output: hono_utils_types.JSONValue;
1563
1594
  orgId: string;
1564
1595
  projectId: string;
@@ -1729,7 +1760,84 @@ declare const projectApp: hono_hono_base.HonoBase<{
1729
1760
  status: hono_utils_http_status.ContentfulStatusCode;
1730
1761
  };
1731
1762
  };
1732
- }, "/drift-events">, "/envs/:envName"> | hono_types.MergeSchemaPath<{
1763
+ }, "/drift-events"> | hono_types.MergeSchemaPath<{
1764
+ "/": {
1765
+ $get: {
1766
+ input: {};
1767
+ output: {
1768
+ detectedAt: string;
1769
+ lastSeenAt: string;
1770
+ updatedAt: string;
1771
+ id: string;
1772
+ projectId: string | null;
1773
+ envId: string;
1774
+ entityId: string | null;
1775
+ relationshipId: string | null;
1776
+ entityTypeName: string | null;
1777
+ entityName: string | null;
1778
+ findingKind: string;
1779
+ severity: string;
1780
+ status: string;
1781
+ fieldPath: string | null;
1782
+ schemaRef: string | null;
1783
+ schemaVersion: string | null;
1784
+ expected: hono_utils_types.JSONValue;
1785
+ actual: hono_utils_types.JSONValue;
1786
+ message: string;
1787
+ dedupKey: string;
1788
+ auditRunId: string | null;
1789
+ }[];
1790
+ outputFormat: "json";
1791
+ status: hono_utils_http_status.ContentfulStatusCode;
1792
+ };
1793
+ };
1794
+ } & {
1795
+ "/count": {
1796
+ $get: {
1797
+ input: {};
1798
+ output: {
1799
+ count: number;
1800
+ };
1801
+ outputFormat: "json";
1802
+ status: hono_utils_http_status.ContentfulStatusCode;
1803
+ };
1804
+ };
1805
+ } & {
1806
+ "/:id": {
1807
+ $get: {
1808
+ input: {
1809
+ param: {
1810
+ id: string;
1811
+ };
1812
+ };
1813
+ output: {
1814
+ detectedAt: string;
1815
+ lastSeenAt: string;
1816
+ updatedAt: string;
1817
+ id: string;
1818
+ projectId: string | null;
1819
+ envId: string;
1820
+ entityId: string | null;
1821
+ relationshipId: string | null;
1822
+ entityTypeName: string | null;
1823
+ entityName: string | null;
1824
+ findingKind: string;
1825
+ severity: string;
1826
+ status: string;
1827
+ fieldPath: string | null;
1828
+ schemaRef: string | null;
1829
+ schemaVersion: string | null;
1830
+ expected: hono_utils_types.JSONValue;
1831
+ actual: hono_utils_types.JSONValue;
1832
+ message: string;
1833
+ dedupKey: string;
1834
+ auditRunId: string | null;
1835
+ };
1836
+ outputFormat: "json";
1837
+ status: hono_utils_http_status.ContentfulStatusCode;
1838
+ };
1839
+ };
1840
+ }, "/conformance-findings">, "/envs/:envName"> | hono_types.MergeSchemaPath<{
1733
1841
  "/": {
1734
1842
  $get: {
1735
1843
  input: {};
@@ -1913,12 +2021,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
1913
2021
  kind: "data" | "resource" | "module";
1914
2022
  address: string;
1915
2023
  }[] | null;
2024
+ strictComposition: boolean;
1916
2025
  syncTracked: boolean;
1917
2026
  syncFreshness: {
1918
2027
  greenSeconds?: number | undefined;
1919
2028
  yellowSeconds?: number | undefined;
1920
2029
  } | null;
1921
2030
  applier: string | null;
2031
+ labels: {
2032
+ [x: string]: string;
2033
+ };
2034
+ labelMappings: {
2035
+ [x: string]: string;
2036
+ };
1922
2037
  createdAt: string;
1923
2038
  updatedAt: string;
1924
2039
  }[];
@@ -1979,12 +2094,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
1979
2094
  kind: "data" | "resource" | "module";
1980
2095
  address: string;
1981
2096
  }[] | null;
2097
+ strictComposition: boolean;
1982
2098
  syncTracked: boolean;
1983
2099
  syncFreshness: {
1984
2100
  greenSeconds?: number | undefined;
1985
2101
  yellowSeconds?: number | undefined;
1986
2102
  } | null;
1987
2103
  applier: string | null;
2104
+ labels: {
2105
+ [x: string]: string;
2106
+ };
2107
+ labelMappings: {
2108
+ [x: string]: string;
2109
+ };
1988
2110
  };
1989
2111
  outputFormat: "json";
1990
2112
  status: 201;
@@ -2040,12 +2162,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
2040
2162
  kind: "data" | "resource" | "module";
2041
2163
  address: string;
2042
2164
  }[] | null;
2165
+ strictComposition: boolean;
2043
2166
  syncTracked: boolean;
2044
2167
  syncFreshness: {
2045
2168
  greenSeconds?: number | undefined;
2046
2169
  yellowSeconds?: number | undefined;
2047
2170
  } | null;
2048
2171
  applier: string | null;
2172
+ labels: {
2173
+ [x: string]: string;
2174
+ };
2175
+ labelMappings: {
2176
+ [x: string]: string;
2177
+ };
2049
2178
  createdAt: string;
2050
2179
  updatedAt: string;
2051
2180
  };
@@ -2108,12 +2237,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
2108
2237
  kind: "data" | "resource" | "module";
2109
2238
  address: string;
2110
2239
  }[] | null;
2240
+ strictComposition: boolean;
2111
2241
  syncTracked: boolean;
2112
2242
  syncFreshness: {
2113
2243
  greenSeconds?: number | undefined;
2114
2244
  yellowSeconds?: number | undefined;
2115
2245
  } | null;
2116
2246
  applier: string | null;
2247
+ labels: {
2248
+ [x: string]: string;
2249
+ };
2250
+ labelMappings: {
2251
+ [x: string]: string;
2252
+ };
2117
2253
  createdAt: string;
2118
2254
  updatedAt: string;
2119
2255
  };
@@ -2156,6 +2292,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2156
2292
  [x: string]: string;
2157
2293
  };
2158
2294
  capacity: number | null;
2295
+ labels: {
2296
+ [x: string]: string;
2297
+ };
2159
2298
  createdAt: string;
2160
2299
  updatedAt: string;
2161
2300
  }[];
@@ -2184,6 +2323,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2184
2323
  properties: {
2185
2324
  [x: string]: string;
2186
2325
  };
2326
+ labels: {
2327
+ [x: string]: string;
2328
+ };
2187
2329
  config: {
2188
2330
  [x: string]: hono_utils_types.JSONValue;
2189
2331
  };
@@ -2217,6 +2359,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2217
2359
  [x: string]: string;
2218
2360
  };
2219
2361
  capacity: number | null;
2362
+ labels: {
2363
+ [x: string]: string;
2364
+ };
2220
2365
  createdAt: string;
2221
2366
  updatedAt: string;
2222
2367
  };
@@ -2252,6 +2397,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2252
2397
  [x: string]: string;
2253
2398
  };
2254
2399
  capacity: number | null;
2400
+ labels: {
2401
+ [x: string]: string;
2402
+ };
2255
2403
  createdAt: string;
2256
2404
  updatedAt: string;
2257
2405
  };
@@ -2288,7 +2436,13 @@ declare const projectApp: hono_hono_base.HonoBase<{
2288
2436
  properties: {
2289
2437
  [x: string]: string;
2290
2438
  };
2439
+ config: {
2440
+ [x: string]: hono_utils_types.JSONValue;
2441
+ };
2291
2442
  credentialRef: string | null;
2443
+ labels: {
2444
+ [x: string]: string;
2445
+ };
2292
2446
  createdAt: string;
2293
2447
  updatedAt: string;
2294
2448
  }[];
@@ -2313,7 +2467,13 @@ declare const projectApp: hono_hono_base.HonoBase<{
2313
2467
  properties: {
2314
2468
  [x: string]: string;
2315
2469
  };
2470
+ config: {
2471
+ [x: string]: hono_utils_types.JSONValue;
2472
+ };
2316
2473
  credentialRef: string | null;
2474
+ labels: {
2475
+ [x: string]: string;
2476
+ };
2317
2477
  createdAt: string;
2318
2478
  updatedAt: string;
2319
2479
  };
@@ -2345,6 +2505,12 @@ declare const projectApp: hono_hono_base.HonoBase<{
2345
2505
  properties: {
2346
2506
  [x: string]: string;
2347
2507
  };
2508
+ labels: {
2509
+ [x: string]: string;
2510
+ };
2511
+ config: {
2512
+ [x: string]: hono_utils_types.JSONValue;
2513
+ };
2348
2514
  credentialRef: string | null;
2349
2515
  };
2350
2516
  outputFormat: "json";
@@ -2425,6 +2591,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2425
2591
  };
2426
2592
  } | undefined;
2427
2593
  } | null;
2594
+ labels: {
2595
+ [x: string]: string;
2596
+ };
2428
2597
  createdAt: string;
2429
2598
  updatedAt: string;
2430
2599
  }[];
@@ -2453,6 +2622,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2453
2622
  metric: string;
2454
2623
  aggregate: "max" | "sum" | "avg" | "min";
2455
2624
  }[];
2625
+ labels: {
2626
+ [x: string]: string;
2627
+ };
2456
2628
  entityTypeName: string;
2457
2629
  placementPolicy: "least-loaded" | "round-robin" | "random";
2458
2630
  parentCells: string[];
@@ -2564,6 +2736,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2564
2736
  };
2565
2737
  } | undefined;
2566
2738
  } | null;
2739
+ labels: {
2740
+ [x: string]: string;
2741
+ };
2567
2742
  createdAt: string;
2568
2743
  updatedAt: string;
2569
2744
  };
@@ -2638,6 +2813,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2638
2813
  };
2639
2814
  } | undefined;
2640
2815
  } | null;
2816
+ labels: {
2817
+ [x: string]: string;
2818
+ };
2641
2819
  createdAt: string;
2642
2820
  updatedAt: string;
2643
2821
  };
@@ -2759,8 +2937,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
2759
2937
  envId: string;
2760
2938
  state: string;
2761
2939
  properties: hono_utils_types.JSONValue;
2762
- entityTypeName: string;
2763
2940
  labels: hono_utils_types.JSONValue;
2941
+ entityTypeName: string;
2764
2942
  lastSyncedAt: string | null;
2765
2943
  syncSource: string | null;
2766
2944
  };
@@ -2795,13 +2973,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2795
2973
  }[];
2796
2974
  constraints: ({
2797
2975
  type: "property-sum";
2798
- property: string;
2976
+ fromProperty: string;
2799
2977
  leq: string;
2800
2978
  } | {
2801
2979
  type: "relationship-count";
2802
2980
  leq: string | number;
2803
2981
  })[];
2804
2982
  containment: boolean;
2983
+ derivedFrom: {
2984
+ property: string;
2985
+ targetProperty?: string | undefined;
2986
+ } | null | undefined;
2987
+ labels: {
2988
+ [x: string]: string;
2989
+ };
2805
2990
  createdAt: string;
2806
2991
  updatedAt: string;
2807
2992
  }[];
@@ -2835,14 +3020,21 @@ declare const projectApp: hono_hono_base.HonoBase<{
2835
3020
  title?: string | undefined;
2836
3021
  enum?: string[] | undefined;
2837
3022
  }[];
3023
+ derivedFrom: {
3024
+ property: string;
3025
+ targetProperty?: string | undefined;
3026
+ } | null | undefined;
2838
3027
  constraints: ({
2839
3028
  type: "property-sum";
2840
- property: string;
3029
+ fromProperty: string;
2841
3030
  leq: string;
2842
3031
  } | {
2843
3032
  type: "relationship-count";
2844
3033
  leq: string | number;
2845
3034
  })[];
3035
+ labels: {
3036
+ [x: string]: string;
3037
+ };
2846
3038
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
2847
3039
  fromEntityTypeName: string;
2848
3040
  toEntityTypeName: string;
@@ -2880,13 +3072,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2880
3072
  }[];
2881
3073
  constraints: ({
2882
3074
  type: "property-sum";
2883
- property: string;
3075
+ fromProperty: string;
2884
3076
  leq: string;
2885
3077
  } | {
2886
3078
  type: "relationship-count";
2887
3079
  leq: string | number;
2888
3080
  })[];
2889
3081
  containment: boolean;
3082
+ derivedFrom: {
3083
+ property: string;
3084
+ targetProperty?: string | undefined;
3085
+ } | null | undefined;
3086
+ labels: {
3087
+ [x: string]: string;
3088
+ };
2890
3089
  createdAt: string;
2891
3090
  updatedAt: string;
2892
3091
  };
@@ -2927,13 +3126,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2927
3126
  }[];
2928
3127
  constraints: ({
2929
3128
  type: "property-sum";
2930
- property: string;
3129
+ fromProperty: string;
2931
3130
  leq: string;
2932
3131
  } | {
2933
3132
  type: "relationship-count";
2934
3133
  leq: string | number;
2935
3134
  })[];
2936
3135
  containment: boolean;
3136
+ derivedFrom: {
3137
+ property: string;
3138
+ targetProperty?: string | undefined;
3139
+ } | null | undefined;
3140
+ labels: {
3141
+ [x: string]: string;
3142
+ };
2937
3143
  createdAt: string;
2938
3144
  updatedAt: string;
2939
3145
  };
@@ -3008,9 +3214,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
3008
3214
  addToCell?: string | undefined;
3009
3215
  createRelationship?: {
3010
3216
  relationshipType: string;
3217
+ to: string;
3011
3218
  onSuccess: string;
3012
3219
  onFailure: string;
3013
- to: string;
3014
3220
  properties?: {
3015
3221
  [x: string]: string;
3016
3222
  } | undefined;
@@ -3078,10 +3284,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3078
3284
  type: "create-relationship";
3079
3285
  from: string;
3080
3286
  relationshipType: string;
3287
+ to: string;
3081
3288
  onTrigger: string;
3082
3289
  onSuccess: string;
3083
3290
  onFailure: string;
3084
- to: string;
3085
3291
  properties?: {
3086
3292
  [x: string]: string;
3087
3293
  } | undefined;
@@ -3103,10 +3309,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3103
3309
  } | {
3104
3310
  type: "migrate-relationship";
3105
3311
  relationshipType: string;
3312
+ to: string;
3106
3313
  onTrigger: string;
3107
3314
  onSuccess: string;
3108
3315
  onFailure: string;
3109
- to: string;
3110
3316
  };
3111
3317
  trigger: {
3112
3318
  type: "webhook";
@@ -3317,6 +3523,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
3317
3523
  webhookSecret?: string | undefined;
3318
3524
  body?: string | undefined;
3319
3525
  title?: string | undefined;
3526
+ labels?: string[] | undefined;
3320
3527
  auth?: {
3321
3528
  type: "token";
3322
3529
  token: string;
@@ -3341,7 +3548,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
3341
3548
  value?: hono_utils_types.JSONValue | undefined;
3342
3549
  } | undefined;
3343
3550
  }[] | undefined;
3344
- labels?: string[] | undefined;
3345
3551
  reviewers?: string[] | undefined;
3346
3552
  teamReviewers?: string[] | undefined;
3347
3553
  postMergeDispatch?: {
@@ -3512,9 +3718,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
3512
3718
  addToCell?: string | undefined;
3513
3719
  createRelationship?: {
3514
3720
  relationshipType: string;
3721
+ to: string;
3515
3722
  onSuccess: string;
3516
3723
  onFailure: string;
3517
- to: string;
3518
3724
  properties?: {
3519
3725
  [x: string]: string;
3520
3726
  } | undefined;
@@ -3582,10 +3788,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3582
3788
  type: "create-relationship";
3583
3789
  from: string;
3584
3790
  relationshipType: string;
3791
+ to: string;
3585
3792
  onTrigger: string;
3586
3793
  onSuccess: string;
3587
3794
  onFailure: string;
3588
- to: string;
3589
3795
  properties?: {
3590
3796
  [x: string]: string;
3591
3797
  } | undefined;
@@ -3607,10 +3813,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3607
3813
  } | {
3608
3814
  type: "migrate-relationship";
3609
3815
  relationshipType: string;
3816
+ to: string;
3610
3817
  onTrigger: string;
3611
3818
  onSuccess: string;
3612
3819
  onFailure: string;
3613
- to: string;
3614
3820
  };
3615
3821
  trigger: {
3616
3822
  type: "webhook";
@@ -3821,6 +4027,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
3821
4027
  webhookSecret?: string | undefined;
3822
4028
  body?: string | undefined;
3823
4029
  title?: string | undefined;
4030
+ labels?: string[] | undefined;
3824
4031
  auth?: {
3825
4032
  type: "token";
3826
4033
  token: string;
@@ -3845,7 +4052,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
3845
4052
  value?: hono_utils_types.JSONValue | undefined;
3846
4053
  } | undefined;
3847
4054
  }[] | undefined;
3848
- labels?: string[] | undefined;
3849
4055
  reviewers?: string[] | undefined;
3850
4056
  teamReviewers?: string[] | undefined;
3851
4057
  postMergeDispatch?: {
@@ -4015,9 +4221,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
4015
4221
  addToCell?: string | undefined;
4016
4222
  createRelationship?: {
4017
4223
  relationshipType: string;
4224
+ to: string;
4018
4225
  onSuccess: string;
4019
4226
  onFailure: string;
4020
- to: string;
4021
4227
  properties?: {
4022
4228
  [x: string]: string;
4023
4229
  } | undefined;
@@ -4085,10 +4291,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4085
4291
  type: "create-relationship";
4086
4292
  from: string;
4087
4293
  relationshipType: string;
4294
+ to: string;
4088
4295
  onTrigger: string;
4089
4296
  onSuccess: string;
4090
4297
  onFailure: string;
4091
- to: string;
4092
4298
  properties?: {
4093
4299
  [x: string]: string;
4094
4300
  } | undefined;
@@ -4110,10 +4316,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4110
4316
  } | {
4111
4317
  type: "migrate-relationship";
4112
4318
  relationshipType: string;
4319
+ to: string;
4113
4320
  onTrigger: string;
4114
4321
  onSuccess: string;
4115
4322
  onFailure: string;
4116
- to: string;
4117
4323
  };
4118
4324
  trigger: {
4119
4325
  type: "webhook";
@@ -4324,6 +4530,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
4324
4530
  webhookSecret?: string | undefined;
4325
4531
  body?: string | undefined;
4326
4532
  title?: string | undefined;
4533
+ labels?: string[] | undefined;
4327
4534
  auth?: {
4328
4535
  type: "token";
4329
4536
  token: string;
@@ -4348,7 +4555,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
4348
4555
  value?: hono_utils_types.JSONValue | undefined;
4349
4556
  } | undefined;
4350
4557
  }[] | undefined;
4351
- labels?: string[] | undefined;
4352
4558
  reviewers?: string[] | undefined;
4353
4559
  teamReviewers?: string[] | undefined;
4354
4560
  postMergeDispatch?: {
@@ -4523,9 +4729,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
4523
4729
  addToCell?: string | undefined;
4524
4730
  createRelationship?: {
4525
4731
  relationshipType: string;
4732
+ to: string;
4526
4733
  onSuccess: string;
4527
4734
  onFailure: string;
4528
- to: string;
4529
4735
  properties?: {
4530
4736
  [x: string]: string;
4531
4737
  } | undefined;
@@ -4593,10 +4799,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4593
4799
  type: "create-relationship";
4594
4800
  from: string;
4595
4801
  relationshipType: string;
4802
+ to: string;
4596
4803
  onTrigger: string;
4597
4804
  onSuccess: string;
4598
4805
  onFailure: string;
4599
- to: string;
4600
4806
  properties?: {
4601
4807
  [x: string]: string;
4602
4808
  } | undefined;
@@ -4618,10 +4824,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4618
4824
  } | {
4619
4825
  type: "migrate-relationship";
4620
4826
  relationshipType: string;
4827
+ to: string;
4621
4828
  onTrigger: string;
4622
4829
  onSuccess: string;
4623
4830
  onFailure: string;
4624
- to: string;
4625
4831
  };
4626
4832
  trigger: {
4627
4833
  type: "webhook";
@@ -4832,6 +5038,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
4832
5038
  webhookSecret?: string | undefined;
4833
5039
  body?: string | undefined;
4834
5040
  title?: string | undefined;
5041
+ labels?: string[] | undefined;
4835
5042
  auth?: {
4836
5043
  type: "token";
4837
5044
  token: string;
@@ -4856,7 +5063,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
4856
5063
  value?: hono_utils_types.JSONValue | undefined;
4857
5064
  } | undefined;
4858
5065
  }[] | undefined;
4859
- labels?: string[] | undefined;
4860
5066
  reviewers?: string[] | undefined;
4861
5067
  teamReviewers?: string[] | undefined;
4862
5068
  postMergeDispatch?: {
@@ -5081,39 +5287,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5081
5287
  ownerUserId: string | null;
5082
5288
  name: string;
5083
5289
  isDefault: boolean;
5084
- config: {
5085
- sort: {
5086
- cells: "name" | "memberCount" | "capacityUsed";
5087
- entities: "name" | "updatedAt" | "state";
5290
+ pinnedPositions: {
5291
+ [x: string]: {
5292
+ x: number;
5293
+ y: number;
5294
+ };
5295
+ } | null;
5296
+ viewSpec: {
5297
+ schemaVersion: 1;
5298
+ grouping: {
5299
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5300
+ aggregate: {
5301
+ byType: boolean;
5302
+ threshold: number;
5303
+ };
5304
+ labelKey?: string | undefined;
5305
+ };
5306
+ edges: {
5307
+ mode: "all" | "none" | "problems";
5308
+ labels: ("type" | "count")[];
5309
+ render: "refs" | "lines";
5310
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5088
5311
  };
5089
- filter: {
5312
+ filters: {
5090
5313
  entityTypes: string[];
5091
- states: string[];
5092
5314
  labels: {
5093
5315
  [x: string]: string[];
5094
5316
  };
5317
+ cells: string[];
5318
+ relationshipTypes: string[];
5319
+ deploymentTargets: string[];
5320
+ lifecycle: string[];
5321
+ conformance: ("conformant" | "non-conformant")[];
5095
5322
  };
5096
- grouping: {
5097
- cellsEnabled: boolean;
5098
- partitionsEnabled: boolean;
5099
- };
5100
- cardDisplay: {
5101
- properties: string[] | "all" | "required";
5102
- showState: boolean;
5103
- inlineRelationships: boolean;
5104
- maxRelsPerCard: number;
5105
- drawEdges: boolean;
5323
+ focus: {
5324
+ direction: "both" | "upstream" | "downstream";
5325
+ roots: string[];
5326
+ maxHops: 2 | 1 | 3 | "∞";
5327
+ edgeTypes: string[];
5106
5328
  };
5107
- layout: {
5108
- mode: "auto" | "free";
5109
- positionsPinned: boolean;
5329
+ expansion: {
5330
+ [x: string]: "expanded" | "collapsed";
5110
5331
  };
5111
- };
5112
- pinnedPositions: {
5113
- [x: string]: {
5114
- x: number;
5115
- y: number;
5332
+ style: {
5333
+ selector: string;
5334
+ style: {
5335
+ [x: string]: string;
5336
+ };
5337
+ }[];
5338
+ pins: {
5339
+ [x: string]: {
5340
+ x: number;
5341
+ y: number;
5342
+ };
5116
5343
  };
5344
+ interaction: "auto" | "free";
5117
5345
  } | null;
5118
5346
  createdAt: string;
5119
5347
  updatedAt: string;
@@ -5134,39 +5362,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5134
5362
  ownerUserId: string | null;
5135
5363
  name: string;
5136
5364
  isDefault: boolean;
5137
- config: {
5138
- sort: {
5139
- cells: "name" | "memberCount" | "capacityUsed";
5140
- entities: "name" | "updatedAt" | "state";
5365
+ pinnedPositions: {
5366
+ [x: string]: {
5367
+ x: number;
5368
+ y: number;
5369
+ };
5370
+ } | null;
5371
+ viewSpec: {
5372
+ schemaVersion: 1;
5373
+ grouping: {
5374
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5375
+ aggregate: {
5376
+ byType: boolean;
5377
+ threshold: number;
5378
+ };
5379
+ labelKey?: string | undefined;
5380
+ };
5381
+ edges: {
5382
+ mode: "all" | "none" | "problems";
5383
+ labels: ("type" | "count")[];
5384
+ render: "refs" | "lines";
5385
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5141
5386
  };
5142
- filter: {
5387
+ filters: {
5143
5388
  entityTypes: string[];
5144
- states: string[];
5145
5389
  labels: {
5146
5390
  [x: string]: string[];
5147
5391
  };
5392
+ cells: string[];
5393
+ relationshipTypes: string[];
5394
+ deploymentTargets: string[];
5395
+ lifecycle: string[];
5396
+ conformance: ("conformant" | "non-conformant")[];
5148
5397
  };
5149
- grouping: {
5150
- cellsEnabled: boolean;
5151
- partitionsEnabled: boolean;
5152
- };
5153
- cardDisplay: {
5154
- properties: string[] | "all" | "required";
5155
- showState: boolean;
5156
- inlineRelationships: boolean;
5157
- maxRelsPerCard: number;
5158
- drawEdges: boolean;
5398
+ focus: {
5399
+ direction: "both" | "upstream" | "downstream";
5400
+ roots: string[];
5401
+ maxHops: 2 | 1 | 3 | "∞";
5402
+ edgeTypes: string[];
5159
5403
  };
5160
- layout: {
5161
- mode: "auto" | "free";
5162
- positionsPinned: boolean;
5404
+ expansion: {
5405
+ [x: string]: "expanded" | "collapsed";
5163
5406
  };
5164
- };
5165
- pinnedPositions: {
5166
- [x: string]: {
5167
- x: number;
5168
- y: number;
5407
+ style: {
5408
+ selector: string;
5409
+ style: {
5410
+ [x: string]: string;
5411
+ };
5412
+ }[];
5413
+ pins: {
5414
+ [x: string]: {
5415
+ x: number;
5416
+ y: number;
5417
+ };
5169
5418
  };
5419
+ interaction: "auto" | "free";
5170
5420
  } | null;
5171
5421
  createdAt: string;
5172
5422
  updatedAt: string;
@@ -5183,35 +5433,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
5183
5433
  ownerUserId: null;
5184
5434
  name: string;
5185
5435
  isDefault: true;
5186
- config: {
5187
- sort: {
5188
- cells: "name" | "memberCount" | "capacityUsed";
5189
- entities: "name" | "updatedAt" | "state";
5190
- };
5191
- filter: {
5192
- entityTypes: string[];
5193
- states: string[];
5194
- labels: {
5195
- [x: string]: string[];
5196
- };
5197
- };
5198
- grouping: {
5199
- cellsEnabled: boolean;
5200
- partitionsEnabled: boolean;
5201
- };
5202
- cardDisplay: {
5203
- properties: string[] | "all" | "required";
5204
- showState: boolean;
5205
- inlineRelationships: boolean;
5206
- maxRelsPerCard: number;
5207
- drawEdges: boolean;
5208
- };
5209
- layout: {
5210
- mode: "auto" | "free";
5211
- positionsPinned: boolean;
5212
- };
5213
- };
5214
5436
  pinnedPositions: null;
5437
+ viewSpec: null;
5215
5438
  };
5216
5439
  outputFormat: "json";
5217
5440
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -5233,39 +5456,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5233
5456
  ownerUserId: string | null;
5234
5457
  name: string;
5235
5458
  isDefault: boolean;
5236
- config: {
5237
- sort: {
5238
- cells: "name" | "memberCount" | "capacityUsed";
5239
- entities: "name" | "updatedAt" | "state";
5459
+ pinnedPositions: {
5460
+ [x: string]: {
5461
+ x: number;
5462
+ y: number;
5463
+ };
5464
+ } | null;
5465
+ viewSpec: {
5466
+ schemaVersion: 1;
5467
+ grouping: {
5468
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5469
+ aggregate: {
5470
+ byType: boolean;
5471
+ threshold: number;
5472
+ };
5473
+ labelKey?: string | undefined;
5474
+ };
5475
+ edges: {
5476
+ mode: "all" | "none" | "problems";
5477
+ labels: ("type" | "count")[];
5478
+ render: "refs" | "lines";
5479
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5240
5480
  };
5241
- filter: {
5481
+ filters: {
5242
5482
  entityTypes: string[];
5243
- states: string[];
5244
5483
  labels: {
5245
5484
  [x: string]: string[];
5246
5485
  };
5486
+ cells: string[];
5487
+ relationshipTypes: string[];
5488
+ deploymentTargets: string[];
5489
+ lifecycle: string[];
5490
+ conformance: ("conformant" | "non-conformant")[];
5247
5491
  };
5248
- grouping: {
5249
- cellsEnabled: boolean;
5250
- partitionsEnabled: boolean;
5251
- };
5252
- cardDisplay: {
5253
- properties: string[] | "all" | "required";
5254
- showState: boolean;
5255
- inlineRelationships: boolean;
5256
- maxRelsPerCard: number;
5257
- drawEdges: boolean;
5492
+ focus: {
5493
+ direction: "both" | "upstream" | "downstream";
5494
+ roots: string[];
5495
+ maxHops: 2 | 1 | 3 | "∞";
5496
+ edgeTypes: string[];
5258
5497
  };
5259
- layout: {
5260
- mode: "auto" | "free";
5261
- positionsPinned: boolean;
5498
+ expansion: {
5499
+ [x: string]: "expanded" | "collapsed";
5262
5500
  };
5263
- };
5264
- pinnedPositions: {
5265
- [x: string]: {
5266
- x: number;
5267
- y: number;
5501
+ style: {
5502
+ selector: string;
5503
+ style: {
5504
+ [x: string]: string;
5505
+ };
5506
+ }[];
5507
+ pins: {
5508
+ [x: string]: {
5509
+ x: number;
5510
+ y: number;
5511
+ };
5268
5512
  };
5513
+ interaction: "auto" | "free";
5269
5514
  } | null;
5270
5515
  createdAt: string;
5271
5516
  updatedAt: string;
@@ -5292,40 +5537,62 @@ declare const projectApp: hono_hono_base.HonoBase<{
5292
5537
  projectId: string;
5293
5538
  isDefault: boolean;
5294
5539
  scope: "user" | "project";
5295
- config: {
5296
- sort: {
5297
- cells: "name" | "memberCount" | "capacityUsed";
5298
- entities: "name" | "updatedAt" | "state";
5540
+ ownerUserId: string | null;
5541
+ pinnedPositions: {
5542
+ [x: string]: {
5543
+ x: number;
5544
+ y: number;
5299
5545
  };
5300
- filter: {
5546
+ } | null;
5547
+ viewSpec: {
5548
+ schemaVersion: 1;
5549
+ grouping: {
5550
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5551
+ aggregate: {
5552
+ byType: boolean;
5553
+ threshold: number;
5554
+ };
5555
+ labelKey?: string | undefined;
5556
+ };
5557
+ edges: {
5558
+ mode: "all" | "none" | "problems";
5559
+ labels: ("type" | "count")[];
5560
+ render: "refs" | "lines";
5561
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5562
+ };
5563
+ filters: {
5301
5564
  entityTypes: string[];
5302
- states: string[];
5303
5565
  labels: {
5304
5566
  [x: string]: string[];
5305
5567
  };
5568
+ cells: string[];
5569
+ relationshipTypes: string[];
5570
+ deploymentTargets: string[];
5571
+ lifecycle: string[];
5572
+ conformance: ("conformant" | "non-conformant")[];
5306
5573
  };
5307
- grouping: {
5308
- cellsEnabled: boolean;
5309
- partitionsEnabled: boolean;
5310
- };
5311
- cardDisplay: {
5312
- properties: string[] | "all" | "required";
5313
- showState: boolean;
5314
- inlineRelationships: boolean;
5315
- maxRelsPerCard: number;
5316
- drawEdges: boolean;
5574
+ focus: {
5575
+ direction: "both" | "upstream" | "downstream";
5576
+ roots: string[];
5577
+ maxHops: 2 | 1 | 3 | "∞";
5578
+ edgeTypes: string[];
5317
5579
  };
5318
- layout: {
5319
- mode: "auto" | "free";
5320
- positionsPinned: boolean;
5580
+ expansion: {
5581
+ [x: string]: "expanded" | "collapsed";
5321
5582
  };
5322
- };
5323
- ownerUserId: string | null;
5324
- pinnedPositions: {
5325
- [x: string]: {
5326
- x: number;
5327
- y: number;
5583
+ style: {
5584
+ selector: string;
5585
+ style: {
5586
+ [x: string]: string;
5587
+ };
5588
+ }[];
5589
+ pins: {
5590
+ [x: string]: {
5591
+ x: number;
5592
+ y: number;
5593
+ };
5328
5594
  };
5595
+ interaction: "auto" | "free";
5329
5596
  } | null;
5330
5597
  };
5331
5598
  outputFormat: "json";
@@ -5353,39 +5620,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5353
5620
  ownerUserId: string | null;
5354
5621
  name: string;
5355
5622
  isDefault: boolean;
5356
- config: {
5357
- sort: {
5358
- cells: "name" | "memberCount" | "capacityUsed";
5359
- entities: "name" | "updatedAt" | "state";
5623
+ pinnedPositions: {
5624
+ [x: string]: {
5625
+ x: number;
5626
+ y: number;
5627
+ };
5628
+ } | null;
5629
+ viewSpec: {
5630
+ schemaVersion: 1;
5631
+ grouping: {
5632
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5633
+ aggregate: {
5634
+ byType: boolean;
5635
+ threshold: number;
5636
+ };
5637
+ labelKey?: string | undefined;
5638
+ };
5639
+ edges: {
5640
+ mode: "all" | "none" | "problems";
5641
+ labels: ("type" | "count")[];
5642
+ render: "refs" | "lines";
5643
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5360
5644
  };
5361
- filter: {
5645
+ filters: {
5362
5646
  entityTypes: string[];
5363
- states: string[];
5364
5647
  labels: {
5365
5648
  [x: string]: string[];
5366
5649
  };
5650
+ cells: string[];
5651
+ relationshipTypes: string[];
5652
+ deploymentTargets: string[];
5653
+ lifecycle: string[];
5654
+ conformance: ("conformant" | "non-conformant")[];
5367
5655
  };
5368
- grouping: {
5369
- cellsEnabled: boolean;
5370
- partitionsEnabled: boolean;
5371
- };
5372
- cardDisplay: {
5373
- properties: string[] | "all" | "required";
5374
- showState: boolean;
5375
- inlineRelationships: boolean;
5376
- maxRelsPerCard: number;
5377
- drawEdges: boolean;
5656
+ focus: {
5657
+ direction: "both" | "upstream" | "downstream";
5658
+ roots: string[];
5659
+ maxHops: 2 | 1 | 3 | "∞";
5660
+ edgeTypes: string[];
5378
5661
  };
5379
- layout: {
5380
- mode: "auto" | "free";
5381
- positionsPinned: boolean;
5662
+ expansion: {
5663
+ [x: string]: "expanded" | "collapsed";
5382
5664
  };
5383
- };
5384
- pinnedPositions: {
5385
- [x: string]: {
5386
- x: number;
5387
- y: number;
5665
+ style: {
5666
+ selector: string;
5667
+ style: {
5668
+ [x: string]: string;
5669
+ };
5670
+ }[];
5671
+ pins: {
5672
+ [x: string]: {
5673
+ x: number;
5674
+ y: number;
5675
+ };
5388
5676
  };
5677
+ interaction: "auto" | "free";
5389
5678
  } | null;
5390
5679
  createdAt: string;
5391
5680
  updatedAt: string;
@@ -5426,39 +5715,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5426
5715
  ownerUserId: string | null;
5427
5716
  name: string;
5428
5717
  isDefault: boolean;
5429
- config: {
5430
- sort: {
5431
- cells: "name" | "memberCount" | "capacityUsed";
5432
- entities: "name" | "updatedAt" | "state";
5718
+ pinnedPositions: {
5719
+ [x: string]: {
5720
+ x: number;
5721
+ y: number;
5722
+ };
5723
+ } | null;
5724
+ viewSpec: {
5725
+ schemaVersion: 1;
5726
+ grouping: {
5727
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5728
+ aggregate: {
5729
+ byType: boolean;
5730
+ threshold: number;
5731
+ };
5732
+ labelKey?: string | undefined;
5733
+ };
5734
+ edges: {
5735
+ mode: "all" | "none" | "problems";
5736
+ labels: ("type" | "count")[];
5737
+ render: "refs" | "lines";
5738
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5433
5739
  };
5434
- filter: {
5740
+ filters: {
5435
5741
  entityTypes: string[];
5436
- states: string[];
5437
5742
  labels: {
5438
5743
  [x: string]: string[];
5439
5744
  };
5745
+ cells: string[];
5746
+ relationshipTypes: string[];
5747
+ deploymentTargets: string[];
5748
+ lifecycle: string[];
5749
+ conformance: ("conformant" | "non-conformant")[];
5440
5750
  };
5441
- grouping: {
5442
- cellsEnabled: boolean;
5443
- partitionsEnabled: boolean;
5444
- };
5445
- cardDisplay: {
5446
- properties: string[] | "all" | "required";
5447
- showState: boolean;
5448
- inlineRelationships: boolean;
5449
- maxRelsPerCard: number;
5450
- drawEdges: boolean;
5751
+ focus: {
5752
+ direction: "both" | "upstream" | "downstream";
5753
+ roots: string[];
5754
+ maxHops: 2 | 1 | 3 | "∞";
5755
+ edgeTypes: string[];
5451
5756
  };
5452
- layout: {
5453
- mode: "auto" | "free";
5454
- positionsPinned: boolean;
5757
+ expansion: {
5758
+ [x: string]: "expanded" | "collapsed";
5455
5759
  };
5456
- };
5457
- pinnedPositions: {
5458
- [x: string]: {
5459
- x: number;
5460
- y: number;
5760
+ style: {
5761
+ selector: string;
5762
+ style: {
5763
+ [x: string]: string;
5764
+ };
5765
+ }[];
5766
+ pins: {
5767
+ [x: string]: {
5768
+ x: number;
5769
+ y: number;
5770
+ };
5461
5771
  };
5772
+ interaction: "auto" | "free";
5462
5773
  } | null;
5463
5774
  createdAt: string;
5464
5775
  updatedAt: string;
@@ -5807,9 +6118,9 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
5807
6118
  slug: string;
5808
6119
  id: string;
5809
6120
  createdAt: string;
6121
+ metadata: string | null;
5810
6122
  deletedAt: string | null;
5811
6123
  logo: string | null;
5812
- metadata: string | null;
5813
6124
  suspendedAt: string | null;
5814
6125
  };
5815
6126
  outputFormat: "json";
@@ -5836,12 +6147,14 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
5836
6147
  };
5837
6148
  };
5838
6149
  output: {
6150
+ metadata: {
6151
+ [x: string]: hono_utils_types.JSONValue;
6152
+ } | null;
5839
6153
  id: string;
5840
6154
  name: string;
5841
6155
  slug: string;
5842
6156
  logo: string | null;
5843
6157
  createdAt: string;
5844
- metadata: string | null;
5845
6158
  deletedAt: string | null;
5846
6159
  suspendedAt: string | null;
5847
6160
  };
@@ -6405,10 +6718,10 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
6405
6718
  name: string;
6406
6719
  slug: string;
6407
6720
  createdAt: string;
6408
- updatedAt: string;
6409
6721
  metadata: {
6410
6722
  [x: string]: hono_utils_types.JSONValue;
6411
6723
  };
6724
+ updatedAt: string;
6412
6725
  orgId: string;
6413
6726
  isDemo: boolean;
6414
6727
  lastDriftRunAt: string | null;
@@ -7146,9 +7459,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
7146
7459
  slug: string;
7147
7460
  id: string;
7148
7461
  createdAt: string;
7462
+ metadata: string | null;
7149
7463
  deletedAt: string | null;
7150
7464
  logo: string | null;
7151
- metadata: string | null;
7152
7465
  suspendedAt: string | null;
7153
7466
  }>;
7154
7467
  get: SchemaFn<zod.ZodObject<{
@@ -7160,12 +7473,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
7160
7473
  }>, {
7161
7474
  error: string;
7162
7475
  } | {
7476
+ metadata: {
7477
+ [x: string]: hono_utils_types.JSONValue;
7478
+ } | null;
7163
7479
  id: string;
7164
7480
  name: string;
7165
7481
  slug: string;
7166
7482
  logo: string | null;
7167
7483
  createdAt: string;
7168
- metadata: string | null;
7169
7484
  deletedAt: string | null;
7170
7485
  suspendedAt: string | null;
7171
7486
  }>;
@@ -7417,10 +7732,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
7417
7732
  name: string;
7418
7733
  slug: string;
7419
7734
  createdAt: string;
7420
- updatedAt: string;
7421
7735
  metadata: {
7422
7736
  [x: string]: hono_utils_types.JSONValue;
7423
7737
  };
7738
+ updatedAt: string;
7424
7739
  orgId: string;
7425
7740
  isDemo: boolean;
7426
7741
  lastDriftRunAt: string | null;
@@ -8063,12 +8378,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8063
8378
  kind: "data" | "resource" | "module";
8064
8379
  address: string;
8065
8380
  }[] | null;
8381
+ strictComposition: boolean;
8066
8382
  syncTracked: boolean;
8067
8383
  syncFreshness: {
8068
8384
  greenSeconds?: number | undefined;
8069
8385
  yellowSeconds?: number | undefined;
8070
8386
  } | null;
8071
8387
  applier: string | null;
8388
+ labels: {
8389
+ [x: string]: string;
8390
+ };
8391
+ labelMappings: {
8392
+ [x: string]: string;
8393
+ };
8072
8394
  createdAt: string;
8073
8395
  updatedAt: string;
8074
8396
  }[]>;
@@ -8126,12 +8448,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8126
8448
  kind: "data" | "resource" | "module";
8127
8449
  address: string;
8128
8450
  }[] | null;
8451
+ strictComposition: boolean;
8129
8452
  syncTracked: boolean;
8130
8453
  syncFreshness: {
8131
8454
  greenSeconds?: number | undefined;
8132
8455
  yellowSeconds?: number | undefined;
8133
8456
  } | null;
8134
8457
  applier: string | null;
8458
+ labels: {
8459
+ [x: string]: string;
8460
+ };
8461
+ labelMappings: {
8462
+ [x: string]: string;
8463
+ };
8135
8464
  createdAt: string;
8136
8465
  updatedAt: string;
8137
8466
  }>;
@@ -8282,6 +8611,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8282
8611
  kind: "data" | "resource" | "module";
8283
8612
  address: string;
8284
8613
  }>, "many">>;
8614
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
8615
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8616
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8285
8617
  } & {
8286
8618
  orgId: zod.ZodString;
8287
8619
  projectId: zod.ZodString;
@@ -8329,11 +8661,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8329
8661
  kind: "data" | "resource" | "module";
8330
8662
  address: string;
8331
8663
  }[] | undefined;
8664
+ strictComposition?: boolean | undefined;
8332
8665
  syncFreshness?: {
8333
8666
  greenSeconds?: number | undefined;
8334
8667
  yellowSeconds?: number | undefined;
8335
8668
  } | undefined;
8336
8669
  applier?: string | undefined;
8670
+ labels?: Record<string, string> | undefined;
8671
+ labelMappings?: Record<string, string> | undefined;
8337
8672
  }, {
8338
8673
  name: string;
8339
8674
  orgId: string;
@@ -8377,12 +8712,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8377
8712
  kind: "data" | "resource" | "module";
8378
8713
  address: string;
8379
8714
  }[] | undefined;
8715
+ strictComposition?: boolean | undefined;
8380
8716
  syncTracked?: boolean | undefined;
8381
8717
  syncFreshness?: {
8382
8718
  greenSeconds?: number | undefined;
8383
8719
  yellowSeconds?: number | undefined;
8384
8720
  } | undefined;
8385
8721
  applier?: string | undefined;
8722
+ labels?: Record<string, string> | undefined;
8723
+ labelMappings?: Record<string, string> | undefined;
8386
8724
  }>, {
8387
8725
  name: string;
8388
8726
  createdAt: string;
@@ -8427,12 +8765,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8427
8765
  kind: "data" | "resource" | "module";
8428
8766
  address: string;
8429
8767
  }[] | null;
8768
+ strictComposition: boolean;
8430
8769
  syncTracked: boolean;
8431
8770
  syncFreshness: {
8432
8771
  greenSeconds?: number | undefined;
8433
8772
  yellowSeconds?: number | undefined;
8434
8773
  } | null;
8435
8774
  applier: string | null;
8775
+ labels: {
8776
+ [x: string]: string;
8777
+ };
8778
+ labelMappings: {
8779
+ [x: string]: string;
8780
+ };
8436
8781
  }>;
8437
8782
  update: SchemaFn<zod.ZodObject<{
8438
8783
  kind: zod.ZodLiteral<"EntityType">;
@@ -8581,6 +8926,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8581
8926
  kind: "data" | "resource" | "module";
8582
8927
  address: string;
8583
8928
  }>, "many">>;
8929
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
8930
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8931
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8584
8932
  } & {
8585
8933
  orgId: zod.ZodString;
8586
8934
  projectId: zod.ZodString;
@@ -8628,11 +8976,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8628
8976
  kind: "data" | "resource" | "module";
8629
8977
  address: string;
8630
8978
  }[] | undefined;
8979
+ strictComposition?: boolean | undefined;
8631
8980
  syncFreshness?: {
8632
8981
  greenSeconds?: number | undefined;
8633
8982
  yellowSeconds?: number | undefined;
8634
8983
  } | undefined;
8635
8984
  applier?: string | undefined;
8985
+ labels?: Record<string, string> | undefined;
8986
+ labelMappings?: Record<string, string> | undefined;
8636
8987
  }, {
8637
8988
  name: string;
8638
8989
  orgId: string;
@@ -8676,12 +9027,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8676
9027
  kind: "data" | "resource" | "module";
8677
9028
  address: string;
8678
9029
  }[] | undefined;
9030
+ strictComposition?: boolean | undefined;
8679
9031
  syncTracked?: boolean | undefined;
8680
9032
  syncFreshness?: {
8681
9033
  greenSeconds?: number | undefined;
8682
9034
  yellowSeconds?: number | undefined;
8683
9035
  } | undefined;
8684
9036
  applier?: string | undefined;
9037
+ labels?: Record<string, string> | undefined;
9038
+ labelMappings?: Record<string, string> | undefined;
8685
9039
  }>, {
8686
9040
  orgId: string;
8687
9041
  projectId: string;
@@ -8724,12 +9078,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8724
9078
  kind: "data" | "resource" | "module";
8725
9079
  address: string;
8726
9080
  }[] | null;
9081
+ strictComposition: boolean;
8727
9082
  syncTracked: boolean;
8728
9083
  syncFreshness: {
8729
9084
  greenSeconds?: number | undefined;
8730
9085
  yellowSeconds?: number | undefined;
8731
9086
  } | null;
8732
9087
  applier: string | null;
9088
+ labels: {
9089
+ [x: string]: string;
9090
+ };
9091
+ labelMappings: {
9092
+ [x: string]: string;
9093
+ };
8733
9094
  createdAt: string;
8734
9095
  updatedAt: string;
8735
9096
  }>;
@@ -8775,6 +9136,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8775
9136
  [x: string]: string;
8776
9137
  };
8777
9138
  capacity: number | null;
9139
+ labels: {
9140
+ [x: string]: string;
9141
+ };
8778
9142
  createdAt: string;
8779
9143
  updatedAt: string;
8780
9144
  }[]>;
@@ -8805,6 +9169,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8805
9169
  [x: string]: string;
8806
9170
  };
8807
9171
  capacity: number | null;
9172
+ labels: {
9173
+ [x: string]: string;
9174
+ };
8808
9175
  createdAt: string;
8809
9176
  updatedAt: string;
8810
9177
  }>;
@@ -8818,6 +9185,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8818
9185
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
8819
9186
  capacity: zod.ZodOptional<zod.ZodNumber>;
8820
9187
  credentialRef: zod.ZodOptional<zod.ZodString>;
9188
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8821
9189
  } & {
8822
9190
  orgId: zod.ZodString;
8823
9191
  projectId: zod.ZodString;
@@ -8831,6 +9199,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8831
9199
  set?: string | undefined;
8832
9200
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8833
9201
  displayName?: string | undefined;
9202
+ labels?: Record<string, string> | undefined;
8834
9203
  credentialRef?: string | undefined;
8835
9204
  capacity?: number | undefined;
8836
9205
  }, {
@@ -8842,6 +9211,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8842
9211
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8843
9212
  displayName?: string | undefined;
8844
9213
  properties?: Record<string, string> | undefined;
9214
+ labels?: Record<string, string> | undefined;
8845
9215
  config?: Record<string, unknown> | undefined;
8846
9216
  credentialRef?: string | undefined;
8847
9217
  capacity?: number | undefined;
@@ -8857,6 +9227,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8857
9227
  properties: {
8858
9228
  [x: string]: string;
8859
9229
  };
9230
+ labels: {
9231
+ [x: string]: string;
9232
+ };
8860
9233
  config: {
8861
9234
  [x: string]: hono_utils_types.JSONValue;
8862
9235
  };
@@ -8873,6 +9246,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8873
9246
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
8874
9247
  capacity: zod.ZodOptional<zod.ZodNumber>;
8875
9248
  credentialRef: zod.ZodOptional<zod.ZodString>;
9249
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8876
9250
  } & {
8877
9251
  orgId: zod.ZodString;
8878
9252
  projectId: zod.ZodString;
@@ -8886,6 +9260,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8886
9260
  set?: string | undefined;
8887
9261
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8888
9262
  displayName?: string | undefined;
9263
+ labels?: Record<string, string> | undefined;
8889
9264
  credentialRef?: string | undefined;
8890
9265
  capacity?: number | undefined;
8891
9266
  }, {
@@ -8897,6 +9272,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8897
9272
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8898
9273
  displayName?: string | undefined;
8899
9274
  properties?: Record<string, string> | undefined;
9275
+ labels?: Record<string, string> | undefined;
8900
9276
  config?: Record<string, unknown> | undefined;
8901
9277
  credentialRef?: string | undefined;
8902
9278
  capacity?: number | undefined;
@@ -8915,6 +9291,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8915
9291
  [x: string]: string;
8916
9292
  };
8917
9293
  capacity: number | null;
9294
+ labels: {
9295
+ [x: string]: string;
9296
+ };
8918
9297
  createdAt: string;
8919
9298
  updatedAt: string;
8920
9299
  }>;
@@ -8954,7 +9333,13 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8954
9333
  properties: {
8955
9334
  [x: string]: string;
8956
9335
  };
9336
+ config: {
9337
+ [x: string]: hono_utils_types.JSONValue;
9338
+ };
8957
9339
  credentialRef: string | null;
9340
+ labels: {
9341
+ [x: string]: string;
9342
+ };
8958
9343
  createdAt: string;
8959
9344
  updatedAt: string;
8960
9345
  }[]>;
@@ -8979,7 +9364,13 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8979
9364
  properties: {
8980
9365
  [x: string]: string;
8981
9366
  };
9367
+ config: {
9368
+ [x: string]: hono_utils_types.JSONValue;
9369
+ };
8982
9370
  credentialRef: string | null;
9371
+ labels: {
9372
+ [x: string]: string;
9373
+ };
8983
9374
  createdAt: string;
8984
9375
  updatedAt: string;
8985
9376
  }>;
@@ -8989,7 +9380,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8989
9380
  displayName: zod.ZodOptional<zod.ZodString>;
8990
9381
  provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
8991
9382
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
9383
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
8992
9384
  credentialRef: zod.ZodOptional<zod.ZodString>;
9385
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8993
9386
  } & {
8994
9387
  orgId: zod.ZodString;
8995
9388
  projectId: zod.ZodString;
@@ -9001,6 +9394,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9001
9394
  properties: Record<string, string>;
9002
9395
  kind: "DeploymentTargetSet";
9003
9396
  displayName?: string | undefined;
9397
+ labels?: Record<string, string> | undefined;
9398
+ config?: Record<string, unknown> | undefined;
9004
9399
  credentialRef?: string | undefined;
9005
9400
  }, {
9006
9401
  name: string;
@@ -9010,6 +9405,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9010
9405
  kind: "DeploymentTargetSet";
9011
9406
  displayName?: string | undefined;
9012
9407
  properties?: Record<string, string> | undefined;
9408
+ labels?: Record<string, string> | undefined;
9409
+ config?: Record<string, unknown> | undefined;
9013
9410
  credentialRef?: string | undefined;
9014
9411
  }>, {
9015
9412
  name: string;
@@ -9022,6 +9419,12 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9022
9419
  properties: {
9023
9420
  [x: string]: string;
9024
9421
  };
9422
+ labels: {
9423
+ [x: string]: string;
9424
+ };
9425
+ config: {
9426
+ [x: string]: hono_utils_types.JSONValue;
9427
+ };
9025
9428
  credentialRef: string | null;
9026
9429
  }>;
9027
9430
  delete: SchemaFn<zod.ZodObject<{
@@ -9209,8 +9612,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9209
9612
  envId: string;
9210
9613
  state: string;
9211
9614
  properties: hono_utils_types.JSONValue;
9212
- entityTypeName: string;
9213
9615
  labels: hono_utils_types.JSONValue;
9616
+ entityTypeName: string;
9214
9617
  lastSyncedAt: string | null;
9215
9618
  syncSource: string | null;
9216
9619
  }>;
@@ -9288,8 +9691,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9288
9691
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
9289
9692
  id: string;
9290
9693
  createdAt: string;
9291
- error: string | null;
9292
9694
  metadata: hono_utils_types.JSONValue;
9695
+ error: string | null;
9293
9696
  output: hono_utils_types.JSONValue;
9294
9697
  orgId: string;
9295
9698
  projectId: string;
@@ -9353,7 +9756,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9353
9756
  orgId: string;
9354
9757
  projectId: string;
9355
9758
  envName: string;
9356
- }>, {
9759
+ }>, ({
9760
+ origin: "explicit";
9357
9761
  fromEntityName: string;
9358
9762
  toEntityName: string;
9359
9763
  id: string;
@@ -9361,7 +9765,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9361
9765
  fromEntityId: string;
9362
9766
  toEntityId: string;
9363
9767
  state: string;
9364
- properties: hono_utils_types.JSONValue;
9365
9768
  labels: hono_utils_types.JSONValue;
9366
9769
  createdAt: string;
9367
9770
  updatedAt: string;
@@ -9370,7 +9773,25 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9370
9773
  envId: string;
9371
9774
  deletionScheduledAt: string | null;
9372
9775
  deletionGracePeriodSeconds: number | null;
9373
- }[]>;
9776
+ } | {
9777
+ id: null;
9778
+ relationshipTypeName: string;
9779
+ fromEntityName: string;
9780
+ toEntityName: string;
9781
+ origin: "derived" | "explicit";
9782
+ state: string | null;
9783
+ labels: {
9784
+ [x: string]: string;
9785
+ };
9786
+ fromEntityId: null;
9787
+ toEntityId: null;
9788
+ envId: null;
9789
+ orgId: null;
9790
+ projectId: null;
9791
+ createdAt: null;
9792
+ updatedAt: null;
9793
+ deletionScheduledAt: null;
9794
+ })[]>;
9374
9795
  syncStamp: SchemaFn<zod.ZodObject<{
9375
9796
  orgId: zod.ZodString;
9376
9797
  projectId: zod.ZodString;
@@ -9463,6 +9884,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9463
9884
  };
9464
9885
  } | undefined;
9465
9886
  } | null;
9887
+ labels: {
9888
+ [x: string]: string;
9889
+ };
9466
9890
  createdAt: string;
9467
9891
  updatedAt: string;
9468
9892
  }[]>;
@@ -9532,6 +9956,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9532
9956
  };
9533
9957
  } | undefined;
9534
9958
  } | null;
9959
+ labels: {
9960
+ [x: string]: string;
9961
+ };
9535
9962
  createdAt: string;
9536
9963
  updatedAt: string;
9537
9964
  }>;
@@ -9813,6 +10240,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9813
10240
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
9814
10241
  }> | undefined;
9815
10242
  }>>;
10243
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
9816
10244
  } & {
9817
10245
  orgId: zod.ZodString;
9818
10246
  projectId: zod.ZodString;
@@ -9830,6 +10258,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9830
10258
  placementPolicy: "least-loaded" | "round-robin" | "random";
9831
10259
  parentCells: string[];
9832
10260
  displayName?: string | undefined;
10261
+ labels?: Record<string, string> | undefined;
9833
10262
  targetSelector?: {
9834
10263
  primary: {
9835
10264
  set: string;
@@ -9882,6 +10311,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9882
10311
  metric: string;
9883
10312
  aggregate: "max" | "sum" | "avg" | "min";
9884
10313
  }[] | undefined;
10314
+ labels?: Record<string, string> | undefined;
9885
10315
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
9886
10316
  parentCells?: string[] | undefined;
9887
10317
  targetSelector?: {
@@ -9936,6 +10366,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9936
10366
  metric: string;
9937
10367
  aggregate: "max" | "sum" | "avg" | "min";
9938
10368
  }[];
10369
+ labels: {
10370
+ [x: string]: string;
10371
+ };
9939
10372
  entityTypeName: string;
9940
10373
  placementPolicy: "least-loaded" | "round-robin" | "random";
9941
10374
  parentCells: string[];
@@ -10259,6 +10692,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10259
10692
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
10260
10693
  }> | undefined;
10261
10694
  }>>;
10695
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10262
10696
  } & {
10263
10697
  orgId: zod.ZodString;
10264
10698
  projectId: zod.ZodString;
@@ -10276,6 +10710,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10276
10710
  placementPolicy: "least-loaded" | "round-robin" | "random";
10277
10711
  parentCells: string[];
10278
10712
  displayName?: string | undefined;
10713
+ labels?: Record<string, string> | undefined;
10279
10714
  targetSelector?: {
10280
10715
  primary: {
10281
10716
  set: string;
@@ -10328,6 +10763,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10328
10763
  metric: string;
10329
10764
  aggregate: "max" | "sum" | "avg" | "min";
10330
10765
  }[] | undefined;
10766
+ labels?: Record<string, string> | undefined;
10331
10767
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
10332
10768
  parentCells?: string[] | undefined;
10333
10769
  targetSelector?: {
@@ -10424,6 +10860,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10424
10860
  };
10425
10861
  } | undefined;
10426
10862
  } | null;
10863
+ labels: {
10864
+ [x: string]: string;
10865
+ };
10427
10866
  createdAt: string;
10428
10867
  updatedAt: string;
10429
10868
  }>;
@@ -10546,8 +10985,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10546
10985
  envId: string;
10547
10986
  state: string;
10548
10987
  properties: hono_utils_types.JSONValue;
10549
- entityTypeName: string;
10550
10988
  labels: hono_utils_types.JSONValue;
10989
+ entityTypeName: string;
10551
10990
  lastSyncedAt: string | null;
10552
10991
  syncSource: string | null;
10553
10992
  };
@@ -10585,13 +11024,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10585
11024
  }[];
10586
11025
  constraints: ({
10587
11026
  type: "property-sum";
10588
- property: string;
11027
+ fromProperty: string;
10589
11028
  leq: string;
10590
11029
  } | {
10591
11030
  type: "relationship-count";
10592
11031
  leq: string | number;
10593
11032
  })[];
10594
11033
  containment: boolean;
11034
+ derivedFrom: {
11035
+ property: string;
11036
+ targetProperty?: string | undefined;
11037
+ } | null | undefined;
11038
+ labels: {
11039
+ [x: string]: string;
11040
+ };
10595
11041
  createdAt: string;
10596
11042
  updatedAt: string;
10597
11043
  }[]>;
@@ -10627,13 +11073,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10627
11073
  }[];
10628
11074
  constraints: ({
10629
11075
  type: "property-sum";
10630
- property: string;
11076
+ fromProperty: string;
10631
11077
  leq: string;
10632
11078
  } | {
10633
11079
  type: "relationship-count";
10634
11080
  leq: string | number;
10635
11081
  })[];
10636
11082
  containment: boolean;
11083
+ derivedFrom: {
11084
+ property: string;
11085
+ targetProperty?: string | undefined;
11086
+ } | null | undefined;
11087
+ labels: {
11088
+ [x: string]: string;
11089
+ };
10637
11090
  createdAt: string;
10638
11091
  updatedAt: string;
10639
11092
  }>;
@@ -10644,7 +11097,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10644
11097
  from: zod.ZodString;
10645
11098
  to: zod.ZodString;
10646
11099
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
10647
- states: zod.ZodArray<zod.ZodString, "many">;
11100
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10648
11101
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10649
11102
  name: zod.ZodString;
10650
11103
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -10671,17 +11124,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10671
11124
  enum?: string[] | undefined;
10672
11125
  }>, "many">>>;
10673
11126
  containment: zod.ZodOptional<zod.ZodBoolean>;
11127
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
11128
+ property: zod.ZodString;
11129
+ targetProperty: zod.ZodOptional<zod.ZodString>;
11130
+ }, "strip", zod.ZodTypeAny, {
11131
+ property: string;
11132
+ targetProperty?: string | undefined;
11133
+ }, {
11134
+ property: string;
11135
+ targetProperty?: string | undefined;
11136
+ }>>;
11137
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10674
11138
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
10675
11139
  type: zod.ZodLiteral<"property-sum">;
10676
- property: zod.ZodString;
11140
+ fromProperty: zod.ZodString;
10677
11141
  leq: zod.ZodString;
10678
11142
  }, "strip", zod.ZodTypeAny, {
10679
11143
  type: "property-sum";
10680
- property: string;
11144
+ fromProperty: string;
10681
11145
  leq: string;
10682
11146
  }, {
10683
11147
  type: "property-sum";
10684
- property: string;
11148
+ fromProperty: string;
10685
11149
  leq: string;
10686
11150
  }>, zod.ZodObject<{
10687
11151
  type: zod.ZodLiteral<"relationship-count">;
@@ -10713,7 +11177,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10713
11177
  }[];
10714
11178
  constraints: ({
10715
11179
  type: "property-sum";
10716
- property: string;
11180
+ fromProperty: string;
10717
11181
  leq: string;
10718
11182
  } | {
10719
11183
  type: "relationship-count";
@@ -10723,16 +11187,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10723
11187
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10724
11188
  to: string;
10725
11189
  displayName?: string | undefined;
11190
+ derivedFrom?: {
11191
+ property: string;
11192
+ targetProperty?: string | undefined;
11193
+ } | undefined;
11194
+ labels?: Record<string, string> | undefined;
10726
11195
  containment?: boolean | undefined;
10727
11196
  }, {
10728
11197
  name: string;
10729
11198
  from: string;
10730
11199
  orgId: string;
10731
11200
  projectId: string;
10732
- states: string[];
10733
11201
  kind: "RelationshipType";
10734
11202
  to: string;
10735
11203
  displayName?: string | undefined;
11204
+ states?: string[] | undefined;
10736
11205
  properties?: {
10737
11206
  name: string;
10738
11207
  type: "string" | "number" | "boolean" | "integer";
@@ -10742,14 +11211,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10742
11211
  title?: string | undefined;
10743
11212
  enum?: string[] | undefined;
10744
11213
  }[] | undefined;
11214
+ derivedFrom?: {
11215
+ property: string;
11216
+ targetProperty?: string | undefined;
11217
+ } | undefined;
10745
11218
  constraints?: ({
10746
11219
  type: "property-sum";
10747
- property: string;
11220
+ fromProperty: string;
10748
11221
  leq: string;
10749
11222
  } | {
10750
11223
  type: "relationship-count";
10751
11224
  leq: string | number;
10752
11225
  })[] | undefined;
11226
+ labels?: Record<string, string> | undefined;
10753
11227
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
10754
11228
  containment?: boolean | undefined;
10755
11229
  }>, {
@@ -10769,14 +11243,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10769
11243
  title?: string | undefined;
10770
11244
  enum?: string[] | undefined;
10771
11245
  }[];
11246
+ derivedFrom: {
11247
+ property: string;
11248
+ targetProperty?: string | undefined;
11249
+ } | null | undefined;
10772
11250
  constraints: ({
10773
11251
  type: "property-sum";
10774
- property: string;
11252
+ fromProperty: string;
10775
11253
  leq: string;
10776
11254
  } | {
10777
11255
  type: "relationship-count";
10778
11256
  leq: string | number;
10779
11257
  })[];
11258
+ labels: {
11259
+ [x: string]: string;
11260
+ };
10780
11261
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10781
11262
  fromEntityTypeName: string;
10782
11263
  toEntityTypeName: string;
@@ -10789,7 +11270,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10789
11270
  from: zod.ZodString;
10790
11271
  to: zod.ZodString;
10791
11272
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
10792
- states: zod.ZodArray<zod.ZodString, "many">;
11273
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10793
11274
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10794
11275
  name: zod.ZodString;
10795
11276
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -10816,17 +11297,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10816
11297
  enum?: string[] | undefined;
10817
11298
  }>, "many">>>;
10818
11299
  containment: zod.ZodOptional<zod.ZodBoolean>;
11300
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
11301
+ property: zod.ZodString;
11302
+ targetProperty: zod.ZodOptional<zod.ZodString>;
11303
+ }, "strip", zod.ZodTypeAny, {
11304
+ property: string;
11305
+ targetProperty?: string | undefined;
11306
+ }, {
11307
+ property: string;
11308
+ targetProperty?: string | undefined;
11309
+ }>>;
11310
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10819
11311
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
10820
11312
  type: zod.ZodLiteral<"property-sum">;
10821
- property: zod.ZodString;
11313
+ fromProperty: zod.ZodString;
10822
11314
  leq: zod.ZodString;
10823
11315
  }, "strip", zod.ZodTypeAny, {
10824
11316
  type: "property-sum";
10825
- property: string;
11317
+ fromProperty: string;
10826
11318
  leq: string;
10827
11319
  }, {
10828
11320
  type: "property-sum";
10829
- property: string;
11321
+ fromProperty: string;
10830
11322
  leq: string;
10831
11323
  }>, zod.ZodObject<{
10832
11324
  type: zod.ZodLiteral<"relationship-count">;
@@ -10858,7 +11350,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10858
11350
  }[];
10859
11351
  constraints: ({
10860
11352
  type: "property-sum";
10861
- property: string;
11353
+ fromProperty: string;
10862
11354
  leq: string;
10863
11355
  } | {
10864
11356
  type: "relationship-count";
@@ -10868,16 +11360,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10868
11360
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10869
11361
  to: string;
10870
11362
  displayName?: string | undefined;
11363
+ derivedFrom?: {
11364
+ property: string;
11365
+ targetProperty?: string | undefined;
11366
+ } | undefined;
11367
+ labels?: Record<string, string> | undefined;
10871
11368
  containment?: boolean | undefined;
10872
11369
  }, {
10873
11370
  name: string;
10874
11371
  from: string;
10875
11372
  orgId: string;
10876
11373
  projectId: string;
10877
- states: string[];
10878
11374
  kind: "RelationshipType";
10879
11375
  to: string;
10880
11376
  displayName?: string | undefined;
11377
+ states?: string[] | undefined;
10881
11378
  properties?: {
10882
11379
  name: string;
10883
11380
  type: "string" | "number" | "boolean" | "integer";
@@ -10887,14 +11384,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10887
11384
  title?: string | undefined;
10888
11385
  enum?: string[] | undefined;
10889
11386
  }[] | undefined;
11387
+ derivedFrom?: {
11388
+ property: string;
11389
+ targetProperty?: string | undefined;
11390
+ } | undefined;
10890
11391
  constraints?: ({
10891
11392
  type: "property-sum";
10892
- property: string;
11393
+ fromProperty: string;
10893
11394
  leq: string;
10894
11395
  } | {
10895
11396
  type: "relationship-count";
10896
11397
  leq: string | number;
10897
11398
  })[] | undefined;
11399
+ labels?: Record<string, string> | undefined;
10898
11400
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
10899
11401
  containment?: boolean | undefined;
10900
11402
  }>, {
@@ -10917,13 +11419,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10917
11419
  }[];
10918
11420
  constraints: ({
10919
11421
  type: "property-sum";
10920
- property: string;
11422
+ fromProperty: string;
10921
11423
  leq: string;
10922
11424
  } | {
10923
11425
  type: "relationship-count";
10924
11426
  leq: string | number;
10925
11427
  })[];
10926
11428
  containment: boolean;
11429
+ derivedFrom: {
11430
+ property: string;
11431
+ targetProperty?: string | undefined;
11432
+ } | null | undefined;
11433
+ labels: {
11434
+ [x: string]: string;
11435
+ };
10927
11436
  createdAt: string;
10928
11437
  updatedAt: string;
10929
11438
  }>;
@@ -10981,7 +11490,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10981
11490
  toEntity?: string | undefined;
10982
11491
  fromEntityCell?: string | undefined;
10983
11492
  toEntityCell?: string | undefined;
10984
- }>, {
11493
+ }>, ({
11494
+ origin: "explicit";
10985
11495
  fromEntityName: string;
10986
11496
  toEntityName: string;
10987
11497
  id: string;
@@ -10989,7 +11499,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10989
11499
  fromEntityId: string;
10990
11500
  toEntityId: string;
10991
11501
  state: string;
10992
- properties: hono_utils_types.JSONValue;
10993
11502
  labels: hono_utils_types.JSONValue;
10994
11503
  createdAt: string;
10995
11504
  updatedAt: string;
@@ -10998,7 +11507,25 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10998
11507
  envId: string;
10999
11508
  deletionScheduledAt: string | null;
11000
11509
  deletionGracePeriodSeconds: number | null;
11001
- }[]>;
11510
+ } | {
11511
+ id: null;
11512
+ relationshipTypeName: string;
11513
+ fromEntityName: string;
11514
+ toEntityName: string;
11515
+ origin: "derived" | "explicit";
11516
+ state: string | null;
11517
+ labels: {
11518
+ [x: string]: string;
11519
+ };
11520
+ fromEntityId: null;
11521
+ toEntityId: null;
11522
+ envId: null;
11523
+ orgId: null;
11524
+ projectId: null;
11525
+ createdAt: null;
11526
+ updatedAt: null;
11527
+ deletionScheduledAt: null;
11528
+ })[]>;
11002
11529
  get: SchemaFn<zod.ZodObject<{
11003
11530
  orgId: zod.ZodString;
11004
11531
  projectId: zod.ZodString;
@@ -11020,7 +11547,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11020
11547
  fromEntityId: string;
11021
11548
  toEntityId: string;
11022
11549
  state: string;
11023
- properties: hono_utils_types.JSONValue;
11024
11550
  labels: hono_utils_types.JSONValue;
11025
11551
  createdAt: string;
11026
11552
  updatedAt: string;
@@ -11036,7 +11562,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11036
11562
  from: zod.ZodString;
11037
11563
  to: zod.ZodString;
11038
11564
  state: zod.ZodOptional<zod.ZodString>;
11039
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
11040
11565
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
11041
11566
  } & {
11042
11567
  orgId: zod.ZodString;
@@ -11047,11 +11572,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11047
11572
  orgId: string;
11048
11573
  projectId: string;
11049
11574
  envName: string;
11050
- properties: Record<string, unknown>;
11051
11575
  relationshipType: string;
11052
11576
  kind: "Relationship";
11053
- to: string;
11054
11577
  labels: Record<string, string>;
11578
+ to: string;
11055
11579
  state?: string | undefined;
11056
11580
  }, {
11057
11581
  from: string;
@@ -11062,23 +11586,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11062
11586
  kind: "Relationship";
11063
11587
  to: string;
11064
11588
  state?: string | undefined;
11065
- properties?: Record<string, unknown> | undefined;
11066
11589
  labels?: Record<string, string> | undefined;
11067
11590
  }>, {
11068
11591
  error: string;
11069
11592
  } | {
11070
11593
  id: string;
11594
+ relationshipTypeName: string;
11595
+ fromEntityId: string;
11596
+ toEntityId: string;
11597
+ state: string;
11598
+ labels: hono_utils_types.JSONValue;
11071
11599
  createdAt: string;
11072
11600
  updatedAt: string;
11073
- orgId: string;
11074
11601
  projectId: string;
11602
+ orgId: string;
11075
11603
  envId: string;
11076
- state: string;
11077
- properties: hono_utils_types.JSONValue;
11078
- labels: hono_utils_types.JSONValue;
11079
- relationshipTypeName: string;
11080
- fromEntityId: string;
11081
- toEntityId: string;
11082
11604
  deletionScheduledAt: string | null;
11083
11605
  deletionGracePeriodSeconds: number | null;
11084
11606
  }>;
@@ -11159,9 +11681,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11159
11681
  addToCell?: string | undefined;
11160
11682
  createRelationship?: {
11161
11683
  relationshipType: string;
11684
+ to: string;
11162
11685
  onSuccess: string;
11163
11686
  onFailure: string;
11164
- to: string;
11165
11687
  properties?: {
11166
11688
  [x: string]: string;
11167
11689
  } | undefined;
@@ -11229,10 +11751,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11229
11751
  type: "create-relationship";
11230
11752
  from: string;
11231
11753
  relationshipType: string;
11754
+ to: string;
11232
11755
  onTrigger: string;
11233
11756
  onSuccess: string;
11234
11757
  onFailure: string;
11235
- to: string;
11236
11758
  properties?: {
11237
11759
  [x: string]: string;
11238
11760
  } | undefined;
@@ -11254,10 +11776,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11254
11776
  } | {
11255
11777
  type: "migrate-relationship";
11256
11778
  relationshipType: string;
11779
+ to: string;
11257
11780
  onTrigger: string;
11258
11781
  onSuccess: string;
11259
11782
  onFailure: string;
11260
- to: string;
11261
11783
  };
11262
11784
  trigger: {
11263
11785
  type: "webhook";
@@ -11468,6 +11990,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11468
11990
  webhookSecret?: string | undefined;
11469
11991
  body?: string | undefined;
11470
11992
  title?: string | undefined;
11993
+ labels?: string[] | undefined;
11471
11994
  auth?: {
11472
11995
  type: "token";
11473
11996
  token: string;
@@ -11492,7 +12015,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11492
12015
  value?: hono_utils_types.JSONValue | undefined;
11493
12016
  } | undefined;
11494
12017
  }[] | undefined;
11495
- labels?: string[] | undefined;
11496
12018
  reviewers?: string[] | undefined;
11497
12019
  teamReviewers?: string[] | undefined;
11498
12020
  postMergeDispatch?: {
@@ -11662,9 +12184,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11662
12184
  addToCell?: string | undefined;
11663
12185
  createRelationship?: {
11664
12186
  relationshipType: string;
12187
+ to: string;
11665
12188
  onSuccess: string;
11666
12189
  onFailure: string;
11667
- to: string;
11668
12190
  properties?: {
11669
12191
  [x: string]: string;
11670
12192
  } | undefined;
@@ -11732,10 +12254,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11732
12254
  type: "create-relationship";
11733
12255
  from: string;
11734
12256
  relationshipType: string;
12257
+ to: string;
11735
12258
  onTrigger: string;
11736
12259
  onSuccess: string;
11737
12260
  onFailure: string;
11738
- to: string;
11739
12261
  properties?: {
11740
12262
  [x: string]: string;
11741
12263
  } | undefined;
@@ -11757,10 +12279,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11757
12279
  } | {
11758
12280
  type: "migrate-relationship";
11759
12281
  relationshipType: string;
12282
+ to: string;
11760
12283
  onTrigger: string;
11761
12284
  onSuccess: string;
11762
12285
  onFailure: string;
11763
- to: string;
11764
12286
  };
11765
12287
  trigger: {
11766
12288
  type: "webhook";
@@ -11971,6 +12493,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11971
12493
  webhookSecret?: string | undefined;
11972
12494
  body?: string | undefined;
11973
12495
  title?: string | undefined;
12496
+ labels?: string[] | undefined;
11974
12497
  auth?: {
11975
12498
  type: "token";
11976
12499
  token: string;
@@ -11995,7 +12518,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11995
12518
  value?: hono_utils_types.JSONValue | undefined;
11996
12519
  } | undefined;
11997
12520
  }[] | undefined;
11998
- labels?: string[] | undefined;
11999
12521
  reviewers?: string[] | undefined;
12000
12522
  teamReviewers?: string[] | undefined;
12001
12523
  postMergeDispatch?: {
@@ -12198,15 +12720,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12198
12720
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
12199
12721
  }, "strip", zod.ZodTypeAny, {
12200
12722
  relationshipType: string;
12723
+ to: string;
12201
12724
  onSuccess: string;
12202
12725
  onFailure: string;
12203
- to: string;
12204
12726
  properties?: Record<string, string> | undefined;
12205
12727
  }, {
12206
12728
  relationshipType: string;
12729
+ to: string;
12207
12730
  onSuccess: string;
12208
12731
  onFailure: string;
12209
- to: string;
12210
12732
  properties?: Record<string, string> | undefined;
12211
12733
  }>>;
12212
12734
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -12294,9 +12816,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12294
12816
  addToCell?: string | undefined;
12295
12817
  createRelationship?: {
12296
12818
  relationshipType: string;
12819
+ to: string;
12297
12820
  onSuccess: string;
12298
12821
  onFailure: string;
12299
- to: string;
12300
12822
  properties?: Record<string, string> | undefined;
12301
12823
  } | undefined;
12302
12824
  cascadeRules?: ({
@@ -12328,9 +12850,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12328
12850
  addToCell?: string | undefined;
12329
12851
  createRelationship?: {
12330
12852
  relationshipType: string;
12853
+ to: string;
12331
12854
  onSuccess: string;
12332
12855
  onFailure: string;
12333
- to: string;
12334
12856
  properties?: Record<string, string> | undefined;
12335
12857
  } | undefined;
12336
12858
  cascadeRules?: ({
@@ -12525,19 +13047,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12525
13047
  type: "create-relationship";
12526
13048
  from: string;
12527
13049
  relationshipType: string;
13050
+ to: string;
12528
13051
  onTrigger: string;
12529
13052
  onSuccess: string;
12530
13053
  onFailure: string;
12531
- to: string;
12532
13054
  properties?: Record<string, string> | undefined;
12533
13055
  }, {
12534
13056
  type: "create-relationship";
12535
13057
  from: string;
12536
13058
  relationshipType: string;
13059
+ to: string;
12537
13060
  onTrigger: string;
12538
13061
  onSuccess: string;
12539
13062
  onFailure: string;
12540
- to: string;
12541
13063
  properties?: Record<string, string> | undefined;
12542
13064
  }>, zod.ZodObject<{
12543
13065
  type: zod.ZodLiteral<"delete-relationship">;
@@ -12588,17 +13110,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12588
13110
  }, "strip", zod.ZodTypeAny, {
12589
13111
  type: "migrate-relationship";
12590
13112
  relationshipType: string;
13113
+ to: string;
12591
13114
  onTrigger: string;
12592
13115
  onSuccess: string;
12593
13116
  onFailure: string;
12594
- to: string;
12595
13117
  }, {
12596
13118
  type: "migrate-relationship";
12597
13119
  relationshipType: string;
13120
+ to: string;
12598
13121
  onTrigger: string;
12599
13122
  onSuccess: string;
12600
13123
  onFailure: string;
12601
- to: string;
12602
13124
  }>]>;
12603
13125
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
12604
13126
  type: zod.ZodLiteral<"webhook">;
@@ -12934,8 +13456,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12934
13456
  }[];
12935
13457
  webhookSecret?: string | undefined;
12936
13458
  body?: string | undefined;
12937
- base?: string | undefined;
12938
13459
  labels?: string[] | undefined;
13460
+ base?: string | undefined;
12939
13461
  reviewers?: string[] | undefined;
12940
13462
  teamReviewers?: string[] | undefined;
12941
13463
  postMergeDispatch?: {
@@ -13220,8 +13742,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13220
13742
  }[];
13221
13743
  webhookSecret?: string | undefined;
13222
13744
  body?: string | undefined;
13223
- base?: string | undefined;
13224
13745
  labels?: string[] | undefined;
13746
+ base?: string | undefined;
13225
13747
  reviewers?: string[] | undefined;
13226
13748
  teamReviewers?: string[] | undefined;
13227
13749
  }>>;
@@ -13324,8 +13846,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13324
13846
  }[];
13325
13847
  webhookSecret?: string | undefined;
13326
13848
  body?: string | undefined;
13327
- base?: string | undefined;
13328
13849
  labels?: string[] | undefined;
13850
+ base?: string | undefined;
13329
13851
  reviewers?: string[] | undefined;
13330
13852
  teamReviewers?: string[] | undefined;
13331
13853
  } | undefined;
@@ -13632,8 +14154,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13632
14154
  }[];
13633
14155
  webhookSecret?: string | undefined;
13634
14156
  body?: string | undefined;
13635
- base?: string | undefined;
13636
14157
  labels?: string[] | undefined;
14158
+ base?: string | undefined;
13637
14159
  reviewers?: string[] | undefined;
13638
14160
  teamReviewers?: string[] | undefined;
13639
14161
  postMergeDispatch?: {
@@ -13704,8 +14226,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13704
14226
  }[];
13705
14227
  webhookSecret?: string | undefined;
13706
14228
  body?: string | undefined;
13707
- base?: string | undefined;
13708
14229
  labels?: string[] | undefined;
14230
+ base?: string | undefined;
13709
14231
  reviewers?: string[] | undefined;
13710
14232
  teamReviewers?: string[] | undefined;
13711
14233
  } | undefined;
@@ -14000,6 +14522,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14000
14522
  webhookSecret?: string | undefined;
14001
14523
  body?: string | undefined;
14002
14524
  title?: string | undefined;
14525
+ labels?: string[] | undefined;
14003
14526
  auth?: {
14004
14527
  type: "token";
14005
14528
  token: string;
@@ -14024,7 +14547,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14024
14547
  value?: unknown;
14025
14548
  } | undefined;
14026
14549
  }[] | undefined;
14027
- labels?: string[] | undefined;
14028
14550
  reviewers?: string[] | undefined;
14029
14551
  teamReviewers?: string[] | undefined;
14030
14552
  postMergeDispatch?: {
@@ -14038,6 +14560,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14038
14560
  webhookSecret?: string | undefined;
14039
14561
  body?: string | undefined;
14040
14562
  title?: string | undefined;
14563
+ labels?: string[] | undefined;
14041
14564
  auth?: {
14042
14565
  type: "token";
14043
14566
  token: string;
@@ -14062,7 +14585,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14062
14585
  } | undefined;
14063
14586
  operation?: "replace" | "patch" | undefined;
14064
14587
  }[] | undefined;
14065
- labels?: string[] | undefined;
14066
14588
  reviewers?: string[] | undefined;
14067
14589
  teamReviewers?: string[] | undefined;
14068
14590
  postMergeDispatch?: {
@@ -14346,8 +14868,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14346
14868
  }[];
14347
14869
  webhookSecret?: string | undefined;
14348
14870
  body?: string | undefined;
14349
- base?: string | undefined;
14350
14871
  labels?: string[] | undefined;
14872
+ base?: string | undefined;
14351
14873
  reviewers?: string[] | undefined;
14352
14874
  teamReviewers?: string[] | undefined;
14353
14875
  }>>;
@@ -14450,8 +14972,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14450
14972
  }[];
14451
14973
  webhookSecret?: string | undefined;
14452
14974
  body?: string | undefined;
14453
- base?: string | undefined;
14454
14975
  labels?: string[] | undefined;
14976
+ base?: string | undefined;
14455
14977
  reviewers?: string[] | undefined;
14456
14978
  teamReviewers?: string[] | undefined;
14457
14979
  } | undefined;
@@ -14596,9 +15118,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14596
15118
  addToCell?: string | undefined;
14597
15119
  createRelationship?: {
14598
15120
  relationshipType: string;
15121
+ to: string;
14599
15122
  onSuccess: string;
14600
15123
  onFailure: string;
14601
- to: string;
14602
15124
  properties?: Record<string, string> | undefined;
14603
15125
  } | undefined;
14604
15126
  cascadeRules?: ({
@@ -14658,10 +15180,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14658
15180
  type: "create-relationship";
14659
15181
  from: string;
14660
15182
  relationshipType: string;
15183
+ to: string;
14661
15184
  onTrigger: string;
14662
15185
  onSuccess: string;
14663
15186
  onFailure: string;
14664
- to: string;
14665
15187
  properties?: Record<string, string> | undefined;
14666
15188
  } | {
14667
15189
  type: "delete-relationship";
@@ -14679,10 +15201,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14679
15201
  } | {
14680
15202
  type: "migrate-relationship";
14681
15203
  relationshipType: string;
15204
+ to: string;
14682
15205
  onTrigger: string;
14683
15206
  onSuccess: string;
14684
15207
  onFailure: string;
14685
- to: string;
14686
15208
  };
14687
15209
  associatedWith: {
14688
15210
  scope: "collection" | "instance";
@@ -14878,6 +15400,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14878
15400
  webhookSecret?: string | undefined;
14879
15401
  body?: string | undefined;
14880
15402
  title?: string | undefined;
15403
+ labels?: string[] | undefined;
14881
15404
  auth?: {
14882
15405
  type: "token";
14883
15406
  token: string;
@@ -14902,7 +15425,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14902
15425
  value?: unknown;
14903
15426
  } | undefined;
14904
15427
  }[] | undefined;
14905
- labels?: string[] | undefined;
14906
15428
  reviewers?: string[] | undefined;
14907
15429
  teamReviewers?: string[] | undefined;
14908
15430
  postMergeDispatch?: {
@@ -15019,9 +15541,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15019
15541
  addToCell?: string | undefined;
15020
15542
  createRelationship?: {
15021
15543
  relationshipType: string;
15544
+ to: string;
15022
15545
  onSuccess: string;
15023
15546
  onFailure: string;
15024
- to: string;
15025
15547
  properties?: Record<string, string> | undefined;
15026
15548
  } | undefined;
15027
15549
  cascadeRules?: ({
@@ -15081,10 +15603,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15081
15603
  type: "create-relationship";
15082
15604
  from: string;
15083
15605
  relationshipType: string;
15606
+ to: string;
15084
15607
  onTrigger: string;
15085
15608
  onSuccess: string;
15086
15609
  onFailure: string;
15087
- to: string;
15088
15610
  properties?: Record<string, string> | undefined;
15089
15611
  } | {
15090
15612
  type: "delete-relationship";
@@ -15102,10 +15624,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15102
15624
  } | {
15103
15625
  type: "migrate-relationship";
15104
15626
  relationshipType: string;
15627
+ to: string;
15105
15628
  onTrigger: string;
15106
15629
  onSuccess: string;
15107
15630
  onFailure: string;
15108
- to: string;
15109
15631
  };
15110
15632
  associatedWith: {
15111
15633
  scope: "collection" | "instance";
@@ -15167,8 +15689,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15167
15689
  }[];
15168
15690
  webhookSecret?: string | undefined;
15169
15691
  body?: string | undefined;
15170
- base?: string | undefined;
15171
15692
  labels?: string[] | undefined;
15693
+ base?: string | undefined;
15172
15694
  reviewers?: string[] | undefined;
15173
15695
  teamReviewers?: string[] | undefined;
15174
15696
  postMergeDispatch?: {
@@ -15239,8 +15761,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15239
15761
  }[];
15240
15762
  webhookSecret?: string | undefined;
15241
15763
  body?: string | undefined;
15242
- base?: string | undefined;
15243
15764
  labels?: string[] | undefined;
15765
+ base?: string | undefined;
15244
15766
  reviewers?: string[] | undefined;
15245
15767
  teamReviewers?: string[] | undefined;
15246
15768
  } | undefined;
@@ -15323,6 +15845,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15323
15845
  webhookSecret?: string | undefined;
15324
15846
  body?: string | undefined;
15325
15847
  title?: string | undefined;
15848
+ labels?: string[] | undefined;
15326
15849
  auth?: {
15327
15850
  type: "token";
15328
15851
  token: string;
@@ -15347,7 +15870,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15347
15870
  } | undefined;
15348
15871
  operation?: "replace" | "patch" | undefined;
15349
15872
  }[] | undefined;
15350
- labels?: string[] | undefined;
15351
15873
  reviewers?: string[] | undefined;
15352
15874
  teamReviewers?: string[] | undefined;
15353
15875
  postMergeDispatch?: {
@@ -15417,8 +15939,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15417
15939
  }[];
15418
15940
  webhookSecret?: string | undefined;
15419
15941
  body?: string | undefined;
15420
- base?: string | undefined;
15421
15942
  labels?: string[] | undefined;
15943
+ base?: string | undefined;
15422
15944
  reviewers?: string[] | undefined;
15423
15945
  teamReviewers?: string[] | undefined;
15424
15946
  } | undefined;
@@ -15495,9 +16017,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15495
16017
  addToCell?: string | undefined;
15496
16018
  createRelationship?: {
15497
16019
  relationshipType: string;
16020
+ to: string;
15498
16021
  onSuccess: string;
15499
16022
  onFailure: string;
15500
- to: string;
15501
16023
  properties?: {
15502
16024
  [x: string]: string;
15503
16025
  } | undefined;
@@ -15565,10 +16087,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15565
16087
  type: "create-relationship";
15566
16088
  from: string;
15567
16089
  relationshipType: string;
16090
+ to: string;
15568
16091
  onTrigger: string;
15569
16092
  onSuccess: string;
15570
16093
  onFailure: string;
15571
- to: string;
15572
16094
  properties?: {
15573
16095
  [x: string]: string;
15574
16096
  } | undefined;
@@ -15590,10 +16112,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15590
16112
  } | {
15591
16113
  type: "migrate-relationship";
15592
16114
  relationshipType: string;
16115
+ to: string;
15593
16116
  onTrigger: string;
15594
16117
  onSuccess: string;
15595
16118
  onFailure: string;
15596
- to: string;
15597
16119
  };
15598
16120
  trigger: {
15599
16121
  type: "webhook";
@@ -15804,6 +16326,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15804
16326
  webhookSecret?: string | undefined;
15805
16327
  body?: string | undefined;
15806
16328
  title?: string | undefined;
16329
+ labels?: string[] | undefined;
15807
16330
  auth?: {
15808
16331
  type: "token";
15809
16332
  token: string;
@@ -15828,7 +16351,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15828
16351
  value?: hono_utils_types.JSONValue | undefined;
15829
16352
  } | undefined;
15830
16353
  }[] | undefined;
15831
- labels?: string[] | undefined;
15832
16354
  reviewers?: string[] | undefined;
15833
16355
  teamReviewers?: string[] | undefined;
15834
16356
  postMergeDispatch?: {
@@ -16031,15 +16553,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16031
16553
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
16032
16554
  }, "strip", zod.ZodTypeAny, {
16033
16555
  relationshipType: string;
16556
+ to: string;
16034
16557
  onSuccess: string;
16035
16558
  onFailure: string;
16036
- to: string;
16037
16559
  properties?: Record<string, string> | undefined;
16038
16560
  }, {
16039
16561
  relationshipType: string;
16562
+ to: string;
16040
16563
  onSuccess: string;
16041
16564
  onFailure: string;
16042
- to: string;
16043
16565
  properties?: Record<string, string> | undefined;
16044
16566
  }>>;
16045
16567
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -16127,9 +16649,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16127
16649
  addToCell?: string | undefined;
16128
16650
  createRelationship?: {
16129
16651
  relationshipType: string;
16652
+ to: string;
16130
16653
  onSuccess: string;
16131
16654
  onFailure: string;
16132
- to: string;
16133
16655
  properties?: Record<string, string> | undefined;
16134
16656
  } | undefined;
16135
16657
  cascadeRules?: ({
@@ -16161,9 +16683,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16161
16683
  addToCell?: string | undefined;
16162
16684
  createRelationship?: {
16163
16685
  relationshipType: string;
16686
+ to: string;
16164
16687
  onSuccess: string;
16165
16688
  onFailure: string;
16166
- to: string;
16167
16689
  properties?: Record<string, string> | undefined;
16168
16690
  } | undefined;
16169
16691
  cascadeRules?: ({
@@ -16358,19 +16880,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16358
16880
  type: "create-relationship";
16359
16881
  from: string;
16360
16882
  relationshipType: string;
16883
+ to: string;
16361
16884
  onTrigger: string;
16362
16885
  onSuccess: string;
16363
16886
  onFailure: string;
16364
- to: string;
16365
16887
  properties?: Record<string, string> | undefined;
16366
16888
  }, {
16367
16889
  type: "create-relationship";
16368
16890
  from: string;
16369
16891
  relationshipType: string;
16892
+ to: string;
16370
16893
  onTrigger: string;
16371
16894
  onSuccess: string;
16372
16895
  onFailure: string;
16373
- to: string;
16374
16896
  properties?: Record<string, string> | undefined;
16375
16897
  }>, zod.ZodObject<{
16376
16898
  type: zod.ZodLiteral<"delete-relationship">;
@@ -16421,17 +16943,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16421
16943
  }, "strip", zod.ZodTypeAny, {
16422
16944
  type: "migrate-relationship";
16423
16945
  relationshipType: string;
16946
+ to: string;
16424
16947
  onTrigger: string;
16425
16948
  onSuccess: string;
16426
16949
  onFailure: string;
16427
- to: string;
16428
16950
  }, {
16429
16951
  type: "migrate-relationship";
16430
16952
  relationshipType: string;
16953
+ to: string;
16431
16954
  onTrigger: string;
16432
16955
  onSuccess: string;
16433
16956
  onFailure: string;
16434
- to: string;
16435
16957
  }>]>;
16436
16958
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
16437
16959
  type: zod.ZodLiteral<"webhook">;
@@ -16767,8 +17289,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16767
17289
  }[];
16768
17290
  webhookSecret?: string | undefined;
16769
17291
  body?: string | undefined;
16770
- base?: string | undefined;
16771
17292
  labels?: string[] | undefined;
17293
+ base?: string | undefined;
16772
17294
  reviewers?: string[] | undefined;
16773
17295
  teamReviewers?: string[] | undefined;
16774
17296
  postMergeDispatch?: {
@@ -17053,8 +17575,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17053
17575
  }[];
17054
17576
  webhookSecret?: string | undefined;
17055
17577
  body?: string | undefined;
17056
- base?: string | undefined;
17057
17578
  labels?: string[] | undefined;
17579
+ base?: string | undefined;
17058
17580
  reviewers?: string[] | undefined;
17059
17581
  teamReviewers?: string[] | undefined;
17060
17582
  }>>;
@@ -17157,8 +17679,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17157
17679
  }[];
17158
17680
  webhookSecret?: string | undefined;
17159
17681
  body?: string | undefined;
17160
- base?: string | undefined;
17161
17682
  labels?: string[] | undefined;
17683
+ base?: string | undefined;
17162
17684
  reviewers?: string[] | undefined;
17163
17685
  teamReviewers?: string[] | undefined;
17164
17686
  } | undefined;
@@ -17465,8 +17987,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17465
17987
  }[];
17466
17988
  webhookSecret?: string | undefined;
17467
17989
  body?: string | undefined;
17468
- base?: string | undefined;
17469
17990
  labels?: string[] | undefined;
17991
+ base?: string | undefined;
17470
17992
  reviewers?: string[] | undefined;
17471
17993
  teamReviewers?: string[] | undefined;
17472
17994
  postMergeDispatch?: {
@@ -17537,8 +18059,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17537
18059
  }[];
17538
18060
  webhookSecret?: string | undefined;
17539
18061
  body?: string | undefined;
17540
- base?: string | undefined;
17541
18062
  labels?: string[] | undefined;
18063
+ base?: string | undefined;
17542
18064
  reviewers?: string[] | undefined;
17543
18065
  teamReviewers?: string[] | undefined;
17544
18066
  } | undefined;
@@ -17833,6 +18355,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17833
18355
  webhookSecret?: string | undefined;
17834
18356
  body?: string | undefined;
17835
18357
  title?: string | undefined;
18358
+ labels?: string[] | undefined;
17836
18359
  auth?: {
17837
18360
  type: "token";
17838
18361
  token: string;
@@ -17857,7 +18380,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17857
18380
  value?: unknown;
17858
18381
  } | undefined;
17859
18382
  }[] | undefined;
17860
- labels?: string[] | undefined;
17861
18383
  reviewers?: string[] | undefined;
17862
18384
  teamReviewers?: string[] | undefined;
17863
18385
  postMergeDispatch?: {
@@ -17871,6 +18393,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17871
18393
  webhookSecret?: string | undefined;
17872
18394
  body?: string | undefined;
17873
18395
  title?: string | undefined;
18396
+ labels?: string[] | undefined;
17874
18397
  auth?: {
17875
18398
  type: "token";
17876
18399
  token: string;
@@ -17895,7 +18418,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17895
18418
  } | undefined;
17896
18419
  operation?: "replace" | "patch" | undefined;
17897
18420
  }[] | undefined;
17898
- labels?: string[] | undefined;
17899
18421
  reviewers?: string[] | undefined;
17900
18422
  teamReviewers?: string[] | undefined;
17901
18423
  postMergeDispatch?: {
@@ -18179,8 +18701,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18179
18701
  }[];
18180
18702
  webhookSecret?: string | undefined;
18181
18703
  body?: string | undefined;
18182
- base?: string | undefined;
18183
18704
  labels?: string[] | undefined;
18705
+ base?: string | undefined;
18184
18706
  reviewers?: string[] | undefined;
18185
18707
  teamReviewers?: string[] | undefined;
18186
18708
  }>>;
@@ -18283,8 +18805,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18283
18805
  }[];
18284
18806
  webhookSecret?: string | undefined;
18285
18807
  body?: string | undefined;
18286
- base?: string | undefined;
18287
18808
  labels?: string[] | undefined;
18809
+ base?: string | undefined;
18288
18810
  reviewers?: string[] | undefined;
18289
18811
  teamReviewers?: string[] | undefined;
18290
18812
  } | undefined;
@@ -18429,9 +18951,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18429
18951
  addToCell?: string | undefined;
18430
18952
  createRelationship?: {
18431
18953
  relationshipType: string;
18954
+ to: string;
18432
18955
  onSuccess: string;
18433
18956
  onFailure: string;
18434
- to: string;
18435
18957
  properties?: Record<string, string> | undefined;
18436
18958
  } | undefined;
18437
18959
  cascadeRules?: ({
@@ -18491,10 +19013,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18491
19013
  type: "create-relationship";
18492
19014
  from: string;
18493
19015
  relationshipType: string;
19016
+ to: string;
18494
19017
  onTrigger: string;
18495
19018
  onSuccess: string;
18496
19019
  onFailure: string;
18497
- to: string;
18498
19020
  properties?: Record<string, string> | undefined;
18499
19021
  } | {
18500
19022
  type: "delete-relationship";
@@ -18512,10 +19034,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18512
19034
  } | {
18513
19035
  type: "migrate-relationship";
18514
19036
  relationshipType: string;
19037
+ to: string;
18515
19038
  onTrigger: string;
18516
19039
  onSuccess: string;
18517
19040
  onFailure: string;
18518
- to: string;
18519
19041
  };
18520
19042
  associatedWith: {
18521
19043
  scope: "collection" | "instance";
@@ -18711,6 +19233,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18711
19233
  webhookSecret?: string | undefined;
18712
19234
  body?: string | undefined;
18713
19235
  title?: string | undefined;
19236
+ labels?: string[] | undefined;
18714
19237
  auth?: {
18715
19238
  type: "token";
18716
19239
  token: string;
@@ -18735,7 +19258,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18735
19258
  value?: unknown;
18736
19259
  } | undefined;
18737
19260
  }[] | undefined;
18738
- labels?: string[] | undefined;
18739
19261
  reviewers?: string[] | undefined;
18740
19262
  teamReviewers?: string[] | undefined;
18741
19263
  postMergeDispatch?: {
@@ -18852,9 +19374,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18852
19374
  addToCell?: string | undefined;
18853
19375
  createRelationship?: {
18854
19376
  relationshipType: string;
19377
+ to: string;
18855
19378
  onSuccess: string;
18856
19379
  onFailure: string;
18857
- to: string;
18858
19380
  properties?: Record<string, string> | undefined;
18859
19381
  } | undefined;
18860
19382
  cascadeRules?: ({
@@ -18914,10 +19436,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18914
19436
  type: "create-relationship";
18915
19437
  from: string;
18916
19438
  relationshipType: string;
19439
+ to: string;
18917
19440
  onTrigger: string;
18918
19441
  onSuccess: string;
18919
19442
  onFailure: string;
18920
- to: string;
18921
19443
  properties?: Record<string, string> | undefined;
18922
19444
  } | {
18923
19445
  type: "delete-relationship";
@@ -18935,10 +19457,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18935
19457
  } | {
18936
19458
  type: "migrate-relationship";
18937
19459
  relationshipType: string;
19460
+ to: string;
18938
19461
  onTrigger: string;
18939
19462
  onSuccess: string;
18940
19463
  onFailure: string;
18941
- to: string;
18942
19464
  };
18943
19465
  associatedWith: {
18944
19466
  scope: "collection" | "instance";
@@ -19000,8 +19522,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19000
19522
  }[];
19001
19523
  webhookSecret?: string | undefined;
19002
19524
  body?: string | undefined;
19003
- base?: string | undefined;
19004
19525
  labels?: string[] | undefined;
19526
+ base?: string | undefined;
19005
19527
  reviewers?: string[] | undefined;
19006
19528
  teamReviewers?: string[] | undefined;
19007
19529
  postMergeDispatch?: {
@@ -19072,8 +19594,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19072
19594
  }[];
19073
19595
  webhookSecret?: string | undefined;
19074
19596
  body?: string | undefined;
19075
- base?: string | undefined;
19076
19597
  labels?: string[] | undefined;
19598
+ base?: string | undefined;
19077
19599
  reviewers?: string[] | undefined;
19078
19600
  teamReviewers?: string[] | undefined;
19079
19601
  } | undefined;
@@ -19156,6 +19678,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19156
19678
  webhookSecret?: string | undefined;
19157
19679
  body?: string | undefined;
19158
19680
  title?: string | undefined;
19681
+ labels?: string[] | undefined;
19159
19682
  auth?: {
19160
19683
  type: "token";
19161
19684
  token: string;
@@ -19180,7 +19703,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19180
19703
  } | undefined;
19181
19704
  operation?: "replace" | "patch" | undefined;
19182
19705
  }[] | undefined;
19183
- labels?: string[] | undefined;
19184
19706
  reviewers?: string[] | undefined;
19185
19707
  teamReviewers?: string[] | undefined;
19186
19708
  postMergeDispatch?: {
@@ -19250,8 +19772,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19250
19772
  }[];
19251
19773
  webhookSecret?: string | undefined;
19252
19774
  body?: string | undefined;
19253
- base?: string | undefined;
19254
19775
  labels?: string[] | undefined;
19776
+ base?: string | undefined;
19255
19777
  reviewers?: string[] | undefined;
19256
19778
  teamReviewers?: string[] | undefined;
19257
19779
  } | undefined;
@@ -19328,9 +19850,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19328
19850
  addToCell?: string | undefined;
19329
19851
  createRelationship?: {
19330
19852
  relationshipType: string;
19853
+ to: string;
19331
19854
  onSuccess: string;
19332
19855
  onFailure: string;
19333
- to: string;
19334
19856
  properties?: {
19335
19857
  [x: string]: string;
19336
19858
  } | undefined;
@@ -19398,10 +19920,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19398
19920
  type: "create-relationship";
19399
19921
  from: string;
19400
19922
  relationshipType: string;
19923
+ to: string;
19401
19924
  onTrigger: string;
19402
19925
  onSuccess: string;
19403
19926
  onFailure: string;
19404
- to: string;
19405
19927
  properties?: {
19406
19928
  [x: string]: string;
19407
19929
  } | undefined;
@@ -19423,10 +19945,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19423
19945
  } | {
19424
19946
  type: "migrate-relationship";
19425
19947
  relationshipType: string;
19948
+ to: string;
19426
19949
  onTrigger: string;
19427
19950
  onSuccess: string;
19428
19951
  onFailure: string;
19429
- to: string;
19430
19952
  };
19431
19953
  trigger: {
19432
19954
  type: "webhook";
@@ -19637,6 +20159,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19637
20159
  webhookSecret?: string | undefined;
19638
20160
  body?: string | undefined;
19639
20161
  title?: string | undefined;
20162
+ labels?: string[] | undefined;
19640
20163
  auth?: {
19641
20164
  type: "token";
19642
20165
  token: string;
@@ -19661,7 +20184,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19661
20184
  value?: hono_utils_types.JSONValue | undefined;
19662
20185
  } | undefined;
19663
20186
  }[] | undefined;
19664
- labels?: string[] | undefined;
19665
20187
  reviewers?: string[] | undefined;
19666
20188
  teamReviewers?: string[] | undefined;
19667
20189
  postMergeDispatch?: {
@@ -19814,8 +20336,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19814
20336
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
19815
20337
  id: string;
19816
20338
  createdAt: string;
19817
- error: string | null;
19818
20339
  metadata: hono_utils_types.JSONValue;
20340
+ error: string | null;
19819
20341
  output: hono_utils_types.JSONValue;
19820
20342
  orgId: string;
19821
20343
  projectId: string;
@@ -20207,6 +20729,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20207
20729
  kind: "data" | "resource" | "module";
20208
20730
  address: string;
20209
20731
  }>, "many">>;
20732
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
20733
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20734
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20210
20735
  }, "strip", zod.ZodTypeAny, {
20211
20736
  name: string;
20212
20737
  states: string[];
@@ -20249,11 +20774,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20249
20774
  kind: "data" | "resource" | "module";
20250
20775
  address: string;
20251
20776
  }[] | undefined;
20777
+ strictComposition?: boolean | undefined;
20252
20778
  syncFreshness?: {
20253
20779
  greenSeconds?: number | undefined;
20254
20780
  yellowSeconds?: number | undefined;
20255
20781
  } | undefined;
20256
20782
  applier?: string | undefined;
20783
+ labels?: Record<string, string> | undefined;
20784
+ labelMappings?: Record<string, string> | undefined;
20257
20785
  }, {
20258
20786
  name: string;
20259
20787
  states: string[];
@@ -20295,12 +20823,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20295
20823
  kind: "data" | "resource" | "module";
20296
20824
  address: string;
20297
20825
  }[] | undefined;
20826
+ strictComposition?: boolean | undefined;
20298
20827
  syncTracked?: boolean | undefined;
20299
20828
  syncFreshness?: {
20300
20829
  greenSeconds?: number | undefined;
20301
20830
  yellowSeconds?: number | undefined;
20302
20831
  } | undefined;
20303
20832
  applier?: string | undefined;
20833
+ labels?: Record<string, string> | undefined;
20834
+ labelMappings?: Record<string, string> | undefined;
20304
20835
  }>, zod.ZodObject<{
20305
20836
  kind: zod.ZodLiteral<"Cell">;
20306
20837
  name: zod.ZodString;
@@ -20579,6 +21110,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20579
21110
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
20580
21111
  }> | undefined;
20581
21112
  }>>;
21113
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20582
21114
  }, "strip", zod.ZodTypeAny, {
20583
21115
  name: string;
20584
21116
  entityType: string;
@@ -20591,6 +21123,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20591
21123
  placementPolicy: "least-loaded" | "round-robin" | "random";
20592
21124
  parentCells: string[];
20593
21125
  displayName?: string | undefined;
21126
+ labels?: Record<string, string> | undefined;
20594
21127
  targetSelector?: {
20595
21128
  primary: {
20596
21129
  set: string;
@@ -20641,6 +21174,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20641
21174
  metric: string;
20642
21175
  aggregate: "max" | "sum" | "avg" | "min";
20643
21176
  }[] | undefined;
21177
+ labels?: Record<string, string> | undefined;
20644
21178
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
20645
21179
  parentCells?: string[] | undefined;
20646
21180
  targetSelector?: {
@@ -20690,7 +21224,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20690
21224
  from: zod.ZodString;
20691
21225
  to: zod.ZodString;
20692
21226
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
20693
- states: zod.ZodArray<zod.ZodString, "many">;
21227
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
20694
21228
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20695
21229
  name: zod.ZodString;
20696
21230
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -20717,17 +21251,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20717
21251
  enum?: string[] | undefined;
20718
21252
  }>, "many">>>;
20719
21253
  containment: zod.ZodOptional<zod.ZodBoolean>;
21254
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
21255
+ property: zod.ZodString;
21256
+ targetProperty: zod.ZodOptional<zod.ZodString>;
21257
+ }, "strip", zod.ZodTypeAny, {
21258
+ property: string;
21259
+ targetProperty?: string | undefined;
21260
+ }, {
21261
+ property: string;
21262
+ targetProperty?: string | undefined;
21263
+ }>>;
21264
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20720
21265
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
20721
21266
  type: zod.ZodLiteral<"property-sum">;
20722
- property: zod.ZodString;
21267
+ fromProperty: zod.ZodString;
20723
21268
  leq: zod.ZodString;
20724
21269
  }, "strip", zod.ZodTypeAny, {
20725
21270
  type: "property-sum";
20726
- property: string;
21271
+ fromProperty: string;
20727
21272
  leq: string;
20728
21273
  }, {
20729
21274
  type: "property-sum";
20730
- property: string;
21275
+ fromProperty: string;
20731
21276
  leq: string;
20732
21277
  }>, zod.ZodObject<{
20733
21278
  type: zod.ZodLiteral<"relationship-count">;
@@ -20754,7 +21299,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20754
21299
  }[];
20755
21300
  constraints: ({
20756
21301
  type: "property-sum";
20757
- property: string;
21302
+ fromProperty: string;
20758
21303
  leq: string;
20759
21304
  } | {
20760
21305
  type: "relationship-count";
@@ -20764,14 +21309,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20764
21309
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
20765
21310
  to: string;
20766
21311
  displayName?: string | undefined;
21312
+ derivedFrom?: {
21313
+ property: string;
21314
+ targetProperty?: string | undefined;
21315
+ } | undefined;
21316
+ labels?: Record<string, string> | undefined;
20767
21317
  containment?: boolean | undefined;
20768
21318
  }, {
20769
21319
  name: string;
20770
21320
  from: string;
20771
- states: string[];
20772
21321
  kind: "RelationshipType";
20773
21322
  to: string;
20774
21323
  displayName?: string | undefined;
21324
+ states?: string[] | undefined;
20775
21325
  properties?: {
20776
21326
  name: string;
20777
21327
  type: "string" | "number" | "boolean" | "integer";
@@ -20781,14 +21331,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20781
21331
  title?: string | undefined;
20782
21332
  enum?: string[] | undefined;
20783
21333
  }[] | undefined;
21334
+ derivedFrom?: {
21335
+ property: string;
21336
+ targetProperty?: string | undefined;
21337
+ } | undefined;
20784
21338
  constraints?: ({
20785
21339
  type: "property-sum";
20786
- property: string;
21340
+ fromProperty: string;
20787
21341
  leq: string;
20788
21342
  } | {
20789
21343
  type: "relationship-count";
20790
21344
  leq: string | number;
20791
21345
  })[] | undefined;
21346
+ labels?: Record<string, string> | undefined;
20792
21347
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
20793
21348
  containment?: boolean | undefined;
20794
21349
  }>, zod.ZodObject<{
@@ -20883,15 +21438,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20883
21438
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20884
21439
  }, "strip", zod.ZodTypeAny, {
20885
21440
  relationshipType: string;
21441
+ to: string;
20886
21442
  onSuccess: string;
20887
21443
  onFailure: string;
20888
- to: string;
20889
21444
  properties?: Record<string, string> | undefined;
20890
21445
  }, {
20891
21446
  relationshipType: string;
21447
+ to: string;
20892
21448
  onSuccess: string;
20893
21449
  onFailure: string;
20894
- to: string;
20895
21450
  properties?: Record<string, string> | undefined;
20896
21451
  }>>;
20897
21452
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -20979,9 +21534,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20979
21534
  addToCell?: string | undefined;
20980
21535
  createRelationship?: {
20981
21536
  relationshipType: string;
21537
+ to: string;
20982
21538
  onSuccess: string;
20983
21539
  onFailure: string;
20984
- to: string;
20985
21540
  properties?: Record<string, string> | undefined;
20986
21541
  } | undefined;
20987
21542
  cascadeRules?: ({
@@ -21013,9 +21568,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21013
21568
  addToCell?: string | undefined;
21014
21569
  createRelationship?: {
21015
21570
  relationshipType: string;
21571
+ to: string;
21016
21572
  onSuccess: string;
21017
21573
  onFailure: string;
21018
- to: string;
21019
21574
  properties?: Record<string, string> | undefined;
21020
21575
  } | undefined;
21021
21576
  cascadeRules?: ({
@@ -21210,19 +21765,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21210
21765
  type: "create-relationship";
21211
21766
  from: string;
21212
21767
  relationshipType: string;
21768
+ to: string;
21213
21769
  onTrigger: string;
21214
21770
  onSuccess: string;
21215
21771
  onFailure: string;
21216
- to: string;
21217
21772
  properties?: Record<string, string> | undefined;
21218
21773
  }, {
21219
21774
  type: "create-relationship";
21220
21775
  from: string;
21221
21776
  relationshipType: string;
21777
+ to: string;
21222
21778
  onTrigger: string;
21223
21779
  onSuccess: string;
21224
21780
  onFailure: string;
21225
- to: string;
21226
21781
  properties?: Record<string, string> | undefined;
21227
21782
  }>, zod.ZodObject<{
21228
21783
  type: zod.ZodLiteral<"delete-relationship">;
@@ -21273,17 +21828,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21273
21828
  }, "strip", zod.ZodTypeAny, {
21274
21829
  type: "migrate-relationship";
21275
21830
  relationshipType: string;
21831
+ to: string;
21276
21832
  onTrigger: string;
21277
21833
  onSuccess: string;
21278
21834
  onFailure: string;
21279
- to: string;
21280
21835
  }, {
21281
21836
  type: "migrate-relationship";
21282
21837
  relationshipType: string;
21838
+ to: string;
21283
21839
  onTrigger: string;
21284
21840
  onSuccess: string;
21285
21841
  onFailure: string;
21286
- to: string;
21287
21842
  }>]>;
21288
21843
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
21289
21844
  type: zod.ZodLiteral<"webhook">;
@@ -21619,8 +22174,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21619
22174
  }[];
21620
22175
  webhookSecret?: string | undefined;
21621
22176
  body?: string | undefined;
21622
- base?: string | undefined;
21623
22177
  labels?: string[] | undefined;
22178
+ base?: string | undefined;
21624
22179
  reviewers?: string[] | undefined;
21625
22180
  teamReviewers?: string[] | undefined;
21626
22181
  postMergeDispatch?: {
@@ -21905,8 +22460,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21905
22460
  }[];
21906
22461
  webhookSecret?: string | undefined;
21907
22462
  body?: string | undefined;
21908
- base?: string | undefined;
21909
22463
  labels?: string[] | undefined;
22464
+ base?: string | undefined;
21910
22465
  reviewers?: string[] | undefined;
21911
22466
  teamReviewers?: string[] | undefined;
21912
22467
  }>>;
@@ -22009,8 +22564,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22009
22564
  }[];
22010
22565
  webhookSecret?: string | undefined;
22011
22566
  body?: string | undefined;
22012
- base?: string | undefined;
22013
22567
  labels?: string[] | undefined;
22568
+ base?: string | undefined;
22014
22569
  reviewers?: string[] | undefined;
22015
22570
  teamReviewers?: string[] | undefined;
22016
22571
  } | undefined;
@@ -22317,8 +22872,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22317
22872
  }[];
22318
22873
  webhookSecret?: string | undefined;
22319
22874
  body?: string | undefined;
22320
- base?: string | undefined;
22321
22875
  labels?: string[] | undefined;
22876
+ base?: string | undefined;
22322
22877
  reviewers?: string[] | undefined;
22323
22878
  teamReviewers?: string[] | undefined;
22324
22879
  postMergeDispatch?: {
@@ -22389,8 +22944,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22389
22944
  }[];
22390
22945
  webhookSecret?: string | undefined;
22391
22946
  body?: string | undefined;
22392
- base?: string | undefined;
22393
22947
  labels?: string[] | undefined;
22948
+ base?: string | undefined;
22394
22949
  reviewers?: string[] | undefined;
22395
22950
  teamReviewers?: string[] | undefined;
22396
22951
  } | undefined;
@@ -22685,6 +23240,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22685
23240
  webhookSecret?: string | undefined;
22686
23241
  body?: string | undefined;
22687
23242
  title?: string | undefined;
23243
+ labels?: string[] | undefined;
22688
23244
  auth?: {
22689
23245
  type: "token";
22690
23246
  token: string;
@@ -22709,7 +23265,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22709
23265
  value?: unknown;
22710
23266
  } | undefined;
22711
23267
  }[] | undefined;
22712
- labels?: string[] | undefined;
22713
23268
  reviewers?: string[] | undefined;
22714
23269
  teamReviewers?: string[] | undefined;
22715
23270
  postMergeDispatch?: {
@@ -22723,6 +23278,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22723
23278
  webhookSecret?: string | undefined;
22724
23279
  body?: string | undefined;
22725
23280
  title?: string | undefined;
23281
+ labels?: string[] | undefined;
22726
23282
  auth?: {
22727
23283
  type: "token";
22728
23284
  token: string;
@@ -22747,7 +23303,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22747
23303
  } | undefined;
22748
23304
  operation?: "replace" | "patch" | undefined;
22749
23305
  }[] | undefined;
22750
- labels?: string[] | undefined;
22751
23306
  reviewers?: string[] | undefined;
22752
23307
  teamReviewers?: string[] | undefined;
22753
23308
  postMergeDispatch?: {
@@ -23031,8 +23586,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23031
23586
  }[];
23032
23587
  webhookSecret?: string | undefined;
23033
23588
  body?: string | undefined;
23034
- base?: string | undefined;
23035
23589
  labels?: string[] | undefined;
23590
+ base?: string | undefined;
23036
23591
  reviewers?: string[] | undefined;
23037
23592
  teamReviewers?: string[] | undefined;
23038
23593
  }>>;
@@ -23135,8 +23690,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23135
23690
  }[];
23136
23691
  webhookSecret?: string | undefined;
23137
23692
  body?: string | undefined;
23138
- base?: string | undefined;
23139
23693
  labels?: string[] | undefined;
23694
+ base?: string | undefined;
23140
23695
  reviewers?: string[] | undefined;
23141
23696
  teamReviewers?: string[] | undefined;
23142
23697
  } | undefined;
@@ -23276,9 +23831,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23276
23831
  addToCell?: string | undefined;
23277
23832
  createRelationship?: {
23278
23833
  relationshipType: string;
23834
+ to: string;
23279
23835
  onSuccess: string;
23280
23836
  onFailure: string;
23281
- to: string;
23282
23837
  properties?: Record<string, string> | undefined;
23283
23838
  } | undefined;
23284
23839
  cascadeRules?: ({
@@ -23338,10 +23893,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23338
23893
  type: "create-relationship";
23339
23894
  from: string;
23340
23895
  relationshipType: string;
23896
+ to: string;
23341
23897
  onTrigger: string;
23342
23898
  onSuccess: string;
23343
23899
  onFailure: string;
23344
- to: string;
23345
23900
  properties?: Record<string, string> | undefined;
23346
23901
  } | {
23347
23902
  type: "delete-relationship";
@@ -23359,10 +23914,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23359
23914
  } | {
23360
23915
  type: "migrate-relationship";
23361
23916
  relationshipType: string;
23917
+ to: string;
23362
23918
  onTrigger: string;
23363
23919
  onSuccess: string;
23364
23920
  onFailure: string;
23365
- to: string;
23366
23921
  };
23367
23922
  associatedWith: {
23368
23923
  scope: "collection" | "instance";
@@ -23558,6 +24113,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23558
24113
  webhookSecret?: string | undefined;
23559
24114
  body?: string | undefined;
23560
24115
  title?: string | undefined;
24116
+ labels?: string[] | undefined;
23561
24117
  auth?: {
23562
24118
  type: "token";
23563
24119
  token: string;
@@ -23582,7 +24138,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23582
24138
  value?: unknown;
23583
24139
  } | undefined;
23584
24140
  }[] | undefined;
23585
- labels?: string[] | undefined;
23586
24141
  reviewers?: string[] | undefined;
23587
24142
  teamReviewers?: string[] | undefined;
23588
24143
  postMergeDispatch?: {
@@ -23697,9 +24252,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23697
24252
  addToCell?: string | undefined;
23698
24253
  createRelationship?: {
23699
24254
  relationshipType: string;
24255
+ to: string;
23700
24256
  onSuccess: string;
23701
24257
  onFailure: string;
23702
- to: string;
23703
24258
  properties?: Record<string, string> | undefined;
23704
24259
  } | undefined;
23705
24260
  cascadeRules?: ({
@@ -23759,10 +24314,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23759
24314
  type: "create-relationship";
23760
24315
  from: string;
23761
24316
  relationshipType: string;
24317
+ to: string;
23762
24318
  onTrigger: string;
23763
24319
  onSuccess: string;
23764
24320
  onFailure: string;
23765
- to: string;
23766
24321
  properties?: Record<string, string> | undefined;
23767
24322
  } | {
23768
24323
  type: "delete-relationship";
@@ -23780,10 +24335,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23780
24335
  } | {
23781
24336
  type: "migrate-relationship";
23782
24337
  relationshipType: string;
24338
+ to: string;
23783
24339
  onTrigger: string;
23784
24340
  onSuccess: string;
23785
24341
  onFailure: string;
23786
- to: string;
23787
24342
  };
23788
24343
  associatedWith: {
23789
24344
  scope: "collection" | "instance";
@@ -23845,8 +24400,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23845
24400
  }[];
23846
24401
  webhookSecret?: string | undefined;
23847
24402
  body?: string | undefined;
23848
- base?: string | undefined;
23849
24403
  labels?: string[] | undefined;
24404
+ base?: string | undefined;
23850
24405
  reviewers?: string[] | undefined;
23851
24406
  teamReviewers?: string[] | undefined;
23852
24407
  postMergeDispatch?: {
@@ -23917,8 +24472,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23917
24472
  }[];
23918
24473
  webhookSecret?: string | undefined;
23919
24474
  body?: string | undefined;
23920
- base?: string | undefined;
23921
24475
  labels?: string[] | undefined;
24476
+ base?: string | undefined;
23922
24477
  reviewers?: string[] | undefined;
23923
24478
  teamReviewers?: string[] | undefined;
23924
24479
  } | undefined;
@@ -24001,6 +24556,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24001
24556
  webhookSecret?: string | undefined;
24002
24557
  body?: string | undefined;
24003
24558
  title?: string | undefined;
24559
+ labels?: string[] | undefined;
24004
24560
  auth?: {
24005
24561
  type: "token";
24006
24562
  token: string;
@@ -24025,7 +24581,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24025
24581
  } | undefined;
24026
24582
  operation?: "replace" | "patch" | undefined;
24027
24583
  }[] | undefined;
24028
- labels?: string[] | undefined;
24029
24584
  reviewers?: string[] | undefined;
24030
24585
  teamReviewers?: string[] | undefined;
24031
24586
  postMergeDispatch?: {
@@ -24095,8 +24650,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24095
24650
  }[];
24096
24651
  webhookSecret?: string | undefined;
24097
24652
  body?: string | undefined;
24098
- base?: string | undefined;
24099
24653
  labels?: string[] | undefined;
24654
+ base?: string | undefined;
24100
24655
  reviewers?: string[] | undefined;
24101
24656
  teamReviewers?: string[] | undefined;
24102
24657
  } | undefined;
@@ -24171,15 +24726,13 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24171
24726
  from: zod.ZodString;
24172
24727
  to: zod.ZodString;
24173
24728
  state: zod.ZodOptional<zod.ZodString>;
24174
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
24175
24729
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24176
24730
  }, "strip", zod.ZodTypeAny, {
24177
24731
  from: string;
24178
- properties: Record<string, unknown>;
24179
24732
  relationshipType: string;
24180
24733
  kind: "Relationship";
24181
- to: string;
24182
24734
  labels: Record<string, string>;
24735
+ to: string;
24183
24736
  state?: string | undefined;
24184
24737
  }, {
24185
24738
  from: string;
@@ -24187,7 +24740,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24187
24740
  kind: "Relationship";
24188
24741
  to: string;
24189
24742
  state?: string | undefined;
24190
- properties?: Record<string, unknown> | undefined;
24191
24743
  labels?: Record<string, string> | undefined;
24192
24744
  }>, zod.ZodObject<{
24193
24745
  kind: zod.ZodLiteral<"DeploymentTarget">;
@@ -24199,6 +24751,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24199
24751
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24200
24752
  capacity: zod.ZodOptional<zod.ZodNumber>;
24201
24753
  credentialRef: zod.ZodOptional<zod.ZodString>;
24754
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
24202
24755
  }, "strip", zod.ZodTypeAny, {
24203
24756
  name: string;
24204
24757
  properties: Record<string, string>;
@@ -24207,6 +24760,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24207
24760
  set?: string | undefined;
24208
24761
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
24209
24762
  displayName?: string | undefined;
24763
+ labels?: Record<string, string> | undefined;
24210
24764
  credentialRef?: string | undefined;
24211
24765
  capacity?: number | undefined;
24212
24766
  }, {
@@ -24216,6 +24770,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24216
24770
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
24217
24771
  displayName?: string | undefined;
24218
24772
  properties?: Record<string, string> | undefined;
24773
+ labels?: Record<string, string> | undefined;
24219
24774
  config?: Record<string, unknown> | undefined;
24220
24775
  credentialRef?: string | undefined;
24221
24776
  capacity?: number | undefined;
@@ -24225,13 +24780,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24225
24780
  displayName: zod.ZodOptional<zod.ZodString>;
24226
24781
  provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
24227
24782
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24783
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
24228
24784
  credentialRef: zod.ZodOptional<zod.ZodString>;
24785
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
24229
24786
  }, "strip", zod.ZodTypeAny, {
24230
24787
  name: string;
24231
24788
  provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
24232
24789
  properties: Record<string, string>;
24233
24790
  kind: "DeploymentTargetSet";
24234
24791
  displayName?: string | undefined;
24792
+ labels?: Record<string, string> | undefined;
24793
+ config?: Record<string, unknown> | undefined;
24235
24794
  credentialRef?: string | undefined;
24236
24795
  }, {
24237
24796
  name: string;
@@ -24239,6 +24798,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24239
24798
  kind: "DeploymentTargetSet";
24240
24799
  displayName?: string | undefined;
24241
24800
  properties?: Record<string, string> | undefined;
24801
+ labels?: Record<string, string> | undefined;
24802
+ config?: Record<string, unknown> | undefined;
24242
24803
  credentialRef?: string | undefined;
24243
24804
  }>]>, "many">;
24244
24805
  force: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
@@ -24247,10 +24808,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24247
24808
  name: zod.ZodString;
24248
24809
  }, "strip", zod.ZodTypeAny, {
24249
24810
  name: string;
24250
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24811
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24251
24812
  }, {
24252
24813
  name: string;
24253
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24814
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24254
24815
  }>, "many">>>;
24255
24816
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
24256
24817
  } & {
@@ -24262,6 +24823,37 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24262
24823
  projectId: string;
24263
24824
  envName: string;
24264
24825
  items: ({
24826
+ name: string;
24827
+ from: string;
24828
+ states: string[];
24829
+ properties: {
24830
+ name: string;
24831
+ type: "string" | "number" | "boolean" | "integer";
24832
+ required: boolean;
24833
+ description?: string | undefined;
24834
+ default?: string | number | boolean | undefined;
24835
+ title?: string | undefined;
24836
+ enum?: string[] | undefined;
24837
+ }[];
24838
+ constraints: ({
24839
+ type: "property-sum";
24840
+ fromProperty: string;
24841
+ leq: string;
24842
+ } | {
24843
+ type: "relationship-count";
24844
+ leq: string | number;
24845
+ })[];
24846
+ kind: "RelationshipType";
24847
+ cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
24848
+ to: string;
24849
+ displayName?: string | undefined;
24850
+ derivedFrom?: {
24851
+ property: string;
24852
+ targetProperty?: string | undefined;
24853
+ } | undefined;
24854
+ labels?: Record<string, string> | undefined;
24855
+ containment?: boolean | undefined;
24856
+ } | {
24265
24857
  parameters: {
24266
24858
  name: string;
24267
24859
  type: "string" | "number" | "boolean" | "integer";
@@ -24297,9 +24889,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24297
24889
  addToCell?: string | undefined;
24298
24890
  createRelationship?: {
24299
24891
  relationshipType: string;
24892
+ to: string;
24300
24893
  onSuccess: string;
24301
24894
  onFailure: string;
24302
- to: string;
24303
24895
  properties?: Record<string, string> | undefined;
24304
24896
  } | undefined;
24305
24897
  cascadeRules?: ({
@@ -24359,10 +24951,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24359
24951
  type: "create-relationship";
24360
24952
  from: string;
24361
24953
  relationshipType: string;
24954
+ to: string;
24362
24955
  onTrigger: string;
24363
24956
  onSuccess: string;
24364
24957
  onFailure: string;
24365
- to: string;
24366
24958
  properties?: Record<string, string> | undefined;
24367
24959
  } | {
24368
24960
  type: "delete-relationship";
@@ -24380,10 +24972,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24380
24972
  } | {
24381
24973
  type: "migrate-relationship";
24382
24974
  relationshipType: string;
24975
+ to: string;
24383
24976
  onTrigger: string;
24384
24977
  onSuccess: string;
24385
24978
  onFailure: string;
24386
- to: string;
24387
24979
  };
24388
24980
  associatedWith: {
24389
24981
  scope: "collection" | "instance";
@@ -24579,6 +25171,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24579
25171
  webhookSecret?: string | undefined;
24580
25172
  body?: string | undefined;
24581
25173
  title?: string | undefined;
25174
+ labels?: string[] | undefined;
24582
25175
  auth?: {
24583
25176
  type: "token";
24584
25177
  token: string;
@@ -24603,7 +25196,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24603
25196
  value?: unknown;
24604
25197
  } | undefined;
24605
25198
  }[] | undefined;
24606
- labels?: string[] | undefined;
24607
25199
  reviewers?: string[] | undefined;
24608
25200
  teamReviewers?: string[] | undefined;
24609
25201
  postMergeDispatch?: {
@@ -24746,11 +25338,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24746
25338
  kind: "data" | "resource" | "module";
24747
25339
  address: string;
24748
25340
  }[] | undefined;
25341
+ strictComposition?: boolean | undefined;
24749
25342
  syncFreshness?: {
24750
25343
  greenSeconds?: number | undefined;
24751
25344
  yellowSeconds?: number | undefined;
24752
25345
  } | undefined;
24753
25346
  applier?: string | undefined;
25347
+ labels?: Record<string, string> | undefined;
25348
+ labelMappings?: Record<string, string> | undefined;
24754
25349
  } | {
24755
25350
  name: string;
24756
25351
  entityType: string;
@@ -24763,6 +25358,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24763
25358
  placementPolicy: "least-loaded" | "round-robin" | "random";
24764
25359
  parentCells: string[];
24765
25360
  displayName?: string | undefined;
25361
+ labels?: Record<string, string> | undefined;
24766
25362
  targetSelector?: {
24767
25363
  primary: {
24768
25364
  set: string;
@@ -24803,32 +25399,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24803
25399
  value?: string | undefined;
24804
25400
  };
24805
25401
  } | undefined;
24806
- } | {
24807
- name: string;
24808
- from: string;
24809
- states: string[];
24810
- properties: {
24811
- name: string;
24812
- type: "string" | "number" | "boolean" | "integer";
24813
- required: boolean;
24814
- description?: string | undefined;
24815
- default?: string | number | boolean | undefined;
24816
- title?: string | undefined;
24817
- enum?: string[] | undefined;
24818
- }[];
24819
- constraints: ({
24820
- type: "property-sum";
24821
- property: string;
24822
- leq: string;
24823
- } | {
24824
- type: "relationship-count";
24825
- leq: string | number;
24826
- })[];
24827
- kind: "RelationshipType";
24828
- cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
24829
- to: string;
24830
- displayName?: string | undefined;
24831
- containment?: boolean | undefined;
24832
25402
  } | {
24833
25403
  name: string;
24834
25404
  kind: "Secret";
@@ -24844,11 +25414,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24844
25414
  syncSource?: string | undefined;
24845
25415
  } | {
24846
25416
  from: string;
24847
- properties: Record<string, unknown>;
24848
25417
  relationshipType: string;
24849
25418
  kind: "Relationship";
24850
- to: string;
24851
25419
  labels: Record<string, string>;
25420
+ to: string;
24852
25421
  state?: string | undefined;
24853
25422
  } | {
24854
25423
  name: string;
@@ -24858,6 +25427,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24858
25427
  set?: string | undefined;
24859
25428
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
24860
25429
  displayName?: string | undefined;
25430
+ labels?: Record<string, string> | undefined;
24861
25431
  credentialRef?: string | undefined;
24862
25432
  capacity?: number | undefined;
24863
25433
  } | {
@@ -24866,11 +25436,13 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24866
25436
  properties: Record<string, string>;
24867
25437
  kind: "DeploymentTargetSet";
24868
25438
  displayName?: string | undefined;
25439
+ labels?: Record<string, string> | undefined;
25440
+ config?: Record<string, unknown> | undefined;
24869
25441
  credentialRef?: string | undefined;
24870
25442
  })[];
24871
25443
  deletions: {
24872
25444
  name: string;
24873
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25445
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24874
25446
  }[];
24875
25447
  force: boolean;
24876
25448
  dryRun: boolean;
@@ -24879,6 +25451,37 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24879
25451
  projectId: string;
24880
25452
  envName: string;
24881
25453
  items: ({
25454
+ name: string;
25455
+ from: string;
25456
+ kind: "RelationshipType";
25457
+ to: string;
25458
+ displayName?: string | undefined;
25459
+ states?: string[] | undefined;
25460
+ properties?: {
25461
+ name: string;
25462
+ type: "string" | "number" | "boolean" | "integer";
25463
+ description?: string | undefined;
25464
+ default?: string | number | boolean | undefined;
25465
+ required?: boolean | undefined;
25466
+ title?: string | undefined;
25467
+ enum?: string[] | undefined;
25468
+ }[] | undefined;
25469
+ derivedFrom?: {
25470
+ property: string;
25471
+ targetProperty?: string | undefined;
25472
+ } | undefined;
25473
+ constraints?: ({
25474
+ type: "property-sum";
25475
+ fromProperty: string;
25476
+ leq: string;
25477
+ } | {
25478
+ type: "relationship-count";
25479
+ leq: string | number;
25480
+ })[] | undefined;
25481
+ labels?: Record<string, string> | undefined;
25482
+ cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
25483
+ containment?: boolean | undefined;
25484
+ } | {
24882
25485
  name: string;
24883
25486
  kind: "Action";
24884
25487
  operation: {
@@ -24892,9 +25495,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24892
25495
  addToCell?: string | undefined;
24893
25496
  createRelationship?: {
24894
25497
  relationshipType: string;
25498
+ to: string;
24895
25499
  onSuccess: string;
24896
25500
  onFailure: string;
24897
- to: string;
24898
25501
  properties?: Record<string, string> | undefined;
24899
25502
  } | undefined;
24900
25503
  cascadeRules?: ({
@@ -24954,10 +25557,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24954
25557
  type: "create-relationship";
24955
25558
  from: string;
24956
25559
  relationshipType: string;
25560
+ to: string;
24957
25561
  onTrigger: string;
24958
25562
  onSuccess: string;
24959
25563
  onFailure: string;
24960
- to: string;
24961
25564
  properties?: Record<string, string> | undefined;
24962
25565
  } | {
24963
25566
  type: "delete-relationship";
@@ -24975,10 +25578,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24975
25578
  } | {
24976
25579
  type: "migrate-relationship";
24977
25580
  relationshipType: string;
25581
+ to: string;
24978
25582
  onTrigger: string;
24979
25583
  onSuccess: string;
24980
25584
  onFailure: string;
24981
- to: string;
24982
25585
  };
24983
25586
  associatedWith: {
24984
25587
  scope: "collection" | "instance";
@@ -25040,8 +25643,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25040
25643
  }[];
25041
25644
  webhookSecret?: string | undefined;
25042
25645
  body?: string | undefined;
25043
- base?: string | undefined;
25044
25646
  labels?: string[] | undefined;
25647
+ base?: string | undefined;
25045
25648
  reviewers?: string[] | undefined;
25046
25649
  teamReviewers?: string[] | undefined;
25047
25650
  postMergeDispatch?: {
@@ -25112,8 +25715,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25112
25715
  }[];
25113
25716
  webhookSecret?: string | undefined;
25114
25717
  body?: string | undefined;
25115
- base?: string | undefined;
25116
25718
  labels?: string[] | undefined;
25719
+ base?: string | undefined;
25117
25720
  reviewers?: string[] | undefined;
25118
25721
  teamReviewers?: string[] | undefined;
25119
25722
  } | undefined;
@@ -25196,6 +25799,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25196
25799
  webhookSecret?: string | undefined;
25197
25800
  body?: string | undefined;
25198
25801
  title?: string | undefined;
25802
+ labels?: string[] | undefined;
25199
25803
  auth?: {
25200
25804
  type: "token";
25201
25805
  token: string;
@@ -25220,7 +25824,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25220
25824
  } | undefined;
25221
25825
  operation?: "replace" | "patch" | undefined;
25222
25826
  }[] | undefined;
25223
- labels?: string[] | undefined;
25224
25827
  reviewers?: string[] | undefined;
25225
25828
  teamReviewers?: string[] | undefined;
25226
25829
  postMergeDispatch?: {
@@ -25290,8 +25893,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25290
25893
  }[];
25291
25894
  webhookSecret?: string | undefined;
25292
25895
  body?: string | undefined;
25293
- base?: string | undefined;
25294
25896
  labels?: string[] | undefined;
25897
+ base?: string | undefined;
25295
25898
  reviewers?: string[] | undefined;
25296
25899
  teamReviewers?: string[] | undefined;
25297
25900
  } | undefined;
@@ -25362,12 +25965,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25362
25965
  kind: "data" | "resource" | "module";
25363
25966
  address: string;
25364
25967
  }[] | undefined;
25968
+ strictComposition?: boolean | undefined;
25365
25969
  syncTracked?: boolean | undefined;
25366
25970
  syncFreshness?: {
25367
25971
  greenSeconds?: number | undefined;
25368
25972
  yellowSeconds?: number | undefined;
25369
25973
  } | undefined;
25370
25974
  applier?: string | undefined;
25975
+ labels?: Record<string, string> | undefined;
25976
+ labelMappings?: Record<string, string> | undefined;
25371
25977
  } | {
25372
25978
  name: string;
25373
25979
  entityType: string;
@@ -25378,6 +25984,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25378
25984
  metric: string;
25379
25985
  aggregate: "max" | "sum" | "avg" | "min";
25380
25986
  }[] | undefined;
25987
+ labels?: Record<string, string> | undefined;
25381
25988
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
25382
25989
  parentCells?: string[] | undefined;
25383
25990
  targetSelector?: {
@@ -25420,32 +26027,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25420
26027
  value?: string | undefined;
25421
26028
  };
25422
26029
  } | undefined;
25423
- } | {
25424
- name: string;
25425
- from: string;
25426
- states: string[];
25427
- kind: "RelationshipType";
25428
- to: string;
25429
- displayName?: string | undefined;
25430
- properties?: {
25431
- name: string;
25432
- type: "string" | "number" | "boolean" | "integer";
25433
- description?: string | undefined;
25434
- default?: string | number | boolean | undefined;
25435
- required?: boolean | undefined;
25436
- title?: string | undefined;
25437
- enum?: string[] | undefined;
25438
- }[] | undefined;
25439
- constraints?: ({
25440
- type: "property-sum";
25441
- property: string;
25442
- leq: string;
25443
- } | {
25444
- type: "relationship-count";
25445
- leq: string | number;
25446
- })[] | undefined;
25447
- cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
25448
- containment?: boolean | undefined;
25449
26030
  } | {
25450
26031
  name: string;
25451
26032
  kind: "Secret";
@@ -25465,7 +26046,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25465
26046
  kind: "Relationship";
25466
26047
  to: string;
25467
26048
  state?: string | undefined;
25468
- properties?: Record<string, unknown> | undefined;
25469
26049
  labels?: Record<string, string> | undefined;
25470
26050
  } | {
25471
26051
  name: string;
@@ -25474,6 +26054,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25474
26054
  provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
25475
26055
  displayName?: string | undefined;
25476
26056
  properties?: Record<string, string> | undefined;
26057
+ labels?: Record<string, string> | undefined;
25477
26058
  config?: Record<string, unknown> | undefined;
25478
26059
  credentialRef?: string | undefined;
25479
26060
  capacity?: number | undefined;
@@ -25483,11 +26064,13 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25483
26064
  kind: "DeploymentTargetSet";
25484
26065
  displayName?: string | undefined;
25485
26066
  properties?: Record<string, string> | undefined;
26067
+ labels?: Record<string, string> | undefined;
26068
+ config?: Record<string, unknown> | undefined;
25486
26069
  credentialRef?: string | undefined;
25487
26070
  })[];
25488
26071
  deletions?: {
25489
26072
  name: string;
25490
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
26073
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25491
26074
  }[] | undefined;
25492
26075
  force?: boolean | undefined;
25493
26076
  dryRun?: boolean | undefined;
@@ -25531,14 +26114,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25531
26114
  orgId: zod.ZodString;
25532
26115
  projectId: zod.ZodString;
25533
26116
  limit: zod.ZodOptional<zod.ZodNumber>;
26117
+ before: zod.ZodOptional<zod.ZodString>;
25534
26118
  }, "strip", zod.ZodTypeAny, {
25535
26119
  orgId: string;
25536
26120
  projectId: string;
25537
26121
  limit?: number | undefined;
26122
+ before?: string | undefined;
25538
26123
  }, {
25539
26124
  orgId: string;
25540
26125
  projectId: string;
25541
26126
  limit?: number | undefined;
26127
+ before?: string | undefined;
25542
26128
  }>, {
25543
26129
  id: string;
25544
26130
  projectId: string | null;
@@ -25650,6 +26236,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25650
26236
  action: zod.ZodOptional<zod.ZodString>;
25651
26237
  resourceKind: zod.ZodOptional<zod.ZodString>;
25652
26238
  since: zod.ZodOptional<zod.ZodString>;
26239
+ before: zod.ZodOptional<zod.ZodString>;
25653
26240
  limit: zod.ZodOptional<zod.ZodNumber>;
25654
26241
  }, "strip", zod.ZodTypeAny, {
25655
26242
  orgId: string;
@@ -25660,6 +26247,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25660
26247
  actorId?: string | undefined;
25661
26248
  action?: string | undefined;
25662
26249
  resourceKind?: string | undefined;
26250
+ before?: string | undefined;
25663
26251
  since?: string | undefined;
25664
26252
  }, {
25665
26253
  orgId: string;
@@ -25670,6 +26258,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25670
26258
  actorId?: string | undefined;
25671
26259
  action?: string | undefined;
25672
26260
  resourceKind?: string | undefined;
26261
+ before?: string | undefined;
25673
26262
  since?: string | undefined;
25674
26263
  }>, {
25675
26264
  id: string;
@@ -25699,6 +26288,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25699
26288
  kind: zod.ZodOptional<zod.ZodString>;
25700
26289
  entityName: zod.ZodOptional<zod.ZodString>;
25701
26290
  since: zod.ZodOptional<zod.ZodString>;
26291
+ before: zod.ZodOptional<zod.ZodString>;
25702
26292
  limit: zod.ZodOptional<zod.ZodNumber>;
25703
26293
  }, "strip", zod.ZodTypeAny, {
25704
26294
  orgId: string;
@@ -25708,6 +26298,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25708
26298
  limit?: number | undefined;
25709
26299
  kind?: string | undefined;
25710
26300
  entityName?: string | undefined;
26301
+ before?: string | undefined;
25711
26302
  since?: string | undefined;
25712
26303
  }, {
25713
26304
  orgId: string;
@@ -25717,6 +26308,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25717
26308
  limit?: number | undefined;
25718
26309
  kind?: string | undefined;
25719
26310
  entityName?: string | undefined;
26311
+ before?: string | undefined;
25720
26312
  since?: string | undefined;
25721
26313
  }>, {
25722
26314
  detectedAt: string;
@@ -25877,6 +26469,114 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25877
26469
  status: string;
25878
26470
  }>;
25879
26471
  };
26472
+ conformanceFindings: {
26473
+ list: SchemaFn<zod.ZodObject<{
26474
+ orgId: zod.ZodString;
26475
+ projectId: zod.ZodString;
26476
+ envName: zod.ZodString;
26477
+ status: zod.ZodOptional<zod.ZodEnum<["open", "resolved", "ignored"]>>;
26478
+ severity: zod.ZodOptional<zod.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
26479
+ kind: zod.ZodOptional<zod.ZodString>;
26480
+ findingKind: zod.ZodOptional<zod.ZodString>;
26481
+ entityName: zod.ZodOptional<zod.ZodString>;
26482
+ limit: zod.ZodOptional<zod.ZodNumber>;
26483
+ }, "strip", zod.ZodTypeAny, {
26484
+ orgId: string;
26485
+ projectId: string;
26486
+ envName: string;
26487
+ status?: "open" | "resolved" | "ignored" | undefined;
26488
+ limit?: number | undefined;
26489
+ kind?: string | undefined;
26490
+ entityName?: string | undefined;
26491
+ findingKind?: string | undefined;
26492
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
26493
+ }, {
26494
+ orgId: string;
26495
+ projectId: string;
26496
+ envName: string;
26497
+ status?: "open" | "resolved" | "ignored" | undefined;
26498
+ limit?: number | undefined;
26499
+ kind?: string | undefined;
26500
+ entityName?: string | undefined;
26501
+ findingKind?: string | undefined;
26502
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
26503
+ }>, {
26504
+ detectedAt: string;
26505
+ lastSeenAt: string;
26506
+ updatedAt: string;
26507
+ id: string;
26508
+ projectId: string | null;
26509
+ envId: string;
26510
+ entityId: string | null;
26511
+ relationshipId: string | null;
26512
+ entityTypeName: string | null;
26513
+ entityName: string | null;
26514
+ findingKind: string;
26515
+ severity: string;
26516
+ status: string;
26517
+ fieldPath: string | null;
26518
+ schemaRef: string | null;
26519
+ schemaVersion: string | null;
26520
+ expected: hono_utils_types.JSONValue;
26521
+ actual: hono_utils_types.JSONValue;
26522
+ message: string;
26523
+ dedupKey: string;
26524
+ auditRunId: string | null;
26525
+ }[]>;
26526
+ count: SchemaFn<zod.ZodObject<{
26527
+ orgId: zod.ZodString;
26528
+ projectId: zod.ZodString;
26529
+ envName: zod.ZodString;
26530
+ }, "strip", zod.ZodTypeAny, {
26531
+ orgId: string;
26532
+ projectId: string;
26533
+ envName: string;
26534
+ }, {
26535
+ orgId: string;
26536
+ projectId: string;
26537
+ envName: string;
26538
+ }>, {
26539
+ count: number;
26540
+ }>;
26541
+ get: SchemaFn<zod.ZodObject<{
26542
+ orgId: zod.ZodString;
26543
+ projectId: zod.ZodString;
26544
+ envName: zod.ZodString;
26545
+ id: zod.ZodString;
26546
+ }, "strip", zod.ZodTypeAny, {
26547
+ id: string;
26548
+ orgId: string;
26549
+ projectId: string;
26550
+ envName: string;
26551
+ }, {
26552
+ id: string;
26553
+ orgId: string;
26554
+ projectId: string;
26555
+ envName: string;
26556
+ }>, {
26557
+ detectedAt: string;
26558
+ lastSeenAt: string;
26559
+ updatedAt: string;
26560
+ id: string;
26561
+ projectId: string | null;
26562
+ envId: string;
26563
+ entityId: string | null;
26564
+ relationshipId: string | null;
26565
+ entityTypeName: string | null;
26566
+ entityName: string | null;
26567
+ findingKind: string;
26568
+ severity: string;
26569
+ status: string;
26570
+ fieldPath: string | null;
26571
+ schemaRef: string | null;
26572
+ schemaVersion: string | null;
26573
+ expected: hono_utils_types.JSONValue;
26574
+ actual: hono_utils_types.JSONValue;
26575
+ message: string;
26576
+ dedupKey: string;
26577
+ auditRunId: string | null;
26578
+ }>;
26579
+ };
25880
26580
  stats: {
25881
26581
  entitiesByState: SchemaFn<zod.ZodObject<{
25882
26582
  orgId: zod.ZodString;
@@ -25978,39 +26678,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25978
26678
  ownerUserId: string | null;
25979
26679
  name: string;
25980
26680
  isDefault: boolean;
25981
- config: {
25982
- sort: {
25983
- cells: "name" | "memberCount" | "capacityUsed";
25984
- entities: "name" | "updatedAt" | "state";
26681
+ pinnedPositions: {
26682
+ [x: string]: {
26683
+ x: number;
26684
+ y: number;
25985
26685
  };
25986
- filter: {
26686
+ } | null;
26687
+ viewSpec: {
26688
+ schemaVersion: 1;
26689
+ grouping: {
26690
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26691
+ aggregate: {
26692
+ byType: boolean;
26693
+ threshold: number;
26694
+ };
26695
+ labelKey?: string | undefined;
26696
+ };
26697
+ edges: {
26698
+ mode: "all" | "none" | "problems";
26699
+ labels: ("type" | "count")[];
26700
+ render: "refs" | "lines";
26701
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26702
+ };
26703
+ filters: {
25987
26704
  entityTypes: string[];
25988
- states: string[];
25989
26705
  labels: {
25990
26706
  [x: string]: string[];
25991
26707
  };
26708
+ cells: string[];
26709
+ relationshipTypes: string[];
26710
+ deploymentTargets: string[];
26711
+ lifecycle: string[];
26712
+ conformance: ("conformant" | "non-conformant")[];
26713
+ };
26714
+ focus: {
26715
+ direction: "both" | "upstream" | "downstream";
26716
+ roots: string[];
26717
+ maxHops: 2 | 1 | 3 | "∞";
26718
+ edgeTypes: string[];
26719
+ };
26720
+ expansion: {
26721
+ [x: string]: "expanded" | "collapsed";
26722
+ };
26723
+ style: {
26724
+ selector: string;
26725
+ style: {
26726
+ [x: string]: string;
26727
+ };
26728
+ }[];
26729
+ pins: {
26730
+ [x: string]: {
26731
+ x: number;
26732
+ y: number;
26733
+ };
25992
26734
  };
25993
- grouping: {
25994
- cellsEnabled: boolean;
25995
- partitionsEnabled: boolean;
25996
- };
25997
- cardDisplay: {
25998
- properties: string[] | "all" | "required";
25999
- showState: boolean;
26000
- inlineRelationships: boolean;
26001
- maxRelsPerCard: number;
26002
- drawEdges: boolean;
26003
- };
26004
- layout: {
26005
- mode: "auto" | "free";
26006
- positionsPinned: boolean;
26007
- };
26008
- };
26009
- pinnedPositions: {
26010
- [x: string]: {
26011
- x: number;
26012
- y: number;
26013
- };
26735
+ interaction: "auto" | "free";
26014
26736
  } | null;
26015
26737
  createdAt: string;
26016
26738
  updatedAt: string;
@@ -26035,39 +26757,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26035
26757
  ownerUserId: string | null;
26036
26758
  name: string;
26037
26759
  isDefault: boolean;
26038
- config: {
26039
- sort: {
26040
- cells: "name" | "memberCount" | "capacityUsed";
26041
- entities: "name" | "updatedAt" | "state";
26760
+ pinnedPositions: {
26761
+ [x: string]: {
26762
+ x: number;
26763
+ y: number;
26042
26764
  };
26043
- filter: {
26765
+ } | null;
26766
+ viewSpec: {
26767
+ schemaVersion: 1;
26768
+ grouping: {
26769
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26770
+ aggregate: {
26771
+ byType: boolean;
26772
+ threshold: number;
26773
+ };
26774
+ labelKey?: string | undefined;
26775
+ };
26776
+ edges: {
26777
+ mode: "all" | "none" | "problems";
26778
+ labels: ("type" | "count")[];
26779
+ render: "refs" | "lines";
26780
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26781
+ };
26782
+ filters: {
26044
26783
  entityTypes: string[];
26045
- states: string[];
26046
26784
  labels: {
26047
26785
  [x: string]: string[];
26048
26786
  };
26787
+ cells: string[];
26788
+ relationshipTypes: string[];
26789
+ deploymentTargets: string[];
26790
+ lifecycle: string[];
26791
+ conformance: ("conformant" | "non-conformant")[];
26792
+ };
26793
+ focus: {
26794
+ direction: "both" | "upstream" | "downstream";
26795
+ roots: string[];
26796
+ maxHops: 2 | 1 | 3 | "∞";
26797
+ edgeTypes: string[];
26798
+ };
26799
+ expansion: {
26800
+ [x: string]: "expanded" | "collapsed";
26801
+ };
26802
+ style: {
26803
+ selector: string;
26804
+ style: {
26805
+ [x: string]: string;
26806
+ };
26807
+ }[];
26808
+ pins: {
26809
+ [x: string]: {
26810
+ x: number;
26811
+ y: number;
26812
+ };
26049
26813
  };
26050
- grouping: {
26051
- cellsEnabled: boolean;
26052
- partitionsEnabled: boolean;
26053
- };
26054
- cardDisplay: {
26055
- properties: string[] | "all" | "required";
26056
- showState: boolean;
26057
- inlineRelationships: boolean;
26058
- maxRelsPerCard: number;
26059
- drawEdges: boolean;
26060
- };
26061
- layout: {
26062
- mode: "auto" | "free";
26063
- positionsPinned: boolean;
26064
- };
26065
- };
26066
- pinnedPositions: {
26067
- [x: string]: {
26068
- x: number;
26069
- y: number;
26070
- };
26814
+ interaction: "auto" | "free";
26071
26815
  } | null;
26072
26816
  createdAt: string;
26073
26817
  updatedAt: string;
@@ -26077,7 +26821,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26077
26821
  projectId: zod.ZodString;
26078
26822
  name: zod.ZodString;
26079
26823
  scope: zod.ZodEnum<["user", "project"]>;
26080
- config: zod.ZodUnknown;
26081
26824
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
26082
26825
  x: zod.ZodNumber;
26083
26826
  y: zod.ZodNumber;
@@ -26088,26 +26831,27 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26088
26831
  x: number;
26089
26832
  y: number;
26090
26833
  }>>>>;
26834
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
26091
26835
  }, "strip", zod.ZodTypeAny, {
26092
26836
  name: string;
26093
26837
  orgId: string;
26094
26838
  projectId: string;
26095
26839
  scope: "user" | "project";
26096
- config?: unknown;
26097
26840
  pinnedPositions?: Record<string, {
26098
26841
  x: number;
26099
26842
  y: number;
26100
26843
  }> | null | undefined;
26844
+ viewSpec?: unknown;
26101
26845
  }, {
26102
26846
  name: string;
26103
26847
  orgId: string;
26104
26848
  projectId: string;
26105
26849
  scope: "user" | "project";
26106
- config?: unknown;
26107
26850
  pinnedPositions?: Record<string, {
26108
26851
  x: number;
26109
26852
  y: number;
26110
26853
  }> | null | undefined;
26854
+ viewSpec?: unknown;
26111
26855
  }>, {
26112
26856
  name: string;
26113
26857
  id: string;
@@ -26117,34 +26861,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26117
26861
  projectId: string;
26118
26862
  isDefault: boolean;
26119
26863
  scope: "user" | "project";
26120
- config: {
26121
- sort: {
26122
- cells: "name" | "memberCount" | "capacityUsed";
26123
- entities: "name" | "updatedAt" | "state";
26124
- };
26125
- filter: {
26126
- entityTypes: string[];
26127
- states: string[];
26128
- labels: {
26129
- [x: string]: string[];
26130
- };
26131
- };
26132
- grouping: {
26133
- cellsEnabled: boolean;
26134
- partitionsEnabled: boolean;
26135
- };
26136
- cardDisplay: {
26137
- properties: string[] | "all" | "required";
26138
- showState: boolean;
26139
- inlineRelationships: boolean;
26140
- maxRelsPerCard: number;
26141
- drawEdges: boolean;
26142
- };
26143
- layout: {
26144
- mode: "auto" | "free";
26145
- positionsPinned: boolean;
26146
- };
26147
- };
26148
26864
  ownerUserId: string | null;
26149
26865
  pinnedPositions: {
26150
26866
  [x: string]: {
@@ -26152,13 +26868,62 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26152
26868
  y: number;
26153
26869
  };
26154
26870
  } | null;
26871
+ viewSpec: {
26872
+ schemaVersion: 1;
26873
+ grouping: {
26874
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26875
+ aggregate: {
26876
+ byType: boolean;
26877
+ threshold: number;
26878
+ };
26879
+ labelKey?: string | undefined;
26880
+ };
26881
+ edges: {
26882
+ mode: "all" | "none" | "problems";
26883
+ labels: ("type" | "count")[];
26884
+ render: "refs" | "lines";
26885
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26886
+ };
26887
+ filters: {
26888
+ entityTypes: string[];
26889
+ labels: {
26890
+ [x: string]: string[];
26891
+ };
26892
+ cells: string[];
26893
+ relationshipTypes: string[];
26894
+ deploymentTargets: string[];
26895
+ lifecycle: string[];
26896
+ conformance: ("conformant" | "non-conformant")[];
26897
+ };
26898
+ focus: {
26899
+ direction: "both" | "upstream" | "downstream";
26900
+ roots: string[];
26901
+ maxHops: 2 | 1 | 3 | "∞";
26902
+ edgeTypes: string[];
26903
+ };
26904
+ expansion: {
26905
+ [x: string]: "expanded" | "collapsed";
26906
+ };
26907
+ style: {
26908
+ selector: string;
26909
+ style: {
26910
+ [x: string]: string;
26911
+ };
26912
+ }[];
26913
+ pins: {
26914
+ [x: string]: {
26915
+ x: number;
26916
+ y: number;
26917
+ };
26918
+ };
26919
+ interaction: "auto" | "free";
26920
+ } | null;
26155
26921
  }>;
26156
26922
  update: SchemaFn<zod.ZodObject<{
26157
26923
  orgId: zod.ZodString;
26158
26924
  projectId: zod.ZodString;
26159
26925
  id: zod.ZodString;
26160
26926
  name: zod.ZodOptional<zod.ZodString>;
26161
- config: zod.ZodOptional<zod.ZodUnknown>;
26162
26927
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
26163
26928
  x: zod.ZodNumber;
26164
26929
  y: zod.ZodNumber;
@@ -26169,26 +26934,27 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26169
26934
  x: number;
26170
26935
  y: number;
26171
26936
  }>>>>;
26937
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
26172
26938
  }, "strip", zod.ZodTypeAny, {
26173
26939
  id: string;
26174
26940
  orgId: string;
26175
26941
  projectId: string;
26176
26942
  name?: string | undefined;
26177
- config?: unknown;
26178
26943
  pinnedPositions?: Record<string, {
26179
26944
  x: number;
26180
26945
  y: number;
26181
26946
  }> | null | undefined;
26947
+ viewSpec?: unknown;
26182
26948
  }, {
26183
26949
  id: string;
26184
26950
  orgId: string;
26185
26951
  projectId: string;
26186
26952
  name?: string | undefined;
26187
- config?: unknown;
26188
26953
  pinnedPositions?: Record<string, {
26189
26954
  x: number;
26190
26955
  y: number;
26191
26956
  }> | null | undefined;
26957
+ viewSpec?: unknown;
26192
26958
  }>, {
26193
26959
  id: string;
26194
26960
  orgId: string;
@@ -26197,39 +26963,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26197
26963
  ownerUserId: string | null;
26198
26964
  name: string;
26199
26965
  isDefault: boolean;
26200
- config: {
26201
- sort: {
26202
- cells: "name" | "memberCount" | "capacityUsed";
26203
- entities: "name" | "updatedAt" | "state";
26966
+ pinnedPositions: {
26967
+ [x: string]: {
26968
+ x: number;
26969
+ y: number;
26204
26970
  };
26205
- filter: {
26971
+ } | null;
26972
+ viewSpec: {
26973
+ schemaVersion: 1;
26974
+ grouping: {
26975
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26976
+ aggregate: {
26977
+ byType: boolean;
26978
+ threshold: number;
26979
+ };
26980
+ labelKey?: string | undefined;
26981
+ };
26982
+ edges: {
26983
+ mode: "all" | "none" | "problems";
26984
+ labels: ("type" | "count")[];
26985
+ render: "refs" | "lines";
26986
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26987
+ };
26988
+ filters: {
26206
26989
  entityTypes: string[];
26207
- states: string[];
26208
26990
  labels: {
26209
26991
  [x: string]: string[];
26210
26992
  };
26993
+ cells: string[];
26994
+ relationshipTypes: string[];
26995
+ deploymentTargets: string[];
26996
+ lifecycle: string[];
26997
+ conformance: ("conformant" | "non-conformant")[];
26998
+ };
26999
+ focus: {
27000
+ direction: "both" | "upstream" | "downstream";
27001
+ roots: string[];
27002
+ maxHops: 2 | 1 | 3 | "∞";
27003
+ edgeTypes: string[];
27004
+ };
27005
+ expansion: {
27006
+ [x: string]: "expanded" | "collapsed";
27007
+ };
27008
+ style: {
27009
+ selector: string;
27010
+ style: {
27011
+ [x: string]: string;
27012
+ };
27013
+ }[];
27014
+ pins: {
27015
+ [x: string]: {
27016
+ x: number;
27017
+ y: number;
27018
+ };
26211
27019
  };
26212
- grouping: {
26213
- cellsEnabled: boolean;
26214
- partitionsEnabled: boolean;
26215
- };
26216
- cardDisplay: {
26217
- properties: string[] | "all" | "required";
26218
- showState: boolean;
26219
- inlineRelationships: boolean;
26220
- maxRelsPerCard: number;
26221
- drawEdges: boolean;
26222
- };
26223
- layout: {
26224
- mode: "auto" | "free";
26225
- positionsPinned: boolean;
26226
- };
26227
- };
26228
- pinnedPositions: {
26229
- [x: string]: {
26230
- x: number;
26231
- y: number;
26232
- };
27020
+ interaction: "auto" | "free";
26233
27021
  } | null;
26234
27022
  createdAt: string;
26235
27023
  updatedAt: string;
@@ -26270,39 +27058,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26270
27058
  ownerUserId: string | null;
26271
27059
  name: string;
26272
27060
  isDefault: boolean;
26273
- config: {
26274
- sort: {
26275
- cells: "name" | "memberCount" | "capacityUsed";
26276
- entities: "name" | "updatedAt" | "state";
27061
+ pinnedPositions: {
27062
+ [x: string]: {
27063
+ x: number;
27064
+ y: number;
27065
+ };
27066
+ } | null;
27067
+ viewSpec: {
27068
+ schemaVersion: 1;
27069
+ grouping: {
27070
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
27071
+ aggregate: {
27072
+ byType: boolean;
27073
+ threshold: number;
27074
+ };
27075
+ labelKey?: string | undefined;
27076
+ };
27077
+ edges: {
27078
+ mode: "all" | "none" | "problems";
27079
+ labels: ("type" | "count")[];
27080
+ render: "refs" | "lines";
27081
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26277
27082
  };
26278
- filter: {
27083
+ filters: {
26279
27084
  entityTypes: string[];
26280
- states: string[];
26281
27085
  labels: {
26282
27086
  [x: string]: string[];
26283
27087
  };
27088
+ cells: string[];
27089
+ relationshipTypes: string[];
27090
+ deploymentTargets: string[];
27091
+ lifecycle: string[];
27092
+ conformance: ("conformant" | "non-conformant")[];
27093
+ };
27094
+ focus: {
27095
+ direction: "both" | "upstream" | "downstream";
27096
+ roots: string[];
27097
+ maxHops: 2 | 1 | 3 | "∞";
27098
+ edgeTypes: string[];
27099
+ };
27100
+ expansion: {
27101
+ [x: string]: "expanded" | "collapsed";
27102
+ };
27103
+ style: {
27104
+ selector: string;
27105
+ style: {
27106
+ [x: string]: string;
27107
+ };
27108
+ }[];
27109
+ pins: {
27110
+ [x: string]: {
27111
+ x: number;
27112
+ y: number;
27113
+ };
26284
27114
  };
26285
- grouping: {
26286
- cellsEnabled: boolean;
26287
- partitionsEnabled: boolean;
26288
- };
26289
- cardDisplay: {
26290
- properties: string[] | "all" | "required";
26291
- showState: boolean;
26292
- inlineRelationships: boolean;
26293
- maxRelsPerCard: number;
26294
- drawEdges: boolean;
26295
- };
26296
- layout: {
26297
- mode: "auto" | "free";
26298
- positionsPinned: boolean;
26299
- };
26300
- };
26301
- pinnedPositions: {
26302
- [x: string]: {
26303
- x: number;
26304
- y: number;
26305
- };
27115
+ interaction: "auto" | "free";
26306
27116
  } | null;
26307
27117
  createdAt: string;
26308
27118
  updatedAt: string;
@@ -26847,6 +27657,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26847
27657
  };
26848
27658
  } | undefined;
26849
27659
  } | null;
27660
+ labels: {
27661
+ [x: string]: string;
27662
+ };
26850
27663
  createdAt: string;
26851
27664
  updatedAt: string;
26852
27665
  }[]>;
@@ -26916,6 +27729,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26916
27729
  };
26917
27730
  } | undefined;
26918
27731
  } | null;
27732
+ labels: {
27733
+ [x: string]: string;
27734
+ };
26919
27735
  createdAt: string;
26920
27736
  updatedAt: string;
26921
27737
  }>;
@@ -27197,6 +28013,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27197
28013
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
27198
28014
  }> | undefined;
27199
28015
  }>>;
28016
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
27200
28017
  } & {
27201
28018
  orgId: zod.ZodString;
27202
28019
  projectId: zod.ZodString;
@@ -27214,6 +28031,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27214
28031
  placementPolicy: "least-loaded" | "round-robin" | "random";
27215
28032
  parentCells: string[];
27216
28033
  displayName?: string | undefined;
28034
+ labels?: Record<string, string> | undefined;
27217
28035
  targetSelector?: {
27218
28036
  primary: {
27219
28037
  set: string;
@@ -27266,6 +28084,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27266
28084
  metric: string;
27267
28085
  aggregate: "max" | "sum" | "avg" | "min";
27268
28086
  }[] | undefined;
28087
+ labels?: Record<string, string> | undefined;
27269
28088
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
27270
28089
  parentCells?: string[] | undefined;
27271
28090
  targetSelector?: {
@@ -27320,6 +28139,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27320
28139
  metric: string;
27321
28140
  aggregate: "max" | "sum" | "avg" | "min";
27322
28141
  }[];
28142
+ labels: {
28143
+ [x: string]: string;
28144
+ };
27323
28145
  entityTypeName: string;
27324
28146
  placementPolicy: "least-loaded" | "round-robin" | "random";
27325
28147
  parentCells: string[];
@@ -27643,6 +28465,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27643
28465
  policy?: "least-loaded" | "round-robin" | "random" | undefined;
27644
28466
  }> | undefined;
27645
28467
  }>>;
28468
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
27646
28469
  } & {
27647
28470
  orgId: zod.ZodString;
27648
28471
  projectId: zod.ZodString;
@@ -27660,6 +28483,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27660
28483
  placementPolicy: "least-loaded" | "round-robin" | "random";
27661
28484
  parentCells: string[];
27662
28485
  displayName?: string | undefined;
28486
+ labels?: Record<string, string> | undefined;
27663
28487
  targetSelector?: {
27664
28488
  primary: {
27665
28489
  set: string;
@@ -27712,6 +28536,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27712
28536
  metric: string;
27713
28537
  aggregate: "max" | "sum" | "avg" | "min";
27714
28538
  }[] | undefined;
28539
+ labels?: Record<string, string> | undefined;
27715
28540
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
27716
28541
  parentCells?: string[] | undefined;
27717
28542
  targetSelector?: {
@@ -27808,6 +28633,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27808
28633
  };
27809
28634
  } | undefined;
27810
28635
  } | null;
28636
+ labels: {
28637
+ [x: string]: string;
28638
+ };
27811
28639
  createdAt: string;
27812
28640
  updatedAt: string;
27813
28641
  }>;
@@ -27930,8 +28758,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27930
28758
  envId: string;
27931
28759
  state: string;
27932
28760
  properties: hono_utils_types.JSONValue;
27933
- entityTypeName: string;
27934
28761
  labels: hono_utils_types.JSONValue;
28762
+ entityTypeName: string;
27935
28763
  lastSyncedAt: string | null;
27936
28764
  syncSource: string | null;
27937
28765
  };
@@ -27944,14 +28772,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
27944
28772
  orgId: zod.ZodString;
27945
28773
  projectId: zod.ZodString;
27946
28774
  limit: zod.ZodOptional<zod.ZodNumber>;
28775
+ before: zod.ZodOptional<zod.ZodString>;
27947
28776
  }, "strip", zod.ZodTypeAny, {
27948
28777
  orgId: string;
27949
28778
  projectId: string;
27950
28779
  limit?: number | undefined;
28780
+ before?: string | undefined;
27951
28781
  }, {
27952
28782
  orgId: string;
27953
28783
  projectId: string;
27954
28784
  limit?: number | undefined;
28785
+ before?: string | undefined;
27955
28786
  }>, {
27956
28787
  id: string;
27957
28788
  projectId: string | null;