@terrantula/sdk 0.12.0 → 0.14.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
@@ -1,5 +1,5 @@
1
- import { S as SnapshotOp, T as TokenSource, a as SchemaFn, P as ProjectNukeResponse, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-D-LiD32g.mjs';
2
- export { k as AdminAuditEvent, l as AdminGitHubInstallation, m as AdminOrgMember, n as AdminOrgProject, o as AdminOrgSummary, p as TerrantulaError, w as withSchema } from './projects-D-LiD32g.mjs';
1
+ import { S as SnapshotOp, T as TokenSource, a as SchemaFn, P as ProjectNukeResponse, O as ObservationImportResult, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-DmWHHY1a.mjs';
2
+ export { k as AdminAuditEvent, l as AdminGitHubInstallation, m as AdminOrgMember, n as AdminOrgProject, o as AdminOrgSummary, p as TerrantulaError, w as withSchema } from './projects-DmWHHY1a.mjs';
3
3
  import * as _terrantula_types from '@terrantula/types';
4
4
  export { RegistryInput, RegistryOutput } from '@terrantula/types';
5
5
  import * as zod from 'zod';
@@ -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";
@@ -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;
@@ -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,6 +2021,7 @@ 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;
@@ -1985,6 +2094,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
1985
2094
  kind: "data" | "resource" | "module";
1986
2095
  address: string;
1987
2096
  }[] | null;
2097
+ strictComposition: boolean;
1988
2098
  syncTracked: boolean;
1989
2099
  syncFreshness: {
1990
2100
  greenSeconds?: number | undefined;
@@ -2052,6 +2162,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
2052
2162
  kind: "data" | "resource" | "module";
2053
2163
  address: string;
2054
2164
  }[] | null;
2165
+ strictComposition: boolean;
2055
2166
  syncTracked: boolean;
2056
2167
  syncFreshness: {
2057
2168
  greenSeconds?: number | undefined;
@@ -2126,6 +2237,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
2126
2237
  kind: "data" | "resource" | "module";
2127
2238
  address: string;
2128
2239
  }[] | null;
2240
+ strictComposition: boolean;
2129
2241
  syncTracked: boolean;
2130
2242
  syncFreshness: {
2131
2243
  greenSeconds?: number | undefined;
@@ -2312,6 +2424,22 @@ declare const projectApp: hono_hono_base.HonoBase<{
2312
2424
  };
2313
2425
  };
2314
2426
  }, "/deployment-targets"> | hono_types.MergeSchemaPath<{
2427
+ "/:name/members": {
2428
+ $get: {
2429
+ input: {
2430
+ param: {
2431
+ name: string;
2432
+ };
2433
+ };
2434
+ output: {
2435
+ set: string;
2436
+ members: string[];
2437
+ };
2438
+ outputFormat: "json";
2439
+ status: hono_utils_http_status.ContentfulStatusCode;
2440
+ };
2441
+ };
2442
+ } & {
2315
2443
  "/": {
2316
2444
  $get: {
2317
2445
  input: {};
@@ -2861,13 +2989,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2861
2989
  }[];
2862
2990
  constraints: ({
2863
2991
  type: "property-sum";
2864
- property: string;
2992
+ fromProperty: string;
2865
2993
  leq: string;
2866
2994
  } | {
2867
2995
  type: "relationship-count";
2868
2996
  leq: string | number;
2869
2997
  })[];
2870
2998
  containment: boolean;
2999
+ derivedFrom: {
3000
+ property: string;
3001
+ targetProperty?: string | undefined;
3002
+ } | null | undefined;
3003
+ labels: {
3004
+ [x: string]: string;
3005
+ };
2871
3006
  createdAt: string;
2872
3007
  updatedAt: string;
2873
3008
  }[];
@@ -2901,14 +3036,21 @@ declare const projectApp: hono_hono_base.HonoBase<{
2901
3036
  title?: string | undefined;
2902
3037
  enum?: string[] | undefined;
2903
3038
  }[];
3039
+ derivedFrom: {
3040
+ property: string;
3041
+ targetProperty?: string | undefined;
3042
+ } | null | undefined;
2904
3043
  constraints: ({
2905
3044
  type: "property-sum";
2906
- property: string;
3045
+ fromProperty: string;
2907
3046
  leq: string;
2908
3047
  } | {
2909
3048
  type: "relationship-count";
2910
3049
  leq: string | number;
2911
3050
  })[];
3051
+ labels: {
3052
+ [x: string]: string;
3053
+ };
2912
3054
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
2913
3055
  fromEntityTypeName: string;
2914
3056
  toEntityTypeName: string;
@@ -2946,13 +3088,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2946
3088
  }[];
2947
3089
  constraints: ({
2948
3090
  type: "property-sum";
2949
- property: string;
3091
+ fromProperty: string;
2950
3092
  leq: string;
2951
3093
  } | {
2952
3094
  type: "relationship-count";
2953
3095
  leq: string | number;
2954
3096
  })[];
2955
3097
  containment: boolean;
3098
+ derivedFrom: {
3099
+ property: string;
3100
+ targetProperty?: string | undefined;
3101
+ } | null | undefined;
3102
+ labels: {
3103
+ [x: string]: string;
3104
+ };
2956
3105
  createdAt: string;
2957
3106
  updatedAt: string;
2958
3107
  };
@@ -2993,13 +3142,20 @@ declare const projectApp: hono_hono_base.HonoBase<{
2993
3142
  }[];
2994
3143
  constraints: ({
2995
3144
  type: "property-sum";
2996
- property: string;
3145
+ fromProperty: string;
2997
3146
  leq: string;
2998
3147
  } | {
2999
3148
  type: "relationship-count";
3000
3149
  leq: string | number;
3001
3150
  })[];
3002
3151
  containment: boolean;
3152
+ derivedFrom: {
3153
+ property: string;
3154
+ targetProperty?: string | undefined;
3155
+ } | null | undefined;
3156
+ labels: {
3157
+ [x: string]: string;
3158
+ };
3003
3159
  createdAt: string;
3004
3160
  updatedAt: string;
3005
3161
  };
@@ -3074,9 +3230,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
3074
3230
  addToCell?: string | undefined;
3075
3231
  createRelationship?: {
3076
3232
  relationshipType: string;
3233
+ to: string;
3077
3234
  onSuccess: string;
3078
3235
  onFailure: string;
3079
- to: string;
3080
3236
  properties?: {
3081
3237
  [x: string]: string;
3082
3238
  } | undefined;
@@ -3144,10 +3300,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3144
3300
  type: "create-relationship";
3145
3301
  from: string;
3146
3302
  relationshipType: string;
3303
+ to: string;
3147
3304
  onTrigger: string;
3148
3305
  onSuccess: string;
3149
3306
  onFailure: string;
3150
- to: string;
3151
3307
  properties?: {
3152
3308
  [x: string]: string;
3153
3309
  } | undefined;
@@ -3169,10 +3325,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3169
3325
  } | {
3170
3326
  type: "migrate-relationship";
3171
3327
  relationshipType: string;
3328
+ to: string;
3172
3329
  onTrigger: string;
3173
3330
  onSuccess: string;
3174
3331
  onFailure: string;
3175
- to: string;
3176
3332
  };
