@alienplatform/platform-api 3.3.13 → 3.3.14
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/FUNCTIONS.md +1 -1
- package/README.md +16 -13
- package/esm/funcs/{workspacesDismissOnboarding.d.ts → gatewaysGetWorkspaceOverview.d.ts} +3 -3
- package/esm/funcs/gatewaysGetWorkspaceOverview.d.ts.map +1 -0
- package/esm/funcs/{workspacesDismissOnboarding.js → gatewaysGetWorkspaceOverview.js} +10 -10
- package/esm/funcs/gatewaysGetWorkspaceOverview.js.map +1 -0
- package/esm/funcs/projectsConfigureModels.js +2 -2
- package/esm/funcs/projectsConfigureModels.js.map +1 -1
- package/esm/models/aiavailabilityobservation.d.ts +96 -0
- package/esm/models/aiavailabilityobservation.d.ts.map +1 -0
- package/esm/models/aiavailabilityobservation.js +79 -0
- package/esm/models/aiavailabilityobservation.js.map +1 -0
- package/esm/models/deploymentconfig.d.ts +5092 -0
- package/esm/models/deploymentconfig.d.ts.map +1 -0
- package/esm/models/deploymentconfig.js +3901 -0
- package/esm/models/deploymentconfig.js.map +1 -0
- package/esm/models/deploymentinfo.d.ts +2 -92
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +2 -75
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentstate.d.ts +10610 -0
- package/esm/models/deploymentstate.d.ts.map +1 -0
- package/esm/models/deploymentstate.js +7852 -0
- package/esm/models/deploymentstate.js.map +1 -0
- package/esm/models/event.d.ts +7 -7
- package/esm/models/event.d.ts.map +1 -1
- package/esm/models/event.js +7 -7
- package/esm/models/event.js.map +1 -1
- package/esm/models/eventlistitemresponse.d.ts +7 -7
- package/esm/models/eventlistitemresponse.d.ts.map +1 -1
- package/esm/models/eventlistitemresponse.js +8 -8
- package/esm/models/eventlistitemresponse.js.map +1 -1
- package/esm/models/gatewaykind.d.ts +10 -0
- package/esm/models/gatewaykind.d.ts.map +1 -0
- package/esm/models/gatewaykind.js +11 -0
- package/esm/models/gatewaykind.js.map +1 -0
- package/esm/models/gatewayprojectoverview.d.ts +17 -0
- package/esm/models/gatewayprojectoverview.d.ts.map +1 -0
- package/esm/models/gatewayprojectoverview.js +20 -0
- package/esm/models/gatewayprojectoverview.js.map +1 -0
- package/esm/models/gatewayprojectstate.d.ts +12 -0
- package/esm/models/gatewayprojectstate.d.ts.map +1 -0
- package/esm/models/gatewayprojectstate.js +13 -0
- package/esm/models/gatewayprojectstate.js.map +1 -0
- package/esm/models/index.d.ts +9 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +9 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/observedinventorybatch.d.ts +269 -0
- package/esm/models/observedinventorybatch.d.ts.map +1 -0
- package/esm/models/observedinventorybatch.js +161 -0
- package/esm/models/observedinventorybatch.js.map +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +12 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/getworkspacegatewayoverview.d.ts +18 -0
- package/esm/models/operations/getworkspacegatewayoverview.d.ts.map +1 -0
- package/esm/models/operations/getworkspacegatewayoverview.js +14 -0
- package/esm/models/operations/getworkspacegatewayoverview.js.map +1 -0
- package/esm/models/operations/index.d.ts +1 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +1 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/projectcapabilityoverview.d.ts +4 -4
- package/esm/models/projectcapabilityoverview.d.ts.map +1 -1
- package/esm/models/projectcapabilityoverview.js +4 -4
- package/esm/models/projectcapabilityoverview.js.map +1 -1
- package/esm/models/syncacquireresponsedeployment.d.ts +14 -12347
- package/esm/models/syncacquireresponsedeployment.d.ts.map +1 -1
- package/esm/models/syncacquireresponsedeployment.js +5 -8637
- package/esm/models/syncacquireresponsedeployment.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +5825 -15445
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +1672 -6199
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreconcileresponse.d.ts +9 -14009
- package/esm/models/syncreconcileresponse.d.ts.map +1 -1
- package/esm/models/syncreconcileresponse.js +5 -9279
- package/esm/models/syncreconcileresponse.js.map +1 -1
- package/esm/models/targetdeployment.d.ts +6756 -0
- package/esm/models/targetdeployment.d.ts.map +1 -0
- package/esm/models/targetdeployment.js +4825 -0
- package/esm/models/targetdeployment.js.map +1 -0
- package/esm/models/workspace.d.ts +0 -4
- package/esm/models/workspace.d.ts.map +1 -1
- package/esm/models/workspace.js +0 -1
- package/esm/models/workspace.js.map +1 -1
- package/esm/models/workspacegatewayoverview.d.ts +24 -0
- package/esm/models/workspacegatewayoverview.d.ts.map +1 -0
- package/esm/models/workspacegatewayoverview.js +28 -0
- package/esm/models/workspacegatewayoverview.js.map +1 -0
- package/esm/sdk/apikeys.d.ts +4 -4
- package/esm/sdk/apikeys.d.ts.map +1 -1
- package/esm/sdk/apikeys.js +6 -6
- package/esm/sdk/commands.d.ts +4 -4
- package/esm/sdk/commands.d.ts.map +1 -1
- package/esm/sdk/commands.js +6 -6
- package/esm/sdk/commands.js.map +1 -1
- package/esm/sdk/debugsessions.d.ts +4 -4
- package/esm/sdk/debugsessions.d.ts.map +1 -1
- package/esm/sdk/debugsessions.js +6 -6
- package/esm/sdk/debugsessions.js.map +1 -1
- package/esm/sdk/deploymentgroups.d.ts +12 -12
- package/esm/sdk/deploymentgroups.d.ts.map +1 -1
- package/esm/sdk/deploymentgroups.js +18 -18
- package/esm/sdk/deploymentgroups.js.map +1 -1
- package/esm/sdk/gateways.d.ts +10 -0
- package/esm/sdk/gateways.d.ts.map +1 -0
- package/esm/sdk/gateways.js +15 -0
- package/esm/sdk/gateways.js.map +1 -0
- package/esm/sdk/machines.d.ts +1 -1
- package/esm/sdk/machines.d.ts.map +1 -1
- package/esm/sdk/machines.js +3 -3
- package/esm/sdk/machines.js.map +1 -1
- package/esm/sdk/managers.d.ts +4 -4
- package/esm/sdk/managers.d.ts.map +1 -1
- package/esm/sdk/managers.js +6 -6
- package/esm/sdk/managers.js.map +1 -1
- package/esm/sdk/projects.d.ts +4 -4
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +6 -6
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/workspaces.d.ts +6 -10
- package/esm/sdk/workspaces.d.ts.map +1 -1
- package/esm/sdk/workspaces.js +9 -16
- package/esm/sdk/workspaces.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/{workspacesDismissOnboarding.ts → gatewaysGetWorkspaceOverview.ts} +15 -15
- package/src/funcs/projectsConfigureModels.ts +3 -3
- package/src/models/aiavailabilityobservation.ts +173 -0
- package/src/models/deploymentconfig.ts +13209 -0
- package/src/models/deploymentinfo.ts +6 -163
- package/src/models/deploymentstate.ts +26548 -0
- package/src/models/event.ts +17 -17
- package/src/models/eventlistitemresponse.ts +18 -18
- package/src/models/gatewaykind.ts +17 -0
- package/src/models/gatewayprojectoverview.ts +46 -0
- package/src/models/gatewayprojectstate.ts +19 -0
- package/src/models/index.ts +9 -0
- package/src/models/observedinventorybatch.ts +443 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +12 -0
- package/src/models/operations/getworkspacegatewayoverview.ts +39 -0
- package/src/models/operations/index.ts +1 -1
- package/src/models/projectcapabilityoverview.ts +11 -8
- package/src/models/syncacquireresponsedeployment.ts +23 -33469
- package/src/models/syncreconcilerequest.ts +8877 -27476
- package/src/models/syncreconcileresponse.ts +18 -34915
- package/src/models/targetdeployment.ts +16516 -0
- package/src/models/workspace.ts +0 -7
- package/src/models/workspacegatewayoverview.ts +70 -0
- package/src/sdk/apikeys.ts +10 -10
- package/src/sdk/commands.ts +8 -8
- package/src/sdk/debugsessions.ts +8 -8
- package/src/sdk/deploymentgroups.ts +28 -28
- package/src/sdk/gateways.ts +25 -0
- package/src/sdk/machines.ts +8 -8
- package/src/sdk/managers.ts +10 -10
- package/src/sdk/projects.ts +10 -10
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/workspaces.ts +15 -30
- package/esm/funcs/workspacesDismissOnboarding.d.ts.map +0 -1
- package/esm/funcs/workspacesDismissOnboarding.js.map +0 -1
- package/esm/models/operations/dismissworkspaceonboarding.d.ts +0 -20
- package/esm/models/operations/dismissworkspaceonboarding.d.ts.map +0 -1
- package/esm/models/operations/dismissworkspaceonboarding.js +0 -13
- package/esm/models/operations/dismissworkspaceonboarding.js.map +0 -1
- package/src/models/operations/dismissworkspaceonboarding.ts +0 -41
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Backend whose observer produced this snapshot.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ObservedInventoryBatchBackend: {
|
|
7
|
+
readonly Aws: "aws";
|
|
8
|
+
readonly Gcp: "gcp";
|
|
9
|
+
readonly Azure: "azure";
|
|
10
|
+
readonly Kubernetes: "kubernetes";
|
|
11
|
+
readonly Local: "local";
|
|
12
|
+
readonly Managed: "managed";
|
|
13
|
+
readonly External: "external";
|
|
14
|
+
readonly Test: "test";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Backend whose observer produced this snapshot.
|
|
18
|
+
*/
|
|
19
|
+
export type ObservedInventoryBatchBackend = ClosedEnum<typeof ObservedInventoryBatchBackend>;
|
|
20
|
+
/**
|
|
21
|
+
* Represents the target cloud platform.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ObservedInventoryBatchControllerPlatform: {
|
|
24
|
+
readonly Aws: "aws";
|
|
25
|
+
readonly Gcp: "gcp";
|
|
26
|
+
readonly Azure: "azure";
|
|
27
|
+
readonly Kubernetes: "kubernetes";
|
|
28
|
+
readonly Machines: "machines";
|
|
29
|
+
readonly Local: "local";
|
|
30
|
+
readonly Test: "test";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Represents the target cloud platform.
|
|
34
|
+
*/
|
|
35
|
+
export type ObservedInventoryBatchControllerPlatform = ClosedEnum<typeof ObservedInventoryBatchControllerPlatform>;
|
|
36
|
+
export declare const ObservedInventoryBatchReason: {
|
|
37
|
+
readonly Forbidden: "forbidden";
|
|
38
|
+
readonly NotInstalled: "not-installed";
|
|
39
|
+
readonly ApiUnavailable: "api-unavailable";
|
|
40
|
+
readonly CollectionFailed: "collection-failed";
|
|
41
|
+
readonly TimedOut: "timed-out";
|
|
42
|
+
};
|
|
43
|
+
export type ObservedInventoryBatchReason = ClosedEnum<typeof ObservedInventoryBatchReason>;
|
|
44
|
+
export declare const ObservedInventoryBatchSeverity: {
|
|
45
|
+
readonly Info: "info";
|
|
46
|
+
readonly Warning: "warning";
|
|
47
|
+
readonly Error: "error";
|
|
48
|
+
};
|
|
49
|
+
export type ObservedInventoryBatchSeverity = ClosedEnum<typeof ObservedInventoryBatchSeverity>;
|
|
50
|
+
export type ObservedInventoryBatchCollectionIssue = {
|
|
51
|
+
message: string;
|
|
52
|
+
reason: ObservedInventoryBatchReason;
|
|
53
|
+
severity: ObservedInventoryBatchSeverity;
|
|
54
|
+
source: string;
|
|
55
|
+
};
|
|
56
|
+
export type Counts = {
|
|
57
|
+
current?: number | null | undefined;
|
|
58
|
+
desired?: number | null | undefined;
|
|
59
|
+
ready?: number | null | undefined;
|
|
60
|
+
};
|
|
61
|
+
export type CountsUnion = Counts | any;
|
|
62
|
+
export declare const ObservedInventoryBatchHealth: {
|
|
63
|
+
readonly Unknown: "unknown";
|
|
64
|
+
readonly Healthy: "healthy";
|
|
65
|
+
readonly Degraded: "degraded";
|
|
66
|
+
readonly Unhealthy: "unhealthy";
|
|
67
|
+
};
|
|
68
|
+
export type ObservedInventoryBatchHealth = ClosedEnum<typeof ObservedInventoryBatchHealth>;
|
|
69
|
+
export declare const ObservedInventoryBatchLifecycle: {
|
|
70
|
+
readonly Unknown: "unknown";
|
|
71
|
+
readonly Creating: "creating";
|
|
72
|
+
readonly Updating: "updating";
|
|
73
|
+
readonly Running: "running";
|
|
74
|
+
readonly Scaling: "scaling";
|
|
75
|
+
readonly Stopping: "stopping";
|
|
76
|
+
readonly Stopped: "stopped";
|
|
77
|
+
readonly Deleting: "deleting";
|
|
78
|
+
readonly Deleted: "deleted";
|
|
79
|
+
readonly Failed: "failed";
|
|
80
|
+
};
|
|
81
|
+
export type ObservedInventoryBatchLifecycle = ClosedEnum<typeof ObservedInventoryBatchLifecycle>;
|
|
82
|
+
export declare const ObservedInventoryBatchFormat: {
|
|
83
|
+
readonly Json: "json";
|
|
84
|
+
readonly Yaml: "yaml";
|
|
85
|
+
readonly Text: "text";
|
|
86
|
+
};
|
|
87
|
+
export type ObservedInventoryBatchFormat = ClosedEnum<typeof ObservedInventoryBatchFormat>;
|
|
88
|
+
export type ObservedInventoryBatchRaw = {
|
|
89
|
+
body: string;
|
|
90
|
+
collectedAt: Date;
|
|
91
|
+
format: ObservedInventoryBatchFormat;
|
|
92
|
+
source: string;
|
|
93
|
+
truncated: boolean;
|
|
94
|
+
};
|
|
95
|
+
export type ResourceTypeHint = string | any;
|
|
96
|
+
export type ObservedInventoryBatchResource = {
|
|
97
|
+
alienResourceId?: string | null | undefined;
|
|
98
|
+
attributes?: {
|
|
99
|
+
[k: string]: any | null;
|
|
100
|
+
} | undefined;
|
|
101
|
+
collectionIssues?: Array<ObservedInventoryBatchCollectionIssue> | undefined;
|
|
102
|
+
counts?: Counts | any | null | undefined;
|
|
103
|
+
deploymentId?: string | null | undefined;
|
|
104
|
+
displayName: string;
|
|
105
|
+
health: ObservedInventoryBatchHealth;
|
|
106
|
+
labels?: {
|
|
107
|
+
[k: string]: string;
|
|
108
|
+
} | undefined;
|
|
109
|
+
lifecycle: ObservedInventoryBatchLifecycle;
|
|
110
|
+
message?: string | null | undefined;
|
|
111
|
+
namespace?: string | null | undefined;
|
|
112
|
+
partial: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Provider-native kind, such as `apps/v1/Deployment`,
|
|
115
|
+
*
|
|
116
|
+
* @remarks
|
|
117
|
+
* `AWS::S3::Bucket`, `storage.googleapis.com/Bucket`, or an Azure
|
|
118
|
+
* resource type.
|
|
119
|
+
*/
|
|
120
|
+
providerKind: string;
|
|
121
|
+
providerStale: boolean;
|
|
122
|
+
raw?: Array<ObservedInventoryBatchRaw> | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* Provider-native stable identity: Kubernetes object identity, cloud ARN,
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
* GCP full resource name, Azure resource id, etc.
|
|
128
|
+
*/
|
|
129
|
+
rawIdentity: string;
|
|
130
|
+
region?: string | null | undefined;
|
|
131
|
+
resourceTypeHint?: string | any | null | undefined;
|
|
132
|
+
scope?: string | null | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Release/version identity observed from the provider resource, when available.
|
|
135
|
+
*/
|
|
136
|
+
version?: string | null | undefined;
|
|
137
|
+
};
|
|
138
|
+
export type ObservedInventoryBatch = {
|
|
139
|
+
/**
|
|
140
|
+
* Backend whose observer produced this snapshot.
|
|
141
|
+
*/
|
|
142
|
+
backend: ObservedInventoryBatchBackend;
|
|
143
|
+
/**
|
|
144
|
+
* Whether this batch is a complete replacement for the scope. Complete
|
|
145
|
+
*
|
|
146
|
+
* @remarks
|
|
147
|
+
* batches tombstone previously observed rows in the same scope when they
|
|
148
|
+
* are absent from `resources`.
|
|
149
|
+
*/
|
|
150
|
+
complete: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Represents the target cloud platform.
|
|
153
|
+
*/
|
|
154
|
+
controllerPlatform: ObservedInventoryBatchControllerPlatform;
|
|
155
|
+
/**
|
|
156
|
+
* Stable scope for the provider list operation that produced this batch.
|
|
157
|
+
*/
|
|
158
|
+
inventoryScope: string;
|
|
159
|
+
/**
|
|
160
|
+
* Time the inventory scope was observed.
|
|
161
|
+
*/
|
|
162
|
+
observedAt: Date;
|
|
163
|
+
resources: Array<ObservedInventoryBatchResource>;
|
|
164
|
+
/**
|
|
165
|
+
* Writer/source for this inventory pass, such as `operator` or
|
|
166
|
+
*
|
|
167
|
+
* @remarks
|
|
168
|
+
* `manager-observer`.
|
|
169
|
+
*/
|
|
170
|
+
sourceKind: string;
|
|
171
|
+
};
|
|
172
|
+
/** @internal */
|
|
173
|
+
export declare const ObservedInventoryBatchBackend$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchBackend>;
|
|
174
|
+
/** @internal */
|
|
175
|
+
export declare const ObservedInventoryBatchControllerPlatform$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchControllerPlatform>;
|
|
176
|
+
/** @internal */
|
|
177
|
+
export declare const ObservedInventoryBatchReason$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchReason>;
|
|
178
|
+
/** @internal */
|
|
179
|
+
export declare const ObservedInventoryBatchSeverity$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchSeverity>;
|
|
180
|
+
/** @internal */
|
|
181
|
+
export type ObservedInventoryBatchCollectionIssue$Outbound = {
|
|
182
|
+
message: string;
|
|
183
|
+
reason: string;
|
|
184
|
+
severity: string;
|
|
185
|
+
source: string;
|
|
186
|
+
};
|
|
187
|
+
/** @internal */
|
|
188
|
+
export declare const ObservedInventoryBatchCollectionIssue$outboundSchema: z.ZodType<ObservedInventoryBatchCollectionIssue$Outbound, ObservedInventoryBatchCollectionIssue>;
|
|
189
|
+
export declare function observedInventoryBatchCollectionIssueToJSON(observedInventoryBatchCollectionIssue: ObservedInventoryBatchCollectionIssue): string;
|
|
190
|
+
/** @internal */
|
|
191
|
+
export type Counts$Outbound = {
|
|
192
|
+
current?: number | null | undefined;
|
|
193
|
+
desired?: number | null | undefined;
|
|
194
|
+
ready?: number | null | undefined;
|
|
195
|
+
};
|
|
196
|
+
/** @internal */
|
|
197
|
+
export declare const Counts$outboundSchema: z.ZodType<Counts$Outbound, Counts>;
|
|
198
|
+
export declare function countsToJSON(counts: Counts): string;
|
|
199
|
+
/** @internal */
|
|
200
|
+
export type CountsUnion$Outbound = Counts$Outbound | any;
|
|
201
|
+
/** @internal */
|
|
202
|
+
export declare const CountsUnion$outboundSchema: z.ZodType<CountsUnion$Outbound, CountsUnion>;
|
|
203
|
+
export declare function countsUnionToJSON(countsUnion: CountsUnion): string;
|
|
204
|
+
/** @internal */
|
|
205
|
+
export declare const ObservedInventoryBatchHealth$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchHealth>;
|
|
206
|
+
/** @internal */
|
|
207
|
+
export declare const ObservedInventoryBatchLifecycle$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchLifecycle>;
|
|
208
|
+
/** @internal */
|
|
209
|
+
export declare const ObservedInventoryBatchFormat$outboundSchema: z.ZodEnum<typeof ObservedInventoryBatchFormat>;
|
|
210
|
+
/** @internal */
|
|
211
|
+
export type ObservedInventoryBatchRaw$Outbound = {
|
|
212
|
+
body: string;
|
|
213
|
+
collectedAt: string;
|
|
214
|
+
format: string;
|
|
215
|
+
source: string;
|
|
216
|
+
truncated: boolean;
|
|
217
|
+
};
|
|
218
|
+
/** @internal */
|
|
219
|
+
export declare const ObservedInventoryBatchRaw$outboundSchema: z.ZodType<ObservedInventoryBatchRaw$Outbound, ObservedInventoryBatchRaw>;
|
|
220
|
+
export declare function observedInventoryBatchRawToJSON(observedInventoryBatchRaw: ObservedInventoryBatchRaw): string;
|
|
221
|
+
/** @internal */
|
|
222
|
+
export type ResourceTypeHint$Outbound = string | any;
|
|
223
|
+
/** @internal */
|
|
224
|
+
export declare const ResourceTypeHint$outboundSchema: z.ZodType<ResourceTypeHint$Outbound, ResourceTypeHint>;
|
|
225
|
+
export declare function resourceTypeHintToJSON(resourceTypeHint: ResourceTypeHint): string;
|
|
226
|
+
/** @internal */
|
|
227
|
+
export type ObservedInventoryBatchResource$Outbound = {
|
|
228
|
+
alienResourceId?: string | null | undefined;
|
|
229
|
+
attributes?: {
|
|
230
|
+
[k: string]: any | null;
|
|
231
|
+
} | undefined;
|
|
232
|
+
collectionIssues?: Array<ObservedInventoryBatchCollectionIssue$Outbound> | undefined;
|
|
233
|
+
counts?: Counts$Outbound | any | null | undefined;
|
|
234
|
+
deploymentId?: string | null | undefined;
|
|
235
|
+
displayName: string;
|
|
236
|
+
health: string;
|
|
237
|
+
labels?: {
|
|
238
|
+
[k: string]: string;
|
|
239
|
+
} | undefined;
|
|
240
|
+
lifecycle: string;
|
|
241
|
+
message?: string | null | undefined;
|
|
242
|
+
namespace?: string | null | undefined;
|
|
243
|
+
partial: boolean;
|
|
244
|
+
providerKind: string;
|
|
245
|
+
providerStale: boolean;
|
|
246
|
+
raw?: Array<ObservedInventoryBatchRaw$Outbound> | undefined;
|
|
247
|
+
rawIdentity: string;
|
|
248
|
+
region?: string | null | undefined;
|
|
249
|
+
resourceTypeHint?: string | any | null | undefined;
|
|
250
|
+
scope?: string | null | undefined;
|
|
251
|
+
version?: string | null | undefined;
|
|
252
|
+
};
|
|
253
|
+
/** @internal */
|
|
254
|
+
export declare const ObservedInventoryBatchResource$outboundSchema: z.ZodType<ObservedInventoryBatchResource$Outbound, ObservedInventoryBatchResource>;
|
|
255
|
+
export declare function observedInventoryBatchResourceToJSON(observedInventoryBatchResource: ObservedInventoryBatchResource): string;
|
|
256
|
+
/** @internal */
|
|
257
|
+
export type ObservedInventoryBatch$Outbound = {
|
|
258
|
+
backend: string;
|
|
259
|
+
complete: boolean;
|
|
260
|
+
controllerPlatform: string;
|
|
261
|
+
inventoryScope: string;
|
|
262
|
+
observedAt: string;
|
|
263
|
+
resources: Array<ObservedInventoryBatchResource$Outbound>;
|
|
264
|
+
sourceKind: string;
|
|
265
|
+
};
|
|
266
|
+
/** @internal */
|
|
267
|
+
export declare const ObservedInventoryBatch$outboundSchema: z.ZodType<ObservedInventoryBatch$Outbound, ObservedInventoryBatch>;
|
|
268
|
+
export declare function observedInventoryBatchToJSON(observedInventoryBatch: ObservedInventoryBatch): string;
|
|
269
|
+
//# sourceMappingURL=observedinventorybatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observedinventorybatch.d.ts","sourceRoot":"","sources":["../../src/models/observedinventorybatch.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;CAShC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;CAQ3C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG,UAAU,CAC/D,OAAO,wCAAwC,CAChD,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;CAM/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;CAIjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,4BAA4B,CAAC;IACrC,QAAQ,EAAE,8BAA8B,CAAC;IACzC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,KAAK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vB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC1D,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,sBAAsB,CAWtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
/**
|
|
6
|
+
* Backend whose observer produced this snapshot.
|
|
7
|
+
*/
|
|
8
|
+
export const ObservedInventoryBatchBackend = {
|
|
9
|
+
Aws: "aws",
|
|
10
|
+
Gcp: "gcp",
|
|
11
|
+
Azure: "azure",
|
|
12
|
+
Kubernetes: "kubernetes",
|
|
13
|
+
Local: "local",
|
|
14
|
+
Managed: "managed",
|
|
15
|
+
External: "external",
|
|
16
|
+
Test: "test",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Represents the target cloud platform.
|
|
20
|
+
*/
|
|
21
|
+
export const ObservedInventoryBatchControllerPlatform = {
|
|
22
|
+
Aws: "aws",
|
|
23
|
+
Gcp: "gcp",
|
|
24
|
+
Azure: "azure",
|
|
25
|
+
Kubernetes: "kubernetes",
|
|
26
|
+
Machines: "machines",
|
|
27
|
+
Local: "local",
|
|
28
|
+
Test: "test",
|
|
29
|
+
};
|
|
30
|
+
export const ObservedInventoryBatchReason = {
|
|
31
|
+
Forbidden: "forbidden",
|
|
32
|
+
NotInstalled: "not-installed",
|
|
33
|
+
ApiUnavailable: "api-unavailable",
|
|
34
|
+
CollectionFailed: "collection-failed",
|
|
35
|
+
TimedOut: "timed-out",
|
|
36
|
+
};
|
|
37
|
+
export const ObservedInventoryBatchSeverity = {
|
|
38
|
+
Info: "info",
|
|
39
|
+
Warning: "warning",
|
|
40
|
+
Error: "error",
|
|
41
|
+
};
|
|
42
|
+
export const ObservedInventoryBatchHealth = {
|
|
43
|
+
Unknown: "unknown",
|
|
44
|
+
Healthy: "healthy",
|
|
45
|
+
Degraded: "degraded",
|
|
46
|
+
Unhealthy: "unhealthy",
|
|
47
|
+
};
|
|
48
|
+
export const ObservedInventoryBatchLifecycle = {
|
|
49
|
+
Unknown: "unknown",
|
|
50
|
+
Creating: "creating",
|
|
51
|
+
Updating: "updating",
|
|
52
|
+
Running: "running",
|
|
53
|
+
Scaling: "scaling",
|
|
54
|
+
Stopping: "stopping",
|
|
55
|
+
Stopped: "stopped",
|
|
56
|
+
Deleting: "deleting",
|
|
57
|
+
Deleted: "deleted",
|
|
58
|
+
Failed: "failed",
|
|
59
|
+
};
|
|
60
|
+
export const ObservedInventoryBatchFormat = {
|
|
61
|
+
Json: "json",
|
|
62
|
+
Yaml: "yaml",
|
|
63
|
+
Text: "text",
|
|
64
|
+
};
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const ObservedInventoryBatchBackend$outboundSchema = z.enum(ObservedInventoryBatchBackend);
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const ObservedInventoryBatchControllerPlatform$outboundSchema = z.enum(ObservedInventoryBatchControllerPlatform);
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const ObservedInventoryBatchReason$outboundSchema = z.enum(ObservedInventoryBatchReason);
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const ObservedInventoryBatchSeverity$outboundSchema = z.enum(ObservedInventoryBatchSeverity);
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const ObservedInventoryBatchCollectionIssue$outboundSchema = z.object({
|
|
75
|
+
message: z.string(),
|
|
76
|
+
reason: ObservedInventoryBatchReason$outboundSchema,
|
|
77
|
+
severity: ObservedInventoryBatchSeverity$outboundSchema,
|
|
78
|
+
source: z.string(),
|
|
79
|
+
});
|
|
80
|
+
export function observedInventoryBatchCollectionIssueToJSON(observedInventoryBatchCollectionIssue) {
|
|
81
|
+
return JSON.stringify(ObservedInventoryBatchCollectionIssue$outboundSchema.parse(observedInventoryBatchCollectionIssue));
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const Counts$outboundSchema = z
|
|
85
|
+
.object({
|
|
86
|
+
current: z.nullable(z.int()).optional(),
|
|
87
|
+
desired: z.nullable(z.int()).optional(),
|
|
88
|
+
ready: z.nullable(z.int()).optional(),
|
|
89
|
+
});
|
|
90
|
+
export function countsToJSON(counts) {
|
|
91
|
+
return JSON.stringify(Counts$outboundSchema.parse(counts));
|
|
92
|
+
}
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const CountsUnion$outboundSchema = z.union([z.lazy(() => Counts$outboundSchema), z.any()]);
|
|
95
|
+
export function countsUnionToJSON(countsUnion) {
|
|
96
|
+
return JSON.stringify(CountsUnion$outboundSchema.parse(countsUnion));
|
|
97
|
+
}
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const ObservedInventoryBatchHealth$outboundSchema = z.enum(ObservedInventoryBatchHealth);
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const ObservedInventoryBatchLifecycle$outboundSchema = z.enum(ObservedInventoryBatchLifecycle);
|
|
102
|
+
/** @internal */
|
|
103
|
+
export const ObservedInventoryBatchFormat$outboundSchema = z.enum(ObservedInventoryBatchFormat);
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const ObservedInventoryBatchRaw$outboundSchema = z.object({
|
|
106
|
+
body: z.string(),
|
|
107
|
+
collectedAt: z.date().transform(v => v.toISOString()),
|
|
108
|
+
format: ObservedInventoryBatchFormat$outboundSchema,
|
|
109
|
+
source: z.string(),
|
|
110
|
+
truncated: z.boolean(),
|
|
111
|
+
});
|
|
112
|
+
export function observedInventoryBatchRawToJSON(observedInventoryBatchRaw) {
|
|
113
|
+
return JSON.stringify(ObservedInventoryBatchRaw$outboundSchema.parse(observedInventoryBatchRaw));
|
|
114
|
+
}
|
|
115
|
+
/** @internal */
|
|
116
|
+
export const ResourceTypeHint$outboundSchema = z.union([z.string(), z.any()]);
|
|
117
|
+
export function resourceTypeHintToJSON(resourceTypeHint) {
|
|
118
|
+
return JSON.stringify(ResourceTypeHint$outboundSchema.parse(resourceTypeHint));
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
export const ObservedInventoryBatchResource$outboundSchema = z.object({
|
|
122
|
+
alienResourceId: z.nullable(z.string()).optional(),
|
|
123
|
+
attributes: z.record(z.string(), z.nullable(z.any())).optional(),
|
|
124
|
+
collectionIssues: z.array(z.lazy(() => ObservedInventoryBatchCollectionIssue$outboundSchema)).optional(),
|
|
125
|
+
counts: z.nullable(z.union([z.lazy(() => Counts$outboundSchema), z.any()]))
|
|
126
|
+
.optional(),
|
|
127
|
+
deploymentId: z.nullable(z.string()).optional(),
|
|
128
|
+
displayName: z.string(),
|
|
129
|
+
health: ObservedInventoryBatchHealth$outboundSchema,
|
|
130
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
131
|
+
lifecycle: ObservedInventoryBatchLifecycle$outboundSchema,
|
|
132
|
+
message: z.nullable(z.string()).optional(),
|
|
133
|
+
namespace: z.nullable(z.string()).optional(),
|
|
134
|
+
partial: z.boolean(),
|
|
135
|
+
providerKind: z.string(),
|
|
136
|
+
providerStale: z.boolean(),
|
|
137
|
+
raw: z.array(z.lazy(() => ObservedInventoryBatchRaw$outboundSchema))
|
|
138
|
+
.optional(),
|
|
139
|
+
rawIdentity: z.string(),
|
|
140
|
+
region: z.nullable(z.string()).optional(),
|
|
141
|
+
resourceTypeHint: z.nullable(z.union([z.string(), z.any()])).optional(),
|
|
142
|
+
scope: z.nullable(z.string()).optional(),
|
|
143
|
+
version: z.nullable(z.string()).optional(),
|
|
144
|
+
});
|
|
145
|
+
export function observedInventoryBatchResourceToJSON(observedInventoryBatchResource) {
|
|
146
|
+
return JSON.stringify(ObservedInventoryBatchResource$outboundSchema.parse(observedInventoryBatchResource));
|
|
147
|
+
}
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const ObservedInventoryBatch$outboundSchema = z.object({
|
|
150
|
+
backend: ObservedInventoryBatchBackend$outboundSchema,
|
|
151
|
+
complete: z.boolean(),
|
|
152
|
+
controllerPlatform: ObservedInventoryBatchControllerPlatform$outboundSchema,
|
|
153
|
+
inventoryScope: z.string(),
|
|
154
|
+
observedAt: z.date().transform(v => v.toISOString()),
|
|
155
|
+
resources: z.array(z.lazy(() => ObservedInventoryBatchResource$outboundSchema)),
|
|
156
|
+
sourceKind: z.string(),
|
|
157
|
+
});
|
|
158
|
+
export function observedInventoryBatchToJSON(observedInventoryBatch) {
|
|
159
|
+
return JSON.stringify(ObservedInventoryBatch$outboundSchema.parse(observedInventoryBatch));
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=observedinventorybatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observedinventorybatch.js","sourceRoot":"","sources":["../../src/models/observedinventorybatch.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX,MAAM,CAAC,MAAM,4B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,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC"}
|
|
@@ -2698,6 +2698,9 @@ export type DataStatus36 = {
|
|
|
2698
2698
|
partial: boolean;
|
|
2699
2699
|
stale: boolean;
|
|
2700
2700
|
};
|
|
2701
|
+
/**
|
|
2702
|
+
* Local embedded Postgres backend.
|
|
2703
|
+
*/
|
|
2701
2704
|
export type DataLocal8 = {
|
|
2702
2705
|
name: string;
|
|
2703
2706
|
port?: number | null | undefined;
|
|
@@ -2754,6 +2757,9 @@ export type DataStatus35 = {
|
|
|
2754
2757
|
partial: boolean;
|
|
2755
2758
|
stale: boolean;
|
|
2756
2759
|
};
|
|
2760
|
+
/**
|
|
2761
|
+
* Azure Flexible Server backend.
|
|
2762
|
+
*/
|
|
2757
2763
|
export type DataFlexibleServer = {
|
|
2758
2764
|
serverName: string;
|
|
2759
2765
|
state?: string | null | undefined;
|
|
@@ -2809,6 +2815,9 @@ export type DataStatus34 = {
|
|
|
2809
2815
|
partial: boolean;
|
|
2810
2816
|
stale: boolean;
|
|
2811
2817
|
};
|
|
2818
|
+
/**
|
|
2819
|
+
* GCP Cloud SQL backend.
|
|
2820
|
+
*/
|
|
2812
2821
|
export type DataCloudSQL = {
|
|
2813
2822
|
databaseVersion?: string | null | undefined;
|
|
2814
2823
|
instanceName: string;
|
|
@@ -2864,6 +2873,9 @@ export type DataStatus33 = {
|
|
|
2864
2873
|
partial: boolean;
|
|
2865
2874
|
stale: boolean;
|
|
2866
2875
|
};
|
|
2876
|
+
/**
|
|
2877
|
+
* AWS Aurora Serverless v2 backend.
|
|
2878
|
+
*/
|
|
2867
2879
|
export type DataAurora = {
|
|
2868
2880
|
clusterIdentifier: string;
|
|
2869
2881
|
endpoint?: string | null | undefined;
|