@terrantula/sdk 0.11.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-5JCSB6F5.mjs → chunk-773V5YNO.mjs} +28 -3
- package/dist/index.d.mts +357 -62
- package/dist/index.d.ts +357 -62
- package/dist/index.js +28 -3
- package/dist/index.mjs +1 -1
- package/dist/local.d.mts +258 -54
- package/dist/local.d.ts +258 -54
- package/dist/local.js +28 -3
- package/dist/local.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
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.mjs';
|
|
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.mjs';
|
|
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';
|
|
@@ -1907,6 +1908,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
1907
1908
|
max: number;
|
|
1908
1909
|
metric: string;
|
|
1909
1910
|
}[];
|
|
1911
|
+
composition: {
|
|
1912
|
+
provider: string;
|
|
1913
|
+
kind: "data" | "resource" | "module";
|
|
1914
|
+
address: string;
|
|
1915
|
+
}[] | null;
|
|
1910
1916
|
syncTracked: boolean;
|
|
1911
1917
|
syncFreshness: {
|
|
1912
1918
|
greenSeconds?: number | undefined;
|
|
@@ -1968,6 +1974,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
1968
1974
|
max: number;
|
|
1969
1975
|
metric: string;
|
|
1970
1976
|
}[];
|
|
1977
|
+
composition: {
|
|
1978
|
+
provider: string;
|
|
1979
|
+
kind: "data" | "resource" | "module";
|
|
1980
|
+
address: string;
|
|
1981
|
+
}[] | null;
|
|
1971
1982
|
syncTracked: boolean;
|
|
1972
1983
|
syncFreshness: {
|
|
1973
1984
|
greenSeconds?: number | undefined;
|
|
@@ -2024,6 +2035,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2024
2035
|
max: number;
|
|
2025
2036
|
metric: string;
|
|
2026
2037
|
}[];
|
|
2038
|
+
composition: {
|
|
2039
|
+
provider: string;
|
|
2040
|
+
kind: "data" | "resource" | "module";
|
|
2041
|
+
address: string;
|
|
2042
|
+
}[] | null;
|
|
2027
2043
|
syncTracked: boolean;
|
|
2028
2044
|
syncFreshness: {
|
|
2029
2045
|
greenSeconds?: number | undefined;
|
|
@@ -2087,6 +2103,11 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2087
2103
|
max: number;
|
|
2088
2104
|
metric: string;
|
|
2089
2105
|
}[];
|
|
2106
|
+
composition: {
|
|
2107
|
+
provider: string;
|
|
2108
|
+
kind: "data" | "resource" | "module";
|
|
2109
|
+
address: string;
|
|
2110
|
+
}[] | null;
|
|
2090
2111
|
syncTracked: boolean;
|
|
2091
2112
|
syncFreshness: {
|
|
2092
2113
|
greenSeconds?: number | undefined;
|
|
@@ -2520,11 +2541,15 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2520
2541
|
title?: string | undefined;
|
|
2521
2542
|
enum?: string[] | undefined;
|
|
2522
2543
|
}[];
|
|
2523
|
-
constraints: {
|
|
2544
|
+
constraints: ({
|
|
2524
2545
|
type: "property-sum";
|
|
2525
2546
|
property: string;
|
|
2526
2547
|
leq: string;
|
|
2527
|
-
}
|
|
2548
|
+
} | {
|
|
2549
|
+
type: "relationship-count";
|
|
2550
|
+
leq: string | number;
|
|
2551
|
+
})[];
|
|
2552
|
+
containment: boolean;
|
|
2528
2553
|
createdAt: string;
|
|
2529
2554
|
updatedAt: string;
|
|
2530
2555
|
}[];
|
|
@@ -2558,14 +2583,18 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2558
2583
|
title?: string | undefined;
|
|
2559
2584
|
enum?: string[] | undefined;
|
|
2560
2585
|
}[];
|
|
2561
|
-
constraints: {
|
|
2586
|
+
constraints: ({
|
|
2562
2587
|
type: "property-sum";
|
|
2563
2588
|
property: string;
|
|
2564
2589
|
leq: string;
|
|
2565
|
-
}
|
|
2590
|
+
} | {
|
|
2591
|
+
type: "relationship-count";
|
|
2592
|
+
leq: string | number;
|
|
2593
|
+
})[];
|
|
2566
2594
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
2567
2595
|
fromEntityTypeName: string;
|
|
2568
2596
|
toEntityTypeName: string;
|
|
2597
|
+
containment: boolean;
|
|
2569
2598
|
};
|
|
2570
2599
|
outputFormat: "json";
|
|
2571
2600
|
status: 201;
|
|
@@ -2597,11 +2626,15 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2597
2626
|
title?: string | undefined;
|
|
2598
2627
|
enum?: string[] | undefined;
|
|
2599
2628
|
}[];
|
|
2600
|
-
constraints: {
|
|
2629
|
+
constraints: ({
|
|
2601
2630
|
type: "property-sum";
|
|
2602
2631
|
property: string;
|
|
2603
2632
|
leq: string;
|
|
2604
|
-
}
|
|
2633
|
+
} | {
|
|
2634
|
+
type: "relationship-count";
|
|
2635
|
+
leq: string | number;
|
|
2636
|
+
})[];
|
|
2637
|
+
containment: boolean;
|
|
2605
2638
|
createdAt: string;
|
|
2606
2639
|
updatedAt: string;
|
|
2607
2640
|
};
|
|
@@ -2640,11 +2673,15 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2640
2673
|
title?: string | undefined;
|
|
2641
2674
|
enum?: string[] | undefined;
|
|
2642
2675
|
}[];
|
|
2643
|
-
constraints: {
|
|
2676
|
+
constraints: ({
|
|
2644
2677
|
type: "property-sum";
|
|
2645
2678
|
property: string;
|
|
2646
2679
|
leq: string;
|
|
2647
|
-
}
|
|
2680
|
+
} | {
|
|
2681
|
+
type: "relationship-count";
|
|
2682
|
+
leq: string | number;
|
|
2683
|
+
})[];
|
|
2684
|
+
containment: boolean;
|
|
2648
2685
|
createdAt: string;
|
|
2649
2686
|
updatedAt: string;
|
|
2650
2687
|
};
|
|
@@ -5428,6 +5465,33 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
5428
5465
|
};
|
|
5429
5466
|
};
|
|
5430
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<{
|
|
5431
5495
|
"/github": {
|
|
5432
5496
|
$post: {
|
|
5433
5497
|
input: {};
|
|
@@ -6288,6 +6352,17 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
|
|
|
6288
6352
|
};
|
|
6289
6353
|
outputFormat: "json";
|
|
6290
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;
|
|
6291
6366
|
} | {
|
|
6292
6367
|
input: {
|
|
6293
6368
|
param: {
|
|
@@ -6340,6 +6415,22 @@ declare function _cloudAppShape(): hono_hono_base.HonoBase<hono_types.BlankEnv,
|
|
|
6340
6415
|
};
|
|
6341
6416
|
outputFormat: "json";
|
|
6342
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;
|
|
6343
6434
|
} | {
|
|
6344
6435
|
input: {
|
|
6345
6436
|
json?: any;
|
|
@@ -7172,6 +7263,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7172
7263
|
projectId: string;
|
|
7173
7264
|
}>, {
|
|
7174
7265
|
error: string;
|
|
7266
|
+
} | {
|
|
7267
|
+
error: string;
|
|
7175
7268
|
} | {
|
|
7176
7269
|
id: string;
|
|
7177
7270
|
email: string;
|
|
@@ -7204,6 +7297,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7204
7297
|
error: string;
|
|
7205
7298
|
} | {
|
|
7206
7299
|
error: string;
|
|
7300
|
+
} | {
|
|
7301
|
+
error: string;
|
|
7207
7302
|
} | {
|
|
7208
7303
|
added: true;
|
|
7209
7304
|
envName: any;
|
|
@@ -7711,6 +7806,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7711
7806
|
max: number;
|
|
7712
7807
|
metric: string;
|
|
7713
7808
|
}[];
|
|
7809
|
+
composition: {
|
|
7810
|
+
provider: string;
|
|
7811
|
+
kind: "data" | "resource" | "module";
|
|
7812
|
+
address: string;
|
|
7813
|
+
}[] | null;
|
|
7714
7814
|
syncTracked: boolean;
|
|
7715
7815
|
syncFreshness: {
|
|
7716
7816
|
greenSeconds?: number | undefined;
|
|
@@ -7769,6 +7869,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7769
7869
|
max: number;
|
|
7770
7870
|
metric: string;
|
|
7771
7871
|
}[];
|
|
7872
|
+
composition: {
|
|
7873
|
+
provider: string;
|
|
7874
|
+
kind: "data" | "resource" | "module";
|
|
7875
|
+
address: string;
|
|
7876
|
+
}[] | null;
|
|
7772
7877
|
syncTracked: boolean;
|
|
7773
7878
|
syncFreshness: {
|
|
7774
7879
|
greenSeconds?: number | undefined;
|
|
@@ -7912,6 +8017,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7912
8017
|
yellowSeconds?: number | undefined;
|
|
7913
8018
|
}>>;
|
|
7914
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">>;
|
|
7915
8033
|
} & {
|
|
7916
8034
|
orgId: zod.ZodString;
|
|
7917
8035
|
projectId: zod.ZodString;
|
|
@@ -7951,9 +8069,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7951
8069
|
max: number;
|
|
7952
8070
|
metric: string;
|
|
7953
8071
|
}[];
|
|
7954
|
-
syncTracked: boolean;
|
|
7955
8072
|
kind: "EntityType";
|
|
8073
|
+
syncTracked: boolean;
|
|
7956
8074
|
displayName?: string | undefined;
|
|
8075
|
+
composition?: {
|
|
8076
|
+
provider: string;
|
|
8077
|
+
kind: "data" | "resource" | "module";
|
|
8078
|
+
address: string;
|
|
8079
|
+
}[] | undefined;
|
|
7957
8080
|
syncFreshness?: {
|
|
7958
8081
|
greenSeconds?: number | undefined;
|
|
7959
8082
|
yellowSeconds?: number | undefined;
|
|
@@ -7997,6 +8120,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
7997
8120
|
max: number;
|
|
7998
8121
|
metric: string;
|
|
7999
8122
|
}[] | undefined;
|
|
8123
|
+
composition?: {
|
|
8124
|
+
provider: string;
|
|
8125
|
+
kind: "data" | "resource" | "module";
|
|
8126
|
+
address: string;
|
|
8127
|
+
}[] | undefined;
|
|
8000
8128
|
syncTracked?: boolean | undefined;
|
|
8001
8129
|
syncFreshness?: {
|
|
8002
8130
|
greenSeconds?: number | undefined;
|
|
@@ -8042,6 +8170,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8042
8170
|
max: number;
|
|
8043
8171
|
metric: string;
|
|
8044
8172
|
}[];
|
|
8173
|
+
composition: {
|
|
8174
|
+
provider: string;
|
|
8175
|
+
kind: "data" | "resource" | "module";
|
|
8176
|
+
address: string;
|
|
8177
|
+
}[] | null;
|
|
8045
8178
|
syncTracked: boolean;
|
|
8046
8179
|
syncFreshness: {
|
|
8047
8180
|
greenSeconds?: number | undefined;
|
|
@@ -8183,6 +8316,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8183
8316
|
yellowSeconds?: number | undefined;
|
|
8184
8317
|
}>>;
|
|
8185
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">>;
|
|
8186
8332
|
} & {
|
|
8187
8333
|
orgId: zod.ZodString;
|
|
8188
8334
|
projectId: zod.ZodString;
|
|
@@ -8222,9 +8368,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8222
8368
|
max: number;
|
|
8223
8369
|
metric: string;
|
|
8224
8370
|
}[];
|
|
8225
|
-
syncTracked: boolean;
|
|
8226
8371
|
kind: "EntityType";
|
|
8372
|
+
syncTracked: boolean;
|
|
8227
8373
|
displayName?: string | undefined;
|
|
8374
|
+
composition?: {
|
|
8375
|
+
provider: string;
|
|
8376
|
+
kind: "data" | "resource" | "module";
|
|
8377
|
+
address: string;
|
|
8378
|
+
}[] | undefined;
|
|
8228
8379
|
syncFreshness?: {
|
|
8229
8380
|
greenSeconds?: number | undefined;
|
|
8230
8381
|
yellowSeconds?: number | undefined;
|
|
@@ -8268,6 +8419,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8268
8419
|
max: number;
|
|
8269
8420
|
metric: string;
|
|
8270
8421
|
}[] | undefined;
|
|
8422
|
+
composition?: {
|
|
8423
|
+
provider: string;
|
|
8424
|
+
kind: "data" | "resource" | "module";
|
|
8425
|
+
address: string;
|
|
8426
|
+
}[] | undefined;
|
|
8271
8427
|
syncTracked?: boolean | undefined;
|
|
8272
8428
|
syncFreshness?: {
|
|
8273
8429
|
greenSeconds?: number | undefined;
|
|
@@ -8311,6 +8467,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8311
8467
|
max: number;
|
|
8312
8468
|
metric: string;
|
|
8313
8469
|
}[];
|
|
8470
|
+
composition: {
|
|
8471
|
+
provider: string;
|
|
8472
|
+
kind: "data" | "resource" | "module";
|
|
8473
|
+
address: string;
|
|
8474
|
+
}[] | null;
|
|
8314
8475
|
syncTracked: boolean;
|
|
8315
8476
|
syncFreshness: {
|
|
8316
8477
|
greenSeconds?: number | undefined;
|
|
@@ -8542,8 +8703,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8542
8703
|
owner?: string[] | undefined;
|
|
8543
8704
|
cellKey?: string | undefined;
|
|
8544
8705
|
state?: string[] | undefined;
|
|
8545
|
-
cell?: string[] | undefined;
|
|
8546
8706
|
kind?: string[] | undefined;
|
|
8707
|
+
cell?: string[] | undefined;
|
|
8547
8708
|
}, {
|
|
8548
8709
|
orgId: string;
|
|
8549
8710
|
projectId: string;
|
|
@@ -8552,8 +8713,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8552
8713
|
owner?: string[] | undefined;
|
|
8553
8714
|
cellKey?: string | undefined;
|
|
8554
8715
|
state?: string[] | undefined;
|
|
8555
|
-
cell?: string[] | undefined;
|
|
8556
8716
|
kind?: string[] | undefined;
|
|
8717
|
+
cell?: string[] | undefined;
|
|
8557
8718
|
}>, {
|
|
8558
8719
|
kind: {
|
|
8559
8720
|
value: string;
|
|
@@ -8964,9 +9125,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8964
9125
|
metric: string;
|
|
8965
9126
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
8966
9127
|
}[];
|
|
9128
|
+
kind: "Cell";
|
|
8967
9129
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
8968
9130
|
parentCells: string[];
|
|
8969
|
-
kind: "Cell";
|
|
8970
9131
|
displayName?: string | undefined;
|
|
8971
9132
|
deploymentTarget?: string | undefined;
|
|
8972
9133
|
membership?: {
|
|
@@ -9074,9 +9235,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9074
9235
|
metric: string;
|
|
9075
9236
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
9076
9237
|
}[];
|
|
9238
|
+
kind: "Cell";
|
|
9077
9239
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
9078
9240
|
parentCells: string[];
|
|
9079
|
-
kind: "Cell";
|
|
9080
9241
|
displayName?: string | undefined;
|
|
9081
9242
|
deploymentTarget?: string | undefined;
|
|
9082
9243
|
membership?: {
|
|
@@ -9284,11 +9445,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9284
9445
|
title?: string | undefined;
|
|
9285
9446
|
enum?: string[] | undefined;
|
|
9286
9447
|
}[];
|
|
9287
|
-
constraints: {
|
|
9448
|
+
constraints: ({
|
|
9288
9449
|
type: "property-sum";
|
|
9289
9450
|
property: string;
|
|
9290
9451
|
leq: string;
|
|
9291
|
-
}
|
|
9452
|
+
} | {
|
|
9453
|
+
type: "relationship-count";
|
|
9454
|
+
leq: string | number;
|
|
9455
|
+
})[];
|
|
9456
|
+
containment: boolean;
|
|
9292
9457
|
createdAt: string;
|
|
9293
9458
|
updatedAt: string;
|
|
9294
9459
|
}[]>;
|
|
@@ -9322,11 +9487,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9322
9487
|
title?: string | undefined;
|
|
9323
9488
|
enum?: string[] | undefined;
|
|
9324
9489
|
}[];
|
|
9325
|
-
constraints: {
|
|
9490
|
+
constraints: ({
|
|
9326
9491
|
type: "property-sum";
|
|
9327
9492
|
property: string;
|
|
9328
9493
|
leq: string;
|
|
9329
|
-
}
|
|
9494
|
+
} | {
|
|
9495
|
+
type: "relationship-count";
|
|
9496
|
+
leq: string | number;
|
|
9497
|
+
})[];
|
|
9498
|
+
containment: boolean;
|
|
9330
9499
|
createdAt: string;
|
|
9331
9500
|
updatedAt: string;
|
|
9332
9501
|
}>;
|
|
@@ -9363,7 +9532,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9363
9532
|
title?: string | undefined;
|
|
9364
9533
|
enum?: string[] | undefined;
|
|
9365
9534
|
}>, "many">>>;
|
|
9366
|
-
|
|
9535
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
9536
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
9367
9537
|
type: zod.ZodLiteral<"property-sum">;
|
|
9368
9538
|
property: zod.ZodString;
|
|
9369
9539
|
leq: zod.ZodString;
|
|
@@ -9375,7 +9545,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9375
9545
|
type: "property-sum";
|
|
9376
9546
|
property: string;
|
|
9377
9547
|
leq: string;
|
|
9378
|
-
}>,
|
|
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">>>;
|
|
9379
9558
|
} & {
|
|
9380
9559
|
orgId: zod.ZodString;
|
|
9381
9560
|
projectId: zod.ZodString;
|
|
@@ -9394,15 +9573,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9394
9573
|
title?: string | undefined;
|
|
9395
9574
|
enum?: string[] | undefined;
|
|
9396
9575
|
}[];
|
|
9397
|
-
constraints: {
|
|
9576
|
+
constraints: ({
|
|
9398
9577
|
type: "property-sum";
|
|
9399
9578
|
property: string;
|
|
9400
9579
|
leq: string;
|
|
9401
|
-
}
|
|
9402
|
-
|
|
9580
|
+
} | {
|
|
9581
|
+
type: "relationship-count";
|
|
9582
|
+
leq: string | number;
|
|
9583
|
+
})[];
|
|
9403
9584
|
kind: "RelationshipType";
|
|
9585
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
9404
9586
|
to: string;
|
|
9405
9587
|
displayName?: string | undefined;
|
|
9588
|
+
containment?: boolean | undefined;
|
|
9406
9589
|
}, {
|
|
9407
9590
|
name: string;
|
|
9408
9591
|
from: string;
|
|
@@ -9421,12 +9604,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9421
9604
|
title?: string | undefined;
|
|
9422
9605
|
enum?: string[] | undefined;
|
|
9423
9606
|
}[] | undefined;
|
|
9424
|
-
constraints?: {
|
|
9607
|
+
constraints?: ({
|
|
9425
9608
|
type: "property-sum";
|
|
9426
9609
|
property: string;
|
|
9427
9610
|
leq: string;
|
|
9428
|
-
}
|
|
9611
|
+
} | {
|
|
9612
|
+
type: "relationship-count";
|
|
9613
|
+
leq: string | number;
|
|
9614
|
+
})[] | undefined;
|
|
9429
9615
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
9616
|
+
containment?: boolean | undefined;
|
|
9430
9617
|
}>, {
|
|
9431
9618
|
name: string;
|
|
9432
9619
|
createdAt: string;
|
|
@@ -9444,14 +9631,18 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9444
9631
|
title?: string | undefined;
|
|
9445
9632
|
enum?: string[] | undefined;
|
|
9446
9633
|
}[];
|
|
9447
|
-
constraints: {
|
|
9634
|
+
constraints: ({
|
|
9448
9635
|
type: "property-sum";
|
|
9449
9636
|
property: string;
|
|
9450
9637
|
leq: string;
|
|
9451
|
-
}
|
|
9638
|
+
} | {
|
|
9639
|
+
type: "relationship-count";
|
|
9640
|
+
leq: string | number;
|
|
9641
|
+
})[];
|
|
9452
9642
|
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
9453
9643
|
fromEntityTypeName: string;
|
|
9454
9644
|
toEntityTypeName: string;
|
|
9645
|
+
containment: boolean;
|
|
9455
9646
|
}>;
|
|
9456
9647
|
update: SchemaFn<zod.ZodObject<{
|
|
9457
9648
|
kind: zod.ZodLiteral<"RelationshipType">;
|
|
@@ -9486,7 +9677,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9486
9677
|
title?: string | undefined;
|
|
9487
9678
|
enum?: string[] | undefined;
|
|
9488
9679
|
}>, "many">>>;
|
|
9489
|
-
|
|
9680
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
9681
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
9490
9682
|
type: zod.ZodLiteral<"property-sum">;
|
|
9491
9683
|
property: zod.ZodString;
|
|
9492
9684
|
leq: zod.ZodString;
|
|
@@ -9498,7 +9690,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9498
9690
|
type: "property-sum";
|
|
9499
9691
|
property: string;
|
|
9500
9692
|
leq: string;
|
|
9501
|
-
}>,
|
|
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">>>;
|
|
9502
9703
|
} & {
|
|
9503
9704
|
orgId: zod.ZodString;
|
|
9504
9705
|
projectId: zod.ZodString;
|
|
@@ -9517,15 +9718,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9517
9718
|
title?: string | undefined;
|
|
9518
9719
|
enum?: string[] | undefined;
|
|
9519
9720
|
}[];
|
|
9520
|
-
constraints: {
|
|
9721
|
+
constraints: ({
|
|
9521
9722
|
type: "property-sum";
|
|
9522
9723
|
property: string;
|
|
9523
9724
|
leq: string;
|
|
9524
|
-
}
|
|
9525
|
-
|
|
9725
|
+
} | {
|
|
9726
|
+
type: "relationship-count";
|
|
9727
|
+
leq: string | number;
|
|
9728
|
+
})[];
|
|
9526
9729
|
kind: "RelationshipType";
|
|
9730
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
9527
9731
|
to: string;
|
|
9528
9732
|
displayName?: string | undefined;
|
|
9733
|
+
containment?: boolean | undefined;
|
|
9529
9734
|
}, {
|
|
9530
9735
|
name: string;
|
|
9531
9736
|
from: string;
|
|
@@ -9544,12 +9749,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9544
9749
|
title?: string | undefined;
|
|
9545
9750
|
enum?: string[] | undefined;
|
|
9546
9751
|
}[] | undefined;
|
|
9547
|
-
constraints?: {
|
|
9752
|
+
constraints?: ({
|
|
9548
9753
|
type: "property-sum";
|
|
9549
9754
|
property: string;
|
|
9550
9755
|
leq: string;
|
|
9551
|
-
}
|
|
9756
|
+
} | {
|
|
9757
|
+
type: "relationship-count";
|
|
9758
|
+
leq: string | number;
|
|
9759
|
+
})[] | undefined;
|
|
9552
9760
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
9761
|
+
containment?: boolean | undefined;
|
|
9553
9762
|
}>, {
|
|
9554
9763
|
orgId: string;
|
|
9555
9764
|
projectId: string;
|
|
@@ -9568,11 +9777,15 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
9568
9777
|
title?: string | undefined;
|
|
9569
9778
|
enum?: string[] | undefined;
|
|
9570
9779
|
}[];
|
|
9571
|
-
constraints: {
|
|
9780
|
+
constraints: ({
|
|
9572
9781
|
type: "property-sum";
|
|
9573
9782
|
property: string;
|
|
9574
9783
|
leq: string;
|
|
9575
|
-
}
|
|
9784
|
+
} | {
|
|
9785
|
+
type: "relationship-count";
|
|
9786
|
+
leq: string | number;
|
|
9787
|
+
})[];
|
|
9788
|
+
containment: boolean;
|
|
9576
9789
|
createdAt: string;
|
|
9577
9790
|
updatedAt: string;
|
|
9578
9791
|
}>;
|
|
@@ -13220,6 +13433,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13220
13433
|
name: string;
|
|
13221
13434
|
orgId: string;
|
|
13222
13435
|
projectId: string;
|
|
13436
|
+
kind: "Action";
|
|
13223
13437
|
conditions: {
|
|
13224
13438
|
value: string | number | boolean | string[];
|
|
13225
13439
|
field: string;
|
|
@@ -13332,7 +13546,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13332
13546
|
onFailure: string;
|
|
13333
13547
|
to: string;
|
|
13334
13548
|
};
|
|
13335
|
-
kind: "Action";
|
|
13336
13549
|
associatedWith: {
|
|
13337
13550
|
scope: "collection" | "instance";
|
|
13338
13551
|
entityType: string;
|
|
@@ -13656,6 +13869,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13656
13869
|
name: string;
|
|
13657
13870
|
orgId: string;
|
|
13658
13871
|
projectId: string;
|
|
13872
|
+
kind: "Action";
|
|
13659
13873
|
operation: {
|
|
13660
13874
|
type: "create-entity";
|
|
13661
13875
|
entityType: string;
|
|
@@ -13755,7 +13969,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
13755
13969
|
onFailure: string;
|
|
13756
13970
|
to: string;
|
|
13757
13971
|
};
|
|
13758
|
-
kind: "Action";
|
|
13759
13972
|
associatedWith: {
|
|
13760
13973
|
scope: "collection" | "instance";
|
|
13761
13974
|
entityType: string;
|
|
@@ -17053,6 +17266,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17053
17266
|
name: string;
|
|
17054
17267
|
orgId: string;
|
|
17055
17268
|
projectId: string;
|
|
17269
|
+
kind: "Action";
|
|
17056
17270
|
conditions: {
|
|
17057
17271
|
value: string | number | boolean | string[];
|
|
17058
17272
|
field: string;
|
|
@@ -17165,7 +17379,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17165
17379
|
onFailure: string;
|
|
17166
17380
|
to: string;
|
|
17167
17381
|
};
|
|
17168
|
-
kind: "Action";
|
|
17169
17382
|
associatedWith: {
|
|
17170
17383
|
scope: "collection" | "instance";
|
|
17171
17384
|
entityType: string;
|
|
@@ -17489,6 +17702,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17489
17702
|
name: string;
|
|
17490
17703
|
orgId: string;
|
|
17491
17704
|
projectId: string;
|
|
17705
|
+
kind: "Action";
|
|
17492
17706
|
operation: {
|
|
17493
17707
|
type: "create-entity";
|
|
17494
17708
|
entityType: string;
|
|
@@ -17588,7 +17802,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
17588
17802
|
onFailure: string;
|
|
17589
17803
|
to: string;
|
|
17590
17804
|
};
|
|
17591
|
-
kind: "Action";
|
|
17592
17805
|
associatedWith: {
|
|
17593
17806
|
scope: "collection" | "instance";
|
|
17594
17807
|
entityType: string;
|
|
@@ -18843,6 +19056,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18843
19056
|
yellowSeconds?: number | undefined;
|
|
18844
19057
|
}>>;
|
|
18845
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">>;
|
|
18846
19072
|
}, "strip", zod.ZodTypeAny, {
|
|
18847
19073
|
name: string;
|
|
18848
19074
|
states: string[];
|
|
@@ -18877,9 +19103,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18877
19103
|
max: number;
|
|
18878
19104
|
metric: string;
|
|
18879
19105
|
}[];
|
|
18880
|
-
syncTracked: boolean;
|
|
18881
19106
|
kind: "EntityType";
|
|
19107
|
+
syncTracked: boolean;
|
|
18882
19108
|
displayName?: string | undefined;
|
|
19109
|
+
composition?: {
|
|
19110
|
+
provider: string;
|
|
19111
|
+
kind: "data" | "resource" | "module";
|
|
19112
|
+
address: string;
|
|
19113
|
+
}[] | undefined;
|
|
18883
19114
|
syncFreshness?: {
|
|
18884
19115
|
greenSeconds?: number | undefined;
|
|
18885
19116
|
yellowSeconds?: number | undefined;
|
|
@@ -18921,6 +19152,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18921
19152
|
max: number;
|
|
18922
19153
|
metric: string;
|
|
18923
19154
|
}[] | undefined;
|
|
19155
|
+
composition?: {
|
|
19156
|
+
provider: string;
|
|
19157
|
+
kind: "data" | "resource" | "module";
|
|
19158
|
+
address: string;
|
|
19159
|
+
}[] | undefined;
|
|
18924
19160
|
syncTracked?: boolean | undefined;
|
|
18925
19161
|
syncFreshness?: {
|
|
18926
19162
|
greenSeconds?: number | undefined;
|
|
@@ -18978,9 +19214,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
18978
19214
|
metric: string;
|
|
18979
19215
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
18980
19216
|
}[];
|
|
19217
|
+
kind: "Cell";
|
|
18981
19218
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
18982
19219
|
parentCells: string[];
|
|
18983
|
-
kind: "Cell";
|
|
18984
19220
|
displayName?: string | undefined;
|
|
18985
19221
|
deploymentTarget?: string | undefined;
|
|
18986
19222
|
membership?: {
|
|
@@ -19041,7 +19277,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
19041
19277
|
title?: string | undefined;
|
|
19042
19278
|
enum?: string[] | undefined;
|
|
19043
19279
|
}>, "many">>>;
|
|
19044
|
-
|
|
19280
|
+
containment: zod.ZodOptional<zod.ZodBoolean>;
|
|
19281
|
+
constraints: zod.ZodDefault<zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
|
|
19045
19282
|
type: zod.ZodLiteral<"property-sum">;
|
|
19046
19283
|
property: zod.ZodString;
|
|
19047
19284
|
leq: zod.ZodString;
|
|
@@ -19053,7 +19290,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
19053
19290
|
type: "property-sum";
|
|
19054
19291
|
property: string;
|
|
19055
19292
|
leq: string;
|
|
19056
|
-
}>,
|
|
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">>>;
|
|
19057
19303
|
}, "strip", zod.ZodTypeAny, {
|
|
19058
19304
|
name: string;
|
|
19059
19305
|
from: string;
|
|
@@ -19067,15 +19313,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
19067
19313
|
title?: string | undefined;
|
|
19068
19314
|
enum?: string[] | undefined;
|
|
19069
19315
|
}[];
|
|
19070
|
-
constraints: {
|
|
19316
|
+
constraints: ({
|
|
19071
19317
|
type: "property-sum";
|
|
19072
19318
|
property: string;
|
|
19073
19319
|
leq: string;
|
|
19074
|
-
}
|
|
19075
|
-
|
|
19320
|
+
} | {
|
|
19321
|
+
type: "relationship-count";
|
|
19322
|
+
leq: string | number;
|
|
19323
|
+
})[];
|
|
19076
19324
|
kind: "RelationshipType";
|
|
19325
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
19077
19326
|
to: string;
|
|
19078
19327
|
displayName?: string | undefined;
|
|
19328
|
+
containment?: boolean | undefined;
|
|
19079
19329
|
}, {
|
|
19080
19330
|
name: string;
|
|
19081
19331
|
from: string;
|
|
@@ -19092,12 +19342,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
19092
19342
|
title?: string | undefined;
|
|
19093
19343
|
enum?: string[] | undefined;
|
|
19094
19344
|
}[] | undefined;
|
|
19095
|
-
constraints?: {
|
|
19345
|
+
constraints?: ({
|
|
19096
19346
|
type: "property-sum";
|
|
19097
19347
|
property: string;
|
|
19098
19348
|
leq: string;
|
|
19099
|
-
}
|
|
19349
|
+
} | {
|
|
19350
|
+
type: "relationship-count";
|
|
19351
|
+
leq: string | number;
|
|
19352
|
+
})[] | undefined;
|
|
19100
19353
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
19354
|
+
containment?: boolean | undefined;
|
|
19101
19355
|
}>, zod.ZodObject<{
|
|
19102
19356
|
kind: zod.ZodLiteral<"Action">;
|
|
19103
19357
|
name: zod.ZodString;
|
|
@@ -21558,6 +21812,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
21558
21812
|
enum?: string[] | undefined;
|
|
21559
21813
|
}[];
|
|
21560
21814
|
name: string;
|
|
21815
|
+
kind: "Action";
|
|
21561
21816
|
conditions: {
|
|
21562
21817
|
value: string | number | boolean | string[];
|
|
21563
21818
|
field: string;
|
|
@@ -21670,7 +21925,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
21670
21925
|
onFailure: string;
|
|
21671
21926
|
to: string;
|
|
21672
21927
|
};
|
|
21673
|
-
kind: "Action";
|
|
21674
21928
|
associatedWith: {
|
|
21675
21929
|
scope: "collection" | "instance";
|
|
21676
21930
|
entityType: string;
|
|
@@ -21992,6 +22246,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
21992
22246
|
mutatesProperty?: string | undefined;
|
|
21993
22247
|
}, {
|
|
21994
22248
|
name: string;
|
|
22249
|
+
kind: "Action";
|
|
21995
22250
|
operation: {
|
|
21996
22251
|
type: "create-entity";
|
|
21997
22252
|
entityType: string;
|
|
@@ -22091,7 +22346,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22091
22346
|
onFailure: string;
|
|
22092
22347
|
to: string;
|
|
22093
22348
|
};
|
|
22094
|
-
kind: "Action";
|
|
22095
22349
|
associatedWith: {
|
|
22096
22350
|
scope: "collection" | "instance";
|
|
22097
22351
|
entityType: string;
|
|
@@ -22549,6 +22803,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22549
22803
|
enum?: string[] | undefined;
|
|
22550
22804
|
}[];
|
|
22551
22805
|
name: string;
|
|
22806
|
+
kind: "Action";
|
|
22552
22807
|
conditions: {
|
|
22553
22808
|
value: string | number | boolean | string[];
|
|
22554
22809
|
field: string;
|
|
@@ -22661,7 +22916,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22661
22916
|
onFailure: string;
|
|
22662
22917
|
to: string;
|
|
22663
22918
|
};
|
|
22664
|
-
kind: "Action";
|
|
22665
22919
|
associatedWith: {
|
|
22666
22920
|
scope: "collection" | "instance";
|
|
22667
22921
|
entityType: string;
|
|
@@ -23015,9 +23269,14 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23015
23269
|
max: number;
|
|
23016
23270
|
metric: string;
|
|
23017
23271
|
}[];
|
|
23018
|
-
syncTracked: boolean;
|
|
23019
23272
|
kind: "EntityType";
|
|
23273
|
+
syncTracked: boolean;
|
|
23020
23274
|
displayName?: string | undefined;
|
|
23275
|
+
composition?: {
|
|
23276
|
+
provider: string;
|
|
23277
|
+
kind: "data" | "resource" | "module";
|
|
23278
|
+
address: string;
|
|
23279
|
+
}[] | undefined;
|
|
23021
23280
|
syncFreshness?: {
|
|
23022
23281
|
greenSeconds?: number | undefined;
|
|
23023
23282
|
yellowSeconds?: number | undefined;
|
|
@@ -23031,9 +23290,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23031
23290
|
metric: string;
|
|
23032
23291
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
23033
23292
|
}[];
|
|
23293
|
+
kind: "Cell";
|
|
23034
23294
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
23035
23295
|
parentCells: string[];
|
|
23036
|
-
kind: "Cell";
|
|
23037
23296
|
displayName?: string | undefined;
|
|
23038
23297
|
deploymentTarget?: string | undefined;
|
|
23039
23298
|
membership?: {
|
|
@@ -23055,15 +23314,19 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23055
23314
|
title?: string | undefined;
|
|
23056
23315
|
enum?: string[] | undefined;
|
|
23057
23316
|
}[];
|
|
23058
|
-
constraints: {
|
|
23317
|
+
constraints: ({
|
|
23059
23318
|
type: "property-sum";
|
|
23060
23319
|
property: string;
|
|
23061
23320
|
leq: string;
|
|
23062
|
-
}
|
|
23063
|
-
|
|
23321
|
+
} | {
|
|
23322
|
+
type: "relationship-count";
|
|
23323
|
+
leq: string | number;
|
|
23324
|
+
})[];
|
|
23064
23325
|
kind: "RelationshipType";
|
|
23326
|
+
cardinality: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
23065
23327
|
to: string;
|
|
23066
23328
|
displayName?: string | undefined;
|
|
23329
|
+
containment?: boolean | undefined;
|
|
23067
23330
|
} | {
|
|
23068
23331
|
name: string;
|
|
23069
23332
|
kind: "Secret";
|
|
@@ -23105,6 +23368,7 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23105
23368
|
envName: string;
|
|
23106
23369
|
items: ({
|
|
23107
23370
|
name: string;
|
|
23371
|
+
kind: "Action";
|
|
23108
23372
|
operation: {
|
|
23109
23373
|
type: "create-entity";
|
|
23110
23374
|
entityType: string;
|
|
@@ -23204,7 +23468,6 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23204
23468
|
onFailure: string;
|
|
23205
23469
|
to: string;
|
|
23206
23470
|
};
|
|
23207
|
-
kind: "Action";
|
|
23208
23471
|
associatedWith: {
|
|
23209
23472
|
scope: "collection" | "instance";
|
|
23210
23473
|
entityType: string;
|
|
@@ -23582,6 +23845,11 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23582
23845
|
max: number;
|
|
23583
23846
|
metric: string;
|
|
23584
23847
|
}[] | undefined;
|
|
23848
|
+
composition?: {
|
|
23849
|
+
provider: string;
|
|
23850
|
+
kind: "data" | "resource" | "module";
|
|
23851
|
+
address: string;
|
|
23852
|
+
}[] | undefined;
|
|
23585
23853
|
syncTracked?: boolean | undefined;
|
|
23586
23854
|
syncFreshness?: {
|
|
23587
23855
|
greenSeconds?: number | undefined;
|
|
@@ -23623,12 +23891,16 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23623
23891
|
title?: string | undefined;
|
|
23624
23892
|
enum?: string[] | undefined;
|
|
23625
23893
|
}[] | undefined;
|
|
23626
|
-
constraints?: {
|
|
23894
|
+
constraints?: ({
|
|
23627
23895
|
type: "property-sum";
|
|
23628
23896
|
property: string;
|
|
23629
23897
|
leq: string;
|
|
23630
|
-
}
|
|
23898
|
+
} | {
|
|
23899
|
+
type: "relationship-count";
|
|
23900
|
+
leq: string | number;
|
|
23901
|
+
})[] | undefined;
|
|
23631
23902
|
cardinality?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
|
|
23903
|
+
containment?: boolean | undefined;
|
|
23632
23904
|
} | {
|
|
23633
23905
|
name: string;
|
|
23634
23906
|
kind: "Secret";
|
|
@@ -24849,6 +25121,29 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
24849
25121
|
decidedBy: string | null;
|
|
24850
25122
|
}>;
|
|
24851
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
|
+
}>;
|
|
24852
25147
|
exportCatalog: SchemaFn<zod.ZodObject<{
|
|
24853
25148
|
orgId: zod.ZodString;
|
|
24854
25149
|
projectId: zod.ZodString;
|
|
@@ -25055,9 +25350,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
25055
25350
|
metric: string;
|
|
25056
25351
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
25057
25352
|
}[];
|
|
25353
|
+
kind: "Cell";
|
|
25058
25354
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
25059
25355
|
parentCells: string[];
|
|
25060
|
-
kind: "Cell";
|
|
25061
25356
|
displayName?: string | undefined;
|
|
25062
25357
|
deploymentTarget?: string | undefined;
|
|
25063
25358
|
membership?: {
|
|
@@ -25165,9 +25460,9 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
25165
25460
|
metric: string;
|
|
25166
25461
|
aggregate: "max" | "sum" | "avg" | "min";
|
|
25167
25462
|
}[];
|
|
25463
|
+
kind: "Cell";
|
|
25168
25464
|
placementPolicy: "least-loaded" | "round-robin" | "random";
|
|
25169
25465
|
parentCells: string[];
|
|
25170
|
-
kind: "Cell";
|
|
25171
25466
|
displayName?: string | undefined;
|
|
25172
25467
|
deploymentTarget?: string | undefined;
|
|
25173
25468
|
membership?: {
|