3177
3333
  trigger: {
3178
3334
  type: "webhook";
@@ -3578,9 +3734,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
3578
3734
  addToCell?: string | undefined;
3579
3735
  createRelationship?: {
3580
3736
  relationshipType: string;
3737
+ to: string;
3581
3738
  onSuccess: string;
3582
3739
  onFailure: string;
3583
- to: string;
3584
3740
  properties?: {
3585
3741
  [x: string]: string;
3586
3742
  } | undefined;
@@ -3648,10 +3804,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3648
3804
  type: "create-relationship";
3649
3805
  from: string;
3650
3806
  relationshipType: string;
3807
+ to: string;
3651
3808
  onTrigger: string;
3652
3809
  onSuccess: string;
3653
3810
  onFailure: string;
3654
- to: string;
3655
3811
  properties?: {
3656
3812
  [x: string]: string;
3657
3813
  } | undefined;
@@ -3673,10 +3829,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
3673
3829
  } | {
3674
3830
  type: "migrate-relationship";
3675
3831
  relationshipType: string;
3832
+ to: string;
3676
3833
  onTrigger: string;
3677
3834
  onSuccess: string;
3678
3835
  onFailure: string;
3679
- to: string;
3680
3836
  };
3681
3837
  trigger: {
3682
3838
  type: "webhook";
@@ -4081,9 +4237,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
4081
4237
  addToCell?: string | undefined;
4082
4238
  createRelationship?: {
4083
4239
  relationshipType: string;
4240
+ to: string;
4084
4241
  onSuccess: string;
4085
4242
  onFailure: string;
4086
- to: string;
4087
4243
  properties?: {
4088
4244
  [x: string]: string;
4089
4245
  } | undefined;
@@ -4151,10 +4307,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4151
4307
  type: "create-relationship";
4152
4308
  from: string;
4153
4309
  relationshipType: string;
4310
+ to: string;
4154
4311
  onTrigger: string;
4155
4312
  onSuccess: string;
4156
4313
  onFailure: string;
4157
- to: string;
4158
4314
  properties?: {
4159
4315
  [x: string]: string;
4160
4316
  } | undefined;
@@ -4176,10 +4332,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4176
4332
  } | {
4177
4333
  type: "migrate-relationship";
4178
4334
  relationshipType: string;
4335
+ to: string;
4179
4336
  onTrigger: string;
4180
4337
  onSuccess: string;
4181
4338
  onFailure: string;
4182
- to: string;
4183
4339
  };
4184
4340
  trigger: {
4185
4341
  type: "webhook";
@@ -4589,9 +4745,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
4589
4745
  addToCell?: string | undefined;
4590
4746
  createRelationship?: {
4591
4747
  relationshipType: string;
4748
+ to: string;
4592
4749
  onSuccess: string;
4593
4750
  onFailure: string;
4594
- to: string;
4595
4751
  properties?: {
4596
4752
  [x: string]: string;
4597
4753
  } | undefined;
@@ -4659,10 +4815,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4659
4815
  type: "create-relationship";
4660
4816
  from: string;
4661
4817
  relationshipType: string;
4818
+ to: string;
4662
4819
  onTrigger: string;
4663
4820
  onSuccess: string;
4664
4821
  onFailure: string;
4665
- to: string;
4666
4822
  properties?: {
4667
4823
  [x: string]: string;
4668
4824
  } | undefined;
@@ -4684,10 +4840,10 @@ declare const projectApp: hono_hono_base.HonoBase<{
4684
4840
  } | {
4685
4841
  type: "migrate-relationship";
4686
4842
  relationshipType: string;
4843
+ to: string;
4687
4844
  onTrigger: string;
4688
4845
  onSuccess: string;
4689
4846
  onFailure: string;
4690
- to: string;
4691
4847
  };
4692
4848
  trigger: {
4693
4849
  type: "webhook";
@@ -5147,41 +5303,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5147
5303
  ownerUserId: string | null;
5148
5304
  name: string;
5149
5305
  isDefault: boolean;
5150
- config: {
5151
- sort: {
5152
- cells: "name" | "memberCount" | "capacityUsed";
5153
- entities: "name" | "updatedAt" | "state";
5306
+ pinnedPositions: {
5307
+ [x: string]: {
5308
+ x: number;
5309
+ y: number;
5310
+ };
5311
+ } | null;
5312
+ viewSpec: {
5313
+ schemaVersion: 1;
5314
+ grouping: {
5315
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5316
+ aggregate: {
5317
+ byType: boolean;
5318
+ threshold: number;
5319
+ };
5320
+ labelKey?: string | undefined;
5154
5321
  };
5155
- filter: {
5322
+ edges: {
5323
+ mode: "all" | "none" | "problems";
5324
+ labels: ("type" | "count")[];
5325
+ render: "refs" | "lines";
5326
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5327
+ };
5328
+ filters: {
5156
5329
  entityTypes: string[];
5157
- states: string[];
5158
5330
  labels: {
5159
5331
  [x: string]: string[];
5160
5332
  };
5161
- relationshipTypes?: string[] | undefined;
5162
- cellNames?: string[] | undefined;
5163
- };
5164
- grouping: {
5165
- cellsEnabled: boolean;
5166
- partitionsEnabled: boolean;
5333
+ cells: string[];
5334
+ relationshipTypes: string[];
5335
+ deploymentTargets: string[];
5336
+ lifecycle: string[];
5337
+ conformance: ("conformant" | "non-conformant")[];
5167
5338
  };
5168
- cardDisplay: {
5169
- properties: string[] | "all" | "required";
5170
- showState: boolean;
5171
- inlineRelationships: boolean;
5172
- maxRelsPerCard: number;
5173
- drawEdges: boolean;
5339
+ focus: {
5340
+ direction: "both" | "upstream" | "downstream";
5341
+ roots: string[];
5342
+ maxHops: 2 | 1 | 3 | "∞";
5343
+ edgeTypes: string[];
5174
5344
  };
5175
- layout: {
5176
- mode: "auto" | "free";
5177
- positionsPinned: boolean;
5345
+ expansion: {
5346
+ [x: string]: "expanded" | "collapsed";
5178
5347
  };
5179
- };
5180
- pinnedPositions: {
5181
- [x: string]: {
5182
- x: number;
5183
- y: number;
5348
+ style: {
5349
+ selector: string;
5350
+ style: {
5351
+ [x: string]: string;
5352
+ };
5353
+ }[];
5354
+ pins: {
5355
+ [x: string]: {
5356
+ x: number;
5357
+ y: number;
5358
+ };
5184
5359
  };
5360
+ interaction: "auto" | "free";
5185
5361
  } | null;
5186
5362
  createdAt: string;
5187
5363
  updatedAt: string;
@@ -5202,41 +5378,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5202
5378
  ownerUserId: string | null;
5203
5379
  name: string;
5204
5380
  isDefault: boolean;
5205
- config: {
5206
- sort: {
5207
- cells: "name" | "memberCount" | "capacityUsed";
5208
- entities: "name" | "updatedAt" | "state";
5381
+ pinnedPositions: {
5382
+ [x: string]: {
5383
+ x: number;
5384
+ y: number;
5209
5385
  };
5210
- filter: {
5386
+ } | null;
5387
+ viewSpec: {
5388
+ schemaVersion: 1;
5389
+ grouping: {
5390
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5391
+ aggregate: {
5392
+ byType: boolean;
5393
+ threshold: number;
5394
+ };
5395
+ labelKey?: string | undefined;
5396
+ };
5397
+ edges: {
5398
+ mode: "all" | "none" | "problems";
5399
+ labels: ("type" | "count")[];
5400
+ render: "refs" | "lines";
5401
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5402
+ };
5403
+ filters: {
5211
5404
  entityTypes: string[];
5212
- states: string[];
5213
5405
  labels: {
5214
5406
  [x: string]: string[];
5215
5407
  };
5216
- relationshipTypes?: string[] | undefined;
5217
- cellNames?: string[] | undefined;
5218
- };
5219
- grouping: {
5220
- cellsEnabled: boolean;
5221
- partitionsEnabled: boolean;
5408
+ cells: string[];
5409
+ relationshipTypes: string[];
5410
+ deploymentTargets: string[];
5411
+ lifecycle: string[];
5412
+ conformance: ("conformant" | "non-conformant")[];
5222
5413
  };
5223
- cardDisplay: {
5224
- properties: string[] | "all" | "required";
5225
- showState: boolean;
5226
- inlineRelationships: boolean;
5227
- maxRelsPerCard: number;
5228
- drawEdges: boolean;
5414
+ focus: {
5415
+ direction: "both" | "upstream" | "downstream";
5416
+ roots: string[];
5417
+ maxHops: 2 | 1 | 3 | "∞";
5418
+ edgeTypes: string[];
5229
5419
  };
5230
- layout: {
5231
- mode: "auto" | "free";
5232
- positionsPinned: boolean;
5420
+ expansion: {
5421
+ [x: string]: "expanded" | "collapsed";
5233
5422
  };
5234
- };
5235
- pinnedPositions: {
5236
- [x: string]: {
5237
- x: number;
5238
- y: number;
5423
+ style: {
5424
+ selector: string;
5425
+ style: {
5426
+ [x: string]: string;
5427
+ };
5428
+ }[];
5429
+ pins: {
5430
+ [x: string]: {
5431
+ x: number;
5432
+ y: number;
5433
+ };
5239
5434
  };
5435
+ interaction: "auto" | "free";
5240
5436
  } | null;
5241
5437
  createdAt: string;
5242
5438
  updatedAt: string;
@@ -5253,37 +5449,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
5253
5449
  ownerUserId: null;
5254
5450
  name: string;
5255
5451
  isDefault: true;
5256
- config: {
5257
- sort: {
5258
- cells: "name" | "memberCount" | "capacityUsed";
5259
- entities: "name" | "updatedAt" | "state";
5260
- };
5261
- filter: {
5262
- entityTypes: string[];
5263
- states: string[];
5264
- labels: {
5265
- [x: string]: string[];
5266
- };
5267
- relationshipTypes?: string[] | undefined;
5268
- cellNames?: string[] | undefined;
5269
- };
5270
- grouping: {
5271
- cellsEnabled: boolean;
5272
- partitionsEnabled: boolean;
5273
- };
5274
- cardDisplay: {
5275
- properties: string[] | "all" | "required";
5276
- showState: boolean;
5277
- inlineRelationships: boolean;
5278
- maxRelsPerCard: number;
5279
- drawEdges: boolean;
5280
- };
5281
- layout: {
5282
- mode: "auto" | "free";
5283
- positionsPinned: boolean;
5284
- };
5285
- };
5286
5452
  pinnedPositions: null;
5453
+ viewSpec: null;
5287
5454
  };
5288
5455
  outputFormat: "json";
5289
5456
  status: hono_utils_http_status.ContentfulStatusCode;
@@ -5305,41 +5472,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5305
5472
  ownerUserId: string | null;
5306
5473
  name: string;
5307
5474
  isDefault: boolean;
5308
- config: {
5309
- sort: {
5310
- cells: "name" | "memberCount" | "capacityUsed";
5311
- entities: "name" | "updatedAt" | "state";
5312
- };
5313
- filter: {
5314
- entityTypes: string[];
5315
- states: string[];
5475
+ pinnedPositions: {
5476
+ [x: string]: {
5477
+ x: number;
5478
+ y: number;
5479
+ };
5480
+ } | null;
5481
+ viewSpec: {
5482
+ schemaVersion: 1;
5483
+ grouping: {
5484
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5485
+ aggregate: {
5486
+ byType: boolean;
5487
+ threshold: number;
5488
+ };
5489
+ labelKey?: string | undefined;
5490
+ };
5491
+ edges: {
5492
+ mode: "all" | "none" | "problems";
5493
+ labels: ("type" | "count")[];
5494
+ render: "refs" | "lines";
5495
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5496
+ };
5497
+ filters: {
5498
+ entityTypes: string[];
5316
5499
  labels: {
5317
5500
  [x: string]: string[];
5318
5501
  };
5319
- relationshipTypes?: string[] | undefined;
5320
- cellNames?: string[] | undefined;
5321
- };
5322
- grouping: {
5323
- cellsEnabled: boolean;
5324
- partitionsEnabled: boolean;
5502
+ cells: string[];
5503
+ relationshipTypes: string[];
5504
+ deploymentTargets: string[];
5505
+ lifecycle: string[];
5506
+ conformance: ("conformant" | "non-conformant")[];
5325
5507
  };
5326
- cardDisplay: {
5327
- properties: string[] | "all" | "required";
5328
- showState: boolean;
5329
- inlineRelationships: boolean;
5330
- maxRelsPerCard: number;
5331
- drawEdges: boolean;
5508
+ focus: {
5509
+ direction: "both" | "upstream" | "downstream";
5510
+ roots: string[];
5511
+ maxHops: 2 | 1 | 3 | "∞";
5512
+ edgeTypes: string[];
5332
5513
  };
5333
- layout: {
5334
- mode: "auto" | "free";
5335
- positionsPinned: boolean;
5514
+ expansion: {
5515
+ [x: string]: "expanded" | "collapsed";
5336
5516
  };
5337
- };
5338
- pinnedPositions: {
5339
- [x: string]: {
5340
- x: number;
5341
- y: number;
5517
+ style: {
5518
+ selector: string;
5519
+ style: {
5520
+ [x: string]: string;
5521
+ };
5522
+ }[];
5523
+ pins: {
5524
+ [x: string]: {
5525
+ x: number;
5526
+ y: number;
5527
+ };
5342
5528
  };
5529
+ interaction: "auto" | "free";
5343
5530
  } | null;
5344
5531
  createdAt: string;
5345
5532
  updatedAt: string;
@@ -5366,42 +5553,62 @@ declare const projectApp: hono_hono_base.HonoBase<{
5366
5553
  projectId: string;
5367
5554
  isDefault: boolean;
5368
5555
  scope: "user" | "project";
5369
- config: {
5370
- sort: {
5371
- cells: "name" | "memberCount" | "capacityUsed";
5372
- entities: "name" | "updatedAt" | "state";
5556
+ ownerUserId: string | null;
5557
+ pinnedPositions: {
5558
+ [x: string]: {
5559
+ x: number;
5560
+ y: number;
5561
+ };
5562
+ } | null;
5563
+ viewSpec: {
5564
+ schemaVersion: 1;
5565
+ grouping: {
5566
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5567
+ aggregate: {
5568
+ byType: boolean;
5569
+ threshold: number;
5570
+ };
5571
+ labelKey?: string | undefined;
5572
+ };
5573
+ edges: {
5574
+ mode: "all" | "none" | "problems";
5575
+ labels: ("type" | "count")[];
5576
+ render: "refs" | "lines";
5577
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5373
5578
  };
5374
- filter: {
5579
+ filters: {
5375
5580
  entityTypes: string[];
5376
- states: string[];
5377
5581
  labels: {
5378
5582
  [x: string]: string[];
5379
5583
  };
5380
- relationshipTypes?: string[] | undefined;
5381
- cellNames?: string[] | undefined;
5382
- };
5383
- grouping: {
5384
- cellsEnabled: boolean;
5385
- partitionsEnabled: boolean;
5584
+ cells: string[];
5585
+ relationshipTypes: string[];
5586
+ deploymentTargets: string[];
5587
+ lifecycle: string[];
5588
+ conformance: ("conformant" | "non-conformant")[];
5386
5589
  };
5387
- cardDisplay: {
5388
- properties: string[] | "all" | "required";
5389
- showState: boolean;
5390
- inlineRelationships: boolean;
5391
- maxRelsPerCard: number;
5392
- drawEdges: boolean;
5590
+ focus: {
5591
+ direction: "both" | "upstream" | "downstream";
5592
+ roots: string[];
5593
+ maxHops: 2 | 1 | 3 | "∞";
5594
+ edgeTypes: string[];
5393
5595
  };
5394
- layout: {
5395
- mode: "auto" | "free";
5396
- positionsPinned: boolean;
5596
+ expansion: {
5597
+ [x: string]: "expanded" | "collapsed";
5397
5598
  };
5398
- };
5399
- ownerUserId: string | null;
5400
- pinnedPositions: {
5401
- [x: string]: {
5402
- x: number;
5403
- y: number;
5599
+ style: {
5600
+ selector: string;
5601
+ style: {
5602
+ [x: string]: string;
5603
+ };
5604
+ }[];
5605
+ pins: {
5606
+ [x: string]: {
5607
+ x: number;
5608
+ y: number;
5609
+ };
5404
5610
  };
5611
+ interaction: "auto" | "free";
5405
5612
  } | null;
5406
5613
  };
5407
5614
  outputFormat: "json";
@@ -5429,41 +5636,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5429
5636
  ownerUserId: string | null;
5430
5637
  name: string;
5431
5638
  isDefault: boolean;
5432
- config: {
5433
- sort: {
5434
- cells: "name" | "memberCount" | "capacityUsed";
5435
- entities: "name" | "updatedAt" | "state";
5639
+ pinnedPositions: {
5640
+ [x: string]: {
5641
+ x: number;
5642
+ y: number;
5643
+ };
5644
+ } | null;
5645
+ viewSpec: {
5646
+ schemaVersion: 1;
5647
+ grouping: {
5648
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5649
+ aggregate: {
5650
+ byType: boolean;
5651
+ threshold: number;
5652
+ };
5653
+ labelKey?: string | undefined;
5436
5654
  };
5437
- filter: {
5655
+ edges: {
5656
+ mode: "all" | "none" | "problems";
5657
+ labels: ("type" | "count")[];
5658
+ render: "refs" | "lines";
5659
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5660
+ };
5661
+ filters: {
5438
5662
  entityTypes: string[];
5439
- states: string[];
5440
5663
  labels: {
5441
5664
  [x: string]: string[];
5442
5665
  };
5443
- relationshipTypes?: string[] | undefined;
5444
- cellNames?: string[] | undefined;
5445
- };
5446
- grouping: {
5447
- cellsEnabled: boolean;
5448
- partitionsEnabled: boolean;
5666
+ cells: string[];
5667
+ relationshipTypes: string[];
5668
+ deploymentTargets: string[];
5669
+ lifecycle: string[];
5670
+ conformance: ("conformant" | "non-conformant")[];
5449
5671
  };
5450
- cardDisplay: {
5451
- properties: string[] | "all" | "required";
5452
- showState: boolean;
5453
- inlineRelationships: boolean;
5454
- maxRelsPerCard: number;
5455
- drawEdges: boolean;
5672
+ focus: {
5673
+ direction: "both" | "upstream" | "downstream";
5674
+ roots: string[];
5675
+ maxHops: 2 | 1 | 3 | "∞";
5676
+ edgeTypes: string[];
5456
5677
  };
5457
- layout: {
5458
- mode: "auto" | "free";
5459
- positionsPinned: boolean;
5678
+ expansion: {
5679
+ [x: string]: "expanded" | "collapsed";
5460
5680
  };
5461
- };
5462
- pinnedPositions: {
5463
- [x: string]: {
5464
- x: number;
5465
- y: number;
5681
+ style: {
5682
+ selector: string;
5683
+ style: {
5684
+ [x: string]: string;
5685
+ };
5686
+ }[];
5687
+ pins: {
5688
+ [x: string]: {
5689
+ x: number;
5690
+ y: number;
5691
+ };
5466
5692
  };
5693
+ interaction: "auto" | "free";
5467
5694
  } | null;
5468
5695
  createdAt: string;
5469
5696
  updatedAt: string;
@@ -5504,41 +5731,61 @@ declare const projectApp: hono_hono_base.HonoBase<{
5504
5731
  ownerUserId: string | null;
5505
5732
  name: string;
5506
5733
  isDefault: boolean;
5507
- config: {
5508
- sort: {
5509
- cells: "name" | "memberCount" | "capacityUsed";
5510
- entities: "name" | "updatedAt" | "state";
5734
+ pinnedPositions: {
5735
+ [x: string]: {
5736
+ x: number;
5737
+ y: number;
5738
+ };
5739
+ } | null;
5740
+ viewSpec: {
5741
+ schemaVersion: 1;
5742
+ grouping: {
5743
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
5744
+ aggregate: {
5745
+ byType: boolean;
5746
+ threshold: number;
5747
+ };
5748
+ labelKey?: string | undefined;
5511
5749
  };
5512
- filter: {
5750
+ edges: {
5751
+ mode: "all" | "none" | "problems";
5752
+ labels: ("type" | "count")[];
5753
+ render: "refs" | "lines";
5754
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
5755
+ };
5756
+ filters: {
5513
5757
  entityTypes: string[];
5514
- states: string[];
5515
5758
  labels: {
5516
5759
  [x: string]: string[];
5517
5760
  };
5518
- relationshipTypes?: string[] | undefined;
5519
- cellNames?: string[] | undefined;
5520
- };
5521
- grouping: {
5522
- cellsEnabled: boolean;
5523
- partitionsEnabled: boolean;
5761
+ cells: string[];
5762
+ relationshipTypes: string[];
5763
+ deploymentTargets: string[];
5764
+ lifecycle: string[];
5765
+ conformance: ("conformant" | "non-conformant")[];
5524
5766
  };
5525
- cardDisplay: {
5526
- properties: string[] | "all" | "required";
5527
- showState: boolean;
5528
- inlineRelationships: boolean;
5529
- maxRelsPerCard: number;
5530
- drawEdges: boolean;
5767
+ focus: {
5768
+ direction: "both" | "upstream" | "downstream";
5769
+ roots: string[];
5770
+ maxHops: 2 | 1 | 3 | "∞";
5771
+ edgeTypes: string[];
5531
5772
  };
5532
- layout: {
5533
- mode: "auto" | "free";
5534
- positionsPinned: boolean;
5773
+ expansion: {
5774
+ [x: string]: "expanded" | "collapsed";
5535
5775
  };
5536
- };
5537
- pinnedPositions: {
5538
- [x: string]: {
5539
- x: number;
5540
- y: number;
5776
+ style: {
5777
+ selector: string;
5778
+ style: {
5779
+ [x: string]: string;
5780
+ };
5781
+ }[];
5782
+ pins: {
5783
+ [x: string]: {
5784
+ x: number;
5785
+ y: number;
5786
+ };
5541
5787
  };
5788
+ interaction: "auto" | "free";
5542
5789
  } | null;
5543
5790
  createdAt: string;
5544
5791
  updatedAt: string;
@@ -8147,6 +8394,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8147
8394
  kind: "data" | "resource" | "module";
8148
8395
  address: string;
8149
8396
  }[] | null;
8397
+ strictComposition: boolean;
8150
8398
  syncTracked: boolean;
8151
8399
  syncFreshness: {
8152
8400
  greenSeconds?: number | undefined;
@@ -8216,6 +8464,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8216
8464
  kind: "data" | "resource" | "module";
8217
8465
  address: string;
8218
8466
  }[] | null;
8467
+ strictComposition: boolean;
8219
8468
  syncTracked: boolean;
8220
8469
  syncFreshness: {
8221
8470
  greenSeconds?: number | undefined;
@@ -8378,6 +8627,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8378
8627
  kind: "data" | "resource" | "module";
8379
8628
  address: string;
8380
8629
  }>, "many">>;
8630
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
8381
8631
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8382
8632
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8383
8633
  } & {
@@ -8427,6 +8677,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8427
8677
  kind: "data" | "resource" | "module";
8428
8678
  address: string;
8429
8679
  }[] | undefined;
8680
+ strictComposition?: boolean | undefined;
8430
8681
  syncFreshness?: {
8431
8682
  greenSeconds?: number | undefined;
8432
8683
  yellowSeconds?: number | undefined;
@@ -8477,6 +8728,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8477
8728
  kind: "data" | "resource" | "module";
8478
8729
  address: string;
8479
8730
  }[] | undefined;
8731
+ strictComposition?: boolean | undefined;
8480
8732
  syncTracked?: boolean | undefined;
8481
8733
  syncFreshness?: {
8482
8734
  greenSeconds?: number | undefined;
@@ -8529,6 +8781,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8529
8781
  kind: "data" | "resource" | "module";
8530
8782
  address: string;
8531
8783
  }[] | null;
8784
+ strictComposition: boolean;
8532
8785
  syncTracked: boolean;
8533
8786
  syncFreshness: {
8534
8787
  greenSeconds?: number | undefined;
@@ -8689,6 +8942,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8689
8942
  kind: "data" | "resource" | "module";
8690
8943
  address: string;
8691
8944
  }>, "many">>;
8945
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
8692
8946
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8693
8947
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8694
8948
  } & {
@@ -8738,6 +8992,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8738
8992
  kind: "data" | "resource" | "module";
8739
8993
  address: string;
8740
8994
  }[] | undefined;
8995
+ strictComposition?: boolean | undefined;
8741
8996
  syncFreshness?: {
8742
8997
  greenSeconds?: number | undefined;
8743
8998
  yellowSeconds?: number | undefined;
@@ -8788,6 +9043,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8788
9043
  kind: "data" | "resource" | "module";
8789
9044
  address: string;
8790
9045
  }[] | undefined;
9046
+ strictComposition?: boolean | undefined;
8791
9047
  syncTracked?: boolean | undefined;
8792
9048
  syncFreshness?: {
8793
9049
  greenSeconds?: number | undefined;
@@ -8838,6 +9094,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8838
9094
  kind: "data" | "resource" | "module";
8839
9095
  address: string;
8840
9096
  }[] | null;
9097
+ strictComposition: boolean;
8841
9098
  syncTracked: boolean;
8842
9099
  syncFreshness: {
8843
9100
  greenSeconds?: number | undefined;
@@ -9202,6 +9459,22 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9202
9459
  deleted: true;
9203
9460
  name: string;
9204
9461
  }>;
9462
+ listMembers: SchemaFn<zod.ZodObject<{
9463
+ orgId: zod.ZodString;
9464
+ projectId: zod.ZodString;
9465
+ name: zod.ZodString;
9466
+ }, "strip", zod.ZodTypeAny, {
9467
+ name: string;
9468
+ orgId: string;
9469
+ projectId: string;
9470
+ }, {
9471
+ name: string;
9472
+ orgId: string;
9473
+ projectId: string;
9474
+ }>, {
9475
+ set: string;
9476
+ members: string[];
9477
+ }>;
9205
9478
  };
9206
9479
  entities: {
9207
9480
  list: SchemaFn<zod.ZodObject<{
@@ -9515,7 +9788,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9515
9788
  orgId: string;
9516
9789
  projectId: string;
9517
9790
  envName: string;
9518
- }>, {
9791
+ }>, ({
9792
+ origin: "explicit";
9519
9793
  fromEntityName: string;
9520
9794
  toEntityName: string;
9521
9795
  id: string;
@@ -9523,7 +9797,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9523
9797
  fromEntityId: string;
9524
9798
  toEntityId: string;
9525
9799
  state: string;
9526
- properties: hono_utils_types.JSONValue;
9527
9800
  labels: hono_utils_types.JSONValue;
9528
9801
  createdAt: string;
9529
9802
  updatedAt: string;
@@ -9532,7 +9805,25 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9532
9805
  envId: string;
9533
9806
  deletionScheduledAt: string | null;
9534
9807
  deletionGracePeriodSeconds: number | null;
9535
- }[]>;
9808
+ } | {
9809
+ id: null;
9810
+ relationshipTypeName: string;
9811
+ fromEntityName: string;
9812
+ toEntityName: string;
9813
+ origin: "derived" | "explicit";
9814
+ state: string | null;
9815
+ labels: {
9816
+ [x: string]: string;
9817
+ };
9818
+ fromEntityId: null;
9819
+ toEntityId: null;
9820
+ envId: null;
9821
+ orgId: null;
9822
+ projectId: null;
9823
+ createdAt: null;
9824
+ updatedAt: null;
9825
+ deletionScheduledAt: null;
9826
+ })[]>;
9536
9827
  syncStamp: SchemaFn<zod.ZodObject<{
9537
9828
  orgId: zod.ZodString;
9538
9829
  projectId: zod.ZodString;
@@ -10765,13 +11056,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10765
11056
  }[];
10766
11057
  constraints: ({
10767
11058
  type: "property-sum";
10768
- property: string;
11059
+ fromProperty: string;
10769
11060
  leq: string;
10770
11061
  } | {
10771
11062
  type: "relationship-count";
10772
11063
  leq: string | number;
10773
11064
  })[];
10774
11065
  containment: boolean;
11066
+ derivedFrom: {
11067
+ property: string;
11068
+ targetProperty?: string | undefined;
11069
+ } | null | undefined;
11070
+ labels: {
11071
+ [x: string]: string;
11072
+ };
10775
11073
  createdAt: string;
10776
11074
  updatedAt: string;
10777
11075
  }[]>;
@@ -10807,13 +11105,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10807
11105
  }[];
10808
11106
  constraints: ({
10809
11107
  type: "property-sum";
10810
- property: string;
11108
+ fromProperty: string;
10811
11109
  leq: string;
10812
11110
  } | {
10813
11111
  type: "relationship-count";
10814
11112
  leq: string | number;
10815
11113
  })[];
10816
11114
  containment: boolean;
11115
+ derivedFrom: {
11116
+ property: string;
11117
+ targetProperty?: string | undefined;
11118
+ } | null | undefined;
11119
+ labels: {
11120
+ [x: string]: string;
11121
+ };
10817
11122
  createdAt: string;
10818
11123
  updatedAt: string;
10819
11124
  }>;
@@ -10824,7 +11129,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10824
11129
  from: zod.ZodString;
10825
11130
  to: zod.ZodString;
10826
11131
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
10827
- states: zod.ZodArray<zod.ZodString, "many">;
11132
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10828
11133
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10829
11134
  name: zod.ZodString;
10830
11135
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -10851,17 +11156,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10851
11156
  enum?: string[] | undefined;
10852
11157
  }>, "many">>>;
10853
11158
  containment: zod.ZodOptional<zod.ZodBoolean>;
11159
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
11160
+ property: zod.ZodString;
11161
+ targetProperty: zod.ZodOptional<zod.ZodString>;
11162
+ }, "strip", zod.ZodTypeAny, {
11163
+ property: string;
11164
+ targetProperty?: string | undefined;
11165
+ }, {
11166
+ property: string;
11167
+ targetProperty?: string | undefined;
11168
+ }>>;
11169
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10854
11170
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
10855
11171
  type: zod.ZodLiteral<"property-sum">;
10856
- property: zod.ZodString;
11172
+ fromProperty: zod.ZodString;
10857
11173
  leq: zod.ZodString;
10858
11174
  }, "strip", zod.ZodTypeAny, {
10859
11175
  type: "property-sum";
10860
- property: string;
11176
+ fromProperty: string;
10861
11177
  leq: string;
10862
11178
  }, {
10863
11179
  type: "property-sum";
10864
- property: string;
11180
+ fromProperty: string;
10865
11181
  leq: string;
10866
11182
  }>, zod.ZodObject<{
10867
11183
  type: zod.ZodLiteral<"relationship-count">;
@@ -10893,7 +11209,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10893
11209
  }[];
10894
11210
  constraints: ({
10895
11211
  type: "property-sum";
10896
- property: string;
11212
+ fromProperty: string;
10897
11213
  leq: string;
10898
11214
  } | {
10899
11215
  type: "relationship-count";
@@ -10903,16 +11219,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10903
11219
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10904
11220
  to: string;
10905
11221
  displayName?: string | undefined;
11222
+ derivedFrom?: {
11223
+ property: string;
11224
+ targetProperty?: string | undefined;
11225
+ } | undefined;
11226
+ labels?: Record<string, string> | undefined;
10906
11227
  containment?: boolean | undefined;
10907
11228
  }, {
10908
11229
  name: string;
10909
11230
  from: string;
10910
11231
  orgId: string;
10911
11232
  projectId: string;
10912
- states: string[];
10913
11233
  kind: "RelationshipType";
10914
11234
  to: string;
10915
11235
  displayName?: string | undefined;
11236
+ states?: string[] | undefined;
10916
11237
  properties?: {
10917
11238
  name: string;
10918
11239
  type: "string" | "number" | "boolean" | "integer";
@@ -10922,14 +11243,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10922
11243
  title?: string | undefined;
10923
11244
  enum?: string[] | undefined;
10924
11245
  }[] | undefined;
11246
+ derivedFrom?: {
11247
+ property: string;
11248
+ targetProperty?: string | undefined;
11249
+ } | undefined;
10925
11250
  constraints?: ({
10926
11251
  type: "property-sum";
10927
- property: string;
11252
+ fromProperty: string;
10928
11253
  leq: string;
10929
11254
  } | {
10930
11255
  type: "relationship-count";
10931
11256
  leq: string | number;
10932
11257
  })[] | undefined;
11258
+ labels?: Record<string, string> | undefined;
10933
11259
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
10934
11260
  containment?: boolean | undefined;
10935
11261
  }>, {
@@ -10949,14 +11275,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10949
11275
  title?: string | undefined;
10950
11276
  enum?: string[] | undefined;
10951
11277
  }[];
11278
+ derivedFrom: {
11279
+ property: string;
11280
+ targetProperty?: string | undefined;
11281
+ } | null | undefined;
10952
11282
  constraints: ({
10953
11283
  type: "property-sum";
10954
- property: string;
11284
+ fromProperty: string;
10955
11285
  leq: string;
10956
11286
  } | {
10957
11287
  type: "relationship-count";
10958
11288
  leq: string | number;
10959
11289
  })[];
11290
+ labels: {
11291
+ [x: string]: string;
11292
+ };
10960
11293
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
10961
11294
  fromEntityTypeName: string;
10962
11295
  toEntityTypeName: string;
@@ -10969,7 +11302,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10969
11302
  from: zod.ZodString;
10970
11303
  to: zod.ZodString;
10971
11304
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
10972
- states: zod.ZodArray<zod.ZodString, "many">;
11305
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10973
11306
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10974
11307
  name: zod.ZodString;
10975
11308
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -10996,17 +11329,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10996
11329
  enum?: string[] | undefined;
10997
11330
  }>, "many">>>;
10998
11331
  containment: zod.ZodOptional<zod.ZodBoolean>;
11332
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
11333
+ property: zod.ZodString;
11334
+ targetProperty: zod.ZodOptional<zod.ZodString>;
11335
+ }, "strip", zod.ZodTypeAny, {
11336
+ property: string;
11337
+ targetProperty?: string | undefined;
11338
+ }, {
11339
+ property: string;
11340
+ targetProperty?: string | undefined;
11341
+ }>>;
11342
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10999
11343
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
11000
11344
  type: zod.ZodLiteral<"property-sum">;
11001
- property: zod.ZodString;
11345
+ fromProperty: zod.ZodString;
11002
11346
  leq: zod.ZodString;
11003
11347
  }, "strip", zod.ZodTypeAny, {
11004
11348
  type: "property-sum";
11005
- property: string;
11349
+ fromProperty: string;
11006
11350
  leq: string;
11007
11351
  }, {
11008
11352
  type: "property-sum";
11009
- property: string;
11353
+ fromProperty: string;
11010
11354
  leq: string;
11011
11355
  }>, zod.ZodObject<{
11012
11356
  type: zod.ZodLiteral<"relationship-count">;
@@ -11038,7 +11382,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11038
11382
  }[];
11039
11383
  constraints: ({
11040
11384
  type: "property-sum";
11041
- property: string;
11385
+ fromProperty: string;
11042
11386
  leq: string;
11043
11387
  } | {
11044
11388
  type: "relationship-count";
@@ -11048,16 +11392,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11048
11392
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
11049
11393
  to: string;
11050
11394
  displayName?: string | undefined;
11395
+ derivedFrom?: {
11396
+ property: string;
11397
+ targetProperty?: string | undefined;
11398
+ } | undefined;
11399
+ labels?: Record<string, string> | undefined;
11051
11400
  containment?: boolean | undefined;
11052
11401
  }, {
11053
11402
  name: string;
11054
11403
  from: string;
11055
11404
  orgId: string;
11056
11405
  projectId: string;
11057
- states: string[];
11058
11406
  kind: "RelationshipType";
11059
11407
  to: string;
11060
11408
  displayName?: string | undefined;
11409
+ states?: string[] | undefined;
11061
11410
  properties?: {
11062
11411
  name: string;
11063
11412
  type: "string" | "number" | "boolean" | "integer";
@@ -11067,14 +11416,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11067
11416
  title?: string | undefined;
11068
11417
  enum?: string[] | undefined;
11069
11418
  }[] | undefined;
11419
+ derivedFrom?: {
11420
+ property: string;
11421
+ targetProperty?: string | undefined;
11422
+ } | undefined;
11070
11423
  constraints?: ({
11071
11424
  type: "property-sum";
11072
- property: string;
11425
+ fromProperty: string;
11073
11426
  leq: string;
11074
11427
  } | {
11075
11428
  type: "relationship-count";
11076
11429
  leq: string | number;
11077
11430
  })[] | undefined;
11431
+ labels?: Record<string, string> | undefined;
11078
11432
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
11079
11433
  containment?: boolean | undefined;
11080
11434
  }>, {
@@ -11097,13 +11451,20 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11097
11451
  }[];
11098
11452
  constraints: ({
11099
11453
  type: "property-sum";
11100
- property: string;
11454
+ fromProperty: string;
11101
11455
  leq: string;
11102
11456
  } | {
11103
11457
  type: "relationship-count";
11104
11458
  leq: string | number;
11105
11459
  })[];
11106
11460
  containment: boolean;
11461
+ derivedFrom: {
11462
+ property: string;
11463
+ targetProperty?: string | undefined;
11464
+ } | null | undefined;
11465
+ labels: {
11466
+ [x: string]: string;
11467
+ };
11107
11468
  createdAt: string;
11108
11469
  updatedAt: string;
11109
11470
  }>;
@@ -11161,7 +11522,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11161
11522
  toEntity?: string | undefined;
11162
11523
  fromEntityCell?: string | undefined;
11163
11524
  toEntityCell?: string | undefined;
11164
- }>, {
11525
+ }>, ({
11526
+ origin: "explicit";
11165
11527
  fromEntityName: string;
11166
11528
  toEntityName: string;
11167
11529
  id: string;
@@ -11169,7 +11531,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11169
11531
  fromEntityId: string;
11170
11532
  toEntityId: string;
11171
11533
  state: string;
11172
- properties: hono_utils_types.JSONValue;
11173
11534
  labels: hono_utils_types.JSONValue;
11174
11535
  createdAt: string;
11175
11536
  updatedAt: string;
@@ -11178,7 +11539,25 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11178
11539
  envId: string;
11179
11540
  deletionScheduledAt: string | null;
11180
11541
  deletionGracePeriodSeconds: number | null;
11181
- }[]>;
11542
+ } | {
11543
+ id: null;
11544
+ relationshipTypeName: string;
11545
+ fromEntityName: string;
11546
+ toEntityName: string;
11547
+ origin: "derived" | "explicit";
11548
+ state: string | null;
11549
+ labels: {
11550
+ [x: string]: string;
11551
+ };
11552
+ fromEntityId: null;
11553
+ toEntityId: null;
11554
+ envId: null;
11555
+ orgId: null;
11556
+ projectId: null;
11557
+ createdAt: null;
11558
+ updatedAt: null;
11559
+ deletionScheduledAt: null;
11560
+ })[]>;
11182
11561
  get: SchemaFn<zod.ZodObject<{
11183
11562
  orgId: zod.ZodString;
11184
11563
  projectId: zod.ZodString;
@@ -11200,7 +11579,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11200
11579
  fromEntityId: string;
11201
11580
  toEntityId: string;
11202
11581
  state: string;
11203
- properties: hono_utils_types.JSONValue;
11204
11582
  labels: hono_utils_types.JSONValue;
11205
11583
  createdAt: string;
11206
11584
  updatedAt: string;
@@ -11216,7 +11594,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11216
11594
  from: zod.ZodString;
11217
11595
  to: zod.ZodString;
11218
11596
  state: zod.ZodOptional<zod.ZodString>;
11219
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
11220
11597
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
11221
11598
  } & {
11222
11599
  orgId: zod.ZodString;
@@ -11227,7 +11604,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11227
11604
  orgId: string;
11228
11605
  projectId: string;
11229
11606
  envName: string;
11230
- properties: Record<string, unknown>;
11231
11607
  relationshipType: string;
11232
11608
  kind: "Relationship";
11233
11609
  labels: Record<string, string>;
@@ -11242,23 +11618,21 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11242
11618
  kind: "Relationship";
11243
11619
  to: string;
11244
11620
  state?: string | undefined;
11245
- properties?: Record<string, unknown> | undefined;
11246
11621
  labels?: Record<string, string> | undefined;
11247
11622
  }>, {
11248
11623
  error: string;
11249
11624
  } | {
11250
11625
  id: string;
11626
+ relationshipTypeName: string;
11627
+ fromEntityId: string;
11628
+ toEntityId: string;
11629
+ state: string;
11630
+ labels: hono_utils_types.JSONValue;
11251
11631
  createdAt: string;
11252
11632
  updatedAt: string;
11253
- orgId: string;
11254
11633
  projectId: string;
11634
+ orgId: string;
11255
11635
  envId: string;
11256
- state: string;
11257
- properties: hono_utils_types.JSONValue;
11258
- labels: hono_utils_types.JSONValue;
11259
- relationshipTypeName: string;
11260
- fromEntityId: string;
11261
- toEntityId: string;
11262
11636
  deletionScheduledAt: string | null;
11263
11637
  deletionGracePeriodSeconds: number | null;
11264
11638
  }>;
@@ -11339,9 +11713,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11339
11713
  addToCell?: string | undefined;
11340
11714
  createRelationship?: {
11341
11715
  relationshipType: string;
11716
+ to: string;
11342
11717
  onSuccess: string;
11343
11718
  onFailure: string;
11344
- to: string;
11345
11719
  properties?: {
11346
11720
  [x: string]: string;
11347
11721
  } | undefined;
@@ -11409,10 +11783,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11409
11783
  type: "create-relationship";
11410
11784
  from: string;
11411
11785
  relationshipType: string;
11786
+ to: string;
11412
11787
  onTrigger: string;
11413
11788
  onSuccess: string;
11414
11789
  onFailure: string;
11415
- to: string;
11416
11790
  properties?: {
11417
11791
  [x: string]: string;
11418
11792
  } | undefined;
@@ -11434,10 +11808,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11434
11808
  } | {
11435
11809
  type: "migrate-relationship";
11436
11810
  relationshipType: string;
11811
+ to: string;
11437
11812
  onTrigger: string;
11438
11813
  onSuccess: string;
11439
11814
  onFailure: string;
11440
- to: string;
11441
11815
  };
11442
11816
  trigger: {
11443
11817
  type: "webhook";
@@ -11842,9 +12216,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11842
12216
  addToCell?: string | undefined;
11843
12217
  createRelationship?: {
11844
12218
  relationshipType: string;
12219
+ to: string;
11845
12220
  onSuccess: string;
11846
12221
  onFailure: string;
11847
- to: string;
11848
12222
  properties?: {
11849
12223
  [x: string]: string;
11850
12224
  } | undefined;
@@ -11912,10 +12286,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11912
12286
  type: "create-relationship";
11913
12287
  from: string;
11914
12288
  relationshipType: string;
12289
+ to: string;
11915
12290
  onTrigger: string;
11916
12291
  onSuccess: string;
11917
12292
  onFailure: string;
11918
- to: string;
11919
12293
  properties?: {
11920
12294
  [x: string]: string;
11921
12295
  } | undefined;
@@ -11937,10 +12311,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11937
12311
  } | {
11938
12312
  type: "migrate-relationship";
11939
12313
  relationshipType: string;
12314
+ to: string;
11940
12315
  onTrigger: string;
11941
12316
  onSuccess: string;
11942
12317
  onFailure: string;
11943
- to: string;
11944
12318
  };
11945
12319
  trigger: {
11946
12320
  type: "webhook";
@@ -12378,15 +12752,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12378
12752
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
12379
12753
  }, "strip", zod.ZodTypeAny, {
12380
12754
  relationshipType: string;
12755
+ to: string;
12381
12756
  onSuccess: string;
12382
12757
  onFailure: string;
12383
- to: string;
12384
12758
  properties?: Record<string, string> | undefined;
12385
12759
  }, {
12386
12760
  relationshipType: string;
12761
+ to: string;
12387
12762
  onSuccess: string;
12388
12763
  onFailure: string;
12389
- to: string;
12390
12764
  properties?: Record<string, string> | undefined;
12391
12765
  }>>;
12392
12766
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -12474,9 +12848,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12474
12848
  addToCell?: string | undefined;
12475
12849
  createRelationship?: {
12476
12850
  relationshipType: string;
12851
+ to: string;
12477
12852
  onSuccess: string;
12478
12853
  onFailure: string;
12479
- to: string;
12480
12854
  properties?: Record<string, string> | undefined;
12481
12855
  } | undefined;
12482
12856
  cascadeRules?: ({
@@ -12508,9 +12882,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12508
12882
  addToCell?: string | undefined;
12509
12883
  createRelationship?: {
12510
12884
  relationshipType: string;
12885
+ to: string;
12511
12886
  onSuccess: string;
12512
12887
  onFailure: string;
12513
- to: string;
12514
12888
  properties?: Record<string, string> | undefined;
12515
12889
  } | undefined;
12516
12890
  cascadeRules?: ({
@@ -12705,19 +13079,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12705
13079
  type: "create-relationship";
12706
13080
  from: string;
12707
13081
  relationshipType: string;
13082
+ to: string;
12708
13083
  onTrigger: string;
12709
13084
  onSuccess: string;
12710
13085
  onFailure: string;
12711
- to: string;
12712
13086
  properties?: Record<string, string> | undefined;
12713
13087
  }, {
12714
13088
  type: "create-relationship";
12715
13089
  from: string;
12716
13090
  relationshipType: string;
13091
+ to: string;
12717
13092
  onTrigger: string;
12718
13093
  onSuccess: string;
12719
13094
  onFailure: string;
12720
- to: string;
12721
13095
  properties?: Record<string, string> | undefined;
12722
13096
  }>, zod.ZodObject<{
12723
13097
  type: zod.ZodLiteral<"delete-relationship">;
@@ -12768,17 +13142,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12768
13142
  }, "strip", zod.ZodTypeAny, {
12769
13143
  type: "migrate-relationship";
12770
13144
  relationshipType: string;
13145
+ to: string;
12771
13146
  onTrigger: string;
12772
13147
  onSuccess: string;
12773
13148
  onFailure: string;
12774
- to: string;
12775
13149
  }, {
12776
13150
  type: "migrate-relationship";
12777
13151
  relationshipType: string;
13152
+ to: string;
12778
13153
  onTrigger: string;
12779
13154
  onSuccess: string;
12780
13155
  onFailure: string;
12781
- to: string;
12782
13156
  }>]>;
12783
13157
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
12784
13158
  type: zod.ZodLiteral<"webhook">;
@@ -14776,9 +15150,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14776
15150
  addToCell?: string | undefined;
14777
15151
  createRelationship?: {
14778
15152
  relationshipType: string;
15153
+ to: string;
14779
15154
  onSuccess: string;
14780
15155
  onFailure: string;
14781
- to: string;
14782
15156
  properties?: Record<string, string> | undefined;
14783
15157
  } | undefined;
14784
15158
  cascadeRules?: ({
@@ -14838,10 +15212,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14838
15212
  type: "create-relationship";
14839
15213
  from: string;
14840
15214
  relationshipType: string;
15215
+ to: string;
14841
15216
  onTrigger: string;
14842
15217
  onSuccess: string;
14843
15218
  onFailure: string;
14844
- to: string;
14845
15219
  properties?: Record<string, string> | undefined;
14846
15220
  } | {
14847
15221
  type: "delete-relationship";
@@ -14859,10 +15233,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14859
15233
  } | {
14860
15234
  type: "migrate-relationship";
14861
15235
  relationshipType: string;
15236
+ to: string;
14862
15237
  onTrigger: string;
14863
15238
  onSuccess: string;
14864
15239
  onFailure: string;
14865
- to: string;
14866
15240
  };
14867
15241
  associatedWith: {
14868
15242
  scope: "collection" | "instance";
@@ -15199,9 +15573,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15199
15573
  addToCell?: string | undefined;
15200
15574
  createRelationship?: {
15201
15575
  relationshipType: string;
15576
+ to: string;
15202
15577
  onSuccess: string;
15203
15578
  onFailure: string;
15204
- to: string;
15205
15579
  properties?: Record<string, string> | undefined;
15206
15580
  } | undefined;
15207
15581
  cascadeRules?: ({
@@ -15261,10 +15635,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15261
15635
  type: "create-relationship";
15262
15636
  from: string;
15263
15637
  relationshipType: string;
15638
+ to: string;
15264
15639
  onTrigger: string;
15265
15640
  onSuccess: string;
15266
15641
  onFailure: string;
15267
- to: string;
15268
15642
  properties?: Record<string, string> | undefined;
15269
15643
  } | {
15270
15644
  type: "delete-relationship";
@@ -15282,10 +15656,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15282
15656
  } | {
15283
15657
  type: "migrate-relationship";
15284
15658
  relationshipType: string;
15659
+ to: string;
15285
15660
  onTrigger: string;
15286
15661
  onSuccess: string;
15287
15662
  onFailure: string;
15288
- to: string;
15289
15663
  };
15290
15664
  associatedWith: {
15291
15665
  scope: "collection" | "instance";
@@ -15675,9 +16049,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15675
16049
  addToCell?: string | undefined;
15676
16050
  createRelationship?: {
15677
16051
  relationshipType: string;
16052
+ to: string;
15678
16053
  onSuccess: string;
15679
16054
  onFailure: string;
15680
- to: string;
15681
16055
  properties?: {
15682
16056
  [x: string]: string;
15683
16057
  } | undefined;
@@ -15745,10 +16119,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15745
16119
  type: "create-relationship";
15746
16120
  from: string;
15747
16121
  relationshipType: string;
16122
+ to: string;
15748
16123
  onTrigger: string;
15749
16124
  onSuccess: string;
15750
16125
  onFailure: string;
15751
- to: string;
15752
16126
  properties?: {
15753
16127
  [x: string]: string;
15754
16128
  } | undefined;
@@ -15770,10 +16144,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15770
16144
  } | {
15771
16145
  type: "migrate-relationship";
15772
16146
  relationshipType: string;
16147
+ to: string;
15773
16148
  onTrigger: string;
15774
16149
  onSuccess: string;
15775
16150
  onFailure: string;
15776
- to: string;
15777
16151
  };
15778
16152
  trigger: {
15779
16153
  type: "webhook";
@@ -16211,15 +16585,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16211
16585
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
16212
16586
  }, "strip", zod.ZodTypeAny, {
16213
16587
  relationshipType: string;
16588
+ to: string;
16214
16589
  onSuccess: string;
16215
16590
  onFailure: string;
16216
- to: string;
16217
16591
  properties?: Record<string, string> | undefined;
16218
16592
  }, {
16219
16593
  relationshipType: string;
16594
+ to: string;
16220
16595
  onSuccess: string;
16221
16596
  onFailure: string;
16222
- to: string;
16223
16597
  properties?: Record<string, string> | undefined;
16224
16598
  }>>;
16225
16599
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -16307,9 +16681,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16307
16681
  addToCell?: string | undefined;
16308
16682
  createRelationship?: {
16309
16683
  relationshipType: string;
16684
+ to: string;
16310
16685
  onSuccess: string;
16311
16686
  onFailure: string;
16312
- to: string;
16313
16687
  properties?: Record<string, string> | undefined;
16314
16688
  } | undefined;
16315
16689
  cascadeRules?: ({
@@ -16341,9 +16715,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16341
16715
  addToCell?: string | undefined;
16342
16716
  createRelationship?: {
16343
16717
  relationshipType: string;
16718
+ to: string;
16344
16719
  onSuccess: string;
16345
16720
  onFailure: string;
16346
- to: string;
16347
16721
  properties?: Record<string, string> | undefined;
16348
16722
  } | undefined;
16349
16723
  cascadeRules?: ({
@@ -16538,19 +16912,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16538
16912
  type: "create-relationship";
16539
16913
  from: string;
16540
16914
  relationshipType: string;
16915
+ to: string;
16541
16916
  onTrigger: string;
16542
16917
  onSuccess: string;
16543
16918
  onFailure: string;
16544
- to: string;
16545
16919
  properties?: Record<string, string> | undefined;
16546
16920
  }, {
16547
16921
  type: "create-relationship";
16548
16922
  from: string;
16549
16923
  relationshipType: string;
16924
+ to: string;
16550
16925
  onTrigger: string;
16551
16926
  onSuccess: string;
16552
16927
  onFailure: string;
16553
- to: string;
16554
16928
  properties?: Record<string, string> | undefined;
16555
16929
  }>, zod.ZodObject<{
16556
16930
  type: zod.ZodLiteral<"delete-relationship">;
@@ -16601,17 +16975,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16601
16975
  }, "strip", zod.ZodTypeAny, {
16602
16976
  type: "migrate-relationship";
16603
16977
  relationshipType: string;
16978
+ to: string;
16604
16979
  onTrigger: string;
16605
16980
  onSuccess: string;
16606
16981
  onFailure: string;
16607
- to: string;
16608
16982
  }, {
16609
16983
  type: "migrate-relationship";
16610
16984
  relationshipType: string;
16985
+ to: string;
16611
16986
  onTrigger: string;
16612
16987
  onSuccess: string;
16613
16988
  onFailure: string;
16614
- to: string;
16615
16989
  }>]>;
16616
16990
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
16617
16991
  type: zod.ZodLiteral<"webhook">;
@@ -18609,9 +18983,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18609
18983
  addToCell?: string | undefined;
18610
18984
  createRelationship?: {
18611
18985
  relationshipType: string;
18986
+ to: string;
18612
18987
  onSuccess: string;
18613
18988
  onFailure: string;
18614
- to: string;
18615
18989
  properties?: Record<string, string> | undefined;
18616
18990
  } | undefined;
18617
18991
  cascadeRules?: ({
@@ -18671,10 +19045,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18671
19045
  type: "create-relationship";
18672
19046
  from: string;
18673
19047
  relationshipType: string;
19048
+ to: string;
18674
19049
  onTrigger: string;
18675
19050
  onSuccess: string;
18676
19051
  onFailure: string;
18677
- to: string;
18678
19052
  properties?: Record<string, string> | undefined;
18679
19053
  } | {
18680
19054
  type: "delete-relationship";
@@ -18692,10 +19066,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18692
19066
  } | {
18693
19067
  type: "migrate-relationship";
18694
19068
  relationshipType: string;
19069
+ to: string;
18695
19070
  onTrigger: string;
18696
19071
  onSuccess: string;
18697
19072
  onFailure: string;
18698
- to: string;
18699
19073
  };
18700
19074
  associatedWith: {
18701
19075
  scope: "collection" | "instance";
@@ -19032,9 +19406,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19032
19406
  addToCell?: string | undefined;
19033
19407
  createRelationship?: {
19034
19408
  relationshipType: string;
19409
+ to: string;
19035
19410
  onSuccess: string;
19036
19411
  onFailure: string;
19037
- to: string;
19038
19412
  properties?: Record<string, string> | undefined;
19039
19413
  } | undefined;
19040
19414
  cascadeRules?: ({
@@ -19094,10 +19468,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19094
19468
  type: "create-relationship";
19095
19469
  from: string;
19096
19470
  relationshipType: string;
19471
+ to: string;
19097
19472
  onTrigger: string;
19098
19473
  onSuccess: string;
19099
19474
  onFailure: string;
19100
- to: string;
19101
19475
  properties?: Record<string, string> | undefined;
19102
19476
  } | {
19103
19477
  type: "delete-relationship";
@@ -19115,10 +19489,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19115
19489
  } | {
19116
19490
  type: "migrate-relationship";
19117
19491
  relationshipType: string;
19492
+ to: string;
19118
19493
  onTrigger: string;
19119
19494
  onSuccess: string;
19120
19495
  onFailure: string;
19121
- to: string;
19122
19496
  };
19123
19497
  associatedWith: {
19124
19498
  scope: "collection" | "instance";
@@ -19508,9 +19882,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19508
19882
  addToCell?: string | undefined;
19509
19883
  createRelationship?: {
19510
19884
  relationshipType: string;
19885
+ to: string;
19511
19886
  onSuccess: string;
19512
19887
  onFailure: string;
19513
- to: string;
19514
19888
  properties?: {
19515
19889
  [x: string]: string;
19516
19890
  } | undefined;
@@ -19578,10 +19952,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19578
19952
  type: "create-relationship";
19579
19953
  from: string;
19580
19954
  relationshipType: string;
19955
+ to: string;
19581
19956
  onTrigger: string;
19582
19957
  onSuccess: string;
19583
19958
  onFailure: string;
19584
- to: string;
19585
19959
  properties?: {
19586
19960
  [x: string]: string;
19587
19961
  } | undefined;
@@ -19603,10 +19977,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19603
19977
  } | {
19604
19978
  type: "migrate-relationship";
19605
19979
  relationshipType: string;
19980
+ to: string;
19606
19981
  onTrigger: string;
19607
19982
  onSuccess: string;
19608
19983
  onFailure: string;
19609
- to: string;
19610
19984
  };
19611
19985
  trigger: {
19612
19986
  type: "webhook";
@@ -20387,6 +20761,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20387
20761
  kind: "data" | "resource" | "module";
20388
20762
  address: string;
20389
20763
  }>, "many">>;
20764
+ strictComposition: zod.ZodOptional<zod.ZodBoolean>;
20390
20765
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20391
20766
  labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20392
20767
  }, "strip", zod.ZodTypeAny, {
@@ -20431,6 +20806,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20431
20806
  kind: "data" | "resource" | "module";
20432
20807
  address: string;
20433
20808
  }[] | undefined;
20809
+ strictComposition?: boolean | undefined;
20434
20810
  syncFreshness?: {
20435
20811
  greenSeconds?: number | undefined;
20436
20812
  yellowSeconds?: number | undefined;
@@ -20479,6 +20855,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20479
20855
  kind: "data" | "resource" | "module";
20480
20856
  address: string;
20481
20857
  }[] | undefined;
20858
+ strictComposition?: boolean | undefined;
20482
20859
  syncTracked?: boolean | undefined;
20483
20860
  syncFreshness?: {
20484
20861
  greenSeconds?: number | undefined;
@@ -20879,7 +21256,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20879
21256
  from: zod.ZodString;
20880
21257
  to: zod.ZodString;
20881
21258
  cardinality: zod.ZodDefault<zod.ZodEnum<["one-to-one", "one-to-many", "many-to-one", "many-to-many"]>>;
20882
- states: zod.ZodArray<zod.ZodString, "many">;
21259
+ states: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
20883
21260
  properties: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20884
21261
  name: zod.ZodString;
20885
21262
  type: zod.ZodEnum<["string", "integer", "number", "boolean"]>;
@@ -20906,17 +21283,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20906
21283
  enum?: string[] | undefined;
20907
21284
  }>, "many">>>;
20908
21285
  containment: zod.ZodOptional<zod.ZodBoolean>;
21286
+ derivedFrom: zod.ZodOptional<zod.ZodObject<{
21287
+ property: zod.ZodString;
21288
+ targetProperty: zod.ZodOptional<zod.ZodString>;
21289
+ }, "strip", zod.ZodTypeAny, {
21290
+ property: string;
21291
+ targetProperty?: string | undefined;
21292
+ }, {
21293
+ property: string;
21294
+ targetProperty?: string | undefined;
21295
+ }>>;
21296
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20909
21297
  constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
20910
21298
  type: zod.ZodLiteral<"property-sum">;
20911
- property: zod.ZodString;
21299
+ fromProperty: zod.ZodString;
20912
21300
  leq: zod.ZodString;
20913
21301
  }, "strip", zod.ZodTypeAny, {
20914
21302
  type: "property-sum";
20915
- property: string;
21303
+ fromProperty: string;
20916
21304
  leq: string;
20917
21305
  }, {
20918
21306
  type: "property-sum";
20919
- property: string;
21307
+ fromProperty: string;
20920
21308
  leq: string;
20921
21309
  }>, zod.ZodObject<{
20922
21310
  type: zod.ZodLiteral<"relationship-count">;
@@ -20943,7 +21331,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20943
21331
  }[];
20944
21332
  constraints: ({
20945
21333
  type: "property-sum";
20946
- property: string;
21334
+ fromProperty: string;
20947
21335
  leq: string;
20948
21336
  } | {
20949
21337
  type: "relationship-count";
@@ -20953,14 +21341,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20953
21341
  cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
20954
21342
  to: string;
20955
21343
  displayName?: string | undefined;
21344
+ derivedFrom?: {
21345
+ property: string;
21346
+ targetProperty?: string | undefined;
21347
+ } | undefined;
21348
+ labels?: Record<string, string> | undefined;
20956
21349
  containment?: boolean | undefined;
20957
21350
  }, {
20958
21351
  name: string;
20959
21352
  from: string;
20960
- states: string[];
20961
21353
  kind: "RelationshipType";
20962
21354
  to: string;
20963
21355
  displayName?: string | undefined;
21356
+ states?: string[] | undefined;
20964
21357
  properties?: {
20965
21358
  name: string;
20966
21359
  type: "string" | "number" | "boolean" | "integer";
@@ -20970,14 +21363,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20970
21363
  title?: string | undefined;
20971
21364
  enum?: string[] | undefined;
20972
21365
  }[] | undefined;
21366
+ derivedFrom?: {
21367
+ property: string;
21368
+ targetProperty?: string | undefined;
21369
+ } | undefined;
20973
21370
  constraints?: ({
20974
21371
  type: "property-sum";
20975
- property: string;
21372
+ fromProperty: string;
20976
21373
  leq: string;
20977
21374
  } | {
20978
21375
  type: "relationship-count";
20979
21376
  leq: string | number;
20980
21377
  })[] | undefined;
21378
+ labels?: Record<string, string> | undefined;
20981
21379
  cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
20982
21380
  containment?: boolean | undefined;
20983
21381
  }>, zod.ZodObject<{
@@ -21072,15 +21470,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21072
21470
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
21073
21471
  }, "strip", zod.ZodTypeAny, {
21074
21472
  relationshipType: string;
21473
+ to: string;
21075
21474
  onSuccess: string;
21076
21475
  onFailure: string;
21077
- to: string;
21078
21476
  properties?: Record<string, string> | undefined;
21079
21477
  }, {
21080
21478
  relationshipType: string;
21479
+ to: string;
21081
21480
  onSuccess: string;
21082
21481
  onFailure: string;
21083
- to: string;
21084
21482
  properties?: Record<string, string> | undefined;
21085
21483
  }>>;
21086
21484
  cascadeRules: zod.ZodOptional<zod.ZodArray<zod.ZodLazy<zod.ZodUnion<[zod.ZodObject<{
@@ -21168,9 +21566,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21168
21566
  addToCell?: string | undefined;
21169
21567
  createRelationship?: {
21170
21568
  relationshipType: string;
21569
+ to: string;
21171
21570
  onSuccess: string;
21172
21571
  onFailure: string;
21173
- to: string;
21174
21572
  properties?: Record<string, string> | undefined;
21175
21573
  } | undefined;
21176
21574
  cascadeRules?: ({
@@ -21202,9 +21600,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21202
21600
  addToCell?: string | undefined;
21203
21601
  createRelationship?: {
21204
21602
  relationshipType: string;
21603
+ to: string;
21205
21604
  onSuccess: string;
21206
21605
  onFailure: string;
21207
- to: string;
21208
21606
  properties?: Record<string, string> | undefined;
21209
21607
  } | undefined;
21210
21608
  cascadeRules?: ({
@@ -21399,19 +21797,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21399
21797
  type: "create-relationship";
21400
21798
  from: string;
21401
21799
  relationshipType: string;
21800
+ to: string;
21402
21801
  onTrigger: string;
21403
21802
  onSuccess: string;
21404
21803
  onFailure: string;
21405
- to: string;
21406
21804
  properties?: Record<string, string> | undefined;
21407
21805
  }, {
21408
21806
  type: "create-relationship";
21409
21807
  from: string;
21410
21808
  relationshipType: string;
21809
+ to: string;
21411
21810
  onTrigger: string;
21412
21811
  onSuccess: string;
21413
21812
  onFailure: string;
21414
- to: string;
21415
21813
  properties?: Record<string, string> | undefined;
21416
21814
  }>, zod.ZodObject<{
21417
21815
  type: zod.ZodLiteral<"delete-relationship">;
@@ -21462,17 +21860,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21462
21860
  }, "strip", zod.ZodTypeAny, {
21463
21861
  type: "migrate-relationship";
21464
21862
  relationshipType: string;
21863
+ to: string;
21465
21864
  onTrigger: string;
21466
21865
  onSuccess: string;
21467
21866
  onFailure: string;
21468
- to: string;
21469
21867
  }, {
21470
21868
  type: "migrate-relationship";
21471
21869
  relationshipType: string;
21870
+ to: string;
21472
21871
  onTrigger: string;
21473
21872
  onSuccess: string;
21474
21873
  onFailure: string;
21475
- to: string;
21476
21874
  }>]>;
21477
21875
  trigger: zod.ZodEffects<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
21478
21876
  type: zod.ZodLiteral<"webhook">;
@@ -23465,9 +23863,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23465
23863
  addToCell?: string | undefined;
23466
23864
  createRelationship?: {
23467
23865
  relationshipType: string;
23866
+ to: string;
23468
23867
  onSuccess: string;
23469
23868
  onFailure: string;
23470
- to: string;
23471
23869
  properties?: Record<string, string> | undefined;
23472
23870
  } | undefined;
23473
23871
  cascadeRules?: ({
@@ -23527,10 +23925,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23527
23925
  type: "create-relationship";
23528
23926
  from: string;
23529
23927
  relationshipType: string;
23928
+ to: string;
23530
23929
  onTrigger: string;
23531
23930
  onSuccess: string;
23532
23931
  onFailure: string;
23533
- to: string;
23534
23932
  properties?: Record<string, string> | undefined;
23535
23933
  } | {
23536
23934
  type: "delete-relationship";
@@ -23548,10 +23946,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23548
23946
  } | {
23549
23947
  type: "migrate-relationship";
23550
23948
  relationshipType: string;
23949
+ to: string;
23551
23950
  onTrigger: string;
23552
23951
  onSuccess: string;
23553
23952
  onFailure: string;
23554
- to: string;
23555
23953
  };
23556
23954
  associatedWith: {
23557
23955
  scope: "collection" | "instance";
@@ -23886,9 +24284,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23886
24284
  addToCell?: string | undefined;
23887
24285
  createRelationship?: {
23888
24286
  relationshipType: string;
24287
+ to: string;
23889
24288
  onSuccess: string;
23890
24289
  onFailure: string;
23891
- to: string;
23892
24290
  properties?: Record<string, string> | undefined;
23893
24291
  } | undefined;
23894
24292
  cascadeRules?: ({
@@ -23948,10 +24346,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23948
24346
  type: "create-relationship";
23949
24347
  from: string;
23950
24348
  relationshipType: string;
24349
+ to: string;
23951
24350
  onTrigger: string;
23952
24351
  onSuccess: string;
23953
24352
  onFailure: string;
23954
- to: string;
23955
24353
  properties?: Record<string, string> | undefined;
23956
24354
  } | {
23957
24355
  type: "delete-relationship";
@@ -23969,10 +24367,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23969
24367
  } | {
23970
24368
  type: "migrate-relationship";
23971
24369
  relationshipType: string;
24370
+ to: string;
23972
24371
  onTrigger: string;
23973
24372
  onSuccess: string;
23974
24373
  onFailure: string;
23975
- to: string;
23976
24374
  };
23977
24375
  associatedWith: {
23978
24376
  scope: "collection" | "instance";
@@ -24360,11 +24758,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24360
24758
  from: zod.ZodString;
24361
24759
  to: zod.ZodString;
24362
24760
  state: zod.ZodOptional<zod.ZodString>;
24363
- properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
24364
24761
  labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24365
24762
  }, "strip", zod.ZodTypeAny, {
24366
24763
  from: string;
24367
- properties: Record<string, unknown>;
24368
24764
  relationshipType: string;
24369
24765
  kind: "Relationship";
24370
24766
  labels: Record<string, string>;
@@ -24376,7 +24772,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24376
24772
  kind: "Relationship";
24377
24773
  to: string;
24378
24774
  state?: string | undefined;
24379
- properties?: Record<string, unknown> | undefined;
24380
24775
  labels?: Record<string, string> | undefined;
24381
24776
  }>, zod.ZodObject<{
24382
24777
  kind: zod.ZodLiteral<"DeploymentTarget">;
@@ -24445,10 +24840,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24445
24840
  name: zod.ZodString;
24446
24841
  }, "strip", zod.ZodTypeAny, {
24447
24842
  name: string;
24448
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24843
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24449
24844
  }, {
24450
24845
  name: string;
24451
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24846
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
24452
24847
  }>, "many">>>;
24453
24848
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
24454
24849
  } & {
@@ -24460,6 +24855,37 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24460
24855
  projectId: string;
24461
24856
  envName: string;
24462
24857
  items: ({
24858
+ name: string;
24859
+ from: string;
24860
+ states: string[];
24861
+ properties: {
24862
+ name: string;
24863
+ type: "string" | "number" | "boolean" | "integer";
24864
+ required: boolean;
24865
+ description?: string | undefined;
24866
+ default?: string | number | boolean | undefined;
24867
+ title?: string | undefined;
24868
+ enum?: string[] | undefined;
24869
+ }[];
24870
+ constraints: ({
24871
+ type: "property-sum";
24872
+ fromProperty: string;
24873
+ leq: string;
24874
+ } | {
24875
+ type: "relationship-count";
24876
+ leq: string | number;
24877
+ })[];
24878
+ kind: "RelationshipType";
24879
+ cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
24880
+ to: string;
24881
+ displayName?: string | undefined;
24882
+ derivedFrom?: {
24883
+ property: string;
24884
+ targetProperty?: string | undefined;
24885
+ } | undefined;
24886
+ labels?: Record<string, string> | undefined;
24887
+ containment?: boolean | undefined;
24888
+ } | {
24463
24889
  parameters: {
24464
24890
  name: string;
24465
24891
  type: "string" | "number" | "boolean" | "integer";
@@ -24495,9 +24921,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24495
24921
  addToCell?: string | undefined;
24496
24922
  createRelationship?: {
24497
24923
  relationshipType: string;
24924
+ to: string;
24498
24925
  onSuccess: string;
24499
24926
  onFailure: string;
24500
- to: string;
24501
24927
  properties?: Record<string, string> | undefined;
24502
24928
  } | undefined;
24503
24929
  cascadeRules?: ({
@@ -24557,10 +24983,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24557
24983
  type: "create-relationship";
24558
24984
  from: string;
24559
24985
  relationshipType: string;
24986
+ to: string;
24560
24987
  onTrigger: string;
24561
24988
  onSuccess: string;
24562
24989
  onFailure: string;
24563
- to: string;
24564
24990
  properties?: Record<string, string> | undefined;
24565
24991
  } | {
24566
24992
  type: "delete-relationship";
@@ -24578,10 +25004,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24578
25004
  } | {
24579
25005
  type: "migrate-relationship";
24580
25006
  relationshipType: string;
25007
+ to: string;
24581
25008
  onTrigger: string;
24582
25009
  onSuccess: string;
24583
25010
  onFailure: string;
24584
- to: string;
24585
25011
  };
24586
25012
  associatedWith: {
24587
25013
  scope: "collection" | "instance";
@@ -24944,6 +25370,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24944
25370
  kind: "data" | "resource" | "module";
24945
25371
  address: string;
24946
25372
  }[] | undefined;
25373
+ strictComposition?: boolean | undefined;
24947
25374
  syncFreshness?: {
24948
25375
  greenSeconds?: number | undefined;
24949
25376
  yellowSeconds?: number | undefined;
@@ -25004,32 +25431,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25004
25431
  value?: string | undefined;
25005
25432
  };
25006
25433
  } | undefined;
25007
- } | {
25008
- name: string;
25009
- from: string;
25010
- states: string[];
25011
- properties: {
25012
- name: string;
25013
- type: "string" | "number" | "boolean" | "integer";
25014
- required: boolean;
25015
- description?: string | undefined;
25016
- default?: string | number | boolean | undefined;
25017
- title?: string | undefined;
25018
- enum?: string[] | undefined;
25019
- }[];
25020
- constraints: ({
25021
- type: "property-sum";
25022
- property: string;
25023
- leq: string;
25024
- } | {
25025
- type: "relationship-count";
25026
- leq: string | number;
25027
- })[];
25028
- kind: "RelationshipType";
25029
- cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
25030
- to: string;
25031
- displayName?: string | undefined;
25032
- containment?: boolean | undefined;
25033
25434
  } | {
25034
25435
  name: string;
25035
25436
  kind: "Secret";
@@ -25045,7 +25446,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25045
25446
  syncSource?: string | undefined;
25046
25447
  } | {
25047
25448
  from: string;
25048
- properties: Record<string, unknown>;
25049
25449
  relationshipType: string;
25050
25450
  kind: "Relationship";
25051
25451
  labels: Record<string, string>;
@@ -25074,7 +25474,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25074
25474
  })[];
25075
25475
  deletions: {
25076
25476
  name: string;
25077
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25477
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25078
25478
  }[];
25079
25479
  force: boolean;
25080
25480
  dryRun: boolean;
@@ -25083,6 +25483,37 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25083
25483
  projectId: string;
25084
25484
  envName: string;
25085
25485
  items: ({
25486
+ name: string;
25487
+ from: string;
25488
+ kind: "RelationshipType";
25489
+ to: string;
25490
+ displayName?: string | undefined;
25491
+ states?: string[] | undefined;
25492
+ properties?: {
25493
+ name: string;
25494
+ type: "string" | "number" | "boolean" | "integer";
25495
+ description?: string | undefined;
25496
+ default?: string | number | boolean | undefined;
25497
+ required?: boolean | undefined;
25498
+ title?: string | undefined;
25499
+ enum?: string[] | undefined;
25500
+ }[] | undefined;
25501
+ derivedFrom?: {
25502
+ property: string;
25503
+ targetProperty?: string | undefined;
25504
+ } | undefined;
25505
+ constraints?: ({
25506
+ type: "property-sum";
25507
+ fromProperty: string;
25508
+ leq: string;
25509
+ } | {
25510
+ type: "relationship-count";
25511
+ leq: string | number;
25512
+ })[] | undefined;
25513
+ labels?: Record<string, string> | undefined;
25514
+ cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
25515
+ containment?: boolean | undefined;
25516
+ } | {
25086
25517
  name: string;
25087
25518
  kind: "Action";
25088
25519
  operation: {
@@ -25096,9 +25527,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25096
25527
  addToCell?: string | undefined;
25097
25528
  createRelationship?: {
25098
25529
  relationshipType: string;
25530
+ to: string;
25099
25531
  onSuccess: string;
25100
25532
  onFailure: string;
25101
- to: string;
25102
25533
  properties?: Record<string, string> | undefined;
25103
25534
  } | undefined;
25104
25535
  cascadeRules?: ({
@@ -25158,10 +25589,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25158
25589
  type: "create-relationship";
25159
25590
  from: string;
25160
25591
  relationshipType: string;
25592
+ to: string;
25161
25593
  onTrigger: string;
25162
25594
  onSuccess: string;
25163
25595
  onFailure: string;
25164
- to: string;
25165
25596
  properties?: Record<string, string> | undefined;
25166
25597
  } | {
25167
25598
  type: "delete-relationship";
@@ -25179,10 +25610,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25179
25610
  } | {
25180
25611
  type: "migrate-relationship";
25181
25612
  relationshipType: string;
25613
+ to: string;
25182
25614
  onTrigger: string;
25183
25615
  onSuccess: string;
25184
25616
  onFailure: string;
25185
- to: string;
25186
25617
  };
25187
25618
  associatedWith: {
25188
25619
  scope: "collection" | "instance";
@@ -25566,6 +25997,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25566
25997
  kind: "data" | "resource" | "module";
25567
25998
  address: string;
25568
25999
  }[] | undefined;
26000
+ strictComposition?: boolean | undefined;
25569
26001
  syncTracked?: boolean | undefined;
25570
26002
  syncFreshness?: {
25571
26003
  greenSeconds?: number | undefined;
@@ -25627,32 +26059,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25627
26059
  value?: string | undefined;
25628
26060
  };
25629
26061
  } | undefined;
25630
- } | {
25631
- name: string;
25632
- from: string;
25633
- states: string[];
25634
- kind: "RelationshipType";
25635
- to: string;
25636
- displayName?: string | undefined;
25637
- properties?: {
25638
- name: string;
25639
- type: "string" | "number" | "boolean" | "integer";
25640
- description?: string | undefined;
25641
- default?: string | number | boolean | undefined;
25642
- required?: boolean | undefined;
25643
- title?: string | undefined;
25644
- enum?: string[] | undefined;
25645
- }[] | undefined;
25646
- constraints?: ({
25647
- type: "property-sum";
25648
- property: string;
25649
- leq: string;
25650
- } | {
25651
- type: "relationship-count";
25652
- leq: string | number;
25653
- })[] | undefined;
25654
- cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
25655
- containment?: boolean | undefined;
25656
26062
  } | {
25657
26063
  name: string;
25658
26064
  kind: "Secret";
@@ -25672,7 +26078,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25672
26078
  kind: "Relationship";
25673
26079
  to: string;
25674
26080
  state?: string | undefined;
25675
- properties?: Record<string, unknown> | undefined;
25676
26081
  labels?: Record<string, string> | undefined;
25677
26082
  } | {
25678
26083
  name: string;
@@ -25697,7 +26102,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25697
26102
  })[];
25698
26103
  deletions?: {
25699
26104
  name: string;
25700
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
26105
+ kind: "RelationshipType" | "Action" | "EntityType" | "Cell" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
25701
26106
  }[] | undefined;
25702
26107
  force?: boolean | undefined;
25703
26108
  dryRun?: boolean | undefined;
@@ -25736,6 +26141,125 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25736
26141
  }[];
25737
26142
  } | undefined;
25738
26143
  }>;
26144
+ observations: {
26145
+ importPayload: SchemaFn<zod.ZodObject<{
26146
+ observedAt: zod.ZodString;
26147
+ sources: zod.ZodArray<zod.ZodObject<{
26148
+ source: zod.ZodString;
26149
+ resources: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
26150
+ tfAddress: zod.ZodString;
26151
+ tfType: zod.ZodString;
26152
+ tfName: zod.ZodString;
26153
+ tfModule: zod.ZodOptional<zod.ZodString>;
26154
+ mode: zod.ZodEnum<["managed", "data"]>;
26155
+ attributes: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
26156
+ }, "strip", zod.ZodTypeAny, {
26157
+ mode: "data" | "managed";
26158
+ tfType: string;
26159
+ tfName: string;
26160
+ tfAddress: string;
26161
+ attributes: Record<string, unknown>;
26162
+ tfModule?: string | undefined;
26163
+ }, {
26164
+ mode: "data" | "managed";
26165
+ tfType: string;
26166
+ tfName: string;
26167
+ tfAddress: string;
26168
+ tfModule?: string | undefined;
26169
+ attributes?: Record<string, unknown> | undefined;
26170
+ }>, "many">>;
26171
+ dependencies: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
26172
+ fromAddress: zod.ZodString;
26173
+ toAddress: zod.ZodString;
26174
+ crossStackSource: zod.ZodOptional<zod.ZodString>;
26175
+ }, "strip", zod.ZodTypeAny, {
26176
+ fromAddress: string;
26177
+ toAddress: string;
26178
+ crossStackSource?: string | undefined;
26179
+ }, {
26180
+ fromAddress: string;
26181
+ toAddress: string;
26182
+ crossStackSource?: string | undefined;
26183
+ }>, "many">>;
26184
+ }, "strip", zod.ZodTypeAny, {
26185
+ source: string;
26186
+ resources: {
26187
+ mode: "data" | "managed";
26188
+ tfType: string;
26189
+ tfName: string;
26190
+ tfAddress: string;
26191
+ attributes: Record<string, unknown>;
26192
+ tfModule?: string | undefined;
26193
+ }[];
26194
+ dependencies: {
26195
+ fromAddress: string;
26196
+ toAddress: string;
26197
+ crossStackSource?: string | undefined;
26198
+ }[];
26199
+ }, {
26200
+ source: string;
26201
+ resources?: {
26202
+ mode: "data" | "managed";
26203
+ tfType: string;
26204
+ tfName: string;
26205
+ tfAddress: string;
26206
+ tfModule?: string | undefined;
26207
+ attributes?: Record<string, unknown> | undefined;
26208
+ }[] | undefined;
26209
+ dependencies?: {
26210
+ fromAddress: string;
26211
+ toAddress: string;
26212
+ crossStackSource?: string | undefined;
26213
+ }[] | undefined;
26214
+ }>, "many">;
26215
+ } & {
26216
+ orgId: zod.ZodString;
26217
+ projectId: zod.ZodString;
26218
+ envName: zod.ZodString;
26219
+ }, "strip", zod.ZodTypeAny, {
26220
+ orgId: string;
26221
+ projectId: string;
26222
+ envName: string;
26223
+ sources: {
26224
+ source: string;
26225
+ resources: {
26226
+ mode: "data" | "managed";
26227
+ tfType: string;
26228
+ tfName: string;
26229
+ tfAddress: string;
26230
+ attributes: Record<string, unknown>;
26231
+ tfModule?: string | undefined;
26232
+ }[];
26233
+ dependencies: {
26234
+ fromAddress: string;
26235
+ toAddress: string;
26236
+ crossStackSource?: string | undefined;
26237
+ }[];
26238
+ }[];
26239
+ observedAt: string;
26240
+ }, {
26241
+ orgId: string;
26242
+ projectId: string;
26243
+ envName: string;
26244
+ sources: {
26245
+ source: string;
26246
+ resources?: {
26247
+ mode: "data" | "managed";
26248
+ tfType: string;
26249
+ tfName: string;
26250
+ tfAddress: string;
26251
+ tfModule?: string | undefined;
26252
+ attributes?: Record<string, unknown> | undefined;
26253
+ }[] | undefined;
26254
+ dependencies?: {
26255
+ fromAddress: string;
26256
+ toAddress: string;
26257
+ crossStackSource?: string | undefined;
26258
+ }[] | undefined;
26259
+ }[];
26260
+ observedAt: string;
26261
+ }>, ObservationImportResult>;
26262
+ };
25739
26263
  catalogRevisions: {
25740
26264
  list: SchemaFn<zod.ZodObject<{
25741
26265
  orgId: zod.ZodString;
@@ -26096,6 +26620,114 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26096
26620
  status: string;
26097
26621
  }>;
26098
26622
  };
26623
+ conformanceFindings: {
26624
+ list: SchemaFn<zod.ZodObject<{
26625
+ orgId: zod.ZodString;
26626
+ projectId: zod.ZodString;
26627
+ envName: zod.ZodString;
26628
+ status: zod.ZodOptional<zod.ZodEnum<["open", "resolved", "ignored"]>>;
26629
+ severity: zod.ZodOptional<zod.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
26630
+ kind: zod.ZodOptional<zod.ZodString>;
26631
+ findingKind: zod.ZodOptional<zod.ZodString>;
26632
+ entityName: zod.ZodOptional<zod.ZodString>;
26633
+ limit: zod.ZodOptional<zod.ZodNumber>;
26634
+ }, "strip", zod.ZodTypeAny, {
26635
+ orgId: string;
26636
+ projectId: string;
26637
+ envName: string;
26638
+ status?: "open" | "resolved" | "ignored" | undefined;
26639
+ limit?: number | undefined;
26640
+ kind?: string | undefined;
26641
+ entityName?: string | undefined;
26642
+ findingKind?: string | undefined;
26643
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
26644
+ }, {
26645
+ orgId: string;
26646
+ projectId: string;
26647
+ envName: string;
26648
+ status?: "open" | "resolved" | "ignored" | undefined;
26649
+ limit?: number | undefined;
26650
+ kind?: string | undefined;
26651
+ entityName?: string | undefined;
26652
+ findingKind?: string | undefined;
26653
+ severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
26654
+ }>, {
26655
+ detectedAt: string;
26656
+ lastSeenAt: string;
26657
+ updatedAt: string;
26658
+ id: string;
26659
+ projectId: string | null;
26660
+ envId: string;
26661
+ entityId: string | null;
26662
+ relationshipId: string | null;
26663
+ entityTypeName: string | null;
26664
+ entityName: string | null;
26665
+ findingKind: string;
26666
+ severity: string;
26667
+ status: string;
26668
+ fieldPath: string | null;
26669
+ schemaRef: string | null;
26670
+ schemaVersion: string | null;
26671
+ expected: hono_utils_types.JSONValue;
26672
+ actual: hono_utils_types.JSONValue;
26673
+ message: string;
26674
+ dedupKey: string;
26675
+ auditRunId: string | null;
26676
+ }[]>;
26677
+ count: SchemaFn<zod.ZodObject<{
26678
+ orgId: zod.ZodString;
26679
+ projectId: zod.ZodString;
26680
+ envName: zod.ZodString;
26681
+ }, "strip", zod.ZodTypeAny, {
26682
+ orgId: string;
26683
+ projectId: string;
26684
+ envName: string;
26685
+ }, {
26686
+ orgId: string;
26687
+ projectId: string;
26688
+ envName: string;
26689
+ }>, {
26690
+ count: number;
26691
+ }>;
26692
+ get: SchemaFn<zod.ZodObject<{
26693
+ orgId: zod.ZodString;
26694
+ projectId: zod.ZodString;
26695
+ envName: zod.ZodString;
26696
+ id: zod.ZodString;
26697
+ }, "strip", zod.ZodTypeAny, {
26698
+ id: string;
26699
+ orgId: string;
26700
+ projectId: string;
26701
+ envName: string;
26702
+ }, {
26703
+ id: string;
26704
+ orgId: string;
26705
+ projectId: string;
26706
+ envName: string;
26707
+ }>, {
26708
+ detectedAt: string;
26709
+ lastSeenAt: string;
26710
+ updatedAt: string;
26711
+ id: string;
26712
+ projectId: string | null;
26713
+ envId: string;
26714
+ entityId: string | null;
26715
+ relationshipId: string | null;
26716
+ entityTypeName: string | null;
26717
+ entityName: string | null;
26718
+ findingKind: string;
26719
+ severity: string;
26720
+ status: string;
26721
+ fieldPath: string | null;
26722
+ schemaRef: string | null;
26723
+ schemaVersion: string | null;
26724
+ expected: hono_utils_types.JSONValue;
26725
+ actual: hono_utils_types.JSONValue;
26726
+ message: string;
26727
+ dedupKey: string;
26728
+ auditRunId: string | null;
26729
+ }>;
26730
+ };
26099
26731
  stats: {
26100
26732
  entitiesByState: SchemaFn<zod.ZodObject<{
26101
26733
  orgId: zod.ZodString;
@@ -26197,41 +26829,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26197
26829
  ownerUserId: string | null;
26198
26830
  name: string;
26199
26831
  isDefault: boolean;
26200
- config: {
26201
- sort: {
26202
- cells: "name" | "memberCount" | "capacityUsed";
26203
- entities: "name" | "updatedAt" | "state";
26832
+ pinnedPositions: {
26833
+ [x: string]: {
26834
+ x: number;
26835
+ y: number;
26836
+ };
26837
+ } | null;
26838
+ viewSpec: {
26839
+ schemaVersion: 1;
26840
+ grouping: {
26841
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26842
+ aggregate: {
26843
+ byType: boolean;
26844
+ threshold: number;
26845
+ };
26846
+ labelKey?: string | undefined;
26847
+ };
26848
+ edges: {
26849
+ mode: "all" | "none" | "problems";
26850
+ labels: ("type" | "count")[];
26851
+ render: "refs" | "lines";
26852
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26204
26853
  };
26205
- filter: {
26854
+ filters: {
26206
26855
  entityTypes: string[];
26207
- states: string[];
26208
26856
  labels: {
26209
26857
  [x: string]: string[];
26210
26858
  };
26211
- relationshipTypes?: string[] | undefined;
26212
- cellNames?: string[] | undefined;
26213
- };
26214
- grouping: {
26215
- cellsEnabled: boolean;
26216
- partitionsEnabled: boolean;
26217
- };
26218
- cardDisplay: {
26219
- properties: string[] | "all" | "required";
26220
- showState: boolean;
26221
- inlineRelationships: boolean;
26222
- maxRelsPerCard: number;
26223
- drawEdges: boolean;
26224
- };
26225
- layout: {
26226
- mode: "auto" | "free";
26227
- positionsPinned: boolean;
26228
- };
26229
- };
26230
- pinnedPositions: {
26231
- [x: string]: {
26232
- x: number;
26233
- y: number;
26859
+ cells: string[];
26860
+ relationshipTypes: string[];
26861
+ deploymentTargets: string[];
26862
+ lifecycle: string[];
26863
+ conformance: ("conformant" | "non-conformant")[];
26864
+ };
26865
+ focus: {
26866
+ direction: "both" | "upstream" | "downstream";
26867
+ roots: string[];
26868
+ maxHops: 2 | 1 | 3 | "∞";
26869
+ edgeTypes: string[];
26870
+ };
26871
+ expansion: {
26872
+ [x: string]: "expanded" | "collapsed";
26873
+ };
26874
+ style: {
26875
+ selector: string;
26876
+ style: {
26877
+ [x: string]: string;
26878
+ };
26879
+ }[];
26880
+ pins: {
26881
+ [x: string]: {
26882
+ x: number;
26883
+ y: number;
26884
+ };
26234
26885
  };
26886
+ interaction: "auto" | "free";
26235
26887
  } | null;
26236
26888
  createdAt: string;
26237
26889
  updatedAt: string;
@@ -26256,41 +26908,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26256
26908
  ownerUserId: string | null;
26257
26909
  name: string;
26258
26910
  isDefault: boolean;
26259
- config: {
26260
- sort: {
26261
- cells: "name" | "memberCount" | "capacityUsed";
26262
- entities: "name" | "updatedAt" | "state";
26911
+ pinnedPositions: {
26912
+ [x: string]: {
26913
+ x: number;
26914
+ y: number;
26915
+ };
26916
+ } | null;
26917
+ viewSpec: {
26918
+ schemaVersion: 1;
26919
+ grouping: {
26920
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
26921
+ aggregate: {
26922
+ byType: boolean;
26923
+ threshold: number;
26924
+ };
26925
+ labelKey?: string | undefined;
26926
+ };
26927
+ edges: {
26928
+ mode: "all" | "none" | "problems";
26929
+ labels: ("type" | "count")[];
26930
+ render: "refs" | "lines";
26931
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26263
26932
  };
26264
- filter: {
26933
+ filters: {
26265
26934
  entityTypes: string[];
26266
- states: string[];
26267
26935
  labels: {
26268
26936
  [x: string]: string[];
26269
26937
  };
26270
- relationshipTypes?: string[] | undefined;
26271
- cellNames?: string[] | undefined;
26272
- };
26273
- grouping: {
26274
- cellsEnabled: boolean;
26275
- partitionsEnabled: boolean;
26276
- };
26277
- cardDisplay: {
26278
- properties: string[] | "all" | "required";
26279
- showState: boolean;
26280
- inlineRelationships: boolean;
26281
- maxRelsPerCard: number;
26282
- drawEdges: boolean;
26283
- };
26284
- layout: {
26285
- mode: "auto" | "free";
26286
- positionsPinned: boolean;
26287
- };
26288
- };
26289
- pinnedPositions: {
26290
- [x: string]: {
26291
- x: number;
26292
- y: number;
26938
+ cells: string[];
26939
+ relationshipTypes: string[];
26940
+ deploymentTargets: string[];
26941
+ lifecycle: string[];
26942
+ conformance: ("conformant" | "non-conformant")[];
26943
+ };
26944
+ focus: {
26945
+ direction: "both" | "upstream" | "downstream";
26946
+ roots: string[];
26947
+ maxHops: 2 | 1 | 3 | "∞";
26948
+ edgeTypes: string[];
26949
+ };
26950
+ expansion: {
26951
+ [x: string]: "expanded" | "collapsed";
26952
+ };
26953
+ style: {
26954
+ selector: string;
26955
+ style: {
26956
+ [x: string]: string;
26957
+ };
26958
+ }[];
26959
+ pins: {
26960
+ [x: string]: {
26961
+ x: number;
26962
+ y: number;
26963
+ };
26293
26964
  };
26965
+ interaction: "auto" | "free";
26294
26966
  } | null;
26295
26967
  createdAt: string;
26296
26968
  updatedAt: string;
@@ -26300,7 +26972,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26300
26972
  projectId: zod.ZodString;
26301
26973
  name: zod.ZodString;
26302
26974
  scope: zod.ZodEnum<["user", "project"]>;
26303
- config: zod.ZodUnknown;
26304
26975
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
26305
26976
  x: zod.ZodNumber;
26306
26977
  y: zod.ZodNumber;
@@ -26311,26 +26982,27 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26311
26982
  x: number;
26312
26983
  y: number;
26313
26984
  }>>>>;
26985
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
26314
26986
  }, "strip", zod.ZodTypeAny, {
26315
26987
  name: string;
26316
26988
  orgId: string;
26317
26989
  projectId: string;
26318
26990
  scope: "user" | "project";
26319
- config?: unknown;
26320
26991
  pinnedPositions?: Record<string, {
26321
26992
  x: number;
26322
26993
  y: number;
26323
26994
  }> | null | undefined;
26995
+ viewSpec?: unknown;
26324
26996
  }, {
26325
26997
  name: string;
26326
26998
  orgId: string;
26327
26999
  projectId: string;
26328
27000
  scope: "user" | "project";
26329
- config?: unknown;
26330
27001
  pinnedPositions?: Record<string, {
26331
27002
  x: number;
26332
27003
  y: number;
26333
27004
  }> | null | undefined;
27005
+ viewSpec?: unknown;
26334
27006
  }>, {
26335
27007
  name: string;
26336
27008
  id: string;
@@ -26340,36 +27012,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26340
27012
  projectId: string;
26341
27013
  isDefault: boolean;
26342
27014
  scope: "user" | "project";
26343
- config: {
26344
- sort: {
26345
- cells: "name" | "memberCount" | "capacityUsed";
26346
- entities: "name" | "updatedAt" | "state";
26347
- };
26348
- filter: {
26349
- entityTypes: string[];
26350
- states: string[];
26351
- labels: {
26352
- [x: string]: string[];
26353
- };
26354
- relationshipTypes?: string[] | undefined;
26355
- cellNames?: string[] | undefined;
26356
- };
26357
- grouping: {
26358
- cellsEnabled: boolean;
26359
- partitionsEnabled: boolean;
26360
- };
26361
- cardDisplay: {
26362
- properties: string[] | "all" | "required";
26363
- showState: boolean;
26364
- inlineRelationships: boolean;
26365
- maxRelsPerCard: number;
26366
- drawEdges: boolean;
26367
- };
26368
- layout: {
26369
- mode: "auto" | "free";
26370
- positionsPinned: boolean;
26371
- };
26372
- };
26373
27015
  ownerUserId: string | null;
26374
27016
  pinnedPositions: {
26375
27017
  [x: string]: {
@@ -26377,13 +27019,62 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26377
27019
  y: number;
26378
27020
  };
26379
27021
  } | null;
27022
+ viewSpec: {
27023
+ schemaVersion: 1;
27024
+ grouping: {
27025
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
27026
+ aggregate: {
27027
+ byType: boolean;
27028
+ threshold: number;
27029
+ };
27030
+ labelKey?: string | undefined;
27031
+ };
27032
+ edges: {
27033
+ mode: "all" | "none" | "problems";
27034
+ labels: ("type" | "count")[];
27035
+ render: "refs" | "lines";
27036
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
27037
+ };
27038
+ filters: {
27039
+ entityTypes: string[];
27040
+ labels: {
27041
+ [x: string]: string[];
27042
+ };
27043
+ cells: string[];
27044
+ relationshipTypes: string[];
27045
+ deploymentTargets: string[];
27046
+ lifecycle: string[];
27047
+ conformance: ("conformant" | "non-conformant")[];
27048
+ };
27049
+ focus: {
27050
+ direction: "both" | "upstream" | "downstream";
27051
+ roots: string[];
27052
+ maxHops: 2 | 1 | 3 | "∞";
27053
+ edgeTypes: string[];
27054
+ };
27055
+ expansion: {
27056
+ [x: string]: "expanded" | "collapsed";
27057
+ };
27058
+ style: {
27059
+ selector: string;
27060
+ style: {
27061
+ [x: string]: string;
27062
+ };
27063
+ }[];
27064
+ pins: {
27065
+ [x: string]: {
27066
+ x: number;
27067
+ y: number;
27068
+ };
27069
+ };
27070
+ interaction: "auto" | "free";
27071
+ } | null;
26380
27072
  }>;
26381
27073
  update: SchemaFn<zod.ZodObject<{
26382
27074
  orgId: zod.ZodString;
26383
27075
  projectId: zod.ZodString;
26384
27076
  id: zod.ZodString;
26385
27077
  name: zod.ZodOptional<zod.ZodString>;
26386
- config: zod.ZodOptional<zod.ZodUnknown>;
26387
27078
  pinnedPositions: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
26388
27079
  x: zod.ZodNumber;
26389
27080
  y: zod.ZodNumber;
@@ -26394,26 +27085,27 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26394
27085
  x: number;
26395
27086
  y: number;
26396
27087
  }>>>>;
27088
+ viewSpec: zod.ZodOptional<zod.ZodNullable<zod.ZodUnknown>>;
26397
27089
  }, "strip", zod.ZodTypeAny, {
26398
27090
  id: string;
26399
27091
  orgId: string;
26400
27092
  projectId: string;
26401
27093
  name?: string | undefined;
26402
- config?: unknown;
26403
27094
  pinnedPositions?: Record<string, {
26404
27095
  x: number;
26405
27096
  y: number;
26406
27097
  }> | null | undefined;
27098
+ viewSpec?: unknown;
26407
27099
  }, {
26408
27100
  id: string;
26409
27101
  orgId: string;
26410
27102
  projectId: string;
26411
27103
  name?: string | undefined;
26412
- config?: unknown;
26413
27104
  pinnedPositions?: Record<string, {
26414
27105
  x: number;
26415
27106
  y: number;
26416
27107
  }> | null | undefined;
27108
+ viewSpec?: unknown;
26417
27109
  }>, {
26418
27110
  id: string;
26419
27111
  orgId: string;
@@ -26422,41 +27114,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26422
27114
  ownerUserId: string | null;
26423
27115
  name: string;
26424
27116
  isDefault: boolean;
26425
- config: {
26426
- sort: {
26427
- cells: "name" | "memberCount" | "capacityUsed";
26428
- entities: "name" | "updatedAt" | "state";
27117
+ pinnedPositions: {
27118
+ [x: string]: {
27119
+ x: number;
27120
+ y: number;
27121
+ };
27122
+ } | null;
27123
+ viewSpec: {
27124
+ schemaVersion: 1;
27125
+ grouping: {
27126
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
27127
+ aggregate: {
27128
+ byType: boolean;
27129
+ threshold: number;
27130
+ };
27131
+ labelKey?: string | undefined;
27132
+ };
27133
+ edges: {
27134
+ mode: "all" | "none" | "problems";
27135
+ labels: ("type" | "count")[];
27136
+ render: "refs" | "lines";
27137
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
26429
27138
  };
26430
- filter: {
27139
+ filters: {
26431
27140
  entityTypes: string[];
26432
- states: string[];
26433
27141
  labels: {
26434
27142
  [x: string]: string[];
26435
27143
  };
26436
- relationshipTypes?: string[] | undefined;
26437
- cellNames?: string[] | undefined;
26438
- };
26439
- grouping: {
26440
- cellsEnabled: boolean;
26441
- partitionsEnabled: boolean;
26442
- };
26443
- cardDisplay: {
26444
- properties: string[] | "all" | "required";
26445
- showState: boolean;
26446
- inlineRelationships: boolean;
26447
- maxRelsPerCard: number;
26448
- drawEdges: boolean;
26449
- };
26450
- layout: {
26451
- mode: "auto" | "free";
26452
- positionsPinned: boolean;
26453
- };
26454
- };
26455
- pinnedPositions: {
26456
- [x: string]: {
26457
- x: number;
26458
- y: number;
27144
+ cells: string[];
27145
+ relationshipTypes: string[];
27146
+ deploymentTargets: string[];
27147
+ lifecycle: string[];
27148
+ conformance: ("conformant" | "non-conformant")[];
27149
+ };
27150
+ focus: {
27151
+ direction: "both" | "upstream" | "downstream";
27152
+ roots: string[];
27153
+ maxHops: 2 | 1 | 3 | "∞";
27154
+ edgeTypes: string[];
27155
+ };
27156
+ expansion: {
27157
+ [x: string]: "expanded" | "collapsed";
27158
+ };
27159
+ style: {
27160
+ selector: string;
27161
+ style: {
27162
+ [x: string]: string;
27163
+ };
27164
+ }[];
27165
+ pins: {
27166
+ [x: string]: {
27167
+ x: number;
27168
+ y: number;
27169
+ };
26459
27170
  };
27171
+ interaction: "auto" | "free";
26460
27172
  } | null;
26461
27173
  createdAt: string;
26462
27174
  updatedAt: string;
@@ -26497,41 +27209,61 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
26497
27209
  ownerUserId: string | null;
26498
27210
  name: string;
26499
27211
  isDefault: boolean;
26500
- config: {
26501
- sort: {
26502
- cells: "name" | "memberCount" | "capacityUsed";
26503
- entities: "name" | "updatedAt" | "state";
27212
+ pinnedPositions: {
27213
+ [x: string]: {
27214
+ x: number;
27215
+ y: number;
27216
+ };
27217
+ } | null;
27218
+ viewSpec: {
27219
+ schemaVersion: 1;
27220
+ grouping: {
27221
+ primary: "entityType" | "containment" | "cell" | "dtset" | "label" | "none";
27222
+ aggregate: {
27223
+ byType: boolean;
27224
+ threshold: number;
27225
+ };
27226
+ labelKey?: string | undefined;
26504
27227
  };
26505
- filter: {
27228
+ edges: {
27229
+ mode: "all" | "none" | "problems";
27230
+ labels: ("type" | "count")[];
27231
+ render: "refs" | "lines";
27232
+ sources: ("composition" | "containment" | "relationship-live" | "relationship-schema")[];
27233
+ };
27234
+ filters: {
26506
27235
  entityTypes: string[];
26507
- states: string[];
26508
27236
  labels: {
26509
27237
  [x: string]: string[];
26510
27238
  };
26511
- relationshipTypes?: string[] | undefined;
26512
- cellNames?: string[] | undefined;
26513
- };
26514
- grouping: {
26515
- cellsEnabled: boolean;
26516
- partitionsEnabled: boolean;
26517
- };
26518
- cardDisplay: {
26519
- properties: string[] | "all" | "required";
26520
- showState: boolean;
26521
- inlineRelationships: boolean;
26522
- maxRelsPerCard: number;
26523
- drawEdges: boolean;
26524
- };
26525
- layout: {
26526
- mode: "auto" | "free";
26527
- positionsPinned: boolean;
26528
- };
26529
- };
26530
- pinnedPositions: {
26531
- [x: string]: {
26532
- x: number;
26533
- y: number;
27239
+ cells: string[];
27240
+ relationshipTypes: string[];
27241
+ deploymentTargets: string[];
27242
+ lifecycle: string[];
27243
+ conformance: ("conformant" | "non-conformant")[];
27244
+ };
27245
+ focus: {
27246
+ direction: "both" | "upstream" | "downstream";
27247
+ roots: string[];
27248
+ maxHops: 2 | 1 | 3 | "∞";
27249
+ edgeTypes: string[];
27250
+ };
27251
+ expansion: {
27252
+ [x: string]: "expanded" | "collapsed";
27253
+ };
27254
+ style: {
27255
+ selector: string;
27256
+ style: {
27257
+ [x: string]: string;
27258
+ };
27259
+ }[];
27260
+ pins: {
27261
+ [x: string]: {
27262
+ x: number;
27263
+ y: number;
27264
+ };
26534
27265
  };
27266
+ interaction: "auto" | "free";
26535
27267
  } | null;
26536
27268
  createdAt: string;
26537
27269
  updatedAt: string;