@alienplatform/platform-api 3.3.13 → 3.3.16
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,443 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Backend whose observer produced this snapshot.
|
|
10
|
+
*/
|
|
11
|
+
export const ObservedInventoryBatchBackend = {
|
|
12
|
+
Aws: "aws",
|
|
13
|
+
Gcp: "gcp",
|
|
14
|
+
Azure: "azure",
|
|
15
|
+
Kubernetes: "kubernetes",
|
|
16
|
+
Local: "local",
|
|
17
|
+
Managed: "managed",
|
|
18
|
+
External: "external",
|
|
19
|
+
Test: "test",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Backend whose observer produced this snapshot.
|
|
23
|
+
*/
|
|
24
|
+
export type ObservedInventoryBatchBackend = ClosedEnum<
|
|
25
|
+
typeof ObservedInventoryBatchBackend
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Represents the target cloud platform.
|
|
30
|
+
*/
|
|
31
|
+
export const ObservedInventoryBatchControllerPlatform = {
|
|
32
|
+
Aws: "aws",
|
|
33
|
+
Gcp: "gcp",
|
|
34
|
+
Azure: "azure",
|
|
35
|
+
Kubernetes: "kubernetes",
|
|
36
|
+
Machines: "machines",
|
|
37
|
+
Local: "local",
|
|
38
|
+
Test: "test",
|
|
39
|
+
} as const;
|
|
40
|
+
/**
|
|
41
|
+
* Represents the target cloud platform.
|
|
42
|
+
*/
|
|
43
|
+
export type ObservedInventoryBatchControllerPlatform = ClosedEnum<
|
|
44
|
+
typeof ObservedInventoryBatchControllerPlatform
|
|
45
|
+
>;
|
|
46
|
+
|
|
47
|
+
export const ObservedInventoryBatchReason = {
|
|
48
|
+
Forbidden: "forbidden",
|
|
49
|
+
NotInstalled: "not-installed",
|
|
50
|
+
ApiUnavailable: "api-unavailable",
|
|
51
|
+
CollectionFailed: "collection-failed",
|
|
52
|
+
TimedOut: "timed-out",
|
|
53
|
+
} as const;
|
|
54
|
+
export type ObservedInventoryBatchReason = ClosedEnum<
|
|
55
|
+
typeof ObservedInventoryBatchReason
|
|
56
|
+
>;
|
|
57
|
+
|
|
58
|
+
export const ObservedInventoryBatchSeverity = {
|
|
59
|
+
Info: "info",
|
|
60
|
+
Warning: "warning",
|
|
61
|
+
Error: "error",
|
|
62
|
+
} as const;
|
|
63
|
+
export type ObservedInventoryBatchSeverity = ClosedEnum<
|
|
64
|
+
typeof ObservedInventoryBatchSeverity
|
|
65
|
+
>;
|
|
66
|
+
|
|
67
|
+
export type ObservedInventoryBatchCollectionIssue = {
|
|
68
|
+
message: string;
|
|
69
|
+
reason: ObservedInventoryBatchReason;
|
|
70
|
+
severity: ObservedInventoryBatchSeverity;
|
|
71
|
+
source: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export type Counts = {
|
|
75
|
+
current?: number | null | undefined;
|
|
76
|
+
desired?: number | null | undefined;
|
|
77
|
+
ready?: number | null | undefined;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export type CountsUnion = Counts | any;
|
|
81
|
+
|
|
82
|
+
export const ObservedInventoryBatchHealth = {
|
|
83
|
+
Unknown: "unknown",
|
|
84
|
+
Healthy: "healthy",
|
|
85
|
+
Degraded: "degraded",
|
|
86
|
+
Unhealthy: "unhealthy",
|
|
87
|
+
} as const;
|
|
88
|
+
export type ObservedInventoryBatchHealth = ClosedEnum<
|
|
89
|
+
typeof ObservedInventoryBatchHealth
|
|
90
|
+
>;
|
|
91
|
+
|
|
92
|
+
export const ObservedInventoryBatchLifecycle = {
|
|
93
|
+
Unknown: "unknown",
|
|
94
|
+
Creating: "creating",
|
|
95
|
+
Updating: "updating",
|
|
96
|
+
Running: "running",
|
|
97
|
+
Scaling: "scaling",
|
|
98
|
+
Stopping: "stopping",
|
|
99
|
+
Stopped: "stopped",
|
|
100
|
+
Deleting: "deleting",
|
|
101
|
+
Deleted: "deleted",
|
|
102
|
+
Failed: "failed",
|
|
103
|
+
} as const;
|
|
104
|
+
export type ObservedInventoryBatchLifecycle = ClosedEnum<
|
|
105
|
+
typeof ObservedInventoryBatchLifecycle
|
|
106
|
+
>;
|
|
107
|
+
|
|
108
|
+
export const ObservedInventoryBatchFormat = {
|
|
109
|
+
Json: "json",
|
|
110
|
+
Yaml: "yaml",
|
|
111
|
+
Text: "text",
|
|
112
|
+
} as const;
|
|
113
|
+
export type ObservedInventoryBatchFormat = ClosedEnum<
|
|
114
|
+
typeof ObservedInventoryBatchFormat
|
|
115
|
+
>;
|
|
116
|
+
|
|
117
|
+
export type ObservedInventoryBatchRaw = {
|
|
118
|
+
body: string;
|
|
119
|
+
collectedAt: Date;
|
|
120
|
+
format: ObservedInventoryBatchFormat;
|
|
121
|
+
source: string;
|
|
122
|
+
truncated: boolean;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export type ResourceTypeHint = string | any;
|
|
126
|
+
|
|
127
|
+
export type ObservedInventoryBatchResource = {
|
|
128
|
+
alienResourceId?: string | null | undefined;
|
|
129
|
+
attributes?: { [k: string]: any | null } | undefined;
|
|
130
|
+
collectionIssues?: Array<ObservedInventoryBatchCollectionIssue> | undefined;
|
|
131
|
+
counts?: Counts | any | null | undefined;
|
|
132
|
+
deploymentId?: string | null | undefined;
|
|
133
|
+
displayName: string;
|
|
134
|
+
health: ObservedInventoryBatchHealth;
|
|
135
|
+
labels?: { [k: string]: string } | undefined;
|
|
136
|
+
lifecycle: ObservedInventoryBatchLifecycle;
|
|
137
|
+
message?: string | null | undefined;
|
|
138
|
+
namespace?: string | null | undefined;
|
|
139
|
+
partial: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Provider-native kind, such as `apps/v1/Deployment`,
|
|
142
|
+
*
|
|
143
|
+
* @remarks
|
|
144
|
+
* `AWS::S3::Bucket`, `storage.googleapis.com/Bucket`, or an Azure
|
|
145
|
+
* resource type.
|
|
146
|
+
*/
|
|
147
|
+
providerKind: string;
|
|
148
|
+
providerStale: boolean;
|
|
149
|
+
raw?: Array<ObservedInventoryBatchRaw> | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Provider-native stable identity: Kubernetes object identity, cloud ARN,
|
|
152
|
+
*
|
|
153
|
+
* @remarks
|
|
154
|
+
* GCP full resource name, Azure resource id, etc.
|
|
155
|
+
*/
|
|
156
|
+
rawIdentity: string;
|
|
157
|
+
region?: string | null | undefined;
|
|
158
|
+
resourceTypeHint?: string | any | null | undefined;
|
|
159
|
+
scope?: string | null | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* Release/version identity observed from the provider resource, when available.
|
|
162
|
+
*/
|
|
163
|
+
version?: string | null | undefined;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export type ObservedInventoryBatch = {
|
|
167
|
+
/**
|
|
168
|
+
* Backend whose observer produced this snapshot.
|
|
169
|
+
*/
|
|
170
|
+
backend: ObservedInventoryBatchBackend;
|
|
171
|
+
/**
|
|
172
|
+
* Whether this batch is a complete replacement for the scope. Complete
|
|
173
|
+
*
|
|
174
|
+
* @remarks
|
|
175
|
+
* batches tombstone previously observed rows in the same scope when they
|
|
176
|
+
* are absent from `resources`.
|
|
177
|
+
*/
|
|
178
|
+
complete: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Represents the target cloud platform.
|
|
181
|
+
*/
|
|
182
|
+
controllerPlatform: ObservedInventoryBatchControllerPlatform;
|
|
183
|
+
/**
|
|
184
|
+
* Stable scope for the provider list operation that produced this batch.
|
|
185
|
+
*/
|
|
186
|
+
inventoryScope: string;
|
|
187
|
+
/**
|
|
188
|
+
* Time the inventory scope was observed.
|
|
189
|
+
*/
|
|
190
|
+
observedAt: Date;
|
|
191
|
+
resources: Array<ObservedInventoryBatchResource>;
|
|
192
|
+
/**
|
|
193
|
+
* Writer/source for this inventory pass, such as `operator` or
|
|
194
|
+
*
|
|
195
|
+
* @remarks
|
|
196
|
+
* `manager-observer`.
|
|
197
|
+
*/
|
|
198
|
+
sourceKind: string;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
/** @internal */
|
|
202
|
+
export const ObservedInventoryBatchBackend$outboundSchema: z.ZodEnum<
|
|
203
|
+
typeof ObservedInventoryBatchBackend
|
|
204
|
+
> = z.enum(ObservedInventoryBatchBackend);
|
|
205
|
+
|
|
206
|
+
/** @internal */
|
|
207
|
+
export const ObservedInventoryBatchControllerPlatform$outboundSchema: z.ZodEnum<
|
|
208
|
+
typeof ObservedInventoryBatchControllerPlatform
|
|
209
|
+
> = z.enum(ObservedInventoryBatchControllerPlatform);
|
|
210
|
+
|
|
211
|
+
/** @internal */
|
|
212
|
+
export const ObservedInventoryBatchReason$outboundSchema: z.ZodEnum<
|
|
213
|
+
typeof ObservedInventoryBatchReason
|
|
214
|
+
> = z.enum(ObservedInventoryBatchReason);
|
|
215
|
+
|
|
216
|
+
/** @internal */
|
|
217
|
+
export const ObservedInventoryBatchSeverity$outboundSchema: z.ZodEnum<
|
|
218
|
+
typeof ObservedInventoryBatchSeverity
|
|
219
|
+
> = z.enum(ObservedInventoryBatchSeverity);
|
|
220
|
+
|
|
221
|
+
/** @internal */
|
|
222
|
+
export type ObservedInventoryBatchCollectionIssue$Outbound = {
|
|
223
|
+
message: string;
|
|
224
|
+
reason: string;
|
|
225
|
+
severity: string;
|
|
226
|
+
source: string;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/** @internal */
|
|
230
|
+
export const ObservedInventoryBatchCollectionIssue$outboundSchema: z.ZodType<
|
|
231
|
+
ObservedInventoryBatchCollectionIssue$Outbound,
|
|
232
|
+
ObservedInventoryBatchCollectionIssue
|
|
233
|
+
> = z.object({
|
|
234
|
+
message: z.string(),
|
|
235
|
+
reason: ObservedInventoryBatchReason$outboundSchema,
|
|
236
|
+
severity: ObservedInventoryBatchSeverity$outboundSchema,
|
|
237
|
+
source: z.string(),
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
export function observedInventoryBatchCollectionIssueToJSON(
|
|
241
|
+
observedInventoryBatchCollectionIssue: ObservedInventoryBatchCollectionIssue,
|
|
242
|
+
): string {
|
|
243
|
+
return JSON.stringify(
|
|
244
|
+
ObservedInventoryBatchCollectionIssue$outboundSchema.parse(
|
|
245
|
+
observedInventoryBatchCollectionIssue,
|
|
246
|
+
),
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/** @internal */
|
|
251
|
+
export type Counts$Outbound = {
|
|
252
|
+
current?: number | null | undefined;
|
|
253
|
+
desired?: number | null | undefined;
|
|
254
|
+
ready?: number | null | undefined;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/** @internal */
|
|
258
|
+
export const Counts$outboundSchema: z.ZodType<Counts$Outbound, Counts> = z
|
|
259
|
+
.object({
|
|
260
|
+
current: z.nullable(z.int()).optional(),
|
|
261
|
+
desired: z.nullable(z.int()).optional(),
|
|
262
|
+
ready: z.nullable(z.int()).optional(),
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
export function countsToJSON(counts: Counts): string {
|
|
266
|
+
return JSON.stringify(Counts$outboundSchema.parse(counts));
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/** @internal */
|
|
270
|
+
export type CountsUnion$Outbound = Counts$Outbound | any;
|
|
271
|
+
|
|
272
|
+
/** @internal */
|
|
273
|
+
export const CountsUnion$outboundSchema: z.ZodType<
|
|
274
|
+
CountsUnion$Outbound,
|
|
275
|
+
CountsUnion
|
|
276
|
+
> = z.union([z.lazy(() => Counts$outboundSchema), z.any()]);
|
|
277
|
+
|
|
278
|
+
export function countsUnionToJSON(countsUnion: CountsUnion): string {
|
|
279
|
+
return JSON.stringify(CountsUnion$outboundSchema.parse(countsUnion));
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/** @internal */
|
|
283
|
+
export const ObservedInventoryBatchHealth$outboundSchema: z.ZodEnum<
|
|
284
|
+
typeof ObservedInventoryBatchHealth
|
|
285
|
+
> = z.enum(ObservedInventoryBatchHealth);
|
|
286
|
+
|
|
287
|
+
/** @internal */
|
|
288
|
+
export const ObservedInventoryBatchLifecycle$outboundSchema: z.ZodEnum<
|
|
289
|
+
typeof ObservedInventoryBatchLifecycle
|
|
290
|
+
> = z.enum(ObservedInventoryBatchLifecycle);
|
|
291
|
+
|
|
292
|
+
/** @internal */
|
|
293
|
+
export const ObservedInventoryBatchFormat$outboundSchema: z.ZodEnum<
|
|
294
|
+
typeof ObservedInventoryBatchFormat
|
|
295
|
+
> = z.enum(ObservedInventoryBatchFormat);
|
|
296
|
+
|
|
297
|
+
/** @internal */
|
|
298
|
+
export type ObservedInventoryBatchRaw$Outbound = {
|
|
299
|
+
body: string;
|
|
300
|
+
collectedAt: string;
|
|
301
|
+
format: string;
|
|
302
|
+
source: string;
|
|
303
|
+
truncated: boolean;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
/** @internal */
|
|
307
|
+
export const ObservedInventoryBatchRaw$outboundSchema: z.ZodType<
|
|
308
|
+
ObservedInventoryBatchRaw$Outbound,
|
|
309
|
+
ObservedInventoryBatchRaw
|
|
310
|
+
> = z.object({
|
|
311
|
+
body: z.string(),
|
|
312
|
+
collectedAt: z.date().transform(v => v.toISOString()),
|
|
313
|
+
format: ObservedInventoryBatchFormat$outboundSchema,
|
|
314
|
+
source: z.string(),
|
|
315
|
+
truncated: z.boolean(),
|
|
316
|
+
});
|
|
317
|
+
|
|
318
|
+
export function observedInventoryBatchRawToJSON(
|
|
319
|
+
observedInventoryBatchRaw: ObservedInventoryBatchRaw,
|
|
320
|
+
): string {
|
|
321
|
+
return JSON.stringify(
|
|
322
|
+
ObservedInventoryBatchRaw$outboundSchema.parse(observedInventoryBatchRaw),
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/** @internal */
|
|
327
|
+
export type ResourceTypeHint$Outbound = string | any;
|
|
328
|
+
|
|
329
|
+
/** @internal */
|
|
330
|
+
export const ResourceTypeHint$outboundSchema: z.ZodType<
|
|
331
|
+
ResourceTypeHint$Outbound,
|
|
332
|
+
ResourceTypeHint
|
|
333
|
+
> = z.union([z.string(), z.any()]);
|
|
334
|
+
|
|
335
|
+
export function resourceTypeHintToJSON(
|
|
336
|
+
resourceTypeHint: ResourceTypeHint,
|
|
337
|
+
): string {
|
|
338
|
+
return JSON.stringify(
|
|
339
|
+
ResourceTypeHint$outboundSchema.parse(resourceTypeHint),
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/** @internal */
|
|
344
|
+
export type ObservedInventoryBatchResource$Outbound = {
|
|
345
|
+
alienResourceId?: string | null | undefined;
|
|
346
|
+
attributes?: { [k: string]: any | null } | undefined;
|
|
347
|
+
collectionIssues?:
|
|
348
|
+
| Array<ObservedInventoryBatchCollectionIssue$Outbound>
|
|
349
|
+
| undefined;
|
|
350
|
+
counts?: Counts$Outbound | any | null | undefined;
|
|
351
|
+
deploymentId?: string | null | undefined;
|
|
352
|
+
displayName: string;
|
|
353
|
+
health: string;
|
|
354
|
+
labels?: { [k: string]: string } | undefined;
|
|
355
|
+
lifecycle: string;
|
|
356
|
+
message?: string | null | undefined;
|
|
357
|
+
namespace?: string | null | undefined;
|
|
358
|
+
partial: boolean;
|
|
359
|
+
providerKind: string;
|
|
360
|
+
providerStale: boolean;
|
|
361
|
+
raw?: Array<ObservedInventoryBatchRaw$Outbound> | undefined;
|
|
362
|
+
rawIdentity: string;
|
|
363
|
+
region?: string | null | undefined;
|
|
364
|
+
resourceTypeHint?: string | any | null | undefined;
|
|
365
|
+
scope?: string | null | undefined;
|
|
366
|
+
version?: string | null | undefined;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
/** @internal */
|
|
370
|
+
export const ObservedInventoryBatchResource$outboundSchema: z.ZodType<
|
|
371
|
+
ObservedInventoryBatchResource$Outbound,
|
|
372
|
+
ObservedInventoryBatchResource
|
|
373
|
+
> = z.object({
|
|
374
|
+
alienResourceId: z.nullable(z.string()).optional(),
|
|
375
|
+
attributes: z.record(z.string(), z.nullable(z.any())).optional(),
|
|
376
|
+
collectionIssues: z.array(
|
|
377
|
+
z.lazy(() => ObservedInventoryBatchCollectionIssue$outboundSchema),
|
|
378
|
+
).optional(),
|
|
379
|
+
counts: z.nullable(z.union([z.lazy(() => Counts$outboundSchema), z.any()]))
|
|
380
|
+
.optional(),
|
|
381
|
+
deploymentId: z.nullable(z.string()).optional(),
|
|
382
|
+
displayName: z.string(),
|
|
383
|
+
health: ObservedInventoryBatchHealth$outboundSchema,
|
|
384
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
385
|
+
lifecycle: ObservedInventoryBatchLifecycle$outboundSchema,
|
|
386
|
+
message: z.nullable(z.string()).optional(),
|
|
387
|
+
namespace: z.nullable(z.string()).optional(),
|
|
388
|
+
partial: z.boolean(),
|
|
389
|
+
providerKind: z.string(),
|
|
390
|
+
providerStale: z.boolean(),
|
|
391
|
+
raw: z.array(z.lazy(() => ObservedInventoryBatchRaw$outboundSchema))
|
|
392
|
+
.optional(),
|
|
393
|
+
rawIdentity: z.string(),
|
|
394
|
+
region: z.nullable(z.string()).optional(),
|
|
395
|
+
resourceTypeHint: z.nullable(z.union([z.string(), z.any()])).optional(),
|
|
396
|
+
scope: z.nullable(z.string()).optional(),
|
|
397
|
+
version: z.nullable(z.string()).optional(),
|
|
398
|
+
});
|
|
399
|
+
|
|
400
|
+
export function observedInventoryBatchResourceToJSON(
|
|
401
|
+
observedInventoryBatchResource: ObservedInventoryBatchResource,
|
|
402
|
+
): string {
|
|
403
|
+
return JSON.stringify(
|
|
404
|
+
ObservedInventoryBatchResource$outboundSchema.parse(
|
|
405
|
+
observedInventoryBatchResource,
|
|
406
|
+
),
|
|
407
|
+
);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/** @internal */
|
|
411
|
+
export type ObservedInventoryBatch$Outbound = {
|
|
412
|
+
backend: string;
|
|
413
|
+
complete: boolean;
|
|
414
|
+
controllerPlatform: string;
|
|
415
|
+
inventoryScope: string;
|
|
416
|
+
observedAt: string;
|
|
417
|
+
resources: Array<ObservedInventoryBatchResource$Outbound>;
|
|
418
|
+
sourceKind: string;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/** @internal */
|
|
422
|
+
export const ObservedInventoryBatch$outboundSchema: z.ZodType<
|
|
423
|
+
ObservedInventoryBatch$Outbound,
|
|
424
|
+
ObservedInventoryBatch
|
|
425
|
+
> = z.object({
|
|
426
|
+
backend: ObservedInventoryBatchBackend$outboundSchema,
|
|
427
|
+
complete: z.boolean(),
|
|
428
|
+
controllerPlatform: ObservedInventoryBatchControllerPlatform$outboundSchema,
|
|
429
|
+
inventoryScope: z.string(),
|
|
430
|
+
observedAt: z.date().transform(v => v.toISOString()),
|
|
431
|
+
resources: z.array(
|
|
432
|
+
z.lazy(() => ObservedInventoryBatchResource$outboundSchema),
|
|
433
|
+
),
|
|
434
|
+
sourceKind: z.string(),
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
export function observedInventoryBatchToJSON(
|
|
438
|
+
observedInventoryBatch: ObservedInventoryBatch,
|
|
439
|
+
): string {
|
|
440
|
+
return JSON.stringify(
|
|
441
|
+
ObservedInventoryBatch$outboundSchema.parse(observedInventoryBatch),
|
|
442
|
+
);
|
|
443
|
+
}
|
|
@@ -3207,6 +3207,9 @@ export type DataStatus36 = {
|
|
|
3207
3207
|
stale: boolean;
|
|
3208
3208
|
};
|
|
3209
3209
|
|
|
3210
|
+
/**
|
|
3211
|
+
* Local embedded Postgres backend.
|
|
3212
|
+
*/
|
|
3210
3213
|
export type DataLocal8 = {
|
|
3211
3214
|
name: string;
|
|
3212
3215
|
port?: number | null | undefined;
|
|
@@ -3274,6 +3277,9 @@ export type DataStatus35 = {
|
|
|
3274
3277
|
stale: boolean;
|
|
3275
3278
|
};
|
|
3276
3279
|
|
|
3280
|
+
/**
|
|
3281
|
+
* Azure Flexible Server backend.
|
|
3282
|
+
*/
|
|
3277
3283
|
export type DataFlexibleServer = {
|
|
3278
3284
|
serverName: string;
|
|
3279
3285
|
state?: string | null | undefined;
|
|
@@ -3340,6 +3346,9 @@ export type DataStatus34 = {
|
|
|
3340
3346
|
stale: boolean;
|
|
3341
3347
|
};
|
|
3342
3348
|
|
|
3349
|
+
/**
|
|
3350
|
+
* GCP Cloud SQL backend.
|
|
3351
|
+
*/
|
|
3343
3352
|
export type DataCloudSQL = {
|
|
3344
3353
|
databaseVersion?: string | null | undefined;
|
|
3345
3354
|
instanceName: string;
|
|
@@ -3406,6 +3415,9 @@ export type DataStatus33 = {
|
|
|
3406
3415
|
stale: boolean;
|
|
3407
3416
|
};
|
|
3408
3417
|
|
|
3418
|
+
/**
|
|
3419
|
+
* AWS Aurora Serverless v2 backend.
|
|
3420
|
+
*/
|
|
3409
3421
|
export type DataAurora = {
|
|
3410
3422
|
clusterIdentifier: string;
|
|
3411
3423
|
endpoint?: string | null | undefined;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import * as models from "../index.js";
|
|
7
|
+
|
|
8
|
+
export type GetWorkspaceGatewayOverviewRequest = {
|
|
9
|
+
gateway: models.GatewayKind;
|
|
10
|
+
/**
|
|
11
|
+
* Workspace name. Required for user/session/OAuth requests. Optional for API keys because API keys are workspace-scoped; if provided with an API key, it must match the key's workspace.
|
|
12
|
+
*/
|
|
13
|
+
workspace?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type GetWorkspaceGatewayOverviewRequest$Outbound = {
|
|
18
|
+
gateway: string;
|
|
19
|
+
workspace?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const GetWorkspaceGatewayOverviewRequest$outboundSchema: z.ZodType<
|
|
24
|
+
GetWorkspaceGatewayOverviewRequest$Outbound,
|
|
25
|
+
GetWorkspaceGatewayOverviewRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
gateway: models.GatewayKind$outboundSchema,
|
|
28
|
+
workspace: z.string().optional(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export function getWorkspaceGatewayOverviewRequestToJSON(
|
|
32
|
+
getWorkspaceGatewayOverviewRequest: GetWorkspaceGatewayOverviewRequest,
|
|
33
|
+
): string {
|
|
34
|
+
return JSON.stringify(
|
|
35
|
+
GetWorkspaceGatewayOverviewRequest$outboundSchema.parse(
|
|
36
|
+
getWorkspaceGatewayOverviewRequest,
|
|
37
|
+
),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -55,7 +55,6 @@ export * from "./deletemanager.js";
|
|
|
55
55
|
export * from "./deleteproject.js";
|
|
56
56
|
export * from "./deletereleasechannel.js";
|
|
57
57
|
export * from "./deleteworkspace.js";
|
|
58
|
-
export * from "./dismissworkspaceonboarding.js";
|
|
59
58
|
export * from "./dispatchcommand.js";
|
|
60
59
|
export * from "./drainmachinesmachine.js";
|
|
61
60
|
export * from "./ensuredeploymentgroupbyexternalid.js";
|
|
@@ -101,6 +100,7 @@ export * from "./getresourcedeploymentdetail.js";
|
|
|
101
100
|
export * from "./getsetupregistrationoperation.js";
|
|
102
101
|
export * from "./getworkspace.js";
|
|
103
102
|
export * from "./getworkspacebillingentitlements.js";
|
|
103
|
+
export * from "./getworkspacegatewayoverview.js";
|
|
104
104
|
export * from "./getworkspaceinvitationpreview.js";
|
|
105
105
|
export * from "./getworkspaceinvitelink.js";
|
|
106
106
|
export * from "./getworkspacesettings.js";
|
|
@@ -57,7 +57,7 @@ export type SummaryCapabilities = {
|
|
|
57
57
|
registry: SummaryRegistry;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
export type
|
|
60
|
+
export type ProjectCapabilityOverviewSummary = {
|
|
61
61
|
groups: number;
|
|
62
62
|
capabilities: SummaryCapabilities;
|
|
63
63
|
};
|
|
@@ -607,7 +607,7 @@ export type Group = {
|
|
|
607
607
|
export type ProjectCapabilityOverview = {
|
|
608
608
|
generatedAt: Date;
|
|
609
609
|
configurationStatus: ConfigurationStatus;
|
|
610
|
-
summary:
|
|
610
|
+
summary: ProjectCapabilityOverviewSummary;
|
|
611
611
|
groups: Array<Group>;
|
|
612
612
|
};
|
|
613
613
|
|
|
@@ -724,18 +724,21 @@ export function summaryCapabilitiesFromJSON(
|
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
/** @internal */
|
|
727
|
-
export const
|
|
727
|
+
export const ProjectCapabilityOverviewSummary$inboundSchema: z.ZodType<
|
|
728
|
+
ProjectCapabilityOverviewSummary,
|
|
729
|
+
unknown
|
|
730
|
+
> = z.object({
|
|
728
731
|
groups: z.int(),
|
|
729
732
|
capabilities: z.lazy(() => SummaryCapabilities$inboundSchema),
|
|
730
733
|
});
|
|
731
734
|
|
|
732
|
-
export function
|
|
735
|
+
export function projectCapabilityOverviewSummaryFromJSON(
|
|
733
736
|
jsonString: string,
|
|
734
|
-
): SafeParseResult<
|
|
737
|
+
): SafeParseResult<ProjectCapabilityOverviewSummary, SDKValidationError> {
|
|
735
738
|
return safeParse(
|
|
736
739
|
jsonString,
|
|
737
|
-
(x) =>
|
|
738
|
-
`Failed to parse '
|
|
740
|
+
(x) => ProjectCapabilityOverviewSummary$inboundSchema.parse(JSON.parse(x)),
|
|
741
|
+
`Failed to parse 'ProjectCapabilityOverviewSummary' from JSON`,
|
|
739
742
|
);
|
|
740
743
|
}
|
|
741
744
|
|
|
@@ -1523,7 +1526,7 @@ export const ProjectCapabilityOverview$inboundSchema: z.ZodType<
|
|
|
1523
1526
|
> = z.object({
|
|
1524
1527
|
generatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
1525
1528
|
configurationStatus: ConfigurationStatus$inboundSchema,
|
|
1526
|
-
summary: z.lazy(() =>
|
|
1529
|
+
summary: z.lazy(() => ProjectCapabilityOverviewSummary$inboundSchema),
|
|
1527
1530
|
groups: z.array(z.lazy(() => Group$inboundSchema)),
|
|
1528
1531
|
});
|
|
1529
1532
|
|