@terrantula/sdk 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-E3CKS754.mjs → chunk-46T35MSS.mjs} +365 -292
- package/dist/index.d.mts +153 -2
- package/dist/index.d.ts +153 -2
- package/dist/index.js +368 -295
- package/dist/index.mjs +1 -1
- package/dist/local.d.mts +136 -1
- package/dist/local.d.ts +136 -1
- package/dist/local.js +368 -295
- package/dist/local.mjs +1 -1
- package/dist/{projects-D-LiD32g.d.mts → projects-DmWHHY1a.d.mts} +6 -1
- package/dist/{projects-D-LiD32g.d.ts → projects-DmWHHY1a.d.ts} +6 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
package/dist/local.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SchemaFn, P as ProjectNukeResponse, S as SnapshotOp, 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-
|
|
1
|
+
import { a as SchemaFn, P as ProjectNukeResponse, O as ObservationImportResult, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-DmWHHY1a.mjs';
|
|
2
2
|
import * as _terrantula_types from '@terrantula/types';
|
|
3
3
|
import * as hono_utils_types from 'hono/utils/types';
|
|
4
4
|
import * as zod from 'zod';
|
|
@@ -2007,6 +2007,22 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2007
2007
|
deleted: true;
|
|
2008
2008
|
name: string;
|
|
2009
2009
|
}>;
|
|
2010
|
+
listMembers: SchemaFn<zod.ZodObject<{
|
|
2011
|
+
orgId: zod.ZodString;
|
|
2012
|
+
projectId: zod.ZodString;
|
|
2013
|
+
name: zod.ZodString;
|
|
2014
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2015
|
+
name: string;
|
|
2016
|
+
orgId: string;
|
|
2017
|
+
projectId: string;
|
|
2018
|
+
}, {
|
|
2019
|
+
name: string;
|
|
2020
|
+
orgId: string;
|
|
2021
|
+
projectId: string;
|
|
2022
|
+
}>, {
|
|
2023
|
+
set: string;
|
|
2024
|
+
members: string[];
|
|
2025
|
+
}>;
|
|
2010
2026
|
};
|
|
2011
2027
|
entities: {
|
|
2012
2028
|
list: SchemaFn<zod.ZodObject<{
|
|
@@ -18673,6 +18689,125 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18673
18689
|
}[];
|
|
18674
18690
|
} | undefined;
|
|
18675
18691
|
}>;
|
|
18692
|
+
observations: {
|
|
18693
|
+
importPayload: SchemaFn<zod.ZodObject<{
|
|
18694
|
+
observedAt: zod.ZodString;
|
|
18695
|
+
sources: zod.ZodArray<zod.ZodObject<{
|
|
18696
|
+
source: zod.ZodString;
|
|
18697
|
+
resources: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
18698
|
+
tfAddress: zod.ZodString;
|
|
18699
|
+
tfType: zod.ZodString;
|
|
18700
|
+
tfName: zod.ZodString;
|
|
18701
|
+
tfModule: zod.ZodOptional<zod.ZodString>;
|
|
18702
|
+
mode: zod.ZodEnum<["managed", "data"]>;
|
|
18703
|
+
attributes: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
18704
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18705
|
+
mode: "data" | "managed";
|
|
18706
|
+
tfType: string;
|
|
18707
|
+
tfName: string;
|
|
18708
|
+
tfAddress: string;
|
|
18709
|
+
attributes: Record<string, unknown>;
|
|
18710
|
+
tfModule?: string | undefined;
|
|
18711
|
+
}, {
|
|
18712
|
+
mode: "data" | "managed";
|
|
18713
|
+
tfType: string;
|
|
18714
|
+
tfName: string;
|
|
18715
|
+
tfAddress: string;
|
|
18716
|
+
tfModule?: string | undefined;
|
|
18717
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18718
|
+
}>, "many">>;
|
|
18719
|
+
dependencies: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
18720
|
+
fromAddress: zod.ZodString;
|
|
18721
|
+
toAddress: zod.ZodString;
|
|
18722
|
+
crossStackSource: zod.ZodOptional<zod.ZodString>;
|
|
18723
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18724
|
+
fromAddress: string;
|
|
18725
|
+
toAddress: string;
|
|
18726
|
+
crossStackSource?: string | undefined;
|
|
18727
|
+
}, {
|
|
18728
|
+
fromAddress: string;
|
|
18729
|
+
toAddress: string;
|
|
18730
|
+
crossStackSource?: string | undefined;
|
|
18731
|
+
}>, "many">>;
|
|
18732
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18733
|
+
source: string;
|
|
18734
|
+
resources: {
|
|
18735
|
+
mode: "data" | "managed";
|
|
18736
|
+
tfType: string;
|
|
18737
|
+
tfName: string;
|
|
18738
|
+
tfAddress: string;
|
|
18739
|
+
attributes: Record<string, unknown>;
|
|
18740
|
+
tfModule?: string | undefined;
|
|
18741
|
+
}[];
|
|
18742
|
+
dependencies: {
|
|
18743
|
+
fromAddress: string;
|
|
18744
|
+
toAddress: string;
|
|
18745
|
+
crossStackSource?: string | undefined;
|
|
18746
|
+
}[];
|
|
18747
|
+
}, {
|
|
18748
|
+
source: string;
|
|
18749
|
+
resources?: {
|
|
18750
|
+
mode: "data" | "managed";
|
|
18751
|
+
tfType: string;
|
|
18752
|
+
tfName: string;
|
|
18753
|
+
tfAddress: string;
|
|
18754
|
+
tfModule?: string | undefined;
|
|
18755
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18756
|
+
}[] | undefined;
|
|
18757
|
+
dependencies?: {
|
|
18758
|
+
fromAddress: string;
|
|
18759
|
+
toAddress: string;
|
|
18760
|
+
crossStackSource?: string | undefined;
|
|
18761
|
+
}[] | undefined;
|
|
18762
|
+
}>, "many">;
|
|
18763
|
+
} & {
|
|
18764
|
+
orgId: zod.ZodString;
|
|
18765
|
+
projectId: zod.ZodString;
|
|
18766
|
+
envName: zod.ZodString;
|
|
18767
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18768
|
+
orgId: string;
|
|
18769
|
+
projectId: string;
|
|
18770
|
+
envName: string;
|
|
18771
|
+
sources: {
|
|
18772
|
+
source: string;
|
|
18773
|
+
resources: {
|
|
18774
|
+
mode: "data" | "managed";
|
|
18775
|
+
tfType: string;
|
|
18776
|
+
tfName: string;
|
|
18777
|
+
tfAddress: string;
|
|
18778
|
+
attributes: Record<string, unknown>;
|
|
18779
|
+
tfModule?: string | undefined;
|
|
18780
|
+
}[];
|
|
18781
|
+
dependencies: {
|
|
18782
|
+
fromAddress: string;
|
|
18783
|
+
toAddress: string;
|
|
18784
|
+
crossStackSource?: string | undefined;
|
|
18785
|
+
}[];
|
|
18786
|
+
}[];
|
|
18787
|
+
observedAt: string;
|
|
18788
|
+
}, {
|
|
18789
|
+
orgId: string;
|
|
18790
|
+
projectId: string;
|
|
18791
|
+
envName: string;
|
|
18792
|
+
sources: {
|
|
18793
|
+
source: string;
|
|
18794
|
+
resources?: {
|
|
18795
|
+
mode: "data" | "managed";
|
|
18796
|
+
tfType: string;
|
|
18797
|
+
tfName: string;
|
|
18798
|
+
tfAddress: string;
|
|
18799
|
+
tfModule?: string | undefined;
|
|
18800
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18801
|
+
}[] | undefined;
|
|
18802
|
+
dependencies?: {
|
|
18803
|
+
fromAddress: string;
|
|
18804
|
+
toAddress: string;
|
|
18805
|
+
crossStackSource?: string | undefined;
|
|
18806
|
+
}[] | undefined;
|
|
18807
|
+
}[];
|
|
18808
|
+
observedAt: string;
|
|
18809
|
+
}>, ObservationImportResult>;
|
|
18810
|
+
};
|
|
18676
18811
|
catalogRevisions: {
|
|
18677
18812
|
list: SchemaFn<zod.ZodObject<{
|
|
18678
18813
|
orgId: zod.ZodString;
|
package/dist/local.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SchemaFn, P as ProjectNukeResponse, S as SnapshotOp, 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-
|
|
1
|
+
import { a as SchemaFn, P as ProjectNukeResponse, O as ObservationImportResult, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminProjectNukeResponse, i as AdminMetricsOverview, j as AdminGitHubInstallationListResponse } from './projects-DmWHHY1a.js';
|
|
2
2
|
import * as _terrantula_types from '@terrantula/types';
|
|
3
3
|
import * as hono_utils_types from 'hono/utils/types';
|
|
4
4
|
import * as zod from 'zod';
|
|
@@ -2007,6 +2007,22 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
2007
2007
|
deleted: true;
|
|
2008
2008
|
name: string;
|
|
2009
2009
|
}>;
|
|
2010
|
+
listMembers: SchemaFn<zod.ZodObject<{
|
|
2011
|
+
orgId: zod.ZodString;
|
|
2012
|
+
projectId: zod.ZodString;
|
|
2013
|
+
name: zod.ZodString;
|
|
2014
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2015
|
+
name: string;
|
|
2016
|
+
orgId: string;
|
|
2017
|
+
projectId: string;
|
|
2018
|
+
}, {
|
|
2019
|
+
name: string;
|
|
2020
|
+
orgId: string;
|
|
2021
|
+
projectId: string;
|
|
2022
|
+
}>, {
|
|
2023
|
+
set: string;
|
|
2024
|
+
members: string[];
|
|
2025
|
+
}>;
|
|
2010
2026
|
};
|
|
2011
2027
|
entities: {
|
|
2012
2028
|
list: SchemaFn<zod.ZodObject<{
|
|
@@ -18673,6 +18689,125 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
18673
18689
|
}[];
|
|
18674
18690
|
} | undefined;
|
|
18675
18691
|
}>;
|
|
18692
|
+
observations: {
|
|
18693
|
+
importPayload: SchemaFn<zod.ZodObject<{
|
|
18694
|
+
observedAt: zod.ZodString;
|
|
18695
|
+
sources: zod.ZodArray<zod.ZodObject<{
|
|
18696
|
+
source: zod.ZodString;
|
|
18697
|
+
resources: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
18698
|
+
tfAddress: zod.ZodString;
|
|
18699
|
+
tfType: zod.ZodString;
|
|
18700
|
+
tfName: zod.ZodString;
|
|
18701
|
+
tfModule: zod.ZodOptional<zod.ZodString>;
|
|
18702
|
+
mode: zod.ZodEnum<["managed", "data"]>;
|
|
18703
|
+
attributes: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
18704
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18705
|
+
mode: "data" | "managed";
|
|
18706
|
+
tfType: string;
|
|
18707
|
+
tfName: string;
|
|
18708
|
+
tfAddress: string;
|
|
18709
|
+
attributes: Record<string, unknown>;
|
|
18710
|
+
tfModule?: string | undefined;
|
|
18711
|
+
}, {
|
|
18712
|
+
mode: "data" | "managed";
|
|
18713
|
+
tfType: string;
|
|
18714
|
+
tfName: string;
|
|
18715
|
+
tfAddress: string;
|
|
18716
|
+
tfModule?: string | undefined;
|
|
18717
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18718
|
+
}>, "many">>;
|
|
18719
|
+
dependencies: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
18720
|
+
fromAddress: zod.ZodString;
|
|
18721
|
+
toAddress: zod.ZodString;
|
|
18722
|
+
crossStackSource: zod.ZodOptional<zod.ZodString>;
|
|
18723
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18724
|
+
fromAddress: string;
|
|
18725
|
+
toAddress: string;
|
|
18726
|
+
crossStackSource?: string | undefined;
|
|
18727
|
+
}, {
|
|
18728
|
+
fromAddress: string;
|
|
18729
|
+
toAddress: string;
|
|
18730
|
+
crossStackSource?: string | undefined;
|
|
18731
|
+
}>, "many">>;
|
|
18732
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18733
|
+
source: string;
|
|
18734
|
+
resources: {
|
|
18735
|
+
mode: "data" | "managed";
|
|
18736
|
+
tfType: string;
|
|
18737
|
+
tfName: string;
|
|
18738
|
+
tfAddress: string;
|
|
18739
|
+
attributes: Record<string, unknown>;
|
|
18740
|
+
tfModule?: string | undefined;
|
|
18741
|
+
}[];
|
|
18742
|
+
dependencies: {
|
|
18743
|
+
fromAddress: string;
|
|
18744
|
+
toAddress: string;
|
|
18745
|
+
crossStackSource?: string | undefined;
|
|
18746
|
+
}[];
|
|
18747
|
+
}, {
|
|
18748
|
+
source: string;
|
|
18749
|
+
resources?: {
|
|
18750
|
+
mode: "data" | "managed";
|
|
18751
|
+
tfType: string;
|
|
18752
|
+
tfName: string;
|
|
18753
|
+
tfAddress: string;
|
|
18754
|
+
tfModule?: string | undefined;
|
|
18755
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18756
|
+
}[] | undefined;
|
|
18757
|
+
dependencies?: {
|
|
18758
|
+
fromAddress: string;
|
|
18759
|
+
toAddress: string;
|
|
18760
|
+
crossStackSource?: string | undefined;
|
|
18761
|
+
}[] | undefined;
|
|
18762
|
+
}>, "many">;
|
|
18763
|
+
} & {
|
|
18764
|
+
orgId: zod.ZodString;
|
|
18765
|
+
projectId: zod.ZodString;
|
|
18766
|
+
envName: zod.ZodString;
|
|
18767
|
+
}, "strip", zod.ZodTypeAny, {
|
|
18768
|
+
orgId: string;
|
|
18769
|
+
projectId: string;
|
|
18770
|
+
envName: string;
|
|
18771
|
+
sources: {
|
|
18772
|
+
source: string;
|
|
18773
|
+
resources: {
|
|
18774
|
+
mode: "data" | "managed";
|
|
18775
|
+
tfType: string;
|
|
18776
|
+
tfName: string;
|
|
18777
|
+
tfAddress: string;
|
|
18778
|
+
attributes: Record<string, unknown>;
|
|
18779
|
+
tfModule?: string | undefined;
|
|
18780
|
+
}[];
|
|
18781
|
+
dependencies: {
|
|
18782
|
+
fromAddress: string;
|
|
18783
|
+
toAddress: string;
|
|
18784
|
+
crossStackSource?: string | undefined;
|
|
18785
|
+
}[];
|
|
18786
|
+
}[];
|
|
18787
|
+
observedAt: string;
|
|
18788
|
+
}, {
|
|
18789
|
+
orgId: string;
|
|
18790
|
+
projectId: string;
|
|
18791
|
+
envName: string;
|
|
18792
|
+
sources: {
|
|
18793
|
+
source: string;
|
|
18794
|
+
resources?: {
|
|
18795
|
+
mode: "data" | "managed";
|
|
18796
|
+
tfType: string;
|
|
18797
|
+
tfName: string;
|
|
18798
|
+
tfAddress: string;
|
|
18799
|
+
tfModule?: string | undefined;
|
|
18800
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18801
|
+
}[] | undefined;
|
|
18802
|
+
dependencies?: {
|
|
18803
|
+
fromAddress: string;
|
|
18804
|
+
toAddress: string;
|
|
18805
|
+
crossStackSource?: string | undefined;
|
|
18806
|
+
}[] | undefined;
|
|
18807
|
+
}[];
|
|
18808
|
+
observedAt: string;
|
|
18809
|
+
}>, ObservationImportResult>;
|
|
18810
|
+
};
|
|
18676
18811
|
catalogRevisions: {
|
|
18677
18812
|
list: SchemaFn<zod.ZodObject<{
|
|
18678
18813
|
orgId: zod.ZodString;
|