@terrantula/sdk 0.10.0 → 0.11.1
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/{chunk-D2JXYF4W.mjs → chunk-773V5YNO.mjs} +56 -4
- package/dist/index.d.mts +439 -60
- package/dist/index.d.ts +439 -60
- package/dist/index.js +56 -4
- package/dist/index.mjs +1 -1
- package/dist/local.d.mts +308 -52
- package/dist/local.d.ts +308 -52
- package/dist/local.js +56 -4
- package/dist/local.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
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.js';
|
|
2
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.js';
|
|
3
3
|
import * as _terrantula_types from '@terrantula/types';
|
|
4
|
+
export { RegistryInput, RegistryOutput } from '@terrantula/types';
|
|
4
5
|
import * as zod from 'zod';
|
|
5
6
|
import * as hono_hono_base from 'hono/hono-base';
|
|
6
7
|
import * as hono_utils_types from 'hono/utils/types';
|
|
@@ -302,6 +303,38 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
302
303
|
};
|
|
303
304
|
};
|
|
304
305
|
}, "/secrets"> | hono_types.MergeSchemaPath<{
|
|
306
|
+
"/facets": {
|
|
307
|
+
$get: {
|
|
308
|
+
input: {
|
|
309
|
+
json?: any;
|
|
310
|
+
query?: {
|
|
311
|
+
[x: string]: string | string[];
|
|
312
|
+
} | undefined;
|
|
313
|
+
};
|
|
314
|
+
output: {
|
|
315
|
+
kind: {
|
|
316
|
+
value: string;
|
|
317
|
+
count: number;
|
|
318
|
+
}[];
|
|
319
|
+
state: {
|
|
320
|
+
value: string;
|
|
321
|
+
count: number;
|
|
322
|
+
}[];
|
|
323
|
+
owner: {
|
|
324
|
+
value: string;
|
|
325
|
+
count: number;
|
|
326
|
+
}[];
|
|
327
|
+
cell: {
|
|
328
|
+
value: string;
|
|
329
|
+
count: number;
|
|
330
|
+
}[];
|
|
331
|
+
total: number;
|
|
332
|
+
};
|
|
333
|
+
outputFormat: "json";
|
|
334
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
}, "/entities"> | hono_types.MergeSchemaPath<{
|
|
305
338
|
"/": {
|
|
306
339
|
$get: {
|
|
307
340
|
input: {
|
|
@@ -1875,6 +1908,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
1875
1908
|
max: number;
|
|
1876
1909
|
metric: string;
|
|
1877
1910
|
}[];
|
|
1911
|
+
composition: {
|
|
1912
|
+
provider: string;
|
|
1913
|
+
kind: "data" | "resource" | "module";
|
|
1914
|
+
address: string;
|
|
1915
|
+
}[] | null;
|
|
1878
1916
|
syncTracked: boolean;
|
|
1879
1917
|
syncFreshness: {
|
|
1880
1918
|
greenSeconds?: number | undefined;
|
|
@@ -1936,6 +1974,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
1936
1974
|
max: number;
|
|
1937
1975
|
metric: string;
|
|
1938
1976
|
}[];
|
|
1977
|
+
composition: {
|
|
1978
|
+
provider: string;
|
|
1979
|
+
kind: "data" | "resource" | "module";
|
|
1980
|
+
address: string;
|
|
1981
|
+
}[] | null;
|
|
1939
1982
|
syncTracked: boolean;
|
|
1940
1983
|
syncFreshness: {
|
|
1941
1984
|
greenSeconds?: number | undefined;
|
|
@@ -1992,6 +2035,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
1992
2035
|
max: number;
|
|
1993
2036
|
metric: string;
|
|
1994
2037
|
}[];
|
|
2038
|
+
composition: {
|
|
2039
|
+
provider: string;
|
|
2040
|
+
kind: "data" | "resource" | "module";
|
|
2041
|
+
address: string;
|
|
2042
|
+
}[] | null;
|
|
1995
2043
|
syncTracked: boolean;
|
|
1996
2044
|
syncFreshness: {
|
|
1997
2045
|
greenSeconds?: number | undefined;
|
|
@@ -2055,6 +2103,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2055
2103
|
max: number;
|
|
2056
2104
|
metric: string;
|
|
2057
2105
|
}[];
|
|
2106
|
+
composition: {
|
|
2107
|
+
provider: string;
|
|
2108
|
+
kind: "data" | "resource" | "module";
|
|
2109
|
+
address: string;
|
|
2110
|
+
}[] | null;
|
|
2058
2111
|
syncTracked: boolean;
|
|
2059
2112
|
syncFreshness: {
|
|
2060
2113
|
greenSeconds?: number | undefined;
|
|
@@ -2488,11 +2541,15 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2488
2541
|
title?: string | undefined;
|
|
2489
2542
|
enum?: string[] | undefined;
|
|
2490
2543
|
}[];
|
|
2491
|
-
constraints: {
|
|
2544
|
+
constraints: ({
|
|
2492
2545
|
type: "property-sum";
|
|
2493
2546
|
property: string;
|
|
2494
2547
|
leq: string;
|
|
2495
|
-
}
|
|
2548
|
+
} | {
|
|
2549
|
+
type: "relationship-count";
|
|
2550
|
+
leq: string | number;
|
|
2551
|
+
})[];
|
|
2552
|
+
containment: boolean;
|
|
2496
2553
|
createdAt: string;
|
|
2497
2554
|
updatedAt: string;
|
|
2498
2555
|
}[];
|
|
@@ -2526,14 +2583,18 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2526
2583
|
title?: string | undefined;
|
|
2527
2584
|
enum?: string[] | undefined;
|
|
2528
2585
|
}[];
|
|
2529
|
-
constraints: {
|
|
2586
|
+
constraints: ({
|
|
2530
2587
|
type: "property-sum";
|
|
2531
2588
|
property: string;
|
|
2532
2589
|
leq: string;
|
|
2533
|
-
}
|
|
2590
|
+
} | {
|
|
2591
|
+
type: "relationship-count";
|
|
2592
|
+
leq: string | number;
|
|
2593
|
+
})[];
|
|
2534
2594
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
2535
2595
|
fromEntityTypeName: string;
|
|
2536
2596
|
toEntityTypeName: string;
|
|
2597
|
+
containment: boolean;
|
|
2537
2598
|
};
|
|
2538
2599
|
outputFormat: "json";
|
|
2539
2600
|
status: 201;
|
|
@@ -2565,11 +2626,15 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2565
2626
|
title?: string | undefined;
|
|
2566
2627
|
enum?: string[] | undefined;
|
|
2567
2628
|
}[];
|
|
2568
|
-
constraints: {
|
|
2629
|
+
constraints: ({
|
|
2569
2630
|
type: "property-sum";
|
|
2570
2631
|
property: string;
|
|
2571
2632
|
leq: string;
|
|
2572
|
-
}
|
|
2633
|
+
} | {
|
|
2634
|
+
type: "relationship-count";
|
|
2635
|
+
leq: string | number;
|
|
2636
|
+
})[];
|
|
2637
|
+
containment: boolean;
|
|
2573
2638
|
createdAt: string;
|
|
2574
2639
|
updatedAt: string;
|
|
2575
2640
|
};
|
|
@@ -2608,11 +2673,15 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2608
2673
|
title?: string | undefined;
|
|
2609
2674
|
enum?: string[] | undefined;
|
|
2610
2675
|
}[];
|
|
2611
|
-
constraints: {
|
|
2676
|
+
constraints: ({
|
|
2612
2677
|
type: "property-sum";
|
|
2613
2678
|
property: string;
|
|
2614
2679
|
leq: string;
|
|
2615
|
-
}
|
|
2680
|
+
} | {
|
|
2681
|
+
type: "relationship-count";
|
|
2682
|
+
leq: string | number;
|
|
2683
|
+
})[];
|
|
2684
|
+
containment: boolean;
|
|
2616
2685
|
createdAt: string;
|
|
2617
2686
|
updatedAt: string;
|
|
2618
2687
|
};
|
|
@@ -5396,6 +5465,33 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
5396
5465
|
};
|
|
5397
5466
|
};
|
|
5398
5467
|
}, "/import-sources"> | hono_types.MergeSchemaPath<{
|
|
5468
|
+
"/": {
|
|
5469
|
+
$post: {
|
|
5470
|
+
input: {
|
|
5471
|
+
json?: any;
|
|
5472
|
+
query?: {
|
|
5473
|
+
[x: string]: string | string[];
|
|
5474
|
+
} | undefined;
|
|
5475
|
+
};
|
|
5476
|
+
output: {
|
|
5477
|
+
name: string;
|
|
5478
|
+
inputs: {
|
|
5479
|
+
name: string;
|
|
5480
|
+
type: string;
|
|
5481
|
+
description?: string | undefined;
|
|
5482
|
+
required: boolean;
|
|
5483
|
+
default?: hono_utils_types.JSONValue | undefined;
|
|
5484
|
+
}[];
|
|
5485
|
+
outputs: {
|
|
5486
|
+
name: string;
|
|
5487
|
+
description?: string | undefined;
|
|
5488
|
+
}[];
|
|
5489
|
+
};
|
|
5490
|
+
outputFormat: "json";
|
|
5491
|
+
status: hono_utils_http_status.ContentfulStatusCode;
|
|
5492
|
+
};
|
|
5493
|
+
};
|
|
5494
|
+
}, "/resolve-source"> | hono_types.MergeSchemaPath<{
|
|
5399
5495
|
"/github": {
|
|
5400
5496
|
$post: {
|
|
5401
5497
|
input: {};
|
|
@@ -6256,6 +6352,17 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
|
|
|
6256
6352
|
};
|
|
6257
6353
|
outputFormat: "json";
|
|
6258
6354
|
status: 401;
|
|
6355
|
+
} | {
|
|
6356
|
+
input: {
|
|
6357
|
+
param: {
|
|
6358
|
+
projectId: string;
|
|
6359
|
+
};
|
|
6360
|
+
};
|
|
6361
|
+
output: {
|
|
6362
|
+
error: string;
|
|
6363
|
+
};
|
|
6364
|
+
outputFormat: "json";
|
|
6365
|
+
status: 404;
|
|
6259
6366
|
} | {
|
|
6260
6367
|
input: {
|
|
6261
6368
|
param: {
|
|
@@ -6308,6 +6415,22 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
|
|
|
6308
6415
|
};
|
|
6309
6416
|
outputFormat: "json";
|
|
6310
6417
|
status: 403;
|
|
6418
|
+
} | {
|
|
6419
|
+
input: {
|
|
6420
|
+
json?: any;
|
|
6421
|
+
query?: {
|
|
6422
|
+
[x: string]: string | string[];
|
|
6423
|
+
} | undefined;
|
|
6424
|
+
} & {
|
|
6425
|
+
param: {
|
|
6426
|
+
projectId: string;
|
|
6427
|
+
};
|
|
6428
|
+
};
|
|
6429
|
+
output: {
|
|
6430
|
+
error: string;
|
|
6431
|
+
};
|
|
6432
|
+
outputFormat: "json";
|
|
6433
|
+
status: 404;
|
|
6311
6434
|
} | {
|
|
6312
6435
|
input: {
|
|
6313
6436
|
json?: any;
|
|
@@ -7140,6 +7263,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7140
7263
|
projectId: string;
|
|
7141
7264
|
}>, {
|
|
7142
7265
|
error: string;
|
|
7266
|
+
} | {
|
|
7267
|
+
error: string;
|
|
7143
7268
|
} | {
|
|
7144
7269
|
id: string;
|
|
7145
7270
|
email: string;
|
|
@@ -7172,6 +7297,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7172
7297
|
error: string;
|
|
7173
7298
|
} | {
|
|
7174
7299
|
error: string;
|
|
7300
|
+
} | {
|
|
7301
|
+
error: string;
|
|
7175
7302
|
} | {
|
|
7176
7303
|
added: true;
|
|
7177
7304
|
envName: any;
|
|
@@ -7679,6 +7806,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7679
7806
|
max: number;
|
|
7680
7807
|
metric: string;
|
|
7681
7808
|
}[];
|
|
7809
|
+
composition: {
|
|
7810
|
+
provider: string;
|
|
7811
|
+
kind: "data" | "resource" | "module";
|
|
7812
|
+
address: string;
|
|
7813
|
+
}[] | null;
|
|
7682
7814
|
syncTracked: boolean;
|
|
7683
7815
|
syncFreshness: {
|
|
7684
7816
|
greenSeconds?: number | undefined;
|
|
@@ -7737,6 +7869,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7737
7869
|
max: number;
|
|
7738
7870
|
metric: string;
|
|
7739
7871
|
}[];
|
|
7872
|
+
composition: {
|
|
7873
|
+
provider: string;
|
|
7874
|
+
kind: "data" | "resource" | "module";
|
|
7875
|
+
address: string;
|
|
7876
|
+
}[] | null;
|
|
7740
7877
|
syncTracked: boolean;
|
|
7741
7878
|
syncFreshness: {
|
|
7742
7879
|
greenSeconds?: number | undefined;
|
|
@@ -7880,6 +8017,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7880
8017
|
yellowSeconds?: number | undefined;
|
|
7881
8018
|
}>>;
|
|
7882
8019
|
applier: zod.ZodOptional<zod.ZodString>;
|
|
8020
|
+
composition: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
8021
|
+
kind: zod.ZodEnum<["resource", "module", "data"]>;
|
|
8022
|
+
address: zod.ZodString;
|
|
8023
|
+
provider: zod.ZodString;
|
|
8024
|
+
}, "strip", zod.ZodTypeAny, {
|
|
8025
|
+
provider: string;
|
|
8026
|
+
kind: "data" | "resource" | "module";
|
|
8027
|
+
address: string;
|
|
8028
|
+
}, {
|
|
8029
|
+
provider: string;
|
|
8030
|
+
kind: "data" | "resource" | "module";
|
|
8031
|
+
address: string;
|
|
8032
|
+
}>, "many">>;
|
|
7883
8033
|
} & {
|
|
7884
8034
|
orgId: zod.ZodString;
|
|
7885
8035
|
projectId: zod.ZodString;
|
|
@@ -7919,9 +8069,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7919
8069
|
max: number;
|
|
7920
8070
|
metric: string;
|
|
7921
8071
|
}[];
|
|
7922
|
-
syncTracked: boolean;
|
|
7923
8072
|
kind: "EntityType";
|
|
8073
|
+
syncTracked: boolean;
|
|
7924
8074
|
displayName?: string | undefined;
|
|
8075
|
+
composition?: {
|
|
8076
|
+
provider: string;
|
|
8077
|
+
kind: "data" | "resource" | "module";
|
|
8078
|
+
address: string;
|
|
8079
|
+
}[] | undefined;
|
|
7925
8080
|
syncFreshness?: {
|
|
7926
8081
|
greenSeconds?: number | undefined;
|
|
7927
8082
|
yellowSeconds?: number | undefined;
|
|
@@ -7965,6 +8120,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7965
8120
|
max: number;
|
|
7966
8121
|
metric: string;
|
|
7967
8122
|
}[] | undefined;
|
|
8123
|
+
composition?: {
|
|
8124
|
+
provider: string;
|
|
8125
|
+
kind: "data" | "resource" | "module";
|
|
8126
|
+
address: string;
|
|
8127
|
+
}[] | undefined;
|
|
7968
8128
|
syncTracked?: boolean | undefined;
|
|
7969
8129
|
syncFreshness?: {
|
|
7970
8130
|
greenSeconds?: number | undefined;
|
|
@@ -8010,6 +8170,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8010
8170
|
max: number;
|
|
8011
8171
|
metric: string;
|
|
8012
8172
|
}[];
|
|
8173
|
+
composition: {
|
|
8174
|
+
provider: string;
|
|
8175
|
+
kind: "data" | "resource" | "module";
|
|
8176
|
+
address: string;
|
|
8177
|
+
}[] | null;
|
|
8013
8178
|
syncTracked: boolean;
|
|
8014
8179
|
syncFreshness: {
|
|
8015
8180
|
greenSeconds?: number | undefined;
|
|
@@ -8151,6 +8316,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8151
8316
|
yellowSeconds?: number | undefined;
|
|
8152
8317
|
}>>;
|
|
8153
8318
|
applier: zod.ZodOptional<zod.ZodString>;
|
|
8319
|
+
composition: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
8320
|
+
kind: zod.ZodEnum<["resource", "module", "data"]>;
|
|
8321
|
+
address: zod.ZodString;
|
|
8322
|
+
provider: zod.ZodString;
|
|
8323
|
+
}, "strip", zod.ZodTypeAny, {
|
|
8324
|
+
provider: string;
|
|
8325
|
+
kind: "data" | "resource" | "module";
|
|
8326
|
+
address: string;
|
|
8327
|
+
}, {
|
|
8328
|
+
provider: string;
|
|
8329
|
+
kind: "data" | "resource" | "module";
|
|
8330
|
+
address: string;
|
|
8331
|
+
}>, "many">>;
|
|
8154
8332
|
} & {
|
|
8155
8333
|
orgId: zod.ZodString;
|
|
8156
8334
|
projectId: zod.ZodString;
|
|
@@ -8190,9 +8368,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8190
8368
|
max: number;
|
|
8191
8369
|
metric: string;
|
|
8192
8370
|
}[];
|
|
8193
|
-
syncTracked: boolean;
|
|
8194
8371
|
kind: "EntityType";
|
|
8372
|
+
syncTracked: boolean;
|
|
8195
8373
|
displayName?: string | undefined;
|
|
8374
|
+
composition?: {
|
|
8375
|
+
provider: string;
|
|
8376
|
+
kind: "data" | "resource" | "module";
|
|
8377
|
+
address: string;
|
|
8378
|
+
}[] | undefined;
|
|
8196
8379
|
syncFreshness?: {
|
|
8197
8380
|
greenSeconds?: number | undefined;
|
|
8198
8381
|
yellowSeconds?: number | undefined;
|
|
@@ -8236,6 +8419,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8236
8419
|
max: number;
|
|
8237
8420
|
metric: string;
|
|
8238
8421
|
}[] | undefined;
|
|
8422
|
+
composition?: {
|
|
8423
|
+
provider: string;
|
|
8424
|
+
kind: "data" | "resource" | "module";
|
|
8425
|
+
address: string;
|
|
8426
|
+
}[] | undefined;
|
|
8239
8427
|
syncTracked?: boolean | undefined;
|
|
8240
8428
|
syncFreshness?: {
|
|
8241
8429
|
greenSeconds?: number | undefined;
|
|
@@ -8279,6 +8467,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8279
8467
|
max: number;
|
|
8280
8468
|
metric: string;
|
|
8281
8469
|
}[];
|
|
8470
|
+
composition: {
|
|
8471
|
+
provider: string;
|
|
8472
|
+
kind: "data" | "resource" | "module";
|
|
8473
|
+
address: string;
|
|
8474
|
+
}[] | null;
|
|
8282
8475
|
syncTracked: boolean;
|
|
8283
8476
|
syncFreshness: {
|
|
8284
8477
|
greenSeconds?: number | undefined;
|
|
@@ -8492,6 +8685,55 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8492
8685
|
projectId: string;
|
|
8493
8686
|
envId: string;
|
|
8494
8687
|
}[]>;
|
|
8688
|
+
facets: SchemaFn<zod.ZodObject<{
|
|
8689
|
+
orgId: zod.ZodString;
|
|
8690
|
+
projectId: zod.ZodString;
|
|
8691
|
+
envName: zod.ZodString;
|
|
8692
|
+
kind: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8693
|
+
state: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8694
|
+
owner: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8695
|
+
cell: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8696
|
+
search: zod.ZodOptional<zod.ZodString>;
|
|
8697
|
+
cellKey: zod.ZodOptional<zod.ZodString>;
|
|
8698
|
+
}, "strip", zod.ZodTypeAny, {
|
|
8699
|
+
orgId: string;
|
|
8700
|
+
projectId: string;
|
|
8701
|
+
envName: string;
|
|
8702
|
+
search?: string | undefined;
|
|
8703
|
+
owner?: string[] | undefined;
|
|
8704
|
+
cellKey?: string | undefined;
|
|
8705
|
+
state?: string[] | undefined;
|
|
8706
|
+
kind?: string[] | undefined;
|
|
8707
|
+
cell?: string[] | undefined;
|
|
8708
|
+
}, {
|
|
8709
|
+
orgId: string;
|
|
8710
|
+
projectId: string;
|
|
8711
|
+
envName: string;
|
|
8712
|
+
search?: string | undefined;
|
|
8713
|
+
owner?: string[] | undefined;
|
|
8714
|
+
cellKey?: string | undefined;
|
|
8715
|
+
state?: string[] | undefined;
|
|
8716
|
+
kind?: string[] | undefined;
|
|
8717
|
+
cell?: string[] | undefined;
|
|
8718
|
+
}>, {
|
|
8719
|
+
kind: {
|
|
8720
|
+
value: string;
|
|
8721
|
+
count: number;
|
|
8722
|
+
}[];
|
|
8723
|
+
state: {
|
|
8724
|
+
value: string;
|
|
8725
|
+
count: number;
|
|
8726
|
+
}[];
|
|
8727
|
+
owner: {
|
|
8728
|
+
value: string;
|
|
8729
|
+
count: number;
|
|
8730
|
+
}[];
|
|
8731
|
+
cell: {
|
|
8732
|
+
value: string;
|
|
8733
|
+
count: number;
|
|
8734
|
+
}[];
|
|
8735
|
+
total: number;
|
|
8736
|
+
}>;
|
|
8495
8737
|
get: SchemaFn<zod.ZodObject<{
|
|
8496
8738
|
orgId: zod.ZodString;
|
|
8497
8739
|
projectId: zod.ZodString;
|
|
@@ -8883,9 +9125,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8883
9125
|
metric: string;
|
|
8884
9126
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
8885
9127
|
}[];
|
|
9128
|
+
kind: "Cell";
|
|
8886
9129
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
8887
9130
|
parentCells: string[];
|
|
8888
|
-
kind: "Cell";
|
|
8889
9131
|
displayName?: string | undefined;
|
|
8890
9132
|
deploymentTarget?: string | undefined;
|
|
8891
9133
|
membership?: {
|
|
@@ -8993,9 +9235,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8993
9235
|
metric: string;
|
|
8994
9236
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
8995
9237
|
}[];
|
|
9238
|
+
kind: "Cell";
|
|
8996
9239
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
8997
9240
|
parentCells: string[];
|
|
8998
|
-
kind: "Cell";
|
|
8999
9241
|
displayName?: string | undefined;
|
|
9000
9242
|
deploymentTarget?: string | undefined;
|
|
9001
9243
|
membership?: {
|
|
@@ -9203,11 +9445,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9203
9445
|
title?: string | undefined;
|
|
9204
9446
|
enum?: string[] | undefined;
|
|
9205
9447
|
}[];
|
|
9206
|
-
constraints: {
|
|
9448
|
+
constraints: ({
|
|
9207
9449
|
type: "property-sum";
|
|
9208
9450
|
property: string;
|
|
9209
9451
|
leq: string;
|
|
9210
|
-
}
|
|
9452
|
+
} | {
|
|
9453
|
+
type: "relationship-count";
|
|
9454
|
+
leq: string | number;
|
|
9455
|
+
})[];
|
|
9456
|
+
containment: boolean;
|
|
9211
9457
|
createdAt: string;
|
|
9212
9458
|
updatedAt: string;
|
|
9213
9459
|
}[]>;
|
|
@@ -9241,11 +9487,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9241
9487
|
title?: string | undefined;
|
|
9242
9488
|
enum?: string[] | undefined;
|
|
9243
9489
|
}[];
|
|
9244
|
-
constraints: {
|
|
9490
|
+
constraints: ({
|
|
9245
9491
|
type: "property-sum";
|
|
9246
9492
|
property: string;
|
|
9247
9493
|
leq: string;
|
|
9248
|
-
}
|
|
9494
|
+
} | {
|
|
9495
|
+
type: "relationship-count";
|
|
9496
|
+
leq: string | number;
|
|
9497
|
+
})[];
|
|
9498
|
+
containment: boolean;
|
|
9249
9499
|
createdAt: string;
|
|
9250
9500
|
updatedAt: string;
|
|
9251
9501
|
}>;
|
|
@@ -9282,7 +9532,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9282
9532
|
title?: string | undefined;
|
|
9283
9533
|
enum?: string[] | undefined;
|
|
9284
9534
|
}>, "many">>>;
|
|
9285
|
-
|
|
9535
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
9536
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
9286
9537
|
type: zod.ZodLiteral<"property-sum">;
|
|
9287
9538
|
property: zod.ZodString;
|
|
9288
9539
|
leq: zod.ZodString;
|
|
@@ -9294,7 +9545,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9294
9545
|
type: "property-sum";
|
|
9295
9546
|
property: string;
|
|
9296
9547
|
leq: string;
|
|
9297
|
-
}>,
|
|
9548
|
+
}>, zod.ZodObject<{
|
|
9549
|
+
type: zod.ZodLiteral<"relationship-count">;
|
|
9550
|
+
leq: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
|
|
9551
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9552
|
+
type: "relationship-count";
|
|
9553
|
+
leq: string | number;
|
|
9554
|
+
}, {
|
|
9555
|
+
type: "relationship-count";
|
|
9556
|
+
leq: string | number;
|
|
9557
|
+
}>]>, "many">>>;
|
|
9298
9558
|
} & {
|
|
9299
9559
|
orgId: zod.ZodString;
|
|
9300
9560
|
projectId: zod.ZodString;
|
|
@@ -9313,15 +9573,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9313
9573
|
title?: string | undefined;
|
|
9314
9574
|
enum?: string[] | undefined;
|
|
9315
9575
|
}[];
|
|
9316
|
-
constraints: {
|
|
9576
|
+
constraints: ({
|
|
9317
9577
|
type: "property-sum";
|
|
9318
9578
|
property: string;
|
|
9319
9579
|
leq: string;
|
|
9320
|
-
}
|
|
9321
|
-
|
|
9580
|
+
} | {
|
|
9581
|
+
type: "relationship-count";
|
|
9582
|
+
leq: string | number;
|
|
9583
|
+
})[];
|
|
9322
9584
|
kind: "RelationshipType";
|
|
9585
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
9323
9586
|
to: string;
|
|
9324
9587
|
displayName?: string | undefined;
|
|
9588
|
+
containment?: boolean | undefined;
|
|
9325
9589
|
}, {
|
|
9326
9590
|
name: string;
|
|
9327
9591
|
from: string;
|
|
@@ -9340,12 +9604,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9340
9604
|
title?: string | undefined;
|
|
9341
9605
|
enum?: string[] | undefined;
|
|
9342
9606
|
}[] | undefined;
|
|
9343
|
-
constraints?: {
|
|
9607
|
+
constraints?: ({
|
|
9344
9608
|
type: "property-sum";
|
|
9345
9609
|
property: string;
|
|
9346
9610
|
leq: string;
|
|
9347
|
-
}
|
|
9611
|
+
} | {
|
|
9612
|
+
type: "relationship-count";
|
|
9613
|
+
leq: string | number;
|
|
9614
|
+
})[] | undefined;
|
|
9348
9615
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
9616
|
+
containment?: boolean | undefined;
|
|
9349
9617
|
}>, {
|
|
9350
9618
|
name: string;
|
|
9351
9619
|
createdAt: string;
|
|
@@ -9363,14 +9631,18 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9363
9631
|
title?: string | undefined;
|
|
9364
9632
|
enum?: string[] | undefined;
|
|
9365
9633
|
}[];
|
|
9366
|
-
constraints: {
|
|
9634
|
+
constraints: ({
|
|
9367
9635
|
type: "property-sum";
|
|
9368
9636
|
property: string;
|
|
9369
9637
|
leq: string;
|
|
9370
|
-
}
|
|
9638
|
+
} | {
|
|
9639
|
+
type: "relationship-count";
|
|
9640
|
+
leq: string | number;
|
|
9641
|
+
})[];
|
|
9371
9642
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
9372
9643
|
fromEntityTypeName: string;
|
|
9373
9644
|
toEntityTypeName: string;
|
|
9645
|
+
containment: boolean;
|
|
9374
9646
|
}>;
|
|
9375
9647
|
update: SchemaFn<zod.ZodObject<{
|
|
9376
9648
|
kind: zod.ZodLiteral<"RelationshipType">;
|
|
@@ -9405,7 +9677,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9405
9677
|
title?: string | undefined;
|
|
9406
9678
|
enum?: string[] | undefined;
|
|
9407
9679
|
}>, "many">>>;
|
|
9408
|
-
|
|
9680
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
9681
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
9409
9682
|
type: zod.ZodLiteral<"property-sum">;
|
|
9410
9683
|
property: zod.ZodString;
|
|
9411
9684
|
leq: zod.ZodString;
|
|
@@ -9417,7 +9690,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9417
9690
|
type: "property-sum";
|
|
9418
9691
|
property: string;
|
|
9419
9692
|
leq: string;
|
|
9420
|
-
}>,
|
|
9693
|
+
}>, zod.ZodObject<{
|
|
9694
|
+
type: zod.ZodLiteral<"relationship-count">;
|
|
9695
|
+
leq: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
|
|
9696
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9697
|
+
type: "relationship-count";
|
|
9698
|
+
leq: string | number;
|
|
9699
|
+
}, {
|
|
9700
|
+
type: "relationship-count";
|
|
9701
|
+
leq: string | number;
|
|
9702
|
+
}>]>, "many">>>;
|
|
9421
9703
|
} & {
|
|
9422
9704
|
orgId: zod.ZodString;
|
|
9423
9705
|
projectId: zod.ZodString;
|
|
@@ -9436,15 +9718,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9436
9718
|
title?: string | undefined;
|
|
9437
9719
|
enum?: string[] | undefined;
|
|
9438
9720
|
}[];
|
|
9439
|
-
constraints: {
|
|
9721
|
+
constraints: ({
|
|
9440
9722
|
type: "property-sum";
|
|
9441
9723
|
property: string;
|
|
9442
9724
|
leq: string;
|
|
9443
|
-
}
|
|
9444
|
-
|
|
9725
|
+
} | {
|
|
9726
|
+
type: "relationship-count";
|
|
9727
|
+
leq: string | number;
|
|
9728
|
+
})[];
|
|
9445
9729
|
kind: "RelationshipType";
|
|
9730
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
9446
9731
|
to: string;
|
|
9447
9732
|
displayName?: string | undefined;
|
|
9733
|
+
containment?: boolean | undefined;
|
|
9448
9734
|
}, {
|
|
9449
9735
|
name: string;
|
|
9450
9736
|
from: string;
|
|
@@ -9463,12 +9749,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9463
9749
|
title?: string | undefined;
|
|
9464
9750
|
enum?: string[] | undefined;
|
|
9465
9751
|
}[] | undefined;
|
|
9466
|
-
constraints?: {
|
|
9752
|
+
constraints?: ({
|
|
9467
9753
|
type: "property-sum";
|
|
9468
9754
|
property: string;
|
|
9469
9755
|
leq: string;
|
|
9470
|
-
}
|
|
9756
|
+
} | {
|
|
9757
|
+
type: "relationship-count";
|
|
9758
|
+
leq: string | number;
|
|
9759
|
+
})[] | undefined;
|
|
9471
9760
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
9761
|
+
containment?: boolean | undefined;
|
|
9472
9762
|
}>, {
|
|
9473
9763
|
orgId: string;
|
|
9474
9764
|
projectId: string;
|
|
@@ -9487,11 +9777,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9487
9777
|
title?: string | undefined;
|
|
9488
9778
|
enum?: string[] | undefined;
|
|
9489
9779
|
}[];
|
|
9490
|
-
constraints: {
|
|
9780
|
+
constraints: ({
|
|
9491
9781
|
type: "property-sum";
|
|
9492
9782
|
property: string;
|
|
9493
9783
|
leq: string;
|
|
9494
|
-
}
|
|
9784
|
+
} | {
|
|
9785
|
+
type: "relationship-count";
|
|
9786
|
+
leq: string | number;
|
|
9787
|
+
})[];
|
|
9788
|
+
containment: boolean;
|
|
9495
9789
|
createdAt: string;
|
|
9496
9790
|
updatedAt: string;
|
|
9497
9791
|
}>;
|
|
@@ -9524,6 +9818,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9524
9818
|
fromEntityCell: zod.ZodOptional<zod.ZodString>;
|
|
9525
9819
|
toEntityCell: zod.ZodOptional<zod.ZodString>;
|
|
9526
9820
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
9821
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
9527
9822
|
}, "strip", zod.ZodTypeAny, {
|
|
9528
9823
|
orgId: string;
|
|
9529
9824
|
projectId: string;
|
|
@@ -9531,6 +9826,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9531
9826
|
limit?: number | undefined;
|
|
9532
9827
|
state?: string | undefined;
|
|
9533
9828
|
relationshipType?: string | undefined;
|
|
9829
|
+
cursor?: string | undefined;
|
|
9534
9830
|
fromEntity?: string | undefined;
|
|
9535
9831
|
toEntity?: string | undefined;
|
|
9536
9832
|
fromEntityCell?: string | undefined;
|
|
@@ -9542,6 +9838,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9542
9838
|
limit?: number | undefined;
|
|
9543
9839
|
state?: string | undefined;
|
|
9544
9840
|
relationshipType?: string | undefined;
|
|
9841
|
+
cursor?: string | undefined;
|
|
9545
9842
|
fromEntity?: string | undefined;
|
|
9546
9843
|
toEntity?: string | undefined;
|
|
9547
9844
|
fromEntityCell?: string | undefined;
|
|
@@ -13136,6 +13433,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13136
13433
|
name: string;
|
|
13137
13434
|
orgId: string;
|
|
13138
13435
|
projectId: string;
|
|
13436
|
+
kind: "Action";
|
|
13139
13437
|
conditions: {
|
|
13140
13438
|
value: string | number | boolean | string[];
|
|
13141
13439
|
field: string;
|
|
@@ -13248,7 +13546,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13248
13546
|
onFailure: string;
|
|
13249
13547
|
to: string;
|
|
13250
13548
|
};
|
|
13251
|
-
kind: "Action";
|
|
13252
13549
|
associatedWith: {
|
|
13253
13550
|
scope: "collection" | "instance";
|
|
13254
13551
|
entityType: string;
|
|
@@ -13572,6 +13869,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13572
13869
|
name: string;
|
|
13573
13870
|
orgId: string;
|
|
13574
13871
|
projectId: string;
|
|
13872
|
+
kind: "Action";
|
|
13575
13873
|
operation: {
|
|
13576
13874
|
type: "create-entity";
|
|
13577
13875
|
entityType: string;
|
|
@@ -13671,7 +13969,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13671
13969
|
onFailure: string;
|
|
13672
13970
|
to: string;
|
|
13673
13971
|
};
|
|
13674
|
-
kind: "Action";
|
|
13675
13972
|
associatedWith: {
|
|
13676
13973
|
scope: "collection" | "instance";
|
|
13677
13974
|
entityType: string;
|
|
@@ -16969,6 +17266,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
16969
17266
|
name: string;
|
|
16970
17267
|
orgId: string;
|
|
16971
17268
|
projectId: string;
|
|
17269
|
+
kind: "Action";
|
|
16972
17270
|
conditions: {
|
|
16973
17271
|
value: string | number | boolean | string[];
|
|
16974
17272
|
field: string;
|
|
@@ -17081,7 +17379,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17081
17379
|
onFailure: string;
|
|
17082
17380
|
to: string;
|
|
17083
17381
|
};
|
|
17084
|
-
kind: "Action";
|
|
17085
17382
|
associatedWith: {
|
|
17086
17383
|
scope: "collection" | "instance";
|
|
17087
17384
|
entityType: string;
|
|
@@ -17405,6 +17702,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17405
17702
|
name: string;
|
|
17406
17703
|
orgId: string;
|
|
17407
17704
|
projectId: string;
|
|
17705
|
+
kind: "Action";
|
|
17408
17706
|
operation: {
|
|
17409
17707
|
type: "create-entity";
|
|
17410
17708
|
entityType: string;
|
|
@@ -17504,7 +17802,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17504
17802
|
onFailure: string;
|
|
17505
17803
|
to: string;
|
|
17506
17804
|
};
|
|
17507
|
-
kind: "Action";
|
|
17508
17805
|
associatedWith: {
|
|
17509
17806
|
scope: "collection" | "instance";
|
|
17510
17807
|
entityType: string;
|
|
@@ -18759,6 +19056,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18759
19056
|
yellowSeconds?: number | undefined;
|
|
18760
19057
|
}>>;
|
|
18761
19058
|
applier: zod.ZodOptional<zod.ZodString>;
|
|
19059
|
+
composition: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
19060
|
+
kind: zod.ZodEnum<["resource", "module", "data"]>;
|
|
19061
|
+
address: zod.ZodString;
|
|
19062
|
+
provider: zod.ZodString;
|
|
19063
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19064
|
+
provider: string;
|
|
19065
|
+
kind: "data" | "resource" | "module";
|
|
19066
|
+
address: string;
|
|
19067
|
+
}, {
|
|
19068
|
+
provider: string;
|
|
19069
|
+
kind: "data" | "resource" | "module";
|
|
19070
|
+
address: string;
|
|
19071
|
+
}>, "many">>;
|
|
18762
19072
|
}, "strip", zod.ZodTypeAny, {
|
|
18763
19073
|
name: string;
|
|
18764
19074
|
states: string[];
|
|
@@ -18793,9 +19103,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18793
19103
|
max: number;
|
|
18794
19104
|
metric: string;
|
|
18795
19105
|
}[];
|
|
18796
|
-
syncTracked: boolean;
|
|
18797
19106
|
kind: "EntityType";
|
|
19107
|
+
syncTracked: boolean;
|
|
18798
19108
|
displayName?: string | undefined;
|
|
19109
|
+
composition?: {
|
|
19110
|
+
provider: string;
|
|
19111
|
+
kind: "data" | "resource" | "module";
|
|
19112
|
+
address: string;
|
|
19113
|
+
}[] | undefined;
|
|
18799
19114
|
syncFreshness?: {
|
|
18800
19115
|
greenSeconds?: number | undefined;
|
|
18801
19116
|
yellowSeconds?: number | undefined;
|
|
@@ -18837,6 +19152,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18837
19152
|
max: number;
|
|
18838
19153
|
metric: string;
|
|
18839
19154
|
}[] | undefined;
|
|
19155
|
+
composition?: {
|
|
19156
|
+
provider: string;
|
|
19157
|
+
kind: "data" | "resource" | "module";
|
|
19158
|
+
address: string;
|
|
19159
|
+
}[] | undefined;
|
|
18840
19160
|
syncTracked?: boolean | undefined;
|
|
18841
19161
|
syncFreshness?: {
|
|
18842
19162
|
greenSeconds?: number | undefined;
|
|
@@ -18894,9 +19214,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18894
19214
|
metric: string;
|
|
18895
19215
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
18896
19216
|
}[];
|
|
19217
|
+
kind: "Cell";
|
|
18897
19218
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
18898
19219
|
parentCells: string[];
|
|
18899
|
-
kind: "Cell";
|
|
18900
19220
|
displayName?: string | undefined;
|
|
18901
19221
|
deploymentTarget?: string | undefined;
|
|
18902
19222
|
membership?: {
|
|
@@ -18957,7 +19277,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18957
19277
|
title?: string | undefined;
|
|
18958
19278
|
enum?: string[] | undefined;
|
|
18959
19279
|
}>, "many">>>;
|
|
18960
|
-
|
|
19280
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
19281
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
18961
19282
|
type: zod.ZodLiteral<"property-sum">;
|
|
18962
19283
|
property: zod.ZodString;
|
|
18963
19284
|
leq: zod.ZodString;
|
|
@@ -18969,7 +19290,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18969
19290
|
type: "property-sum";
|
|
18970
19291
|
property: string;
|
|
18971
19292
|
leq: string;
|
|
18972
|
-
}>,
|
|
19293
|
+
}>, zod.ZodObject<{
|
|
19294
|
+
type: zod.ZodLiteral<"relationship-count">;
|
|
19295
|
+
leq: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
|
|
19296
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19297
|
+
type: "relationship-count";
|
|
19298
|
+
leq: string | number;
|
|
19299
|
+
}, {
|
|
19300
|
+
type: "relationship-count";
|
|
19301
|
+
leq: string | number;
|
|
19302
|
+
}>]>, "many">>>;
|
|
18973
19303
|
}, "strip", zod.ZodTypeAny, {
|
|
18974
19304
|
name: string;
|
|
18975
19305
|
from: string;
|
|
@@ -18983,15 +19313,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18983
19313
|
title?: string | undefined;
|
|
18984
19314
|
enum?: string[] | undefined;
|
|
18985
19315
|
}[];
|
|
18986
|
-
constraints: {
|
|
19316
|
+
constraints: ({
|
|
18987
19317
|
type: "property-sum";
|
|
18988
19318
|
property: string;
|
|
18989
19319
|
leq: string;
|
|
18990
|
-
}
|
|
18991
|
-
|
|
19320
|
+
} | {
|
|
19321
|
+
type: "relationship-count";
|
|
19322
|
+
leq: string | number;
|
|
19323
|
+
})[];
|
|
18992
19324
|
kind: "RelationshipType";
|
|
19325
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
18993
19326
|
to: string;
|
|
18994
19327
|
displayName?: string | undefined;
|
|
19328
|
+
containment?: boolean | undefined;
|
|
18995
19329
|
}, {
|
|
18996
19330
|
name: string;
|
|
18997
19331
|
from: string;
|
|
@@ -19008,12 +19342,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
19008
19342
|
title?: string | undefined;
|
|
19009
19343
|
enum?: string[] | undefined;
|
|
19010
19344
|
}[] | undefined;
|
|
19011
|
-
constraints?: {
|
|
19345
|
+
constraints?: ({
|
|
19012
19346
|
type: "property-sum";
|
|
19013
19347
|
property: string;
|
|
19014
19348
|
leq: string;
|
|
19015
|
-
}
|
|
19349
|
+
} | {
|
|
19350
|
+
type: "relationship-count";
|
|
19351
|
+
leq: string | number;
|
|
19352
|
+
})[] | undefined;
|
|
19016
19353
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
19354
|
+
containment?: boolean | undefined;
|
|
19017
19355
|
}>, zod.ZodObject<{
|
|
19018
19356
|
kind: zod.ZodLiteral<"Action">;
|
|
19019
19357
|
name: zod.ZodString;
|
|
@@ -21474,6 +21812,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
21474
21812
|
enum?: string[] | undefined;
|
|
21475
21813
|
}[];
|
|
21476
21814
|
name: string;
|
|
21815
|
+
kind: "Action";
|
|
21477
21816
|
conditions: {
|
|
21478
21817
|
value: string | number | boolean | string[];
|
|
21479
21818
|
field: string;
|
|
@@ -21586,7 +21925,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
21586
21925
|
onFailure: string;
|
|
21587
21926
|
to: string;
|
|
21588
21927
|
};
|
|
21589
|
-
kind: "Action";
|
|
21590
21928
|
associatedWith: {
|
|
21591
21929
|
scope: "collection" | "instance";
|
|
21592
21930
|
entityType: string;
|
|
@@ -21908,6 +22246,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
21908
22246
|
mutatesProperty?: string | undefined;
|
|
21909
22247
|
}, {
|
|
21910
22248
|
name: string;
|
|
22249
|
+
kind: "Action";
|
|
21911
22250
|
operation: {
|
|
21912
22251
|
type: "create-entity";
|
|
21913
22252
|
entityType: string;
|
|
@@ -22007,7 +22346,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22007
22346
|
onFailure: string;
|
|
22008
22347
|
to: string;
|
|
22009
22348
|
};
|
|
22010
|
-
kind: "Action";
|
|
22011
22349
|
associatedWith: {
|
|
22012
22350
|
scope: "collection" | "instance";
|
|
22013
22351
|
entityType: string;
|
|
@@ -22465,6 +22803,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22465
22803
|
enum?: string[] | undefined;
|
|
22466
22804
|
}[];
|
|
22467
22805
|
name: string;
|
|
22806
|
+
kind: "Action";
|
|
22468
22807
|
conditions: {
|
|
22469
22808
|
value: string | number | boolean | string[];
|
|
22470
22809
|
field: string;
|
|
@@ -22577,7 +22916,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22577
22916
|
onFailure: string;
|
|
22578
22917
|
to: string;
|
|
22579
22918
|
};
|
|
22580
|
-
kind: "Action";
|
|
22581
22919
|
associatedWith: {
|
|
22582
22920
|
scope: "collection" | "instance";
|
|
22583
22921
|
entityType: string;
|
|
@@ -22931,9 +23269,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22931
23269
|
max: number;
|
|
22932
23270
|
metric: string;
|
|
22933
23271
|
}[];
|
|
22934
|
-
syncTracked: boolean;
|
|
22935
23272
|
kind: "EntityType";
|
|
23273
|
+
syncTracked: boolean;
|
|
22936
23274
|
displayName?: string | undefined;
|
|
23275
|
+
composition?: {
|
|
23276
|
+
provider: string;
|
|
23277
|
+
kind: "data" | "resource" | "module";
|
|
23278
|
+
address: string;
|
|
23279
|
+
}[] | undefined;
|
|
22937
23280
|
syncFreshness?: {
|
|
22938
23281
|
greenSeconds?: number | undefined;
|
|
22939
23282
|
yellowSeconds?: number | undefined;
|
|
@@ -22947,9 +23290,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22947
23290
|
metric: string;
|
|
22948
23291
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
22949
23292
|
}[];
|
|
23293
|
+
kind: "Cell";
|
|
22950
23294
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
22951
23295
|
parentCells: string[];
|
|
22952
|
-
kind: "Cell";
|
|
22953
23296
|
displayName?: string | undefined;
|
|
22954
23297
|
deploymentTarget?: string | undefined;
|
|
22955
23298
|
membership?: {
|
|
@@ -22971,15 +23314,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22971
23314
|
title?: string | undefined;
|
|
22972
23315
|
enum?: string[] | undefined;
|
|
22973
23316
|
}[];
|
|
22974
|
-
constraints: {
|
|
23317
|
+
constraints: ({
|
|
22975
23318
|
type: "property-sum";
|
|
22976
23319
|
property: string;
|
|
22977
23320
|
leq: string;
|
|
22978
|
-
}
|
|
22979
|
-
|
|
23321
|
+
} | {
|
|
23322
|
+
type: "relationship-count";
|
|
23323
|
+
leq: string | number;
|
|
23324
|
+
})[];
|
|
22980
23325
|
kind: "RelationshipType";
|
|
23326
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
22981
23327
|
to: string;
|
|
22982
23328
|
displayName?: string | undefined;
|
|
23329
|
+
containment?: boolean | undefined;
|
|
22983
23330
|
} | {
|
|
22984
23331
|
name: string;
|
|
22985
23332
|
kind: "Secret";
|
|
@@ -23021,6 +23368,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23021
23368
|
envName: string;
|
|
23022
23369
|
items: ({
|
|
23023
23370
|
name: string;
|
|
23371
|
+
kind: "Action";
|
|
23024
23372
|
operation: {
|
|
23025
23373
|
type: "create-entity";
|
|
23026
23374
|
entityType: string;
|
|
@@ -23120,7 +23468,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23120
23468
|
onFailure: string;
|
|
23121
23469
|
to: string;
|
|
23122
23470
|
};
|
|
23123
|
-
kind: "Action";
|
|
23124
23471
|
associatedWith: {
|
|
23125
23472
|
scope: "collection" | "instance";
|
|
23126
23473
|
entityType: string;
|
|
@@ -23498,6 +23845,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23498
23845
|
max: number;
|
|
23499
23846
|
metric: string;
|
|
23500
23847
|
}[] | undefined;
|
|
23848
|
+
composition?: {
|
|
23849
|
+
provider: string;
|
|
23850
|
+
kind: "data" | "resource" | "module";
|
|
23851
|
+
address: string;
|
|
23852
|
+
}[] | undefined;
|
|
23501
23853
|
syncTracked?: boolean | undefined;
|
|
23502
23854
|
syncFreshness?: {
|
|
23503
23855
|
greenSeconds?: number | undefined;
|
|
@@ -23539,12 +23891,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23539
23891
|
title?: string | undefined;
|
|
23540
23892
|
enum?: string[] | undefined;
|
|
23541
23893
|
}[] | undefined;
|
|
23542
|
-
constraints?: {
|
|
23894
|
+
constraints?: ({
|
|
23543
23895
|
type: "property-sum";
|
|
23544
23896
|
property: string;
|
|
23545
23897
|
leq: string;
|
|
23546
|
-
}
|
|
23898
|
+
} | {
|
|
23899
|
+
type: "relationship-count";
|
|
23900
|
+
leq: string | number;
|
|
23901
|
+
})[] | undefined;
|
|
23547
23902
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
23903
|
+
containment?: boolean | undefined;
|
|
23548
23904
|
} | {
|
|
23549
23905
|
name: string;
|
|
23550
23906
|
kind: "Secret";
|
|
@@ -24765,6 +25121,29 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
24765
25121
|
decidedBy: string | null;
|
|
24766
25122
|
}>;
|
|
24767
25123
|
};
|
|
25124
|
+
resolveSource: SchemaFn<zod.ZodObject<{
|
|
25125
|
+
orgId: zod.ZodString;
|
|
25126
|
+
projectId: zod.ZodString;
|
|
25127
|
+
kind: zod.ZodLiteral<"registry">;
|
|
25128
|
+
ref: zod.ZodString;
|
|
25129
|
+
version: zod.ZodOptional<zod.ZodString>;
|
|
25130
|
+
}, "strip", zod.ZodTypeAny, {
|
|
25131
|
+
ref: string;
|
|
25132
|
+
orgId: string;
|
|
25133
|
+
projectId: string;
|
|
25134
|
+
kind: "registry";
|
|
25135
|
+
version?: string | undefined;
|
|
25136
|
+
}, {
|
|
25137
|
+
ref: string;
|
|
25138
|
+
orgId: string;
|
|
25139
|
+
projectId: string;
|
|
25140
|
+
kind: "registry";
|
|
25141
|
+
version?: string | undefined;
|
|
25142
|
+
}>, {
|
|
25143
|
+
name: string;
|
|
25144
|
+
inputs: _terrantula_types.RegistryInput[];
|
|
25145
|
+
outputs: _terrantula_types.RegistryOutput[];
|
|
25146
|
+
}>;
|
|
24768
25147
|
exportCatalog: SchemaFn<zod.ZodObject<{
|
|
24769
25148
|
orgId: zod.ZodString;
|
|
24770
25149
|
projectId: zod.ZodString;
|
|
@@ -24971,9 +25350,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
24971
25350
|
metric: string;
|
|
24972
25351
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
24973
25352
|
}[];
|
|
25353
|
+
kind: "Cell";
|
|
24974
25354
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
24975
25355
|
parentCells: string[];
|
|
24976
|
-
kind: "Cell";
|
|
24977
25356
|
displayName?: string | undefined;
|
|
24978
25357
|
deploymentTarget?: string | undefined;
|
|
24979
25358
|
membership?: {
|
|
@@ -25081,9 +25460,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
25081
25460
|
metric: string;
|
|
25082
25461
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
25083
25462
|
}[];
|
|
25463
|
+
kind: "Cell";
|
|
25084
25464
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
25085
25465
|
parentCells: string[];
|
|
25086
|
-
kind: "Cell";
|
|
25087
25466
|
displayName?: string | undefined;
|
|
25088
25467
|
deploymentTarget?: string | undefined;
|
|
25089
25468
|
membership?: {
|