@terrantula/sdk 0.11.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
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-CT3fGCOp.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-CT3fGCOp.mjs';
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';
3
3
  import * as _terrantula_types from '@terrantula/types';
4
4
  export { RegistryInput, RegistryOutput } from '@terrantula/types';
5
5
  import * as zod from 'zod';
6
6
  import * as hono_hono_base from 'hono/hono-base';
7
- import * as hono_utils_types from 'hono/utils/types';
8
7
  import * as hono_utils_http_status from 'hono/utils/http-status';
8
+ import * as hono_utils_types from 'hono/utils/types';
9
9
  import * as hono_types from 'hono/types';
10
10
 
11
11
  /**
@@ -402,8 +402,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
402
402
  envId: string;
403
403
  state: string;
404
404
  properties: hono_utils_types.JSONValue;
405
- entityTypeName: string;
406
405
  labels: hono_utils_types.JSONValue;
406
+ entityTypeName: string;
407
407
  lastSyncedAt: string | null;
408
408
  syncSource: string | null;
409
409
  };
@@ -964,6 +964,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
964
964
  webhookSecret?: string | undefined;
965
965
  body?: string | undefined;
966
966
  title?: string | undefined;
967
+ labels?: string[] | undefined;
967
968
  auth?: {
968
969
  type: "token";
969
970
  token: string;
@@ -988,7 +989,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
988
989
  value?: hono_utils_types.JSONValue | undefined;
989
990
  } | undefined;
990
991
  }[] | undefined;
991
- labels?: string[] | undefined;
992
992
  reviewers?: string[] | undefined;
993
993
  teamReviewers?: string[] | undefined;
994
994
  postMergeDispatch?: {
@@ -1125,8 +1125,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
1125
1125
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
1126
1126
  id: string;
1127
1127
  createdAt: string;
1128
- error: string | null;
1129
1128
  metadata: hono_utils_types.JSONValue;
1129
+ error: string | null;
1130
1130
  output: hono_utils_types.JSONValue;
1131
1131
  orgId: string;
1132
1132
  projectId: string;
@@ -1557,8 +1557,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
1557
1557
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
1558
1558
  id: string;
1559
1559
  createdAt: string;
1560
- error: string | null;
1561
1560
  metadata: hono_utils_types.JSONValue;
1561
+ error: string | null;
1562
1562
  output: hono_utils_types.JSONValue;
1563
1563
  orgId: string;
1564
1564
  projectId: string;
@@ -1919,6 +1919,12 @@ declare const projectApp: hono_hono_base.HonoBase<{
1919
1919
  yellowSeconds?: number | undefined;
1920
1920
  } | null;
1921
1921
  applier: string | null;
1922
+ labels: {
1923
+ [x: string]: string;
1924
+ };
1925
+ labelMappings: {
1926
+ [x: string]: string;
1927
+ };
1922
1928
  createdAt: string;
1923
1929
  updatedAt: string;
1924
1930
  }[];
@@ -1985,6 +1991,12 @@ declare const projectApp: hono_hono_base.HonoBase<{
1985
1991
  yellowSeconds?: number | undefined;
1986
1992
  } | null;
1987
1993
  applier: string | null;
1994
+ labels: {
1995
+ [x: string]: string;
1996
+ };
1997
+ labelMappings: {
1998
+ [x: string]: string;
1999
+ };
1988
2000
  };
1989
2001
  outputFormat: "json";
1990
2002
  status: 201;
@@ -2046,6 +2058,12 @@ declare const projectApp: hono_hono_base.HonoBase<{
2046
2058
  yellowSeconds?: number | undefined;
2047
2059
  } | null;
2048
2060
  applier: string | null;
2061
+ labels: {
2062
+ [x: string]: string;
2063
+ };
2064
+ labelMappings: {
2065
+ [x: string]: string;
2066
+ };
2049
2067
  createdAt: string;
2050
2068
  updatedAt: string;
2051
2069
  };
@@ -2114,6 +2132,12 @@ declare const projectApp: hono_hono_base.HonoBase<{
2114
2132
  yellowSeconds?: number | undefined;
2115
2133
  } | null;
2116
2134
  applier: string | null;
2135
+ labels: {
2136
+ [x: string]: string;
2137
+ };
2138
+ labelMappings: {
2139
+ [x: string]: string;
2140
+ };
2117
2141
  createdAt: string;
2118
2142
  updatedAt: string;
2119
2143
  };
@@ -2146,11 +2170,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
2146
2170
  projectId: string;
2147
2171
  name: string;
2148
2172
  displayName: string | null;
2149
- provider: string;
2173
+ provider: string | null;
2150
2174
  config: {
2151
2175
  [x: string]: hono_utils_types.JSONValue;
2152
2176
  };
2153
2177
  credentialRef: string | null;
2178
+ set: string | null;
2179
+ properties: {
2180
+ [x: string]: string;
2181
+ };
2182
+ capacity: number | null;
2183
+ labels: {
2184
+ [x: string]: string;
2185
+ };
2154
2186
  createdAt: string;
2155
2187
  updatedAt: string;
2156
2188
  }[];
@@ -2170,15 +2202,23 @@ declare const projectApp: hono_hono_base.HonoBase<{
2170
2202
  output: {
2171
2203
  name: string;
2172
2204
  createdAt: string;
2205
+ set: string | null;
2173
2206
  updatedAt: string;
2174
2207
  orgId: string;
2175
2208
  projectId: string;
2176
- provider: string;
2209
+ provider: string | null;
2177
2210
  displayName: string | null;
2211
+ properties: {
2212
+ [x: string]: string;
2213
+ };
2214
+ labels: {
2215
+ [x: string]: string;
2216
+ };
2178
2217
  config: {
2179
2218
  [x: string]: hono_utils_types.JSONValue;
2180
2219
  };
2181
2220
  credentialRef: string | null;
2221
+ capacity: number | null;
2182
2222
  };
2183
2223
  outputFormat: "json";
2184
2224
  status: 201;
@@ -2197,11 +2237,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
2197
2237
  projectId: string;
2198
2238
  name: string;
2199
2239
  displayName: string | null;
2200
- provider: string;
2240
+ provider: string | null;
2201
2241
  config: {
2202
2242
  [x: string]: hono_utils_types.JSONValue;
2203
2243
  };
2204
2244
  credentialRef: string | null;
2245
+ set: string | null;
2246
+ properties: {
2247
+ [x: string]: string;
2248
+ };
2249
+ capacity: number | null;
2250
+ labels: {
2251
+ [x: string]: string;
2252
+ };
2205
2253
  createdAt: string;
2206
2254
  updatedAt: string;
2207
2255
  };
@@ -2227,11 +2275,19 @@ declare const projectApp: hono_hono_base.HonoBase<{
2227
2275
  projectId: string;
2228
2276
  name: string;
2229
2277
  displayName: string | null;
2230
- provider: string;
2278
+ provider: string | null;
2231
2279
  config: {
2232
2280
  [x: string]: hono_utils_types.JSONValue;
2233
2281
  };
2234
2282
  credentialRef: string | null;
2283
+ set: string | null;
2284
+ properties: {
2285
+ [x: string]: string;
2286
+ };
2287
+ capacity: number | null;
2288
+ labels: {
2289
+ [x: string]: string;
2290
+ };
2235
2291
  createdAt: string;
2236
2292
  updatedAt: string;
2237
2293
  };
@@ -2256,6 +2312,116 @@ declare const projectApp: hono_hono_base.HonoBase<{
2256
2312
  };
2257
2313
  };
2258
2314
  }, "/deployment-targets"> | hono_types.MergeSchemaPath<{
2315
+ "/": {
2316
+ $get: {
2317
+ input: {};
2318
+ output: {
2319
+ orgId: string;
2320
+ projectId: string;
2321
+ name: string;
2322
+ displayName: string | null;
2323
+ provider: string;
2324
+ properties: {
2325
+ [x: string]: string;
2326
+ };
2327
+ config: {
2328
+ [x: string]: hono_utils_types.JSONValue;
2329
+ };
2330
+ credentialRef: string | null;
2331
+ labels: {
2332
+ [x: string]: string;
2333
+ };
2334
+ createdAt: string;
2335
+ updatedAt: string;
2336
+ }[];
2337
+ outputFormat: "json";
2338
+ status: hono_utils_http_status.ContentfulStatusCode;
2339
+ };
2340
+ };
2341
+ } & {
2342
+ "/:name": {
2343
+ $get: {
2344
+ input: {
2345
+ param: {
2346
+ name: string;
2347
+ };
2348
+ };
2349
+ output: {
2350
+ orgId: string;
2351
+ projectId: string;
2352
+ name: string;
2353
+ displayName: string | null;
2354
+ provider: string;
2355
+ properties: {
2356
+ [x: string]: string;
2357
+ };
2358
+ config: {
2359
+ [x: string]: hono_utils_types.JSONValue;
2360
+ };
2361
+ credentialRef: string | null;
2362
+ labels: {
2363
+ [x: string]: string;
2364
+ };
2365
+ createdAt: string;
2366
+ updatedAt: string;
2367
+ };
2368
+ outputFormat: "json";
2369
+ status: hono_utils_http_status.ContentfulStatusCode;
2370
+ };
2371
+ };
2372
+ } & {
2373
+ "/:name": {
2374
+ $put: {
2375
+ input: {
2376
+ json?: any;
2377
+ query?: {
2378
+ [x: string]: string | string[];
2379
+ } | undefined;
2380
+ } & {
2381
+ param: {
2382
+ name: string;
2383
+ };
2384
+ };
2385
+ output: {
2386
+ name: string;
2387
+ createdAt: string;
2388
+ updatedAt: string;
2389
+ orgId: string;
2390
+ projectId: string;
2391
+ provider: string;
2392
+ displayName: string | null;
2393
+ properties: {
2394
+ [x: string]: string;
2395
+ };
2396
+ labels: {
2397
+ [x: string]: string;
2398
+ };
2399
+ config: {
2400
+ [x: string]: hono_utils_types.JSONValue;
2401
+ };
2402
+ credentialRef: string | null;
2403
+ };
2404
+ outputFormat: "json";
2405
+ status: hono_utils_http_status.ContentfulStatusCode;
2406
+ };
2407
+ };
2408
+ } & {
2409
+ "/:name": {
2410
+ $delete: {
2411
+ input: {
2412
+ param: {
2413
+ name: string;
2414
+ };
2415
+ };
2416
+ output: {
2417
+ deleted: true;
2418
+ name: string;
2419
+ };
2420
+ outputFormat: "json";
2421
+ status: hono_utils_http_status.ContentfulStatusCode;
2422
+ };
2423
+ };
2424
+ }, "/deployment-target-sets"> | hono_types.MergeSchemaPath<{
2259
2425
  "/": {
2260
2426
  $get: {
2261
2427
  input: {};
@@ -2277,7 +2443,45 @@ declare const projectApp: hono_hono_base.HonoBase<{
2277
2443
  property: string;
2278
2444
  value?: string | undefined;
2279
2445
  } | null;
2280
- deploymentTarget: string | null;
2446
+ targetSelector: {
2447
+ primary: {
2448
+ set: string;
2449
+ policy: "least-loaded" | "round-robin" | "random";
2450
+ match?: {
2451
+ property: string;
2452
+ equals: {
2453
+ source: "environment";
2454
+ } | {
2455
+ name: string;
2456
+ source: "entityProperty";
2457
+ } | {
2458
+ value: string;
2459
+ source: "literal";
2460
+ };
2461
+ }[] | undefined;
2462
+ };
2463
+ roles?: {
2464
+ [x: string]: {
2465
+ set: string;
2466
+ policy: "least-loaded" | "round-robin" | "random";
2467
+ match?: {
2468
+ property: string;
2469
+ equals: {
2470
+ source: "environment";
2471
+ } | {
2472
+ name: string;
2473
+ source: "entityProperty";
2474
+ } | {
2475
+ value: string;
2476
+ source: "literal";
2477
+ };
2478
+ }[] | undefined;
2479
+ };
2480
+ } | undefined;
2481
+ } | null;
2482
+ labels: {
2483
+ [x: string]: string;
2484
+ };
2281
2485
  createdAt: string;
2282
2486
  updatedAt: string;
2283
2487
  }[];
@@ -2306,6 +2510,9 @@ declare const projectApp: hono_hono_base.HonoBase<{
2306
2510
  metric: string;
2307
2511
  aggregate: "max" | "sum" | "avg" | "min";
2308
2512
  }[];
2513
+ labels: {
2514
+ [x: string]: string;
2515
+ };
2309
2516
  entityTypeName: string;
2310
2517
  placementPolicy: "least-loaded" | "round-robin" | "random";
2311
2518
  parentCells: string[];
@@ -2314,7 +2521,42 @@ declare const projectApp: hono_hono_base.HonoBase<{
2314
2521
  property: string;
2315
2522
  value?: string | undefined;
2316
2523
  } | null;
2317
- deploymentTarget: string | null;
2524
+ targetSelector: {
2525
+ primary: {
2526
+ set: string;
2527
+ policy: "least-loaded" | "round-robin" | "random";
2528
+ match?: {
2529
+ property: string;
2530
+ equals: {
2531
+ source: "environment";
2532
+ } | {
2533
+ name: string;
2534
+ source: "entityProperty";
2535
+ } | {
2536
+ value: string;
2537
+ source: "literal";
2538
+ };
2539
+ }[] | undefined;
2540
+ };
2541
+ roles?: {
2542
+ [x: string]: {
2543
+ set: string;
2544
+ policy: "least-loaded" | "round-robin" | "random";
2545
+ match?: {
2546
+ property: string;
2547
+ equals: {
2548
+ source: "environment";
2549
+ } | {
2550
+ name: string;
2551
+ source: "entityProperty";
2552
+ } | {
2553
+ value: string;
2554
+ source: "literal";
2555
+ };
2556
+ }[] | undefined;
2557
+ };
2558
+ } | undefined;
2559
+ } | null;
2318
2560
  };
2319
2561
  outputFormat: "json";
2320
2562
  status: 201;
@@ -2346,7 +2588,45 @@ declare const projectApp: hono_hono_base.HonoBase<{
2346
2588
  property: string;
2347
2589
  value?: string | undefined;
2348
2590
  } | null;
2349
- deploymentTarget: string | null;
2591
+ targetSelector: {
2592
+ primary: {
2593
+ set: string;
2594
+ policy: "least-loaded" | "round-robin" | "random";
2595
+ match?: {
2596
+ property: string;
2597
+ equals: {
2598
+ source: "environment";
2599
+ } | {
2600
+ name: string;
2601
+ source: "entityProperty";
2602
+ } | {
2603
+ value: string;
2604
+ source: "literal";
2605
+ };
2606
+ }[] | undefined;
2607
+ };
2608
+ roles?: {
2609
+ [x: string]: {
2610
+ set: string;
2611
+ policy: "least-loaded" | "round-robin" | "random";
2612
+ match?: {
2613
+ property: string;
2614
+ equals: {
2615
+ source: "environment";
2616
+ } | {
2617
+ name: string;
2618
+ source: "entityProperty";
2619
+ } | {
2620
+ value: string;
2621
+ source: "literal";
2622
+ };
2623
+ }[] | undefined;
2624
+ };
2625
+ } | undefined;
2626
+ } | null;
2627
+ labels: {
2628
+ [x: string]: string;
2629
+ };
2350
2630
  createdAt: string;
2351
2631
  updatedAt: string;
2352
2632
  };
@@ -2385,7 +2665,45 @@ declare const projectApp: hono_hono_base.HonoBase<{
2385
2665
  property: string;
2386
2666
  value?: string | undefined;
2387
2667
  } | null;
2388
- deploymentTarget: string | null;
2668
+ targetSelector: {
2669
+ primary: {
2670
+ set: string;
2671
+ policy: "least-loaded" | "round-robin" | "random";
2672
+ match?: {
2673
+ property: string;
2674
+ equals: {
2675
+ source: "environment";
2676
+ } | {
2677
+ name: string;
2678
+ source: "entityProperty";
2679
+ } | {
2680
+ value: string;
2681
+ source: "literal";
2682
+ };
2683
+ }[] | undefined;
2684
+ };
2685
+ roles?: {
2686
+ [x: string]: {
2687
+ set: string;
2688
+ policy: "least-loaded" | "round-robin" | "random";
2689
+ match?: {
2690
+ property: string;
2691
+ equals: {
2692
+ source: "environment";
2693
+ } | {
2694
+ name: string;
2695
+ source: "entityProperty";
2696
+ } | {
2697
+ value: string;
2698
+ source: "literal";
2699
+ };
2700
+ }[] | undefined;
2701
+ };
2702
+ } | undefined;
2703
+ } | null;
2704
+ labels: {
2705
+ [x: string]: string;
2706
+ };
2389
2707
  createdAt: string;
2390
2708
  updatedAt: string;
2391
2709
  };
@@ -2507,8 +2825,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
2507
2825
  envId: string;
2508
2826
  state: string;
2509
2827
  properties: hono_utils_types.JSONValue;
2510
- entityTypeName: string;
2511
2828
  labels: hono_utils_types.JSONValue;
2829
+ entityTypeName: string;
2512
2830
  lastSyncedAt: string | null;
2513
2831
  syncSource: string | null;
2514
2832
  };
@@ -3065,6 +3383,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
3065
3383
  webhookSecret?: string | undefined;
3066
3384
  body?: string | undefined;
3067
3385
  title?: string | undefined;
3386
+ labels?: string[] | undefined;
3068
3387
  auth?: {
3069
3388
  type: "token";
3070
3389
  token: string;
@@ -3089,7 +3408,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
3089
3408
  value?: hono_utils_types.JSONValue | undefined;
3090
3409
  } | undefined;
3091
3410
  }[] | undefined;
3092
- labels?: string[] | undefined;
3093
3411
  reviewers?: string[] | undefined;
3094
3412
  teamReviewers?: string[] | undefined;
3095
3413
  postMergeDispatch?: {
@@ -3569,6 +3887,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
3569
3887
  webhookSecret?: string | undefined;
3570
3888
  body?: string | undefined;
3571
3889
  title?: string | undefined;
3890
+ labels?: string[] | undefined;
3572
3891
  auth?: {
3573
3892
  type: "token";
3574
3893
  token: string;
@@ -3593,7 +3912,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
3593
3912
  value?: hono_utils_types.JSONValue | undefined;
3594
3913
  } | undefined;
3595
3914
  }[] | undefined;
3596
- labels?: string[] | undefined;
3597
3915
  reviewers?: string[] | undefined;
3598
3916
  teamReviewers?: string[] | undefined;
3599
3917
  postMergeDispatch?: {
@@ -4072,6 +4390,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
4072
4390
  webhookSecret?: string | undefined;
4073
4391
  body?: string | undefined;
4074
4392
  title?: string | undefined;
4393
+ labels?: string[] | undefined;
4075
4394
  auth?: {
4076
4395
  type: "token";
4077
4396
  token: string;
@@ -4096,7 +4415,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
4096
4415
  value?: hono_utils_types.JSONValue | undefined;
4097
4416
  } | undefined;
4098
4417
  }[] | undefined;
4099
- labels?: string[] | undefined;
4100
4418
  reviewers?: string[] | undefined;
4101
4419
  teamReviewers?: string[] | undefined;
4102
4420
  postMergeDispatch?: {
@@ -4580,6 +4898,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
4580
4898
  webhookSecret?: string | undefined;
4581
4899
  body?: string | undefined;
4582
4900
  title?: string | undefined;
4901
+ labels?: string[] | undefined;
4583
4902
  auth?: {
4584
4903
  type: "token";
4585
4904
  token: string;
@@ -4604,7 +4923,6 @@ declare const projectApp: hono_hono_base.HonoBase<{
4604
4923
  value?: hono_utils_types.JSONValue | undefined;
4605
4924
  } | undefined;
4606
4925
  }[] | undefined;
4607
- labels?: string[] | undefined;
4608
4926
  reviewers?: string[] | undefined;
4609
4927
  teamReviewers?: string[] | undefined;
4610
4928
  postMergeDispatch?: {
@@ -4840,6 +5158,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
4840
5158
  labels: {
4841
5159
  [x: string]: string[];
4842
5160
  };
5161
+ relationshipTypes?: string[] | undefined;
5162
+ cellNames?: string[] | undefined;
4843
5163
  };
4844
5164
  grouping: {
4845
5165
  cellsEnabled: boolean;
@@ -4893,6 +5213,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
4893
5213
  labels: {
4894
5214
  [x: string]: string[];
4895
5215
  };
5216
+ relationshipTypes?: string[] | undefined;
5217
+ cellNames?: string[] | undefined;
4896
5218
  };
4897
5219
  grouping: {
4898
5220
  cellsEnabled: boolean;
@@ -4942,6 +5264,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
4942
5264
  labels: {
4943
5265
  [x: string]: string[];
4944
5266
  };
5267
+ relationshipTypes?: string[] | undefined;
5268
+ cellNames?: string[] | undefined;
4945
5269
  };
4946
5270
  grouping: {
4947
5271
  cellsEnabled: boolean;
@@ -4992,6 +5316,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
4992
5316
  labels: {
4993
5317
  [x: string]: string[];
4994
5318
  };
5319
+ relationshipTypes?: string[] | undefined;
5320
+ cellNames?: string[] | undefined;
4995
5321
  };
4996
5322
  grouping: {
4997
5323
  cellsEnabled: boolean;
@@ -5051,6 +5377,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
5051
5377
  labels: {
5052
5378
  [x: string]: string[];
5053
5379
  };
5380
+ relationshipTypes?: string[] | undefined;
5381
+ cellNames?: string[] | undefined;
5054
5382
  };
5055
5383
  grouping: {
5056
5384
  cellsEnabled: boolean;
@@ -5112,6 +5440,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
5112
5440
  labels: {
5113
5441
  [x: string]: string[];
5114
5442
  };
5443
+ relationshipTypes?: string[] | undefined;
5444
+ cellNames?: string[] | undefined;
5115
5445
  };
5116
5446
  grouping: {
5117
5447
  cellsEnabled: boolean;
@@ -5185,6 +5515,8 @@ declare const projectApp: hono_hono_base.HonoBase<{
5185
5515
  labels: {
5186
5516
  [x: string]: string[];
5187
5517
  };
5518
+ relationshipTypes?: string[] | undefined;
5519
+ cellNames?: string[] | undefined;
5188
5520
  };
5189
5521
  grouping: {
5190
5522
  cellsEnabled: boolean;
@@ -5555,9 +5887,9 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
5555
5887
  slug: string;
5556
5888
  id: string;
5557
5889
  createdAt: string;
5890
+ metadata: string | null;
5558
5891
  deletedAt: string | null;
5559
5892
  logo: string | null;
5560
- metadata: string | null;
5561
5893
  suspendedAt: string | null;
5562
5894
  };
5563
5895
  outputFormat: "json";
@@ -5584,12 +5916,14 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
5584
5916
  };
5585
5917
  };
5586
5918
  output: {
5919
+ metadata: {
5920
+ [x: string]: hono_utils_types.JSONValue;
5921
+ } | null;
5587
5922
  id: string;
5588
5923
  name: string;
5589
5924
  slug: string;
5590
5925
  logo: string | null;
5591
5926
  createdAt: string;
5592
- metadata: string | null;
5593
5927
  deletedAt: string | null;
5594
5928
  suspendedAt: string | null;
5595
5929
  };
@@ -6153,10 +6487,10 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
6153
6487
  name: string;
6154
6488
  slug: string;
6155
6489
  createdAt: string;
6156
- updatedAt: string;
6157
6490
  metadata: {
6158
6491
  [x: string]: hono_utils_types.JSONValue;
6159
6492
  };
6493
+ updatedAt: string;
6160
6494
  orgId: string;
6161
6495
  isDemo: boolean;
6162
6496
  lastDriftRunAt: string | null;
@@ -6894,9 +7228,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
6894
7228
  slug: string;
6895
7229
  id: string;
6896
7230
  createdAt: string;
7231
+ metadata: string | null;
6897
7232
  deletedAt: string | null;
6898
7233
  logo: string | null;
6899
- metadata: string | null;
6900
7234
  suspendedAt: string | null;
6901
7235
  }>;
6902
7236
  get: SchemaFn<zod.ZodObject<{
@@ -6908,12 +7242,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
6908
7242
  }>, {
6909
7243
  error: string;
6910
7244
  } | {
7245
+ metadata: {
7246
+ [x: string]: hono_utils_types.JSONValue;
7247
+ } | null;
6911
7248
  id: string;
6912
7249
  name: string;
6913
7250
  slug: string;
6914
7251
  logo: string | null;
6915
7252
  createdAt: string;
6916
- metadata: string | null;
6917
7253
  deletedAt: string | null;
6918
7254
  suspendedAt: string | null;
6919
7255
  }>;
@@ -7165,10 +7501,10 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
7165
7501
  name: string;
7166
7502
  slug: string;
7167
7503
  createdAt: string;
7168
- updatedAt: string;
7169
7504
  metadata: {
7170
7505
  [x: string]: hono_utils_types.JSONValue;
7171
7506
  };
7507
+ updatedAt: string;
7172
7508
  orgId: string;
7173
7509
  isDemo: boolean;
7174
7510
  lastDriftRunAt: string | null;
@@ -7817,6 +8153,12 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
7817
8153
  yellowSeconds?: number | undefined;
7818
8154
  } | null;
7819
8155
  applier: string | null;
8156
+ labels: {
8157
+ [x: string]: string;
8158
+ };
8159
+ labelMappings: {
8160
+ [x: string]: string;
8161
+ };
7820
8162
  createdAt: string;
7821
8163
  updatedAt: string;
7822
8164
  }[]>;
@@ -7880,6 +8222,12 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
7880
8222
  yellowSeconds?: number | undefined;
7881
8223
  } | null;
7882
8224
  applier: string | null;
8225
+ labels: {
8226
+ [x: string]: string;
8227
+ };
8228
+ labelMappings: {
8229
+ [x: string]: string;
8230
+ };
7883
8231
  createdAt: string;
7884
8232
  updatedAt: string;
7885
8233
  }>;
@@ -8030,6 +8378,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8030
8378
  kind: "data" | "resource" | "module";
8031
8379
  address: string;
8032
8380
  }>, "many">>;
8381
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8382
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8033
8383
  } & {
8034
8384
  orgId: zod.ZodString;
8035
8385
  projectId: zod.ZodString;
@@ -8082,6 +8432,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8082
8432
  yellowSeconds?: number | undefined;
8083
8433
  } | undefined;
8084
8434
  applier?: string | undefined;
8435
+ labels?: Record<string, string> | undefined;
8436
+ labelMappings?: Record<string, string> | undefined;
8085
8437
  }, {
8086
8438
  name: string;
8087
8439
  orgId: string;
@@ -8131,6 +8483,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8131
8483
  yellowSeconds?: number | undefined;
8132
8484
  } | undefined;
8133
8485
  applier?: string | undefined;
8486
+ labels?: Record<string, string> | undefined;
8487
+ labelMappings?: Record<string, string> | undefined;
8134
8488
  }>, {
8135
8489
  name: string;
8136
8490
  createdAt: string;
@@ -8181,6 +8535,12 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8181
8535
  yellowSeconds?: number | undefined;
8182
8536
  } | null;
8183
8537
  applier: string | null;
8538
+ labels: {
8539
+ [x: string]: string;
8540
+ };
8541
+ labelMappings: {
8542
+ [x: string]: string;
8543
+ };
8184
8544
  }>;
8185
8545
  update: SchemaFn<zod.ZodObject<{
8186
8546
  kind: zod.ZodLiteral<"EntityType">;
@@ -8329,6 +8689,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8329
8689
  kind: "data" | "resource" | "module";
8330
8690
  address: string;
8331
8691
  }>, "many">>;
8692
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8693
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8332
8694
  } & {
8333
8695
  orgId: zod.ZodString;
8334
8696
  projectId: zod.ZodString;
@@ -8381,6 +8743,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8381
8743
  yellowSeconds?: number | undefined;
8382
8744
  } | undefined;
8383
8745
  applier?: string | undefined;
8746
+ labels?: Record<string, string> | undefined;
8747
+ labelMappings?: Record<string, string> | undefined;
8384
8748
  }, {
8385
8749
  name: string;
8386
8750
  orgId: string;
@@ -8430,6 +8794,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8430
8794
  yellowSeconds?: number | undefined;
8431
8795
  } | undefined;
8432
8796
  applier?: string | undefined;
8797
+ labels?: Record<string, string> | undefined;
8798
+ labelMappings?: Record<string, string> | undefined;
8433
8799
  }>, {
8434
8800
  orgId: string;
8435
8801
  projectId: string;
@@ -8478,6 +8844,12 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8478
8844
  yellowSeconds?: number | undefined;
8479
8845
  } | null;
8480
8846
  applier: string | null;
8847
+ labels: {
8848
+ [x: string]: string;
8849
+ };
8850
+ labelMappings: {
8851
+ [x: string]: string;
8852
+ };
8481
8853
  createdAt: string;
8482
8854
  updatedAt: string;
8483
8855
  }>;
@@ -8513,11 +8885,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8513
8885
  projectId: string;
8514
8886
  name: string;
8515
8887
  displayName: string | null;
8516
- provider: string;
8888
+ provider: string | null;
8517
8889
  config: {
8518
8890
  [x: string]: hono_utils_types.JSONValue;
8519
8891
  };
8520
8892
  credentialRef: string | null;
8893
+ set: string | null;
8894
+ properties: {
8895
+ [x: string]: string;
8896
+ };
8897
+ capacity: number | null;
8898
+ labels: {
8899
+ [x: string]: string;
8900
+ };
8521
8901
  createdAt: string;
8522
8902
  updatedAt: string;
8523
8903
  }[]>;
@@ -8538,21 +8918,33 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8538
8918
  projectId: string;
8539
8919
  name: string;
8540
8920
  displayName: string | null;
8541
- provider: string;
8921
+ provider: string | null;
8542
8922
  config: {
8543
8923
  [x: string]: hono_utils_types.JSONValue;
8544
8924
  };
8545
8925
  credentialRef: string | null;
8546
- createdAt: string;
8926
+ set: string | null;
8927
+ properties: {
8928
+ [x: string]: string;
8929
+ };
8930
+ capacity: number | null;
8931
+ labels: {
8932
+ [x: string]: string;
8933
+ };
8934
+ createdAt: string;
8547
8935
  updatedAt: string;
8548
8936
  }>;
8549
8937
  create: SchemaFn<zod.ZodObject<{
8550
8938
  kind: zod.ZodLiteral<"DeploymentTarget">;
8551
8939
  name: zod.ZodString;
8552
8940
  displayName: zod.ZodOptional<zod.ZodString>;
8553
- provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
8941
+ set: zod.ZodOptional<zod.ZodString>;
8942
+ provider: zod.ZodOptional<zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>>;
8554
8943
  config: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
8944
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
8945
+ capacity: zod.ZodOptional<zod.ZodNumber>;
8555
8946
  credentialRef: zod.ZodOptional<zod.ZodString>;
8947
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8556
8948
  } & {
8557
8949
  orgId: zod.ZodString;
8558
8950
  projectId: zod.ZodString;
@@ -8560,40 +8952,60 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8560
8952
  name: string;
8561
8953
  orgId: string;
8562
8954
  projectId: string;
8563
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
8955
+ properties: Record<string, string>;
8564
8956
  kind: "DeploymentTarget";
8565
8957
  config: Record<string, unknown>;
8958
+ set?: string | undefined;
8959
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8566
8960
  displayName?: string | undefined;
8961
+ labels?: Record<string, string> | undefined;
8567
8962
  credentialRef?: string | undefined;
8963
+ capacity?: number | undefined;
8568
8964
  }, {
8569
8965
  name: string;
8570
8966
  orgId: string;
8571
8967
  projectId: string;
8572
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
8573
8968
  kind: "DeploymentTarget";
8969
+ set?: string | undefined;
8970
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8574
8971
  displayName?: string | undefined;
8972
+ properties?: Record<string, string> | undefined;
8973
+ labels?: Record<string, string> | undefined;
8575
8974
  config?: Record<string, unknown> | undefined;
8576
8975
  credentialRef?: string | undefined;
8976
+ capacity?: number | undefined;
8577
8977
  }>, {
8578
8978
  name: string;
8579
8979
  createdAt: string;
8980
+ set: string | null;
8580
8981
  updatedAt: string;
8581
8982
  orgId: string;
8582
8983
  projectId: string;
8583
- provider: string;
8984
+ provider: string | null;
8584
8985
  displayName: string | null;
8986
+ properties: {
8987
+ [x: string]: string;
8988
+ };
8989
+ labels: {
8990
+ [x: string]: string;
8991
+ };
8585
8992
  config: {
8586
8993
  [x: string]: hono_utils_types.JSONValue;
8587
8994
  };
8588
8995
  credentialRef: string | null;
8996
+ capacity: number | null;
8589
8997
  }>;
8590
8998
  update: SchemaFn<zod.ZodObject<{
8591
8999
  kind: zod.ZodLiteral<"DeploymentTarget">;
8592
9000
  name: zod.ZodString;
8593
9001
  displayName: zod.ZodOptional<zod.ZodString>;
8594
- provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
9002
+ set: zod.ZodOptional<zod.ZodString>;
9003
+ provider: zod.ZodOptional<zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>>;
8595
9004
  config: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
9005
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
9006
+ capacity: zod.ZodOptional<zod.ZodNumber>;
8596
9007
  credentialRef: zod.ZodOptional<zod.ZodString>;
9008
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
8597
9009
  } & {
8598
9010
  orgId: zod.ZodString;
8599
9011
  projectId: zod.ZodString;
@@ -8601,32 +9013,178 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8601
9013
  name: string;
8602
9014
  orgId: string;
8603
9015
  projectId: string;
8604
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
9016
+ properties: Record<string, string>;
8605
9017
  kind: "DeploymentTarget";
8606
9018
  config: Record<string, unknown>;
9019
+ set?: string | undefined;
9020
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8607
9021
  displayName?: string | undefined;
9022
+ labels?: Record<string, string> | undefined;
8608
9023
  credentialRef?: string | undefined;
9024
+ capacity?: number | undefined;
8609
9025
  }, {
8610
9026
  name: string;
8611
9027
  orgId: string;
8612
9028
  projectId: string;
8613
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
8614
9029
  kind: "DeploymentTarget";
9030
+ set?: string | undefined;
9031
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
8615
9032
  displayName?: string | undefined;
9033
+ properties?: Record<string, string> | undefined;
9034
+ labels?: Record<string, string> | undefined;
8616
9035
  config?: Record<string, unknown> | undefined;
8617
9036
  credentialRef?: string | undefined;
9037
+ capacity?: number | undefined;
9038
+ }>, {
9039
+ orgId: string;
9040
+ projectId: string;
9041
+ name: string;
9042
+ displayName: string | null;
9043
+ provider: string | null;
9044
+ config: {
9045
+ [x: string]: hono_utils_types.JSONValue;
9046
+ };
9047
+ credentialRef: string | null;
9048
+ set: string | null;
9049
+ properties: {
9050
+ [x: string]: string;
9051
+ };
9052
+ capacity: number | null;
9053
+ labels: {
9054
+ [x: string]: string;
9055
+ };
9056
+ createdAt: string;
9057
+ updatedAt: string;
9058
+ }>;
9059
+ delete: SchemaFn<zod.ZodObject<{
9060
+ orgId: zod.ZodString;
9061
+ projectId: zod.ZodString;
9062
+ name: zod.ZodString;
9063
+ }, "strip", zod.ZodTypeAny, {
9064
+ name: string;
9065
+ orgId: string;
9066
+ projectId: string;
9067
+ }, {
9068
+ name: string;
9069
+ orgId: string;
9070
+ projectId: string;
9071
+ }>, {
9072
+ deleted: true;
9073
+ name: string;
9074
+ }>;
9075
+ };
9076
+ deploymentTargetSets: {
9077
+ list: SchemaFn<zod.ZodObject<{
9078
+ orgId: zod.ZodString;
9079
+ projectId: zod.ZodString;
9080
+ }, "strip", zod.ZodTypeAny, {
9081
+ orgId: string;
9082
+ projectId: string;
9083
+ }, {
9084
+ orgId: string;
9085
+ projectId: string;
9086
+ }>, {
9087
+ orgId: string;
9088
+ projectId: string;
9089
+ name: string;
9090
+ displayName: string | null;
9091
+ provider: string;
9092
+ properties: {
9093
+ [x: string]: string;
9094
+ };
9095
+ config: {
9096
+ [x: string]: hono_utils_types.JSONValue;
9097
+ };
9098
+ credentialRef: string | null;
9099
+ labels: {
9100
+ [x: string]: string;
9101
+ };
9102
+ createdAt: string;
9103
+ updatedAt: string;
9104
+ }[]>;
9105
+ get: SchemaFn<zod.ZodObject<{
9106
+ orgId: zod.ZodString;
9107
+ projectId: zod.ZodString;
9108
+ name: zod.ZodString;
9109
+ }, "strip", zod.ZodTypeAny, {
9110
+ name: string;
9111
+ orgId: string;
9112
+ projectId: string;
9113
+ }, {
9114
+ name: string;
9115
+ orgId: string;
9116
+ projectId: string;
8618
9117
  }>, {
8619
9118
  orgId: string;
8620
9119
  projectId: string;
8621
9120
  name: string;
8622
9121
  displayName: string | null;
8623
9122
  provider: string;
9123
+ properties: {
9124
+ [x: string]: string;
9125
+ };
8624
9126
  config: {
8625
9127
  [x: string]: hono_utils_types.JSONValue;
8626
9128
  };
8627
9129
  credentialRef: string | null;
9130
+ labels: {
9131
+ [x: string]: string;
9132
+ };
9133
+ createdAt: string;
9134
+ updatedAt: string;
9135
+ }>;
9136
+ put: SchemaFn<zod.ZodObject<{
9137
+ kind: zod.ZodLiteral<"DeploymentTargetSet">;
9138
+ name: zod.ZodString;
9139
+ displayName: zod.ZodOptional<zod.ZodString>;
9140
+ provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
9141
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
9142
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
9143
+ credentialRef: zod.ZodOptional<zod.ZodString>;
9144
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
9145
+ } & {
9146
+ orgId: zod.ZodString;
9147
+ projectId: zod.ZodString;
9148
+ }, "strip", zod.ZodTypeAny, {
9149
+ name: string;
9150
+ orgId: string;
9151
+ projectId: string;
9152
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
9153
+ properties: Record<string, string>;
9154
+ kind: "DeploymentTargetSet";
9155
+ displayName?: string | undefined;
9156
+ labels?: Record<string, string> | undefined;
9157
+ config?: Record<string, unknown> | undefined;
9158
+ credentialRef?: string | undefined;
9159
+ }, {
9160
+ name: string;
9161
+ orgId: string;
9162
+ projectId: string;
9163
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
9164
+ kind: "DeploymentTargetSet";
9165
+ displayName?: string | undefined;
9166
+ properties?: Record<string, string> | undefined;
9167
+ labels?: Record<string, string> | undefined;
9168
+ config?: Record<string, unknown> | undefined;
9169
+ credentialRef?: string | undefined;
9170
+ }>, {
9171
+ name: string;
8628
9172
  createdAt: string;
8629
9173
  updatedAt: string;
9174
+ orgId: string;
9175
+ projectId: string;
9176
+ provider: string;
9177
+ displayName: string | null;
9178
+ properties: {
9179
+ [x: string]: string;
9180
+ };
9181
+ labels: {
9182
+ [x: string]: string;
9183
+ };
9184
+ config: {
9185
+ [x: string]: hono_utils_types.JSONValue;
9186
+ };
9187
+ credentialRef: string | null;
8630
9188
  }>;
8631
9189
  delete: SchemaFn<zod.ZodObject<{
8632
9190
  orgId: zod.ZodString;
@@ -8813,8 +9371,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8813
9371
  envId: string;
8814
9372
  state: string;
8815
9373
  properties: hono_utils_types.JSONValue;
8816
- entityTypeName: string;
8817
9374
  labels: hono_utils_types.JSONValue;
9375
+ entityTypeName: string;
8818
9376
  lastSyncedAt: string | null;
8819
9377
  syncSource: string | null;
8820
9378
  }>;
@@ -8892,8 +9450,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
8892
9450
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
8893
9451
  id: string;
8894
9452
  createdAt: string;
8895
- error: string | null;
8896
9453
  metadata: hono_utils_types.JSONValue;
9454
+ error: string | null;
8897
9455
  output: hono_utils_types.JSONValue;
8898
9456
  orgId: string;
8899
9457
  projectId: string;
@@ -9031,7 +9589,45 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9031
9589
  property: string;
9032
9590
  value?: string | undefined;
9033
9591
  } | null;
9034
- deploymentTarget: string | null;
9592
+ targetSelector: {
9593
+ primary: {
9594
+ set: string;
9595
+ policy: "least-loaded" | "round-robin" | "random";
9596
+ match?: {
9597
+ property: string;
9598
+ equals: {
9599
+ source: "environment";
9600
+ } | {
9601
+ name: string;
9602
+ source: "entityProperty";
9603
+ } | {
9604
+ value: string;
9605
+ source: "literal";
9606
+ };
9607
+ }[] | undefined;
9608
+ };
9609
+ roles?: {
9610
+ [x: string]: {
9611
+ set: string;
9612
+ policy: "least-loaded" | "round-robin" | "random";
9613
+ match?: {
9614
+ property: string;
9615
+ equals: {
9616
+ source: "environment";
9617
+ } | {
9618
+ name: string;
9619
+ source: "entityProperty";
9620
+ } | {
9621
+ value: string;
9622
+ source: "literal";
9623
+ };
9624
+ }[] | undefined;
9625
+ };
9626
+ } | undefined;
9627
+ } | null;
9628
+ labels: {
9629
+ [x: string]: string;
9630
+ };
9035
9631
  createdAt: string;
9036
9632
  updatedAt: string;
9037
9633
  }[]>;
@@ -9065,7 +9661,45 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9065
9661
  property: string;
9066
9662
  value?: string | undefined;
9067
9663
  } | null;
9068
- deploymentTarget: string | null;
9664
+ targetSelector: {
9665
+ primary: {
9666
+ set: string;
9667
+ policy: "least-loaded" | "round-robin" | "random";
9668
+ match?: {
9669
+ property: string;
9670
+ equals: {
9671
+ source: "environment";
9672
+ } | {
9673
+ name: string;
9674
+ source: "entityProperty";
9675
+ } | {
9676
+ value: string;
9677
+ source: "literal";
9678
+ };
9679
+ }[] | undefined;
9680
+ };
9681
+ roles?: {
9682
+ [x: string]: {
9683
+ set: string;
9684
+ policy: "least-loaded" | "round-robin" | "random";
9685
+ match?: {
9686
+ property: string;
9687
+ equals: {
9688
+ source: "environment";
9689
+ } | {
9690
+ name: string;
9691
+ source: "entityProperty";
9692
+ } | {
9693
+ value: string;
9694
+ source: "literal";
9695
+ };
9696
+ }[] | undefined;
9697
+ };
9698
+ } | undefined;
9699
+ } | null;
9700
+ labels: {
9701
+ [x: string]: string;
9702
+ };
9069
9703
  createdAt: string;
9070
9704
  updatedAt: string;
9071
9705
  }>;
@@ -9111,95 +9745,437 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9111
9745
  value?: string | undefined;
9112
9746
  };
9113
9747
  }>>;
9114
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
9115
- } & {
9116
- orgId: zod.ZodString;
9117
- projectId: zod.ZodString;
9118
- }, "strip", zod.ZodTypeAny, {
9119
- name: string;
9120
- orgId: string;
9121
- projectId: string;
9122
- entityType: string;
9123
- constraints: {
9124
- max: number;
9125
- metric: string;
9126
- aggregate: "max" | "sum" | "avg" | "min";
9127
- }[];
9128
- kind: "Cell";
9129
- placementPolicy: "least-loaded" | "round-robin" | "random";
9130
- parentCells: string[];
9131
- displayName?: string | undefined;
9132
- deploymentTarget?: string | undefined;
9133
- membership?: {
9134
- derivedFrom: {
9135
- property: string;
9136
- value?: string | undefined;
9137
- };
9138
- } | undefined;
9139
- }, {
9140
- name: string;
9141
- orgId: string;
9142
- projectId: string;
9143
- entityType: string;
9144
- kind: "Cell";
9145
- displayName?: string | undefined;
9146
- constraints?: {
9147
- max: number;
9148
- metric: string;
9149
- aggregate: "max" | "sum" | "avg" | "min";
9150
- }[] | undefined;
9151
- placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
9152
- parentCells?: string[] | undefined;
9153
- deploymentTarget?: string | undefined;
9154
- membership?: {
9155
- derivedFrom: {
9156
- property: string;
9157
- value?: string | undefined;
9158
- };
9159
- } | undefined;
9160
- }>, {
9161
- name: string;
9162
- createdAt: string;
9163
- updatedAt: string;
9164
- orgId: string;
9165
- projectId: string;
9166
- displayName: string | null;
9167
- constraints: {
9168
- max: number;
9169
- metric: string;
9170
- aggregate: "max" | "sum" | "avg" | "min";
9171
- }[];
9172
- entityTypeName: string;
9173
- placementPolicy: "least-loaded" | "round-robin" | "random";
9174
- parentCells: string[];
9175
- membershipMode: string;
9176
- membershipDerivedFrom: {
9177
- property: string;
9178
- value?: string | undefined;
9179
- } | null;
9180
- deploymentTarget: string | null;
9181
- }>;
9182
- update: SchemaFn<zod.ZodObject<{
9183
- kind: zod.ZodLiteral<"Cell">;
9184
- name: zod.ZodString;
9185
- displayName: zod.ZodOptional<zod.ZodString>;
9186
- entityType: zod.ZodString;
9187
- placementPolicy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
9188
- constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
9189
- metric: zod.ZodString;
9190
- aggregate: zod.ZodEnum<["sum", "avg", "min", "max"]>;
9191
- max: zod.ZodNumber;
9192
- }, "strip", zod.ZodTypeAny, {
9193
- max: number;
9194
- metric: string;
9195
- aggregate: "max" | "sum" | "avg" | "min";
9196
- }, {
9197
- max: number;
9198
- metric: string;
9199
- aggregate: "max" | "sum" | "avg" | "min";
9200
- }>, "many">>>;
9201
- parentCells: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
9202
- membership: zod.ZodOptional<zod.ZodObject<{
9748
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
9749
+ primary: zod.ZodObject<{
9750
+ set: zod.ZodString;
9751
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
9752
+ property: zod.ZodString;
9753
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
9754
+ source: zod.ZodLiteral<"environment">;
9755
+ }, "strip", zod.ZodTypeAny, {
9756
+ source: "environment";
9757
+ }, {
9758
+ source: "environment";
9759
+ }>, zod.ZodObject<{
9760
+ source: zod.ZodLiteral<"entityProperty">;
9761
+ name: zod.ZodString;
9762
+ }, "strip", zod.ZodTypeAny, {
9763
+ name: string;
9764
+ source: "entityProperty";
9765
+ }, {
9766
+ name: string;
9767
+ source: "entityProperty";
9768
+ }>, zod.ZodObject<{
9769
+ source: zod.ZodLiteral<"literal">;
9770
+ value: zod.ZodString;
9771
+ }, "strip", zod.ZodTypeAny, {
9772
+ value: string;
9773
+ source: "literal";
9774
+ }, {
9775
+ value: string;
9776
+ source: "literal";
9777
+ }>]>;
9778
+ }, "strip", zod.ZodTypeAny, {
9779
+ property: string;
9780
+ equals: {
9781
+ source: "environment";
9782
+ } | {
9783
+ name: string;
9784
+ source: "entityProperty";
9785
+ } | {
9786
+ value: string;
9787
+ source: "literal";
9788
+ };
9789
+ }, {
9790
+ property: string;
9791
+ equals: {
9792
+ source: "environment";
9793
+ } | {
9794
+ name: string;
9795
+ source: "entityProperty";
9796
+ } | {
9797
+ value: string;
9798
+ source: "literal";
9799
+ };
9800
+ }>, "many">>;
9801
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
9802
+ }, "strip", zod.ZodTypeAny, {
9803
+ set: string;
9804
+ policy: "least-loaded" | "round-robin" | "random";
9805
+ match?: {
9806
+ property: string;
9807
+ equals: {
9808
+ source: "environment";
9809
+ } | {
9810
+ name: string;
9811
+ source: "entityProperty";
9812
+ } | {
9813
+ value: string;
9814
+ source: "literal";
9815
+ };
9816
+ }[] | undefined;
9817
+ }, {
9818
+ set: string;
9819
+ match?: {
9820
+ property: string;
9821
+ equals: {
9822
+ source: "environment";
9823
+ } | {
9824
+ name: string;
9825
+ source: "entityProperty";
9826
+ } | {
9827
+ value: string;
9828
+ source: "literal";
9829
+ };
9830
+ }[] | undefined;
9831
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
9832
+ }>;
9833
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
9834
+ set: zod.ZodString;
9835
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
9836
+ property: zod.ZodString;
9837
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
9838
+ source: zod.ZodLiteral<"environment">;
9839
+ }, "strip", zod.ZodTypeAny, {
9840
+ source: "environment";
9841
+ }, {
9842
+ source: "environment";
9843
+ }>, zod.ZodObject<{
9844
+ source: zod.ZodLiteral<"entityProperty">;
9845
+ name: zod.ZodString;
9846
+ }, "strip", zod.ZodTypeAny, {
9847
+ name: string;
9848
+ source: "entityProperty";
9849
+ }, {
9850
+ name: string;
9851
+ source: "entityProperty";
9852
+ }>, zod.ZodObject<{
9853
+ source: zod.ZodLiteral<"literal">;
9854
+ value: zod.ZodString;
9855
+ }, "strip", zod.ZodTypeAny, {
9856
+ value: string;
9857
+ source: "literal";
9858
+ }, {
9859
+ value: string;
9860
+ source: "literal";
9861
+ }>]>;
9862
+ }, "strip", zod.ZodTypeAny, {
9863
+ property: string;
9864
+ equals: {
9865
+ source: "environment";
9866
+ } | {
9867
+ name: string;
9868
+ source: "entityProperty";
9869
+ } | {
9870
+ value: string;
9871
+ source: "literal";
9872
+ };
9873
+ }, {
9874
+ property: string;
9875
+ equals: {
9876
+ source: "environment";
9877
+ } | {
9878
+ name: string;
9879
+ source: "entityProperty";
9880
+ } | {
9881
+ value: string;
9882
+ source: "literal";
9883
+ };
9884
+ }>, "many">>;
9885
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
9886
+ }, "strip", zod.ZodTypeAny, {
9887
+ set: string;
9888
+ policy: "least-loaded" | "round-robin" | "random";
9889
+ match?: {
9890
+ property: string;
9891
+ equals: {
9892
+ source: "environment";
9893
+ } | {
9894
+ name: string;
9895
+ source: "entityProperty";
9896
+ } | {
9897
+ value: string;
9898
+ source: "literal";
9899
+ };
9900
+ }[] | undefined;
9901
+ }, {
9902
+ set: string;
9903
+ match?: {
9904
+ property: string;
9905
+ equals: {
9906
+ source: "environment";
9907
+ } | {
9908
+ name: string;
9909
+ source: "entityProperty";
9910
+ } | {
9911
+ value: string;
9912
+ source: "literal";
9913
+ };
9914
+ }[] | undefined;
9915
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
9916
+ }>>>;
9917
+ }, "strip", zod.ZodTypeAny, {
9918
+ primary: {
9919
+ set: string;
9920
+ policy: "least-loaded" | "round-robin" | "random";
9921
+ match?: {
9922
+ property: string;
9923
+ equals: {
9924
+ source: "environment";
9925
+ } | {
9926
+ name: string;
9927
+ source: "entityProperty";
9928
+ } | {
9929
+ value: string;
9930
+ source: "literal";
9931
+ };
9932
+ }[] | undefined;
9933
+ };
9934
+ roles?: Record<string, {
9935
+ set: string;
9936
+ policy: "least-loaded" | "round-robin" | "random";
9937
+ match?: {
9938
+ property: string;
9939
+ equals: {
9940
+ source: "environment";
9941
+ } | {
9942
+ name: string;
9943
+ source: "entityProperty";
9944
+ } | {
9945
+ value: string;
9946
+ source: "literal";
9947
+ };
9948
+ }[] | undefined;
9949
+ }> | undefined;
9950
+ }, {
9951
+ primary: {
9952
+ set: string;
9953
+ match?: {
9954
+ property: string;
9955
+ equals: {
9956
+ source: "environment";
9957
+ } | {
9958
+ name: string;
9959
+ source: "entityProperty";
9960
+ } | {
9961
+ value: string;
9962
+ source: "literal";
9963
+ };
9964
+ }[] | undefined;
9965
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
9966
+ };
9967
+ roles?: Record<string, {
9968
+ set: string;
9969
+ match?: {
9970
+ property: string;
9971
+ equals: {
9972
+ source: "environment";
9973
+ } | {
9974
+ name: string;
9975
+ source: "entityProperty";
9976
+ } | {
9977
+ value: string;
9978
+ source: "literal";
9979
+ };
9980
+ }[] | undefined;
9981
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
9982
+ }> | undefined;
9983
+ }>>;
9984
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
9985
+ } & {
9986
+ orgId: zod.ZodString;
9987
+ projectId: zod.ZodString;
9988
+ }, "strip", zod.ZodTypeAny, {
9989
+ name: string;
9990
+ orgId: string;
9991
+ projectId: string;
9992
+ entityType: string;
9993
+ constraints: {
9994
+ max: number;
9995
+ metric: string;
9996
+ aggregate: "max" | "sum" | "avg" | "min";
9997
+ }[];
9998
+ kind: "Cell";
9999
+ placementPolicy: "least-loaded" | "round-robin" | "random";
10000
+ parentCells: string[];
10001
+ displayName?: string | undefined;
10002
+ labels?: Record<string, string> | undefined;
10003
+ targetSelector?: {
10004
+ primary: {
10005
+ set: string;
10006
+ policy: "least-loaded" | "round-robin" | "random";
10007
+ match?: {
10008
+ property: string;
10009
+ equals: {
10010
+ source: "environment";
10011
+ } | {
10012
+ name: string;
10013
+ source: "entityProperty";
10014
+ } | {
10015
+ value: string;
10016
+ source: "literal";
10017
+ };
10018
+ }[] | undefined;
10019
+ };
10020
+ roles?: Record<string, {
10021
+ set: string;
10022
+ policy: "least-loaded" | "round-robin" | "random";
10023
+ match?: {
10024
+ property: string;
10025
+ equals: {
10026
+ source: "environment";
10027
+ } | {
10028
+ name: string;
10029
+ source: "entityProperty";
10030
+ } | {
10031
+ value: string;
10032
+ source: "literal";
10033
+ };
10034
+ }[] | undefined;
10035
+ }> | undefined;
10036
+ } | undefined;
10037
+ membership?: {
10038
+ derivedFrom: {
10039
+ property: string;
10040
+ value?: string | undefined;
10041
+ };
10042
+ } | undefined;
10043
+ }, {
10044
+ name: string;
10045
+ orgId: string;
10046
+ projectId: string;
10047
+ entityType: string;
10048
+ kind: "Cell";
10049
+ displayName?: string | undefined;
10050
+ constraints?: {
10051
+ max: number;
10052
+ metric: string;
10053
+ aggregate: "max" | "sum" | "avg" | "min";
10054
+ }[] | undefined;
10055
+ labels?: Record<string, string> | undefined;
10056
+ placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
10057
+ parentCells?: string[] | undefined;
10058
+ targetSelector?: {
10059
+ primary: {
10060
+ set: string;
10061
+ match?: {
10062
+ property: string;
10063
+ equals: {
10064
+ source: "environment";
10065
+ } | {
10066
+ name: string;
10067
+ source: "entityProperty";
10068
+ } | {
10069
+ value: string;
10070
+ source: "literal";
10071
+ };
10072
+ }[] | undefined;
10073
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10074
+ };
10075
+ roles?: Record<string, {
10076
+ set: string;
10077
+ match?: {
10078
+ property: string;
10079
+ equals: {
10080
+ source: "environment";
10081
+ } | {
10082
+ name: string;
10083
+ source: "entityProperty";
10084
+ } | {
10085
+ value: string;
10086
+ source: "literal";
10087
+ };
10088
+ }[] | undefined;
10089
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10090
+ }> | undefined;
10091
+ } | undefined;
10092
+ membership?: {
10093
+ derivedFrom: {
10094
+ property: string;
10095
+ value?: string | undefined;
10096
+ };
10097
+ } | undefined;
10098
+ }>, {
10099
+ name: string;
10100
+ createdAt: string;
10101
+ updatedAt: string;
10102
+ orgId: string;
10103
+ projectId: string;
10104
+ displayName: string | null;
10105
+ constraints: {
10106
+ max: number;
10107
+ metric: string;
10108
+ aggregate: "max" | "sum" | "avg" | "min";
10109
+ }[];
10110
+ labels: {
10111
+ [x: string]: string;
10112
+ };
10113
+ entityTypeName: string;
10114
+ placementPolicy: "least-loaded" | "round-robin" | "random";
10115
+ parentCells: string[];
10116
+ membershipMode: string;
10117
+ membershipDerivedFrom: {
10118
+ property: string;
10119
+ value?: string | undefined;
10120
+ } | null;
10121
+ targetSelector: {
10122
+ primary: {
10123
+ set: string;
10124
+ policy: "least-loaded" | "round-robin" | "random";
10125
+ match?: {
10126
+ property: string;
10127
+ equals: {
10128
+ source: "environment";
10129
+ } | {
10130
+ name: string;
10131
+ source: "entityProperty";
10132
+ } | {
10133
+ value: string;
10134
+ source: "literal";
10135
+ };
10136
+ }[] | undefined;
10137
+ };
10138
+ roles?: {
10139
+ [x: string]: {
10140
+ set: string;
10141
+ policy: "least-loaded" | "round-robin" | "random";
10142
+ match?: {
10143
+ property: string;
10144
+ equals: {
10145
+ source: "environment";
10146
+ } | {
10147
+ name: string;
10148
+ source: "entityProperty";
10149
+ } | {
10150
+ value: string;
10151
+ source: "literal";
10152
+ };
10153
+ }[] | undefined;
10154
+ };
10155
+ } | undefined;
10156
+ } | null;
10157
+ }>;
10158
+ update: SchemaFn<zod.ZodObject<{
10159
+ kind: zod.ZodLiteral<"Cell">;
10160
+ name: zod.ZodString;
10161
+ displayName: zod.ZodOptional<zod.ZodString>;
10162
+ entityType: zod.ZodString;
10163
+ placementPolicy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
10164
+ constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10165
+ metric: zod.ZodString;
10166
+ aggregate: zod.ZodEnum<["sum", "avg", "min", "max"]>;
10167
+ max: zod.ZodNumber;
10168
+ }, "strip", zod.ZodTypeAny, {
10169
+ max: number;
10170
+ metric: string;
10171
+ aggregate: "max" | "sum" | "avg" | "min";
10172
+ }, {
10173
+ max: number;
10174
+ metric: string;
10175
+ aggregate: "max" | "sum" | "avg" | "min";
10176
+ }>, "many">>>;
10177
+ parentCells: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
10178
+ membership: zod.ZodOptional<zod.ZodObject<{
9203
10179
  derivedFrom: zod.ZodObject<{
9204
10180
  property: zod.ZodString;
9205
10181
  value: zod.ZodOptional<zod.ZodString>;
@@ -9211,17 +10187,253 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9211
10187
  value?: string | undefined;
9212
10188
  }>;
9213
10189
  }, "strip", zod.ZodTypeAny, {
9214
- derivedFrom: {
9215
- property: string;
9216
- value?: string | undefined;
10190
+ derivedFrom: {
10191
+ property: string;
10192
+ value?: string | undefined;
10193
+ };
10194
+ }, {
10195
+ derivedFrom: {
10196
+ property: string;
10197
+ value?: string | undefined;
10198
+ };
10199
+ }>>;
10200
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
10201
+ primary: zod.ZodObject<{
10202
+ set: zod.ZodString;
10203
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10204
+ property: zod.ZodString;
10205
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
10206
+ source: zod.ZodLiteral<"environment">;
10207
+ }, "strip", zod.ZodTypeAny, {
10208
+ source: "environment";
10209
+ }, {
10210
+ source: "environment";
10211
+ }>, zod.ZodObject<{
10212
+ source: zod.ZodLiteral<"entityProperty">;
10213
+ name: zod.ZodString;
10214
+ }, "strip", zod.ZodTypeAny, {
10215
+ name: string;
10216
+ source: "entityProperty";
10217
+ }, {
10218
+ name: string;
10219
+ source: "entityProperty";
10220
+ }>, zod.ZodObject<{
10221
+ source: zod.ZodLiteral<"literal">;
10222
+ value: zod.ZodString;
10223
+ }, "strip", zod.ZodTypeAny, {
10224
+ value: string;
10225
+ source: "literal";
10226
+ }, {
10227
+ value: string;
10228
+ source: "literal";
10229
+ }>]>;
10230
+ }, "strip", zod.ZodTypeAny, {
10231
+ property: string;
10232
+ equals: {
10233
+ source: "environment";
10234
+ } | {
10235
+ name: string;
10236
+ source: "entityProperty";
10237
+ } | {
10238
+ value: string;
10239
+ source: "literal";
10240
+ };
10241
+ }, {
10242
+ property: string;
10243
+ equals: {
10244
+ source: "environment";
10245
+ } | {
10246
+ name: string;
10247
+ source: "entityProperty";
10248
+ } | {
10249
+ value: string;
10250
+ source: "literal";
10251
+ };
10252
+ }>, "many">>;
10253
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
10254
+ }, "strip", zod.ZodTypeAny, {
10255
+ set: string;
10256
+ policy: "least-loaded" | "round-robin" | "random";
10257
+ match?: {
10258
+ property: string;
10259
+ equals: {
10260
+ source: "environment";
10261
+ } | {
10262
+ name: string;
10263
+ source: "entityProperty";
10264
+ } | {
10265
+ value: string;
10266
+ source: "literal";
10267
+ };
10268
+ }[] | undefined;
10269
+ }, {
10270
+ set: string;
10271
+ match?: {
10272
+ property: string;
10273
+ equals: {
10274
+ source: "environment";
10275
+ } | {
10276
+ name: string;
10277
+ source: "entityProperty";
10278
+ } | {
10279
+ value: string;
10280
+ source: "literal";
10281
+ };
10282
+ }[] | undefined;
10283
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10284
+ }>;
10285
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
10286
+ set: zod.ZodString;
10287
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10288
+ property: zod.ZodString;
10289
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
10290
+ source: zod.ZodLiteral<"environment">;
10291
+ }, "strip", zod.ZodTypeAny, {
10292
+ source: "environment";
10293
+ }, {
10294
+ source: "environment";
10295
+ }>, zod.ZodObject<{
10296
+ source: zod.ZodLiteral<"entityProperty">;
10297
+ name: zod.ZodString;
10298
+ }, "strip", zod.ZodTypeAny, {
10299
+ name: string;
10300
+ source: "entityProperty";
10301
+ }, {
10302
+ name: string;
10303
+ source: "entityProperty";
10304
+ }>, zod.ZodObject<{
10305
+ source: zod.ZodLiteral<"literal">;
10306
+ value: zod.ZodString;
10307
+ }, "strip", zod.ZodTypeAny, {
10308
+ value: string;
10309
+ source: "literal";
10310
+ }, {
10311
+ value: string;
10312
+ source: "literal";
10313
+ }>]>;
10314
+ }, "strip", zod.ZodTypeAny, {
10315
+ property: string;
10316
+ equals: {
10317
+ source: "environment";
10318
+ } | {
10319
+ name: string;
10320
+ source: "entityProperty";
10321
+ } | {
10322
+ value: string;
10323
+ source: "literal";
10324
+ };
10325
+ }, {
10326
+ property: string;
10327
+ equals: {
10328
+ source: "environment";
10329
+ } | {
10330
+ name: string;
10331
+ source: "entityProperty";
10332
+ } | {
10333
+ value: string;
10334
+ source: "literal";
10335
+ };
10336
+ }>, "many">>;
10337
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
10338
+ }, "strip", zod.ZodTypeAny, {
10339
+ set: string;
10340
+ policy: "least-loaded" | "round-robin" | "random";
10341
+ match?: {
10342
+ property: string;
10343
+ equals: {
10344
+ source: "environment";
10345
+ } | {
10346
+ name: string;
10347
+ source: "entityProperty";
10348
+ } | {
10349
+ value: string;
10350
+ source: "literal";
10351
+ };
10352
+ }[] | undefined;
10353
+ }, {
10354
+ set: string;
10355
+ match?: {
10356
+ property: string;
10357
+ equals: {
10358
+ source: "environment";
10359
+ } | {
10360
+ name: string;
10361
+ source: "entityProperty";
10362
+ } | {
10363
+ value: string;
10364
+ source: "literal";
10365
+ };
10366
+ }[] | undefined;
10367
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10368
+ }>>>;
10369
+ }, "strip", zod.ZodTypeAny, {
10370
+ primary: {
10371
+ set: string;
10372
+ policy: "least-loaded" | "round-robin" | "random";
10373
+ match?: {
10374
+ property: string;
10375
+ equals: {
10376
+ source: "environment";
10377
+ } | {
10378
+ name: string;
10379
+ source: "entityProperty";
10380
+ } | {
10381
+ value: string;
10382
+ source: "literal";
10383
+ };
10384
+ }[] | undefined;
9217
10385
  };
10386
+ roles?: Record<string, {
10387
+ set: string;
10388
+ policy: "least-loaded" | "round-robin" | "random";
10389
+ match?: {
10390
+ property: string;
10391
+ equals: {
10392
+ source: "environment";
10393
+ } | {
10394
+ name: string;
10395
+ source: "entityProperty";
10396
+ } | {
10397
+ value: string;
10398
+ source: "literal";
10399
+ };
10400
+ }[] | undefined;
10401
+ }> | undefined;
9218
10402
  }, {
9219
- derivedFrom: {
9220
- property: string;
9221
- value?: string | undefined;
9222
- };
10403
+ primary: {
10404
+ set: string;
10405
+ match?: {
10406
+ property: string;
10407
+ equals: {
10408
+ source: "environment";
10409
+ } | {
10410
+ name: string;
10411
+ source: "entityProperty";
10412
+ } | {
10413
+ value: string;
10414
+ source: "literal";
10415
+ };
10416
+ }[] | undefined;
10417
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10418
+ };
10419
+ roles?: Record<string, {
10420
+ set: string;
10421
+ match?: {
10422
+ property: string;
10423
+ equals: {
10424
+ source: "environment";
10425
+ } | {
10426
+ name: string;
10427
+ source: "entityProperty";
10428
+ } | {
10429
+ value: string;
10430
+ source: "literal";
10431
+ };
10432
+ }[] | undefined;
10433
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10434
+ }> | undefined;
9223
10435
  }>>;
9224
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
10436
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
9225
10437
  } & {
9226
10438
  orgId: zod.ZodString;
9227
10439
  projectId: zod.ZodString;
@@ -9239,7 +10451,41 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9239
10451
  placementPolicy: "least-loaded" | "round-robin" | "random";
9240
10452
  parentCells: string[];
9241
10453
  displayName?: string | undefined;
9242
- deploymentTarget?: string | undefined;
10454
+ labels?: Record<string, string> | undefined;
10455
+ targetSelector?: {
10456
+ primary: {
10457
+ set: string;
10458
+ policy: "least-loaded" | "round-robin" | "random";
10459
+ match?: {
10460
+ property: string;
10461
+ equals: {
10462
+ source: "environment";
10463
+ } | {
10464
+ name: string;
10465
+ source: "entityProperty";
10466
+ } | {
10467
+ value: string;
10468
+ source: "literal";
10469
+ };
10470
+ }[] | undefined;
10471
+ };
10472
+ roles?: Record<string, {
10473
+ set: string;
10474
+ policy: "least-loaded" | "round-robin" | "random";
10475
+ match?: {
10476
+ property: string;
10477
+ equals: {
10478
+ source: "environment";
10479
+ } | {
10480
+ name: string;
10481
+ source: "entityProperty";
10482
+ } | {
10483
+ value: string;
10484
+ source: "literal";
10485
+ };
10486
+ }[] | undefined;
10487
+ }> | undefined;
10488
+ } | undefined;
9243
10489
  membership?: {
9244
10490
  derivedFrom: {
9245
10491
  property: string;
@@ -9258,9 +10504,43 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9258
10504
  metric: string;
9259
10505
  aggregate: "max" | "sum" | "avg" | "min";
9260
10506
  }[] | undefined;
10507
+ labels?: Record<string, string> | undefined;
9261
10508
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
9262
10509
  parentCells?: string[] | undefined;
9263
- deploymentTarget?: string | undefined;
10510
+ targetSelector?: {
10511
+ primary: {
10512
+ set: string;
10513
+ match?: {
10514
+ property: string;
10515
+ equals: {
10516
+ source: "environment";
10517
+ } | {
10518
+ name: string;
10519
+ source: "entityProperty";
10520
+ } | {
10521
+ value: string;
10522
+ source: "literal";
10523
+ };
10524
+ }[] | undefined;
10525
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10526
+ };
10527
+ roles?: Record<string, {
10528
+ set: string;
10529
+ match?: {
10530
+ property: string;
10531
+ equals: {
10532
+ source: "environment";
10533
+ } | {
10534
+ name: string;
10535
+ source: "entityProperty";
10536
+ } | {
10537
+ value: string;
10538
+ source: "literal";
10539
+ };
10540
+ }[] | undefined;
10541
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
10542
+ }> | undefined;
10543
+ } | undefined;
9264
10544
  membership?: {
9265
10545
  derivedFrom: {
9266
10546
  property: string;
@@ -9285,7 +10565,45 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9285
10565
  property: string;
9286
10566
  value?: string | undefined;
9287
10567
  } | null;
9288
- deploymentTarget: string | null;
10568
+ targetSelector: {
10569
+ primary: {
10570
+ set: string;
10571
+ policy: "least-loaded" | "round-robin" | "random";
10572
+ match?: {
10573
+ property: string;
10574
+ equals: {
10575
+ source: "environment";
10576
+ } | {
10577
+ name: string;
10578
+ source: "entityProperty";
10579
+ } | {
10580
+ value: string;
10581
+ source: "literal";
10582
+ };
10583
+ }[] | undefined;
10584
+ };
10585
+ roles?: {
10586
+ [x: string]: {
10587
+ set: string;
10588
+ policy: "least-loaded" | "round-robin" | "random";
10589
+ match?: {
10590
+ property: string;
10591
+ equals: {
10592
+ source: "environment";
10593
+ } | {
10594
+ name: string;
10595
+ source: "entityProperty";
10596
+ } | {
10597
+ value: string;
10598
+ source: "literal";
10599
+ };
10600
+ }[] | undefined;
10601
+ };
10602
+ } | undefined;
10603
+ } | null;
10604
+ labels: {
10605
+ [x: string]: string;
10606
+ };
9289
10607
  createdAt: string;
9290
10608
  updatedAt: string;
9291
10609
  }>;
@@ -9408,8 +10726,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9408
10726
  envId: string;
9409
10727
  state: string;
9410
10728
  properties: hono_utils_types.JSONValue;
9411
- entityTypeName: string;
9412
10729
  labels: hono_utils_types.JSONValue;
10730
+ entityTypeName: string;
9413
10731
  lastSyncedAt: string | null;
9414
10732
  syncSource: string | null;
9415
10733
  };
@@ -9912,8 +11230,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
9912
11230
  properties: Record<string, unknown>;
9913
11231
  relationshipType: string;
9914
11232
  kind: "Relationship";
9915
- to: string;
9916
11233
  labels: Record<string, string>;
11234
+ to: string;
9917
11235
  state?: string | undefined;
9918
11236
  }, {
9919
11237
  from: string;
@@ -10330,6 +11648,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10330
11648
  webhookSecret?: string | undefined;
10331
11649
  body?: string | undefined;
10332
11650
  title?: string | undefined;
11651
+ labels?: string[] | undefined;
10333
11652
  auth?: {
10334
11653
  type: "token";
10335
11654
  token: string;
@@ -10354,7 +11673,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10354
11673
  value?: hono_utils_types.JSONValue | undefined;
10355
11674
  } | undefined;
10356
11675
  }[] | undefined;
10357
- labels?: string[] | undefined;
10358
11676
  reviewers?: string[] | undefined;
10359
11677
  teamReviewers?: string[] | undefined;
10360
11678
  postMergeDispatch?: {
@@ -10833,6 +12151,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10833
12151
  webhookSecret?: string | undefined;
10834
12152
  body?: string | undefined;
10835
12153
  title?: string | undefined;
12154
+ labels?: string[] | undefined;
10836
12155
  auth?: {
10837
12156
  type: "token";
10838
12157
  token: string;
@@ -10857,7 +12176,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
10857
12176
  value?: hono_utils_types.JSONValue | undefined;
10858
12177
  } | undefined;
10859
12178
  }[] | undefined;
10860
- labels?: string[] | undefined;
10861
12179
  reviewers?: string[] | undefined;
10862
12180
  teamReviewers?: string[] | undefined;
10863
12181
  postMergeDispatch?: {
@@ -11796,8 +13114,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
11796
13114
  }[];
11797
13115
  webhookSecret?: string | undefined;
11798
13116
  body?: string | undefined;
11799
- base?: string | undefined;
11800
13117
  labels?: string[] | undefined;
13118
+ base?: string | undefined;
11801
13119
  reviewers?: string[] | undefined;
11802
13120
  teamReviewers?: string[] | undefined;
11803
13121
  postMergeDispatch?: {
@@ -12082,8 +13400,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12082
13400
  }[];
12083
13401
  webhookSecret?: string | undefined;
12084
13402
  body?: string | undefined;
12085
- base?: string | undefined;
12086
13403
  labels?: string[] | undefined;
13404
+ base?: string | undefined;
12087
13405
  reviewers?: string[] | undefined;
12088
13406
  teamReviewers?: string[] | undefined;
12089
13407
  }>>;
@@ -12186,8 +13504,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12186
13504
  }[];
12187
13505
  webhookSecret?: string | undefined;
12188
13506
  body?: string | undefined;
12189
- base?: string | undefined;
12190
13507
  labels?: string[] | undefined;
13508
+ base?: string | undefined;
12191
13509
  reviewers?: string[] | undefined;
12192
13510
  teamReviewers?: string[] | undefined;
12193
13511
  } | undefined;
@@ -12494,8 +13812,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12494
13812
  }[];
12495
13813
  webhookSecret?: string | undefined;
12496
13814
  body?: string | undefined;
12497
- base?: string | undefined;
12498
13815
  labels?: string[] | undefined;
13816
+ base?: string | undefined;
12499
13817
  reviewers?: string[] | undefined;
12500
13818
  teamReviewers?: string[] | undefined;
12501
13819
  postMergeDispatch?: {
@@ -12566,8 +13884,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12566
13884
  }[];
12567
13885
  webhookSecret?: string | undefined;
12568
13886
  body?: string | undefined;
12569
- base?: string | undefined;
12570
13887
  labels?: string[] | undefined;
13888
+ base?: string | undefined;
12571
13889
  reviewers?: string[] | undefined;
12572
13890
  teamReviewers?: string[] | undefined;
12573
13891
  } | undefined;
@@ -12862,6 +14180,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12862
14180
  webhookSecret?: string | undefined;
12863
14181
  body?: string | undefined;
12864
14182
  title?: string | undefined;
14183
+ labels?: string[] | undefined;
12865
14184
  auth?: {
12866
14185
  type: "token";
12867
14186
  token: string;
@@ -12886,7 +14205,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12886
14205
  value?: unknown;
12887
14206
  } | undefined;
12888
14207
  }[] | undefined;
12889
- labels?: string[] | undefined;
12890
14208
  reviewers?: string[] | undefined;
12891
14209
  teamReviewers?: string[] | undefined;
12892
14210
  postMergeDispatch?: {
@@ -12900,6 +14218,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12900
14218
  webhookSecret?: string | undefined;
12901
14219
  body?: string | undefined;
12902
14220
  title?: string | undefined;
14221
+ labels?: string[] | undefined;
12903
14222
  auth?: {
12904
14223
  type: "token";
12905
14224
  token: string;
@@ -12924,7 +14243,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
12924
14243
  } | undefined;
12925
14244
  operation?: "replace" | "patch" | undefined;
12926
14245
  }[] | undefined;
12927
- labels?: string[] | undefined;
12928
14246
  reviewers?: string[] | undefined;
12929
14247
  teamReviewers?: string[] | undefined;
12930
14248
  postMergeDispatch?: {
@@ -13208,8 +14526,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13208
14526
  }[];
13209
14527
  webhookSecret?: string | undefined;
13210
14528
  body?: string | undefined;
13211
- base?: string | undefined;
13212
14529
  labels?: string[] | undefined;
14530
+ base?: string | undefined;
13213
14531
  reviewers?: string[] | undefined;
13214
14532
  teamReviewers?: string[] | undefined;
13215
14533
  }>>;
@@ -13312,8 +14630,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13312
14630
  }[];
13313
14631
  webhookSecret?: string | undefined;
13314
14632
  body?: string | undefined;
13315
- base?: string | undefined;
13316
14633
  labels?: string[] | undefined;
14634
+ base?: string | undefined;
13317
14635
  reviewers?: string[] | undefined;
13318
14636
  teamReviewers?: string[] | undefined;
13319
14637
  } | undefined;
@@ -13740,6 +15058,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13740
15058
  webhookSecret?: string | undefined;
13741
15059
  body?: string | undefined;
13742
15060
  title?: string | undefined;
15061
+ labels?: string[] | undefined;
13743
15062
  auth?: {
13744
15063
  type: "token";
13745
15064
  token: string;
@@ -13764,7 +15083,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
13764
15083
  value?: unknown;
13765
15084
  } | undefined;
13766
15085
  }[] | undefined;
13767
- labels?: string[] | undefined;
13768
15086
  reviewers?: string[] | undefined;
13769
15087
  teamReviewers?: string[] | undefined;
13770
15088
  postMergeDispatch?: {
@@ -14029,8 +15347,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14029
15347
  }[];
14030
15348
  webhookSecret?: string | undefined;
14031
15349
  body?: string | undefined;
14032
- base?: string | undefined;
14033
15350
  labels?: string[] | undefined;
15351
+ base?: string | undefined;
14034
15352
  reviewers?: string[] | undefined;
14035
15353
  teamReviewers?: string[] | undefined;
14036
15354
  postMergeDispatch?: {
@@ -14101,8 +15419,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14101
15419
  }[];
14102
15420
  webhookSecret?: string | undefined;
14103
15421
  body?: string | undefined;
14104
- base?: string | undefined;
14105
15422
  labels?: string[] | undefined;
15423
+ base?: string | undefined;
14106
15424
  reviewers?: string[] | undefined;
14107
15425
  teamReviewers?: string[] | undefined;
14108
15426
  } | undefined;
@@ -14185,6 +15503,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14185
15503
  webhookSecret?: string | undefined;
14186
15504
  body?: string | undefined;
14187
15505
  title?: string | undefined;
15506
+ labels?: string[] | undefined;
14188
15507
  auth?: {
14189
15508
  type: "token";
14190
15509
  token: string;
@@ -14209,7 +15528,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14209
15528
  } | undefined;
14210
15529
  operation?: "replace" | "patch" | undefined;
14211
15530
  }[] | undefined;
14212
- labels?: string[] | undefined;
14213
15531
  reviewers?: string[] | undefined;
14214
15532
  teamReviewers?: string[] | undefined;
14215
15533
  postMergeDispatch?: {
@@ -14279,8 +15597,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14279
15597
  }[];
14280
15598
  webhookSecret?: string | undefined;
14281
15599
  body?: string | undefined;
14282
- base?: string | undefined;
14283
15600
  labels?: string[] | undefined;
15601
+ base?: string | undefined;
14284
15602
  reviewers?: string[] | undefined;
14285
15603
  teamReviewers?: string[] | undefined;
14286
15604
  } | undefined;
@@ -14666,6 +15984,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14666
15984
  webhookSecret?: string | undefined;
14667
15985
  body?: string | undefined;
14668
15986
  title?: string | undefined;
15987
+ labels?: string[] | undefined;
14669
15988
  auth?: {
14670
15989
  type: "token";
14671
15990
  token: string;
@@ -14690,7 +16009,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
14690
16009
  value?: hono_utils_types.JSONValue | undefined;
14691
16010
  } | undefined;
14692
16011
  }[] | undefined;
14693
- labels?: string[] | undefined;
14694
16012
  reviewers?: string[] | undefined;
14695
16013
  teamReviewers?: string[] | undefined;
14696
16014
  postMergeDispatch?: {
@@ -15629,8 +16947,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15629
16947
  }[];
15630
16948
  webhookSecret?: string | undefined;
15631
16949
  body?: string | undefined;
15632
- base?: string | undefined;
15633
16950
  labels?: string[] | undefined;
16951
+ base?: string | undefined;
15634
16952
  reviewers?: string[] | undefined;
15635
16953
  teamReviewers?: string[] | undefined;
15636
16954
  postMergeDispatch?: {
@@ -15915,8 +17233,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
15915
17233
  }[];
15916
17234
  webhookSecret?: string | undefined;
15917
17235
  body?: string | undefined;
15918
- base?: string | undefined;
15919
17236
  labels?: string[] | undefined;
17237
+ base?: string | undefined;
15920
17238
  reviewers?: string[] | undefined;
15921
17239
  teamReviewers?: string[] | undefined;
15922
17240
  }>>;
@@ -16019,8 +17337,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16019
17337
  }[];
16020
17338
  webhookSecret?: string | undefined;
16021
17339
  body?: string | undefined;
16022
- base?: string | undefined;
16023
17340
  labels?: string[] | undefined;
17341
+ base?: string | undefined;
16024
17342
  reviewers?: string[] | undefined;
16025
17343
  teamReviewers?: string[] | undefined;
16026
17344
  } | undefined;
@@ -16327,8 +17645,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16327
17645
  }[];
16328
17646
  webhookSecret?: string | undefined;
16329
17647
  body?: string | undefined;
16330
- base?: string | undefined;
16331
17648
  labels?: string[] | undefined;
17649
+ base?: string | undefined;
16332
17650
  reviewers?: string[] | undefined;
16333
17651
  teamReviewers?: string[] | undefined;
16334
17652
  postMergeDispatch?: {
@@ -16399,8 +17717,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16399
17717
  }[];
16400
17718
  webhookSecret?: string | undefined;
16401
17719
  body?: string | undefined;
16402
- base?: string | undefined;
16403
17720
  labels?: string[] | undefined;
17721
+ base?: string | undefined;
16404
17722
  reviewers?: string[] | undefined;
16405
17723
  teamReviewers?: string[] | undefined;
16406
17724
  } | undefined;
@@ -16695,6 +18013,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16695
18013
  webhookSecret?: string | undefined;
16696
18014
  body?: string | undefined;
16697
18015
  title?: string | undefined;
18016
+ labels?: string[] | undefined;
16698
18017
  auth?: {
16699
18018
  type: "token";
16700
18019
  token: string;
@@ -16719,7 +18038,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16719
18038
  value?: unknown;
16720
18039
  } | undefined;
16721
18040
  }[] | undefined;
16722
- labels?: string[] | undefined;
16723
18041
  reviewers?: string[] | undefined;
16724
18042
  teamReviewers?: string[] | undefined;
16725
18043
  postMergeDispatch?: {
@@ -16733,6 +18051,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16733
18051
  webhookSecret?: string | undefined;
16734
18052
  body?: string | undefined;
16735
18053
  title?: string | undefined;
18054
+ labels?: string[] | undefined;
16736
18055
  auth?: {
16737
18056
  type: "token";
16738
18057
  token: string;
@@ -16757,7 +18076,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
16757
18076
  } | undefined;
16758
18077
  operation?: "replace" | "patch" | undefined;
16759
18078
  }[] | undefined;
16760
- labels?: string[] | undefined;
16761
18079
  reviewers?: string[] | undefined;
16762
18080
  teamReviewers?: string[] | undefined;
16763
18081
  postMergeDispatch?: {
@@ -17041,8 +18359,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17041
18359
  }[];
17042
18360
  webhookSecret?: string | undefined;
17043
18361
  body?: string | undefined;
17044
- base?: string | undefined;
17045
18362
  labels?: string[] | undefined;
18363
+ base?: string | undefined;
17046
18364
  reviewers?: string[] | undefined;
17047
18365
  teamReviewers?: string[] | undefined;
17048
18366
  }>>;
@@ -17145,8 +18463,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17145
18463
  }[];
17146
18464
  webhookSecret?: string | undefined;
17147
18465
  body?: string | undefined;
17148
- base?: string | undefined;
17149
18466
  labels?: string[] | undefined;
18467
+ base?: string | undefined;
17150
18468
  reviewers?: string[] | undefined;
17151
18469
  teamReviewers?: string[] | undefined;
17152
18470
  } | undefined;
@@ -17573,6 +18891,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17573
18891
  webhookSecret?: string | undefined;
17574
18892
  body?: string | undefined;
17575
18893
  title?: string | undefined;
18894
+ labels?: string[] | undefined;
17576
18895
  auth?: {
17577
18896
  type: "token";
17578
18897
  token: string;
@@ -17597,7 +18916,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17597
18916
  value?: unknown;
17598
18917
  } | undefined;
17599
18918
  }[] | undefined;
17600
- labels?: string[] | undefined;
17601
18919
  reviewers?: string[] | undefined;
17602
18920
  teamReviewers?: string[] | undefined;
17603
18921
  postMergeDispatch?: {
@@ -17862,8 +19180,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17862
19180
  }[];
17863
19181
  webhookSecret?: string | undefined;
17864
19182
  body?: string | undefined;
17865
- base?: string | undefined;
17866
19183
  labels?: string[] | undefined;
19184
+ base?: string | undefined;
17867
19185
  reviewers?: string[] | undefined;
17868
19186
  teamReviewers?: string[] | undefined;
17869
19187
  postMergeDispatch?: {
@@ -17934,8 +19252,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
17934
19252
  }[];
17935
19253
  webhookSecret?: string | undefined;
17936
19254
  body?: string | undefined;
17937
- base?: string | undefined;
17938
19255
  labels?: string[] | undefined;
19256
+ base?: string | undefined;
17939
19257
  reviewers?: string[] | undefined;
17940
19258
  teamReviewers?: string[] | undefined;
17941
19259
  } | undefined;
@@ -18018,6 +19336,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18018
19336
  webhookSecret?: string | undefined;
18019
19337
  body?: string | undefined;
18020
19338
  title?: string | undefined;
19339
+ labels?: string[] | undefined;
18021
19340
  auth?: {
18022
19341
  type: "token";
18023
19342
  token: string;
@@ -18042,7 +19361,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18042
19361
  } | undefined;
18043
19362
  operation?: "replace" | "patch" | undefined;
18044
19363
  }[] | undefined;
18045
- labels?: string[] | undefined;
18046
19364
  reviewers?: string[] | undefined;
18047
19365
  teamReviewers?: string[] | undefined;
18048
19366
  postMergeDispatch?: {
@@ -18112,8 +19430,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18112
19430
  }[];
18113
19431
  webhookSecret?: string | undefined;
18114
19432
  body?: string | undefined;
18115
- base?: string | undefined;
18116
19433
  labels?: string[] | undefined;
19434
+ base?: string | undefined;
18117
19435
  reviewers?: string[] | undefined;
18118
19436
  teamReviewers?: string[] | undefined;
18119
19437
  } | undefined;
@@ -18499,6 +19817,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18499
19817
  webhookSecret?: string | undefined;
18500
19818
  body?: string | undefined;
18501
19819
  title?: string | undefined;
19820
+ labels?: string[] | undefined;
18502
19821
  auth?: {
18503
19822
  type: "token";
18504
19823
  token: string;
@@ -18523,7 +19842,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18523
19842
  value?: hono_utils_types.JSONValue | undefined;
18524
19843
  } | undefined;
18525
19844
  }[] | undefined;
18526
- labels?: string[] | undefined;
18527
19845
  reviewers?: string[] | undefined;
18528
19846
  teamReviewers?: string[] | undefined;
18529
19847
  postMergeDispatch?: {
@@ -18676,8 +19994,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
18676
19994
  status: "failed" | "pending" | "running" | "succeeded" | "cancelled" | "dispatching" | "blocked";
18677
19995
  id: string;
18678
19996
  createdAt: string;
18679
- error: string | null;
18680
19997
  metadata: hono_utils_types.JSONValue;
19998
+ error: string | null;
18681
19999
  output: hono_utils_types.JSONValue;
18682
20000
  orgId: string;
18683
20001
  projectId: string;
@@ -19069,6 +20387,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19069
20387
  kind: "data" | "resource" | "module";
19070
20388
  address: string;
19071
20389
  }>, "many">>;
20390
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
20391
+ labelMappings: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
19072
20392
  }, "strip", zod.ZodTypeAny, {
19073
20393
  name: string;
19074
20394
  states: string[];
@@ -19116,6 +20436,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19116
20436
  yellowSeconds?: number | undefined;
19117
20437
  } | undefined;
19118
20438
  applier?: string | undefined;
20439
+ labels?: Record<string, string> | undefined;
20440
+ labelMappings?: Record<string, string> | undefined;
19119
20441
  }, {
19120
20442
  name: string;
19121
20443
  states: string[];
@@ -19163,6 +20485,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19163
20485
  yellowSeconds?: number | undefined;
19164
20486
  } | undefined;
19165
20487
  applier?: string | undefined;
20488
+ labels?: Record<string, string> | undefined;
20489
+ labelMappings?: Record<string, string> | undefined;
19166
20490
  }>, zod.ZodObject<{
19167
20491
  kind: zod.ZodLiteral<"Cell">;
19168
20492
  name: zod.ZodString;
@@ -19205,7 +20529,243 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19205
20529
  value?: string | undefined;
19206
20530
  };
19207
20531
  }>>;
19208
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
20532
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
20533
+ primary: zod.ZodObject<{
20534
+ set: zod.ZodString;
20535
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20536
+ property: zod.ZodString;
20537
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
20538
+ source: zod.ZodLiteral<"environment">;
20539
+ }, "strip", zod.ZodTypeAny, {
20540
+ source: "environment";
20541
+ }, {
20542
+ source: "environment";
20543
+ }>, zod.ZodObject<{
20544
+ source: zod.ZodLiteral<"entityProperty">;
20545
+ name: zod.ZodString;
20546
+ }, "strip", zod.ZodTypeAny, {
20547
+ name: string;
20548
+ source: "entityProperty";
20549
+ }, {
20550
+ name: string;
20551
+ source: "entityProperty";
20552
+ }>, zod.ZodObject<{
20553
+ source: zod.ZodLiteral<"literal">;
20554
+ value: zod.ZodString;
20555
+ }, "strip", zod.ZodTypeAny, {
20556
+ value: string;
20557
+ source: "literal";
20558
+ }, {
20559
+ value: string;
20560
+ source: "literal";
20561
+ }>]>;
20562
+ }, "strip", zod.ZodTypeAny, {
20563
+ property: string;
20564
+ equals: {
20565
+ source: "environment";
20566
+ } | {
20567
+ name: string;
20568
+ source: "entityProperty";
20569
+ } | {
20570
+ value: string;
20571
+ source: "literal";
20572
+ };
20573
+ }, {
20574
+ property: string;
20575
+ equals: {
20576
+ source: "environment";
20577
+ } | {
20578
+ name: string;
20579
+ source: "entityProperty";
20580
+ } | {
20581
+ value: string;
20582
+ source: "literal";
20583
+ };
20584
+ }>, "many">>;
20585
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
20586
+ }, "strip", zod.ZodTypeAny, {
20587
+ set: string;
20588
+ policy: "least-loaded" | "round-robin" | "random";
20589
+ match?: {
20590
+ property: string;
20591
+ equals: {
20592
+ source: "environment";
20593
+ } | {
20594
+ name: string;
20595
+ source: "entityProperty";
20596
+ } | {
20597
+ value: string;
20598
+ source: "literal";
20599
+ };
20600
+ }[] | undefined;
20601
+ }, {
20602
+ set: string;
20603
+ match?: {
20604
+ property: string;
20605
+ equals: {
20606
+ source: "environment";
20607
+ } | {
20608
+ name: string;
20609
+ source: "entityProperty";
20610
+ } | {
20611
+ value: string;
20612
+ source: "literal";
20613
+ };
20614
+ }[] | undefined;
20615
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20616
+ }>;
20617
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
20618
+ set: zod.ZodString;
20619
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20620
+ property: zod.ZodString;
20621
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
20622
+ source: zod.ZodLiteral<"environment">;
20623
+ }, "strip", zod.ZodTypeAny, {
20624
+ source: "environment";
20625
+ }, {
20626
+ source: "environment";
20627
+ }>, zod.ZodObject<{
20628
+ source: zod.ZodLiteral<"entityProperty">;
20629
+ name: zod.ZodString;
20630
+ }, "strip", zod.ZodTypeAny, {
20631
+ name: string;
20632
+ source: "entityProperty";
20633
+ }, {
20634
+ name: string;
20635
+ source: "entityProperty";
20636
+ }>, zod.ZodObject<{
20637
+ source: zod.ZodLiteral<"literal">;
20638
+ value: zod.ZodString;
20639
+ }, "strip", zod.ZodTypeAny, {
20640
+ value: string;
20641
+ source: "literal";
20642
+ }, {
20643
+ value: string;
20644
+ source: "literal";
20645
+ }>]>;
20646
+ }, "strip", zod.ZodTypeAny, {
20647
+ property: string;
20648
+ equals: {
20649
+ source: "environment";
20650
+ } | {
20651
+ name: string;
20652
+ source: "entityProperty";
20653
+ } | {
20654
+ value: string;
20655
+ source: "literal";
20656
+ };
20657
+ }, {
20658
+ property: string;
20659
+ equals: {
20660
+ source: "environment";
20661
+ } | {
20662
+ name: string;
20663
+ source: "entityProperty";
20664
+ } | {
20665
+ value: string;
20666
+ source: "literal";
20667
+ };
20668
+ }>, "many">>;
20669
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
20670
+ }, "strip", zod.ZodTypeAny, {
20671
+ set: string;
20672
+ policy: "least-loaded" | "round-robin" | "random";
20673
+ match?: {
20674
+ property: string;
20675
+ equals: {
20676
+ source: "environment";
20677
+ } | {
20678
+ name: string;
20679
+ source: "entityProperty";
20680
+ } | {
20681
+ value: string;
20682
+ source: "literal";
20683
+ };
20684
+ }[] | undefined;
20685
+ }, {
20686
+ set: string;
20687
+ match?: {
20688
+ property: string;
20689
+ equals: {
20690
+ source: "environment";
20691
+ } | {
20692
+ name: string;
20693
+ source: "entityProperty";
20694
+ } | {
20695
+ value: string;
20696
+ source: "literal";
20697
+ };
20698
+ }[] | undefined;
20699
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20700
+ }>>>;
20701
+ }, "strip", zod.ZodTypeAny, {
20702
+ primary: {
20703
+ set: string;
20704
+ policy: "least-loaded" | "round-robin" | "random";
20705
+ match?: {
20706
+ property: string;
20707
+ equals: {
20708
+ source: "environment";
20709
+ } | {
20710
+ name: string;
20711
+ source: "entityProperty";
20712
+ } | {
20713
+ value: string;
20714
+ source: "literal";
20715
+ };
20716
+ }[] | undefined;
20717
+ };
20718
+ roles?: Record<string, {
20719
+ set: string;
20720
+ policy: "least-loaded" | "round-robin" | "random";
20721
+ match?: {
20722
+ property: string;
20723
+ equals: {
20724
+ source: "environment";
20725
+ } | {
20726
+ name: string;
20727
+ source: "entityProperty";
20728
+ } | {
20729
+ value: string;
20730
+ source: "literal";
20731
+ };
20732
+ }[] | undefined;
20733
+ }> | undefined;
20734
+ }, {
20735
+ primary: {
20736
+ set: string;
20737
+ match?: {
20738
+ property: string;
20739
+ equals: {
20740
+ source: "environment";
20741
+ } | {
20742
+ name: string;
20743
+ source: "entityProperty";
20744
+ } | {
20745
+ value: string;
20746
+ source: "literal";
20747
+ };
20748
+ }[] | undefined;
20749
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20750
+ };
20751
+ roles?: Record<string, {
20752
+ set: string;
20753
+ match?: {
20754
+ property: string;
20755
+ equals: {
20756
+ source: "environment";
20757
+ } | {
20758
+ name: string;
20759
+ source: "entityProperty";
20760
+ } | {
20761
+ value: string;
20762
+ source: "literal";
20763
+ };
20764
+ }[] | undefined;
20765
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20766
+ }> | undefined;
20767
+ }>>;
20768
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
19209
20769
  }, "strip", zod.ZodTypeAny, {
19210
20770
  name: string;
19211
20771
  entityType: string;
@@ -19218,7 +20778,41 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19218
20778
  placementPolicy: "least-loaded" | "round-robin" | "random";
19219
20779
  parentCells: string[];
19220
20780
  displayName?: string | undefined;
19221
- deploymentTarget?: string | undefined;
20781
+ labels?: Record<string, string> | undefined;
20782
+ targetSelector?: {
20783
+ primary: {
20784
+ set: string;
20785
+ policy: "least-loaded" | "round-robin" | "random";
20786
+ match?: {
20787
+ property: string;
20788
+ equals: {
20789
+ source: "environment";
20790
+ } | {
20791
+ name: string;
20792
+ source: "entityProperty";
20793
+ } | {
20794
+ value: string;
20795
+ source: "literal";
20796
+ };
20797
+ }[] | undefined;
20798
+ };
20799
+ roles?: Record<string, {
20800
+ set: string;
20801
+ policy: "least-loaded" | "round-robin" | "random";
20802
+ match?: {
20803
+ property: string;
20804
+ equals: {
20805
+ source: "environment";
20806
+ } | {
20807
+ name: string;
20808
+ source: "entityProperty";
20809
+ } | {
20810
+ value: string;
20811
+ source: "literal";
20812
+ };
20813
+ }[] | undefined;
20814
+ }> | undefined;
20815
+ } | undefined;
19222
20816
  membership?: {
19223
20817
  derivedFrom: {
19224
20818
  property: string;
@@ -19235,9 +20829,43 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
19235
20829
  metric: string;
19236
20830
  aggregate: "max" | "sum" | "avg" | "min";
19237
20831
  }[] | undefined;
20832
+ labels?: Record<string, string> | undefined;
19238
20833
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
19239
20834
  parentCells?: string[] | undefined;
19240
- deploymentTarget?: string | undefined;
20835
+ targetSelector?: {
20836
+ primary: {
20837
+ set: string;
20838
+ match?: {
20839
+ property: string;
20840
+ equals: {
20841
+ source: "environment";
20842
+ } | {
20843
+ name: string;
20844
+ source: "entityProperty";
20845
+ } | {
20846
+ value: string;
20847
+ source: "literal";
20848
+ };
20849
+ }[] | undefined;
20850
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20851
+ };
20852
+ roles?: Record<string, {
20853
+ set: string;
20854
+ match?: {
20855
+ property: string;
20856
+ equals: {
20857
+ source: "environment";
20858
+ } | {
20859
+ name: string;
20860
+ source: "entityProperty";
20861
+ } | {
20862
+ value: string;
20863
+ source: "literal";
20864
+ };
20865
+ }[] | undefined;
20866
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
20867
+ }> | undefined;
20868
+ } | undefined;
19241
20869
  membership?: {
19242
20870
  derivedFrom: {
19243
20871
  property: string;
@@ -20180,8 +21808,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20180
21808
  }[];
20181
21809
  webhookSecret?: string | undefined;
20182
21810
  body?: string | undefined;
20183
- base?: string | undefined;
20184
21811
  labels?: string[] | undefined;
21812
+ base?: string | undefined;
20185
21813
  reviewers?: string[] | undefined;
20186
21814
  teamReviewers?: string[] | undefined;
20187
21815
  postMergeDispatch?: {
@@ -20466,8 +22094,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20466
22094
  }[];
20467
22095
  webhookSecret?: string | undefined;
20468
22096
  body?: string | undefined;
20469
- base?: string | undefined;
20470
22097
  labels?: string[] | undefined;
22098
+ base?: string | undefined;
20471
22099
  reviewers?: string[] | undefined;
20472
22100
  teamReviewers?: string[] | undefined;
20473
22101
  }>>;
@@ -20570,8 +22198,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20570
22198
  }[];
20571
22199
  webhookSecret?: string | undefined;
20572
22200
  body?: string | undefined;
20573
- base?: string | undefined;
20574
22201
  labels?: string[] | undefined;
22202
+ base?: string | undefined;
20575
22203
  reviewers?: string[] | undefined;
20576
22204
  teamReviewers?: string[] | undefined;
20577
22205
  } | undefined;
@@ -20878,8 +22506,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20878
22506
  }[];
20879
22507
  webhookSecret?: string | undefined;
20880
22508
  body?: string | undefined;
20881
- base?: string | undefined;
20882
22509
  labels?: string[] | undefined;
22510
+ base?: string | undefined;
20883
22511
  reviewers?: string[] | undefined;
20884
22512
  teamReviewers?: string[] | undefined;
20885
22513
  postMergeDispatch?: {
@@ -20950,8 +22578,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
20950
22578
  }[];
20951
22579
  webhookSecret?: string | undefined;
20952
22580
  body?: string | undefined;
20953
- base?: string | undefined;
20954
22581
  labels?: string[] | undefined;
22582
+ base?: string | undefined;
20955
22583
  reviewers?: string[] | undefined;
20956
22584
  teamReviewers?: string[] | undefined;
20957
22585
  } | undefined;
@@ -21246,6 +22874,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21246
22874
  webhookSecret?: string | undefined;
21247
22875
  body?: string | undefined;
21248
22876
  title?: string | undefined;
22877
+ labels?: string[] | undefined;
21249
22878
  auth?: {
21250
22879
  type: "token";
21251
22880
  token: string;
@@ -21270,7 +22899,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21270
22899
  value?: unknown;
21271
22900
  } | undefined;
21272
22901
  }[] | undefined;
21273
- labels?: string[] | undefined;
21274
22902
  reviewers?: string[] | undefined;
21275
22903
  teamReviewers?: string[] | undefined;
21276
22904
  postMergeDispatch?: {
@@ -21284,6 +22912,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21284
22912
  webhookSecret?: string | undefined;
21285
22913
  body?: string | undefined;
21286
22914
  title?: string | undefined;
22915
+ labels?: string[] | undefined;
21287
22916
  auth?: {
21288
22917
  type: "token";
21289
22918
  token: string;
@@ -21308,7 +22937,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21308
22937
  } | undefined;
21309
22938
  operation?: "replace" | "patch" | undefined;
21310
22939
  }[] | undefined;
21311
- labels?: string[] | undefined;
21312
22940
  reviewers?: string[] | undefined;
21313
22941
  teamReviewers?: string[] | undefined;
21314
22942
  postMergeDispatch?: {
@@ -21592,8 +23220,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21592
23220
  }[];
21593
23221
  webhookSecret?: string | undefined;
21594
23222
  body?: string | undefined;
21595
- base?: string | undefined;
21596
23223
  labels?: string[] | undefined;
23224
+ base?: string | undefined;
21597
23225
  reviewers?: string[] | undefined;
21598
23226
  teamReviewers?: string[] | undefined;
21599
23227
  }>>;
@@ -21696,8 +23324,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
21696
23324
  }[];
21697
23325
  webhookSecret?: string | undefined;
21698
23326
  body?: string | undefined;
21699
- base?: string | undefined;
21700
23327
  labels?: string[] | undefined;
23328
+ base?: string | undefined;
21701
23329
  reviewers?: string[] | undefined;
21702
23330
  teamReviewers?: string[] | undefined;
21703
23331
  } | undefined;
@@ -22119,6 +23747,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22119
23747
  webhookSecret?: string | undefined;
22120
23748
  body?: string | undefined;
22121
23749
  title?: string | undefined;
23750
+ labels?: string[] | undefined;
22122
23751
  auth?: {
22123
23752
  type: "token";
22124
23753
  token: string;
@@ -22143,7 +23772,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22143
23772
  value?: unknown;
22144
23773
  } | undefined;
22145
23774
  }[] | undefined;
22146
- labels?: string[] | undefined;
22147
23775
  reviewers?: string[] | undefined;
22148
23776
  teamReviewers?: string[] | undefined;
22149
23777
  postMergeDispatch?: {
@@ -22406,8 +24034,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22406
24034
  }[];
22407
24035
  webhookSecret?: string | undefined;
22408
24036
  body?: string | undefined;
22409
- base?: string | undefined;
22410
24037
  labels?: string[] | undefined;
24038
+ base?: string | undefined;
22411
24039
  reviewers?: string[] | undefined;
22412
24040
  teamReviewers?: string[] | undefined;
22413
24041
  postMergeDispatch?: {
@@ -22478,8 +24106,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22478
24106
  }[];
22479
24107
  webhookSecret?: string | undefined;
22480
24108
  body?: string | undefined;
22481
- base?: string | undefined;
22482
24109
  labels?: string[] | undefined;
24110
+ base?: string | undefined;
22483
24111
  reviewers?: string[] | undefined;
22484
24112
  teamReviewers?: string[] | undefined;
22485
24113
  } | undefined;
@@ -22562,6 +24190,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22562
24190
  webhookSecret?: string | undefined;
22563
24191
  body?: string | undefined;
22564
24192
  title?: string | undefined;
24193
+ labels?: string[] | undefined;
22565
24194
  auth?: {
22566
24195
  type: "token";
22567
24196
  token: string;
@@ -22586,7 +24215,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22586
24215
  } | undefined;
22587
24216
  operation?: "replace" | "patch" | undefined;
22588
24217
  }[] | undefined;
22589
- labels?: string[] | undefined;
22590
24218
  reviewers?: string[] | undefined;
22591
24219
  teamReviewers?: string[] | undefined;
22592
24220
  postMergeDispatch?: {
@@ -22656,8 +24284,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22656
24284
  }[];
22657
24285
  webhookSecret?: string | undefined;
22658
24286
  body?: string | undefined;
22659
- base?: string | undefined;
22660
24287
  labels?: string[] | undefined;
24288
+ base?: string | undefined;
22661
24289
  reviewers?: string[] | undefined;
22662
24290
  teamReviewers?: string[] | undefined;
22663
24291
  } | undefined;
@@ -22739,8 +24367,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22739
24367
  properties: Record<string, unknown>;
22740
24368
  relationshipType: string;
22741
24369
  kind: "Relationship";
22742
- to: string;
22743
24370
  labels: Record<string, string>;
24371
+ to: string;
22744
24372
  state?: string | undefined;
22745
24373
  }, {
22746
24374
  from: string;
@@ -22754,34 +24382,73 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
22754
24382
  kind: zod.ZodLiteral<"DeploymentTarget">;
22755
24383
  name: zod.ZodString;
22756
24384
  displayName: zod.ZodOptional<zod.ZodString>;
22757
- provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
24385
+ set: zod.ZodOptional<zod.ZodString>;
24386
+ provider: zod.ZodOptional<zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>>;
22758
24387
  config: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
24388
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24389
+ capacity: zod.ZodOptional<zod.ZodNumber>;
22759
24390
  credentialRef: zod.ZodOptional<zod.ZodString>;
24391
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
22760
24392
  }, "strip", zod.ZodTypeAny, {
22761
24393
  name: string;
22762
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
24394
+ properties: Record<string, string>;
22763
24395
  kind: "DeploymentTarget";
22764
24396
  config: Record<string, unknown>;
24397
+ set?: string | undefined;
24398
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
24399
+ displayName?: string | undefined;
24400
+ labels?: Record<string, string> | undefined;
24401
+ credentialRef?: string | undefined;
24402
+ capacity?: number | undefined;
24403
+ }, {
24404
+ name: string;
24405
+ kind: "DeploymentTarget";
24406
+ set?: string | undefined;
24407
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
24408
+ displayName?: string | undefined;
24409
+ properties?: Record<string, string> | undefined;
24410
+ labels?: Record<string, string> | undefined;
24411
+ config?: Record<string, unknown> | undefined;
24412
+ credentialRef?: string | undefined;
24413
+ capacity?: number | undefined;
24414
+ }>, zod.ZodObject<{
24415
+ kind: zod.ZodLiteral<"DeploymentTargetSet">;
24416
+ name: zod.ZodString;
24417
+ displayName: zod.ZodOptional<zod.ZodString>;
24418
+ provider: zod.ZodEnum<["aws", "gcp", "s3-backend", "tfc-workspace", "generic"]>;
24419
+ properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
24420
+ config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
24421
+ credentialRef: zod.ZodOptional<zod.ZodString>;
24422
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
24423
+ }, "strip", zod.ZodTypeAny, {
24424
+ name: string;
24425
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
24426
+ properties: Record<string, string>;
24427
+ kind: "DeploymentTargetSet";
22765
24428
  displayName?: string | undefined;
24429
+ labels?: Record<string, string> | undefined;
24430
+ config?: Record<string, unknown> | undefined;
22766
24431
  credentialRef?: string | undefined;
22767
24432
  }, {
22768
24433
  name: string;
22769
24434
  provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
22770
- kind: "DeploymentTarget";
24435
+ kind: "DeploymentTargetSet";
22771
24436
  displayName?: string | undefined;
24437
+ properties?: Record<string, string> | undefined;
24438
+ labels?: Record<string, string> | undefined;
22772
24439
  config?: Record<string, unknown> | undefined;
22773
24440
  credentialRef?: string | undefined;
22774
24441
  }>]>, "many">;
22775
24442
  force: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
22776
24443
  deletions: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
22777
- kind: zod.ZodEnum<["EntityType", "Cell", "RelationshipType", "Action", "Secret", "DeploymentTarget"]>;
24444
+ kind: zod.ZodEnum<["EntityType", "Cell", "RelationshipType", "Action", "Secret", "DeploymentTarget", "DeploymentTargetSet"]>;
22778
24445
  name: zod.ZodString;
22779
24446
  }, "strip", zod.ZodTypeAny, {
22780
24447
  name: string;
22781
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
24448
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
22782
24449
  }, {
22783
24450
  name: string;
22784
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
24451
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
22785
24452
  }>, "many">>>;
22786
24453
  dryRun: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
22787
24454
  } & {
@@ -23110,6 +24777,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23110
24777
  webhookSecret?: string | undefined;
23111
24778
  body?: string | undefined;
23112
24779
  title?: string | undefined;
24780
+ labels?: string[] | undefined;
23113
24781
  auth?: {
23114
24782
  type: "token";
23115
24783
  token: string;
@@ -23134,7 +24802,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23134
24802
  value?: unknown;
23135
24803
  } | undefined;
23136
24804
  }[] | undefined;
23137
- labels?: string[] | undefined;
23138
24805
  reviewers?: string[] | undefined;
23139
24806
  teamReviewers?: string[] | undefined;
23140
24807
  postMergeDispatch?: {
@@ -23282,6 +24949,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23282
24949
  yellowSeconds?: number | undefined;
23283
24950
  } | undefined;
23284
24951
  applier?: string | undefined;
24952
+ labels?: Record<string, string> | undefined;
24953
+ labelMappings?: Record<string, string> | undefined;
23285
24954
  } | {
23286
24955
  name: string;
23287
24956
  entityType: string;
@@ -23294,7 +24963,41 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23294
24963
  placementPolicy: "least-loaded" | "round-robin" | "random";
23295
24964
  parentCells: string[];
23296
24965
  displayName?: string | undefined;
23297
- deploymentTarget?: string | undefined;
24966
+ labels?: Record<string, string> | undefined;
24967
+ targetSelector?: {
24968
+ primary: {
24969
+ set: string;
24970
+ policy: "least-loaded" | "round-robin" | "random";
24971
+ match?: {
24972
+ property: string;
24973
+ equals: {
24974
+ source: "environment";
24975
+ } | {
24976
+ name: string;
24977
+ source: "entityProperty";
24978
+ } | {
24979
+ value: string;
24980
+ source: "literal";
24981
+ };
24982
+ }[] | undefined;
24983
+ };
24984
+ roles?: Record<string, {
24985
+ set: string;
24986
+ policy: "least-loaded" | "round-robin" | "random";
24987
+ match?: {
24988
+ property: string;
24989
+ equals: {
24990
+ source: "environment";
24991
+ } | {
24992
+ name: string;
24993
+ source: "entityProperty";
24994
+ } | {
24995
+ value: string;
24996
+ source: "literal";
24997
+ };
24998
+ }[] | undefined;
24999
+ }> | undefined;
25000
+ } | undefined;
23298
25001
  membership?: {
23299
25002
  derivedFrom: {
23300
25003
  property: string;
@@ -23345,20 +25048,33 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23345
25048
  properties: Record<string, unknown>;
23346
25049
  relationshipType: string;
23347
25050
  kind: "Relationship";
23348
- to: string;
23349
25051
  labels: Record<string, string>;
25052
+ to: string;
23350
25053
  state?: string | undefined;
23351
25054
  } | {
23352
25055
  name: string;
23353
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
25056
+ properties: Record<string, string>;
23354
25057
  kind: "DeploymentTarget";
23355
25058
  config: Record<string, unknown>;
25059
+ set?: string | undefined;
25060
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
25061
+ displayName?: string | undefined;
25062
+ labels?: Record<string, string> | undefined;
25063
+ credentialRef?: string | undefined;
25064
+ capacity?: number | undefined;
25065
+ } | {
25066
+ name: string;
25067
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
25068
+ properties: Record<string, string>;
25069
+ kind: "DeploymentTargetSet";
23356
25070
  displayName?: string | undefined;
25071
+ labels?: Record<string, string> | undefined;
25072
+ config?: Record<string, unknown> | undefined;
23357
25073
  credentialRef?: string | undefined;
23358
25074
  })[];
23359
25075
  deletions: {
23360
25076
  name: string;
23361
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
25077
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
23362
25078
  }[];
23363
25079
  force: boolean;
23364
25080
  dryRun: boolean;
@@ -23528,8 +25244,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23528
25244
  }[];
23529
25245
  webhookSecret?: string | undefined;
23530
25246
  body?: string | undefined;
23531
- base?: string | undefined;
23532
25247
  labels?: string[] | undefined;
25248
+ base?: string | undefined;
23533
25249
  reviewers?: string[] | undefined;
23534
25250
  teamReviewers?: string[] | undefined;
23535
25251
  postMergeDispatch?: {
@@ -23600,8 +25316,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23600
25316
  }[];
23601
25317
  webhookSecret?: string | undefined;
23602
25318
  body?: string | undefined;
23603
- base?: string | undefined;
23604
25319
  labels?: string[] | undefined;
25320
+ base?: string | undefined;
23605
25321
  reviewers?: string[] | undefined;
23606
25322
  teamReviewers?: string[] | undefined;
23607
25323
  } | undefined;
@@ -23684,6 +25400,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23684
25400
  webhookSecret?: string | undefined;
23685
25401
  body?: string | undefined;
23686
25402
  title?: string | undefined;
25403
+ labels?: string[] | undefined;
23687
25404
  auth?: {
23688
25405
  type: "token";
23689
25406
  token: string;
@@ -23708,7 +25425,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23708
25425
  } | undefined;
23709
25426
  operation?: "replace" | "patch" | undefined;
23710
25427
  }[] | undefined;
23711
- labels?: string[] | undefined;
23712
25428
  reviewers?: string[] | undefined;
23713
25429
  teamReviewers?: string[] | undefined;
23714
25430
  postMergeDispatch?: {
@@ -23778,8 +25494,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23778
25494
  }[];
23779
25495
  webhookSecret?: string | undefined;
23780
25496
  body?: string | undefined;
23781
- base?: string | undefined;
23782
25497
  labels?: string[] | undefined;
25498
+ base?: string | undefined;
23783
25499
  reviewers?: string[] | undefined;
23784
25500
  teamReviewers?: string[] | undefined;
23785
25501
  } | undefined;
@@ -23856,6 +25572,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23856
25572
  yellowSeconds?: number | undefined;
23857
25573
  } | undefined;
23858
25574
  applier?: string | undefined;
25575
+ labels?: Record<string, string> | undefined;
25576
+ labelMappings?: Record<string, string> | undefined;
23859
25577
  } | {
23860
25578
  name: string;
23861
25579
  entityType: string;
@@ -23866,9 +25584,43 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23866
25584
  metric: string;
23867
25585
  aggregate: "max" | "sum" | "avg" | "min";
23868
25586
  }[] | undefined;
25587
+ labels?: Record<string, string> | undefined;
23869
25588
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
23870
25589
  parentCells?: string[] | undefined;
23871
- deploymentTarget?: string | undefined;
25590
+ targetSelector?: {
25591
+ primary: {
25592
+ set: string;
25593
+ match?: {
25594
+ property: string;
25595
+ equals: {
25596
+ source: "environment";
25597
+ } | {
25598
+ name: string;
25599
+ source: "entityProperty";
25600
+ } | {
25601
+ value: string;
25602
+ source: "literal";
25603
+ };
25604
+ }[] | undefined;
25605
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
25606
+ };
25607
+ roles?: Record<string, {
25608
+ set: string;
25609
+ match?: {
25610
+ property: string;
25611
+ equals: {
25612
+ source: "environment";
25613
+ } | {
25614
+ name: string;
25615
+ source: "entityProperty";
25616
+ } | {
25617
+ value: string;
25618
+ source: "literal";
25619
+ };
25620
+ }[] | undefined;
25621
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
25622
+ }> | undefined;
25623
+ } | undefined;
23872
25624
  membership?: {
23873
25625
  derivedFrom: {
23874
25626
  property: string;
@@ -23924,15 +25676,28 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23924
25676
  labels?: Record<string, string> | undefined;
23925
25677
  } | {
23926
25678
  name: string;
23927
- provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
23928
25679
  kind: "DeploymentTarget";
25680
+ set?: string | undefined;
25681
+ provider?: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic" | undefined;
25682
+ displayName?: string | undefined;
25683
+ properties?: Record<string, string> | undefined;
25684
+ labels?: Record<string, string> | undefined;
25685
+ config?: Record<string, unknown> | undefined;
25686
+ credentialRef?: string | undefined;
25687
+ capacity?: number | undefined;
25688
+ } | {
25689
+ name: string;
25690
+ provider: "aws" | "gcp" | "s3-backend" | "tfc-workspace" | "generic";
25691
+ kind: "DeploymentTargetSet";
23929
25692
  displayName?: string | undefined;
25693
+ properties?: Record<string, string> | undefined;
25694
+ labels?: Record<string, string> | undefined;
23930
25695
  config?: Record<string, unknown> | undefined;
23931
25696
  credentialRef?: string | undefined;
23932
25697
  })[];
23933
25698
  deletions?: {
23934
25699
  name: string;
23935
- kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget";
25700
+ kind: "Action" | "EntityType" | "Cell" | "RelationshipType" | "Secret" | "DeploymentTarget" | "DeploymentTargetSet";
23936
25701
  }[] | undefined;
23937
25702
  force?: boolean | undefined;
23938
25703
  dryRun?: boolean | undefined;
@@ -23976,14 +25741,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
23976
25741
  orgId: zod.ZodString;
23977
25742
  projectId: zod.ZodString;
23978
25743
  limit: zod.ZodOptional<zod.ZodNumber>;
25744
+ before: zod.ZodOptional<zod.ZodString>;
23979
25745
  }, "strip", zod.ZodTypeAny, {
23980
25746
  orgId: string;
23981
25747
  projectId: string;
23982
25748
  limit?: number | undefined;
25749
+ before?: string | undefined;
23983
25750
  }, {
23984
25751
  orgId: string;
23985
25752
  projectId: string;
23986
25753
  limit?: number | undefined;
25754
+ before?: string | undefined;
23987
25755
  }>, {
23988
25756
  id: string;
23989
25757
  projectId: string | null;
@@ -24095,6 +25863,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24095
25863
  action: zod.ZodOptional<zod.ZodString>;
24096
25864
  resourceKind: zod.ZodOptional<zod.ZodString>;
24097
25865
  since: zod.ZodOptional<zod.ZodString>;
25866
+ before: zod.ZodOptional<zod.ZodString>;
24098
25867
  limit: zod.ZodOptional<zod.ZodNumber>;
24099
25868
  }, "strip", zod.ZodTypeAny, {
24100
25869
  orgId: string;
@@ -24105,6 +25874,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24105
25874
  actorId?: string | undefined;
24106
25875
  action?: string | undefined;
24107
25876
  resourceKind?: string | undefined;
25877
+ before?: string | undefined;
24108
25878
  since?: string | undefined;
24109
25879
  }, {
24110
25880
  orgId: string;
@@ -24115,6 +25885,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24115
25885
  actorId?: string | undefined;
24116
25886
  action?: string | undefined;
24117
25887
  resourceKind?: string | undefined;
25888
+ before?: string | undefined;
24118
25889
  since?: string | undefined;
24119
25890
  }>, {
24120
25891
  id: string;
@@ -24144,6 +25915,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24144
25915
  kind: zod.ZodOptional<zod.ZodString>;
24145
25916
  entityName: zod.ZodOptional<zod.ZodString>;
24146
25917
  since: zod.ZodOptional<zod.ZodString>;
25918
+ before: zod.ZodOptional<zod.ZodString>;
24147
25919
  limit: zod.ZodOptional<zod.ZodNumber>;
24148
25920
  }, "strip", zod.ZodTypeAny, {
24149
25921
  orgId: string;
@@ -24153,6 +25925,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24153
25925
  limit?: number | undefined;
24154
25926
  kind?: string | undefined;
24155
25927
  entityName?: string | undefined;
25928
+ before?: string | undefined;
24156
25929
  since?: string | undefined;
24157
25930
  }, {
24158
25931
  orgId: string;
@@ -24162,6 +25935,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24162
25935
  limit?: number | undefined;
24163
25936
  kind?: string | undefined;
24164
25937
  entityName?: string | undefined;
25938
+ before?: string | undefined;
24165
25939
  since?: string | undefined;
24166
25940
  }>, {
24167
25941
  detectedAt: string;
@@ -24434,6 +26208,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24434
26208
  labels: {
24435
26209
  [x: string]: string[];
24436
26210
  };
26211
+ relationshipTypes?: string[] | undefined;
26212
+ cellNames?: string[] | undefined;
24437
26213
  };
24438
26214
  grouping: {
24439
26215
  cellsEnabled: boolean;
@@ -24491,6 +26267,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24491
26267
  labels: {
24492
26268
  [x: string]: string[];
24493
26269
  };
26270
+ relationshipTypes?: string[] | undefined;
26271
+ cellNames?: string[] | undefined;
24494
26272
  };
24495
26273
  grouping: {
24496
26274
  cellsEnabled: boolean;
@@ -24573,6 +26351,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24573
26351
  labels: {
24574
26352
  [x: string]: string[];
24575
26353
  };
26354
+ relationshipTypes?: string[] | undefined;
26355
+ cellNames?: string[] | undefined;
24576
26356
  };
24577
26357
  grouping: {
24578
26358
  cellsEnabled: boolean;
@@ -24653,6 +26433,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24653
26433
  labels: {
24654
26434
  [x: string]: string[];
24655
26435
  };
26436
+ relationshipTypes?: string[] | undefined;
26437
+ cellNames?: string[] | undefined;
24656
26438
  };
24657
26439
  grouping: {
24658
26440
  cellsEnabled: boolean;
@@ -24726,6 +26508,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
24726
26508
  labels: {
24727
26509
  [x: string]: string[];
24728
26510
  };
26511
+ relationshipTypes?: string[] | undefined;
26512
+ cellNames?: string[] | undefined;
24729
26513
  };
24730
26514
  grouping: {
24731
26515
  cellsEnabled: boolean;
@@ -25256,7 +27040,45 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25256
27040
  property: string;
25257
27041
  value?: string | undefined;
25258
27042
  } | null;
25259
- deploymentTarget: string | null;
27043
+ targetSelector: {
27044
+ primary: {
27045
+ set: string;
27046
+ policy: "least-loaded" | "round-robin" | "random";
27047
+ match?: {
27048
+ property: string;
27049
+ equals: {
27050
+ source: "environment";
27051
+ } | {
27052
+ name: string;
27053
+ source: "entityProperty";
27054
+ } | {
27055
+ value: string;
27056
+ source: "literal";
27057
+ };
27058
+ }[] | undefined;
27059
+ };
27060
+ roles?: {
27061
+ [x: string]: {
27062
+ set: string;
27063
+ policy: "least-loaded" | "round-robin" | "random";
27064
+ match?: {
27065
+ property: string;
27066
+ equals: {
27067
+ source: "environment";
27068
+ } | {
27069
+ name: string;
27070
+ source: "entityProperty";
27071
+ } | {
27072
+ value: string;
27073
+ source: "literal";
27074
+ };
27075
+ }[] | undefined;
27076
+ };
27077
+ } | undefined;
27078
+ } | null;
27079
+ labels: {
27080
+ [x: string]: string;
27081
+ };
25260
27082
  createdAt: string;
25261
27083
  updatedAt: string;
25262
27084
  }[]>;
@@ -25290,7 +27112,45 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25290
27112
  property: string;
25291
27113
  value?: string | undefined;
25292
27114
  } | null;
25293
- deploymentTarget: string | null;
27115
+ targetSelector: {
27116
+ primary: {
27117
+ set: string;
27118
+ policy: "least-loaded" | "round-robin" | "random";
27119
+ match?: {
27120
+ property: string;
27121
+ equals: {
27122
+ source: "environment";
27123
+ } | {
27124
+ name: string;
27125
+ source: "entityProperty";
27126
+ } | {
27127
+ value: string;
27128
+ source: "literal";
27129
+ };
27130
+ }[] | undefined;
27131
+ };
27132
+ roles?: {
27133
+ [x: string]: {
27134
+ set: string;
27135
+ policy: "least-loaded" | "round-robin" | "random";
27136
+ match?: {
27137
+ property: string;
27138
+ equals: {
27139
+ source: "environment";
27140
+ } | {
27141
+ name: string;
27142
+ source: "entityProperty";
27143
+ } | {
27144
+ value: string;
27145
+ source: "literal";
27146
+ };
27147
+ }[] | undefined;
27148
+ };
27149
+ } | undefined;
27150
+ } | null;
27151
+ labels: {
27152
+ [x: string]: string;
27153
+ };
25294
27154
  createdAt: string;
25295
27155
  updatedAt: string;
25296
27156
  }>;
@@ -25319,24 +27179,260 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25319
27179
  property: zod.ZodString;
25320
27180
  value: zod.ZodOptional<zod.ZodString>;
25321
27181
  }, "strip", zod.ZodTypeAny, {
25322
- property: string;
25323
- value?: string | undefined;
27182
+ property: string;
27183
+ value?: string | undefined;
27184
+ }, {
27185
+ property: string;
27186
+ value?: string | undefined;
27187
+ }>;
27188
+ }, "strip", zod.ZodTypeAny, {
27189
+ derivedFrom: {
27190
+ property: string;
27191
+ value?: string | undefined;
27192
+ };
27193
+ }, {
27194
+ derivedFrom: {
27195
+ property: string;
27196
+ value?: string | undefined;
27197
+ };
27198
+ }>>;
27199
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
27200
+ primary: zod.ZodObject<{
27201
+ set: zod.ZodString;
27202
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
27203
+ property: zod.ZodString;
27204
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
27205
+ source: zod.ZodLiteral<"environment">;
27206
+ }, "strip", zod.ZodTypeAny, {
27207
+ source: "environment";
27208
+ }, {
27209
+ source: "environment";
27210
+ }>, zod.ZodObject<{
27211
+ source: zod.ZodLiteral<"entityProperty">;
27212
+ name: zod.ZodString;
27213
+ }, "strip", zod.ZodTypeAny, {
27214
+ name: string;
27215
+ source: "entityProperty";
27216
+ }, {
27217
+ name: string;
27218
+ source: "entityProperty";
27219
+ }>, zod.ZodObject<{
27220
+ source: zod.ZodLiteral<"literal">;
27221
+ value: zod.ZodString;
27222
+ }, "strip", zod.ZodTypeAny, {
27223
+ value: string;
27224
+ source: "literal";
27225
+ }, {
27226
+ value: string;
27227
+ source: "literal";
27228
+ }>]>;
27229
+ }, "strip", zod.ZodTypeAny, {
27230
+ property: string;
27231
+ equals: {
27232
+ source: "environment";
27233
+ } | {
27234
+ name: string;
27235
+ source: "entityProperty";
27236
+ } | {
27237
+ value: string;
27238
+ source: "literal";
27239
+ };
27240
+ }, {
27241
+ property: string;
27242
+ equals: {
27243
+ source: "environment";
27244
+ } | {
27245
+ name: string;
27246
+ source: "entityProperty";
27247
+ } | {
27248
+ value: string;
27249
+ source: "literal";
27250
+ };
27251
+ }>, "many">>;
27252
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
27253
+ }, "strip", zod.ZodTypeAny, {
27254
+ set: string;
27255
+ policy: "least-loaded" | "round-robin" | "random";
27256
+ match?: {
27257
+ property: string;
27258
+ equals: {
27259
+ source: "environment";
27260
+ } | {
27261
+ name: string;
27262
+ source: "entityProperty";
27263
+ } | {
27264
+ value: string;
27265
+ source: "literal";
27266
+ };
27267
+ }[] | undefined;
27268
+ }, {
27269
+ set: string;
27270
+ match?: {
27271
+ property: string;
27272
+ equals: {
27273
+ source: "environment";
27274
+ } | {
27275
+ name: string;
27276
+ source: "entityProperty";
27277
+ } | {
27278
+ value: string;
27279
+ source: "literal";
27280
+ };
27281
+ }[] | undefined;
27282
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27283
+ }>;
27284
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
27285
+ set: zod.ZodString;
27286
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
27287
+ property: zod.ZodString;
27288
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
27289
+ source: zod.ZodLiteral<"environment">;
27290
+ }, "strip", zod.ZodTypeAny, {
27291
+ source: "environment";
27292
+ }, {
27293
+ source: "environment";
27294
+ }>, zod.ZodObject<{
27295
+ source: zod.ZodLiteral<"entityProperty">;
27296
+ name: zod.ZodString;
27297
+ }, "strip", zod.ZodTypeAny, {
27298
+ name: string;
27299
+ source: "entityProperty";
27300
+ }, {
27301
+ name: string;
27302
+ source: "entityProperty";
27303
+ }>, zod.ZodObject<{
27304
+ source: zod.ZodLiteral<"literal">;
27305
+ value: zod.ZodString;
27306
+ }, "strip", zod.ZodTypeAny, {
27307
+ value: string;
27308
+ source: "literal";
27309
+ }, {
27310
+ value: string;
27311
+ source: "literal";
27312
+ }>]>;
27313
+ }, "strip", zod.ZodTypeAny, {
27314
+ property: string;
27315
+ equals: {
27316
+ source: "environment";
27317
+ } | {
27318
+ name: string;
27319
+ source: "entityProperty";
27320
+ } | {
27321
+ value: string;
27322
+ source: "literal";
27323
+ };
27324
+ }, {
27325
+ property: string;
27326
+ equals: {
27327
+ source: "environment";
27328
+ } | {
27329
+ name: string;
27330
+ source: "entityProperty";
27331
+ } | {
27332
+ value: string;
27333
+ source: "literal";
27334
+ };
27335
+ }>, "many">>;
27336
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
27337
+ }, "strip", zod.ZodTypeAny, {
27338
+ set: string;
27339
+ policy: "least-loaded" | "round-robin" | "random";
27340
+ match?: {
27341
+ property: string;
27342
+ equals: {
27343
+ source: "environment";
27344
+ } | {
27345
+ name: string;
27346
+ source: "entityProperty";
27347
+ } | {
27348
+ value: string;
27349
+ source: "literal";
27350
+ };
27351
+ }[] | undefined;
25324
27352
  }, {
25325
- property: string;
25326
- value?: string | undefined;
25327
- }>;
27353
+ set: string;
27354
+ match?: {
27355
+ property: string;
27356
+ equals: {
27357
+ source: "environment";
27358
+ } | {
27359
+ name: string;
27360
+ source: "entityProperty";
27361
+ } | {
27362
+ value: string;
27363
+ source: "literal";
27364
+ };
27365
+ }[] | undefined;
27366
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27367
+ }>>>;
25328
27368
  }, "strip", zod.ZodTypeAny, {
25329
- derivedFrom: {
25330
- property: string;
25331
- value?: string | undefined;
27369
+ primary: {
27370
+ set: string;
27371
+ policy: "least-loaded" | "round-robin" | "random";
27372
+ match?: {
27373
+ property: string;
27374
+ equals: {
27375
+ source: "environment";
27376
+ } | {
27377
+ name: string;
27378
+ source: "entityProperty";
27379
+ } | {
27380
+ value: string;
27381
+ source: "literal";
27382
+ };
27383
+ }[] | undefined;
25332
27384
  };
27385
+ roles?: Record<string, {
27386
+ set: string;
27387
+ policy: "least-loaded" | "round-robin" | "random";
27388
+ match?: {
27389
+ property: string;
27390
+ equals: {
27391
+ source: "environment";
27392
+ } | {
27393
+ name: string;
27394
+ source: "entityProperty";
27395
+ } | {
27396
+ value: string;
27397
+ source: "literal";
27398
+ };
27399
+ }[] | undefined;
27400
+ }> | undefined;
25333
27401
  }, {
25334
- derivedFrom: {
25335
- property: string;
25336
- value?: string | undefined;
25337
- };
27402
+ primary: {
27403
+ set: string;
27404
+ match?: {
27405
+ property: string;
27406
+ equals: {
27407
+ source: "environment";
27408
+ } | {
27409
+ name: string;
27410
+ source: "entityProperty";
27411
+ } | {
27412
+ value: string;
27413
+ source: "literal";
27414
+ };
27415
+ }[] | undefined;
27416
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27417
+ };
27418
+ roles?: Record<string, {
27419
+ set: string;
27420
+ match?: {
27421
+ property: string;
27422
+ equals: {
27423
+ source: "environment";
27424
+ } | {
27425
+ name: string;
27426
+ source: "entityProperty";
27427
+ } | {
27428
+ value: string;
27429
+ source: "literal";
27430
+ };
27431
+ }[] | undefined;
27432
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27433
+ }> | undefined;
25338
27434
  }>>;
25339
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
27435
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
25340
27436
  } & {
25341
27437
  orgId: zod.ZodString;
25342
27438
  projectId: zod.ZodString;
@@ -25354,7 +27450,41 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25354
27450
  placementPolicy: "least-loaded" | "round-robin" | "random";
25355
27451
  parentCells: string[];
25356
27452
  displayName?: string | undefined;
25357
- deploymentTarget?: string | undefined;
27453
+ labels?: Record<string, string> | undefined;
27454
+ targetSelector?: {
27455
+ primary: {
27456
+ set: string;
27457
+ policy: "least-loaded" | "round-robin" | "random";
27458
+ match?: {
27459
+ property: string;
27460
+ equals: {
27461
+ source: "environment";
27462
+ } | {
27463
+ name: string;
27464
+ source: "entityProperty";
27465
+ } | {
27466
+ value: string;
27467
+ source: "literal";
27468
+ };
27469
+ }[] | undefined;
27470
+ };
27471
+ roles?: Record<string, {
27472
+ set: string;
27473
+ policy: "least-loaded" | "round-robin" | "random";
27474
+ match?: {
27475
+ property: string;
27476
+ equals: {
27477
+ source: "environment";
27478
+ } | {
27479
+ name: string;
27480
+ source: "entityProperty";
27481
+ } | {
27482
+ value: string;
27483
+ source: "literal";
27484
+ };
27485
+ }[] | undefined;
27486
+ }> | undefined;
27487
+ } | undefined;
25358
27488
  membership?: {
25359
27489
  derivedFrom: {
25360
27490
  property: string;
@@ -25373,9 +27503,43 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25373
27503
  metric: string;
25374
27504
  aggregate: "max" | "sum" | "avg" | "min";
25375
27505
  }[] | undefined;
27506
+ labels?: Record<string, string> | undefined;
25376
27507
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
25377
27508
  parentCells?: string[] | undefined;
25378
- deploymentTarget?: string | undefined;
27509
+ targetSelector?: {
27510
+ primary: {
27511
+ set: string;
27512
+ match?: {
27513
+ property: string;
27514
+ equals: {
27515
+ source: "environment";
27516
+ } | {
27517
+ name: string;
27518
+ source: "entityProperty";
27519
+ } | {
27520
+ value: string;
27521
+ source: "literal";
27522
+ };
27523
+ }[] | undefined;
27524
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27525
+ };
27526
+ roles?: Record<string, {
27527
+ set: string;
27528
+ match?: {
27529
+ property: string;
27530
+ equals: {
27531
+ source: "environment";
27532
+ } | {
27533
+ name: string;
27534
+ source: "entityProperty";
27535
+ } | {
27536
+ value: string;
27537
+ source: "literal";
27538
+ };
27539
+ }[] | undefined;
27540
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27541
+ }> | undefined;
27542
+ } | undefined;
25379
27543
  membership?: {
25380
27544
  derivedFrom: {
25381
27545
  property: string;
@@ -25394,6 +27558,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25394
27558
  metric: string;
25395
27559
  aggregate: "max" | "sum" | "avg" | "min";
25396
27560
  }[];
27561
+ labels: {
27562
+ [x: string]: string;
27563
+ };
25397
27564
  entityTypeName: string;
25398
27565
  placementPolicy: "least-loaded" | "round-robin" | "random";
25399
27566
  parentCells: string[];
@@ -25402,7 +27569,42 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25402
27569
  property: string;
25403
27570
  value?: string | undefined;
25404
27571
  } | null;
25405
- deploymentTarget: string | null;
27572
+ targetSelector: {
27573
+ primary: {
27574
+ set: string;
27575
+ policy: "least-loaded" | "round-robin" | "random";
27576
+ match?: {
27577
+ property: string;
27578
+ equals: {
27579
+ source: "environment";
27580
+ } | {
27581
+ name: string;
27582
+ source: "entityProperty";
27583
+ } | {
27584
+ value: string;
27585
+ source: "literal";
27586
+ };
27587
+ }[] | undefined;
27588
+ };
27589
+ roles?: {
27590
+ [x: string]: {
27591
+ set: string;
27592
+ policy: "least-loaded" | "round-robin" | "random";
27593
+ match?: {
27594
+ property: string;
27595
+ equals: {
27596
+ source: "environment";
27597
+ } | {
27598
+ name: string;
27599
+ source: "entityProperty";
27600
+ } | {
27601
+ value: string;
27602
+ source: "literal";
27603
+ };
27604
+ }[] | undefined;
27605
+ };
27606
+ } | undefined;
27607
+ } | null;
25406
27608
  }>;
25407
27609
  update: SchemaFn<zod.ZodObject<{
25408
27610
  kind: zod.ZodLiteral<"Cell">;
@@ -25446,7 +27648,243 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25446
27648
  value?: string | undefined;
25447
27649
  };
25448
27650
  }>>;
25449
- deploymentTarget: zod.ZodOptional<zod.ZodString>;
27651
+ targetSelector: zod.ZodOptional<zod.ZodObject<{
27652
+ primary: zod.ZodObject<{
27653
+ set: zod.ZodString;
27654
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
27655
+ property: zod.ZodString;
27656
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
27657
+ source: zod.ZodLiteral<"environment">;
27658
+ }, "strip", zod.ZodTypeAny, {
27659
+ source: "environment";
27660
+ }, {
27661
+ source: "environment";
27662
+ }>, zod.ZodObject<{
27663
+ source: zod.ZodLiteral<"entityProperty">;
27664
+ name: zod.ZodString;
27665
+ }, "strip", zod.ZodTypeAny, {
27666
+ name: string;
27667
+ source: "entityProperty";
27668
+ }, {
27669
+ name: string;
27670
+ source: "entityProperty";
27671
+ }>, zod.ZodObject<{
27672
+ source: zod.ZodLiteral<"literal">;
27673
+ value: zod.ZodString;
27674
+ }, "strip", zod.ZodTypeAny, {
27675
+ value: string;
27676
+ source: "literal";
27677
+ }, {
27678
+ value: string;
27679
+ source: "literal";
27680
+ }>]>;
27681
+ }, "strip", zod.ZodTypeAny, {
27682
+ property: string;
27683
+ equals: {
27684
+ source: "environment";
27685
+ } | {
27686
+ name: string;
27687
+ source: "entityProperty";
27688
+ } | {
27689
+ value: string;
27690
+ source: "literal";
27691
+ };
27692
+ }, {
27693
+ property: string;
27694
+ equals: {
27695
+ source: "environment";
27696
+ } | {
27697
+ name: string;
27698
+ source: "entityProperty";
27699
+ } | {
27700
+ value: string;
27701
+ source: "literal";
27702
+ };
27703
+ }>, "many">>;
27704
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
27705
+ }, "strip", zod.ZodTypeAny, {
27706
+ set: string;
27707
+ policy: "least-loaded" | "round-robin" | "random";
27708
+ match?: {
27709
+ property: string;
27710
+ equals: {
27711
+ source: "environment";
27712
+ } | {
27713
+ name: string;
27714
+ source: "entityProperty";
27715
+ } | {
27716
+ value: string;
27717
+ source: "literal";
27718
+ };
27719
+ }[] | undefined;
27720
+ }, {
27721
+ set: string;
27722
+ match?: {
27723
+ property: string;
27724
+ equals: {
27725
+ source: "environment";
27726
+ } | {
27727
+ name: string;
27728
+ source: "entityProperty";
27729
+ } | {
27730
+ value: string;
27731
+ source: "literal";
27732
+ };
27733
+ }[] | undefined;
27734
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27735
+ }>;
27736
+ roles: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
27737
+ set: zod.ZodString;
27738
+ match: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
27739
+ property: zod.ZodString;
27740
+ equals: zod.ZodDiscriminatedUnion<"source", [zod.ZodObject<{
27741
+ source: zod.ZodLiteral<"environment">;
27742
+ }, "strip", zod.ZodTypeAny, {
27743
+ source: "environment";
27744
+ }, {
27745
+ source: "environment";
27746
+ }>, zod.ZodObject<{
27747
+ source: zod.ZodLiteral<"entityProperty">;
27748
+ name: zod.ZodString;
27749
+ }, "strip", zod.ZodTypeAny, {
27750
+ name: string;
27751
+ source: "entityProperty";
27752
+ }, {
27753
+ name: string;
27754
+ source: "entityProperty";
27755
+ }>, zod.ZodObject<{
27756
+ source: zod.ZodLiteral<"literal">;
27757
+ value: zod.ZodString;
27758
+ }, "strip", zod.ZodTypeAny, {
27759
+ value: string;
27760
+ source: "literal";
27761
+ }, {
27762
+ value: string;
27763
+ source: "literal";
27764
+ }>]>;
27765
+ }, "strip", zod.ZodTypeAny, {
27766
+ property: string;
27767
+ equals: {
27768
+ source: "environment";
27769
+ } | {
27770
+ name: string;
27771
+ source: "entityProperty";
27772
+ } | {
27773
+ value: string;
27774
+ source: "literal";
27775
+ };
27776
+ }, {
27777
+ property: string;
27778
+ equals: {
27779
+ source: "environment";
27780
+ } | {
27781
+ name: string;
27782
+ source: "entityProperty";
27783
+ } | {
27784
+ value: string;
27785
+ source: "literal";
27786
+ };
27787
+ }>, "many">>;
27788
+ policy: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["least-loaded", "round-robin", "random"]>>>;
27789
+ }, "strip", zod.ZodTypeAny, {
27790
+ set: string;
27791
+ policy: "least-loaded" | "round-robin" | "random";
27792
+ match?: {
27793
+ property: string;
27794
+ equals: {
27795
+ source: "environment";
27796
+ } | {
27797
+ name: string;
27798
+ source: "entityProperty";
27799
+ } | {
27800
+ value: string;
27801
+ source: "literal";
27802
+ };
27803
+ }[] | undefined;
27804
+ }, {
27805
+ set: string;
27806
+ match?: {
27807
+ property: string;
27808
+ equals: {
27809
+ source: "environment";
27810
+ } | {
27811
+ name: string;
27812
+ source: "entityProperty";
27813
+ } | {
27814
+ value: string;
27815
+ source: "literal";
27816
+ };
27817
+ }[] | undefined;
27818
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27819
+ }>>>;
27820
+ }, "strip", zod.ZodTypeAny, {
27821
+ primary: {
27822
+ set: string;
27823
+ policy: "least-loaded" | "round-robin" | "random";
27824
+ match?: {
27825
+ property: string;
27826
+ equals: {
27827
+ source: "environment";
27828
+ } | {
27829
+ name: string;
27830
+ source: "entityProperty";
27831
+ } | {
27832
+ value: string;
27833
+ source: "literal";
27834
+ };
27835
+ }[] | undefined;
27836
+ };
27837
+ roles?: Record<string, {
27838
+ set: string;
27839
+ policy: "least-loaded" | "round-robin" | "random";
27840
+ match?: {
27841
+ property: string;
27842
+ equals: {
27843
+ source: "environment";
27844
+ } | {
27845
+ name: string;
27846
+ source: "entityProperty";
27847
+ } | {
27848
+ value: string;
27849
+ source: "literal";
27850
+ };
27851
+ }[] | undefined;
27852
+ }> | undefined;
27853
+ }, {
27854
+ primary: {
27855
+ set: string;
27856
+ match?: {
27857
+ property: string;
27858
+ equals: {
27859
+ source: "environment";
27860
+ } | {
27861
+ name: string;
27862
+ source: "entityProperty";
27863
+ } | {
27864
+ value: string;
27865
+ source: "literal";
27866
+ };
27867
+ }[] | undefined;
27868
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27869
+ };
27870
+ roles?: Record<string, {
27871
+ set: string;
27872
+ match?: {
27873
+ property: string;
27874
+ equals: {
27875
+ source: "environment";
27876
+ } | {
27877
+ name: string;
27878
+ source: "entityProperty";
27879
+ } | {
27880
+ value: string;
27881
+ source: "literal";
27882
+ };
27883
+ }[] | undefined;
27884
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27885
+ }> | undefined;
27886
+ }>>;
27887
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
25450
27888
  } & {
25451
27889
  orgId: zod.ZodString;
25452
27890
  projectId: zod.ZodString;
@@ -25464,7 +27902,41 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25464
27902
  placementPolicy: "least-loaded" | "round-robin" | "random";
25465
27903
  parentCells: string[];
25466
27904
  displayName?: string | undefined;
25467
- deploymentTarget?: string | undefined;
27905
+ labels?: Record<string, string> | undefined;
27906
+ targetSelector?: {
27907
+ primary: {
27908
+ set: string;
27909
+ policy: "least-loaded" | "round-robin" | "random";
27910
+ match?: {
27911
+ property: string;
27912
+ equals: {
27913
+ source: "environment";
27914
+ } | {
27915
+ name: string;
27916
+ source: "entityProperty";
27917
+ } | {
27918
+ value: string;
27919
+ source: "literal";
27920
+ };
27921
+ }[] | undefined;
27922
+ };
27923
+ roles?: Record<string, {
27924
+ set: string;
27925
+ policy: "least-loaded" | "round-robin" | "random";
27926
+ match?: {
27927
+ property: string;
27928
+ equals: {
27929
+ source: "environment";
27930
+ } | {
27931
+ name: string;
27932
+ source: "entityProperty";
27933
+ } | {
27934
+ value: string;
27935
+ source: "literal";
27936
+ };
27937
+ }[] | undefined;
27938
+ }> | undefined;
27939
+ } | undefined;
25468
27940
  membership?: {
25469
27941
  derivedFrom: {
25470
27942
  property: string;
@@ -25483,9 +27955,43 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25483
27955
  metric: string;
25484
27956
  aggregate: "max" | "sum" | "avg" | "min";
25485
27957
  }[] | undefined;
27958
+ labels?: Record<string, string> | undefined;
25486
27959
  placementPolicy?: "least-loaded" | "round-robin" | "random" | undefined;
25487
27960
  parentCells?: string[] | undefined;
25488
- deploymentTarget?: string | undefined;
27961
+ targetSelector?: {
27962
+ primary: {
27963
+ set: string;
27964
+ match?: {
27965
+ property: string;
27966
+ equals: {
27967
+ source: "environment";
27968
+ } | {
27969
+ name: string;
27970
+ source: "entityProperty";
27971
+ } | {
27972
+ value: string;
27973
+ source: "literal";
27974
+ };
27975
+ }[] | undefined;
27976
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27977
+ };
27978
+ roles?: Record<string, {
27979
+ set: string;
27980
+ match?: {
27981
+ property: string;
27982
+ equals: {
27983
+ source: "environment";
27984
+ } | {
27985
+ name: string;
27986
+ source: "entityProperty";
27987
+ } | {
27988
+ value: string;
27989
+ source: "literal";
27990
+ };
27991
+ }[] | undefined;
27992
+ policy?: "least-loaded" | "round-robin" | "random" | undefined;
27993
+ }> | undefined;
27994
+ } | undefined;
25489
27995
  membership?: {
25490
27996
  derivedFrom: {
25491
27997
  property: string;
@@ -25510,7 +28016,45 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25510
28016
  property: string;
25511
28017
  value?: string | undefined;
25512
28018
  } | null;
25513
- deploymentTarget: string | null;
28019
+ targetSelector: {
28020
+ primary: {
28021
+ set: string;
28022
+ policy: "least-loaded" | "round-robin" | "random";
28023
+ match?: {
28024
+ property: string;
28025
+ equals: {
28026
+ source: "environment";
28027
+ } | {
28028
+ name: string;
28029
+ source: "entityProperty";
28030
+ } | {
28031
+ value: string;
28032
+ source: "literal";
28033
+ };
28034
+ }[] | undefined;
28035
+ };
28036
+ roles?: {
28037
+ [x: string]: {
28038
+ set: string;
28039
+ policy: "least-loaded" | "round-robin" | "random";
28040
+ match?: {
28041
+ property: string;
28042
+ equals: {
28043
+ source: "environment";
28044
+ } | {
28045
+ name: string;
28046
+ source: "entityProperty";
28047
+ } | {
28048
+ value: string;
28049
+ source: "literal";
28050
+ };
28051
+ }[] | undefined;
28052
+ };
28053
+ } | undefined;
28054
+ } | null;
28055
+ labels: {
28056
+ [x: string]: string;
28057
+ };
25514
28058
  createdAt: string;
25515
28059
  updatedAt: string;
25516
28060
  }>;
@@ -25633,8 +28177,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25633
28177
  envId: string;
25634
28178
  state: string;
25635
28179
  properties: hono_utils_types.JSONValue;
25636
- entityTypeName: string;
25637
28180
  labels: hono_utils_types.JSONValue;
28181
+ entityTypeName: string;
25638
28182
  lastSyncedAt: string | null;
25639
28183
  syncSource: string | null;
25640
28184
  };
@@ -25647,14 +28191,17 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
25647
28191
  orgId: zod.ZodString;
25648
28192
  projectId: zod.ZodString;
25649
28193
  limit: zod.ZodOptional<zod.ZodNumber>;
28194
+ before: zod.ZodOptional<zod.ZodString>;
25650
28195
  }, "strip", zod.ZodTypeAny, {
25651
28196
  orgId: string;
25652
28197
  projectId: string;
25653
28198
  limit?: number | undefined;
28199
+ before?: string | undefined;
25654
28200
  }, {
25655
28201
  orgId: string;
25656
28202
  projectId: string;
25657
28203
  limit?: number | undefined;
28204
+ before?: string | undefined;
25658
28205
  }>, {
25659
28206
  id: string;
25660
28207
  projectId: string | null;