@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
package/src/models/workspace.ts
CHANGED
|
@@ -17,10 +17,6 @@ export type Workspace = {
|
|
|
17
17
|
*/
|
|
18
18
|
name: string;
|
|
19
19
|
logoUrl?: string | null | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* When the Getting Started walkthrough was dismissed or completed for this workspace. Null means it has never been dismissed; the dashboard auto-promotes the walkthrough until this is set.
|
|
22
|
-
*/
|
|
23
|
-
onboardingDismissedAt: Date | null;
|
|
24
20
|
createdAt: Date;
|
|
25
21
|
};
|
|
26
22
|
|
|
@@ -29,9 +25,6 @@ export const Workspace$inboundSchema: z.ZodType<Workspace, unknown> = z.object({
|
|
|
29
25
|
id: z.string(),
|
|
30
26
|
name: z.string(),
|
|
31
27
|
logoUrl: z.nullable(z.string()).optional(),
|
|
32
|
-
onboardingDismissedAt: z.nullable(
|
|
33
|
-
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
34
|
-
),
|
|
35
28
|
createdAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
36
29
|
});
|
|
37
30
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
GatewayProjectOverview,
|
|
11
|
+
GatewayProjectOverview$inboundSchema,
|
|
12
|
+
} from "./gatewayprojectoverview.js";
|
|
13
|
+
|
|
14
|
+
export type WorkspaceGatewayOverviewSummary = {
|
|
15
|
+
totalProjects: number;
|
|
16
|
+
gatewayProjects: number;
|
|
17
|
+
activeProjects: number;
|
|
18
|
+
setupInProgressProjects: number;
|
|
19
|
+
needsAttentionProjects: number;
|
|
20
|
+
connectedCustomers: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type WorkspaceGatewayOverview = {
|
|
24
|
+
generatedAt: Date;
|
|
25
|
+
summary: WorkspaceGatewayOverviewSummary;
|
|
26
|
+
projects: Array<GatewayProjectOverview>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const WorkspaceGatewayOverviewSummary$inboundSchema: z.ZodType<
|
|
31
|
+
WorkspaceGatewayOverviewSummary,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
totalProjects: z.int(),
|
|
35
|
+
gatewayProjects: z.int(),
|
|
36
|
+
activeProjects: z.int(),
|
|
37
|
+
setupInProgressProjects: z.int(),
|
|
38
|
+
needsAttentionProjects: z.int(),
|
|
39
|
+
connectedCustomers: z.int(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function workspaceGatewayOverviewSummaryFromJSON(
|
|
43
|
+
jsonString: string,
|
|
44
|
+
): SafeParseResult<WorkspaceGatewayOverviewSummary, SDKValidationError> {
|
|
45
|
+
return safeParse(
|
|
46
|
+
jsonString,
|
|
47
|
+
(x) => WorkspaceGatewayOverviewSummary$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
+
`Failed to parse 'WorkspaceGatewayOverviewSummary' from JSON`,
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const WorkspaceGatewayOverview$inboundSchema: z.ZodType<
|
|
54
|
+
WorkspaceGatewayOverview,
|
|
55
|
+
unknown
|
|
56
|
+
> = z.object({
|
|
57
|
+
generatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
58
|
+
summary: z.lazy(() => WorkspaceGatewayOverviewSummary$inboundSchema),
|
|
59
|
+
projects: z.array(GatewayProjectOverview$inboundSchema),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function workspaceGatewayOverviewFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<WorkspaceGatewayOverview, SDKValidationError> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) => WorkspaceGatewayOverview$inboundSchema.parse(JSON.parse(x)),
|
|
68
|
+
`Failed to parse 'WorkspaceGatewayOverview' from JSON`,
|
|
69
|
+
);
|
|
70
|
+
}
|
package/src/sdk/apikeys.ts
CHANGED
|
@@ -57,13 +57,13 @@ export class ApiKeys extends ClientSDK {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Update an API key (enable/disable, change description).
|
|
61
61
|
*/
|
|
62
|
-
async
|
|
63
|
-
request: operations.
|
|
62
|
+
async update(
|
|
63
|
+
request: operations.UpdateAPIKeyRequest,
|
|
64
64
|
options?: RequestOptions,
|
|
65
|
-
): Promise<
|
|
66
|
-
return unwrapAsync(
|
|
65
|
+
): Promise<models.APIKey> {
|
|
66
|
+
return unwrapAsync(apiKeysUpdate(
|
|
67
67
|
this,
|
|
68
68
|
request,
|
|
69
69
|
options,
|
|
@@ -71,13 +71,13 @@ export class ApiKeys extends ClientSDK {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Revoke (soft delete) an API key.
|
|
75
75
|
*/
|
|
76
|
-
async
|
|
77
|
-
request: operations.
|
|
76
|
+
async revoke(
|
|
77
|
+
request: operations.RevokeAPIKeyRequest,
|
|
78
78
|
options?: RequestOptions,
|
|
79
|
-
): Promise<
|
|
80
|
-
return unwrapAsync(
|
|
79
|
+
): Promise<void> {
|
|
80
|
+
return unwrapAsync(apiKeysRevoke(
|
|
81
81
|
this,
|
|
82
82
|
request,
|
|
83
83
|
options,
|
package/src/sdk/commands.ts
CHANGED
|
@@ -104,13 +104,13 @@ export class Commands extends ClientSDK {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Update command state. Called by manager when command is dispatched or completes.
|
|
108
108
|
*/
|
|
109
|
-
async
|
|
110
|
-
request: operations.
|
|
109
|
+
async update(
|
|
110
|
+
request: operations.UpdateCommandRequest,
|
|
111
111
|
options?: RequestOptions,
|
|
112
112
|
): Promise<models.Command> {
|
|
113
|
-
return unwrapAsync(
|
|
113
|
+
return unwrapAsync(commandsUpdate(
|
|
114
114
|
this,
|
|
115
115
|
request,
|
|
116
116
|
options,
|
|
@@ -118,13 +118,13 @@ export class Commands extends ClientSDK {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Retrieve a command by ID.
|
|
122
122
|
*/
|
|
123
|
-
async
|
|
124
|
-
request: operations.
|
|
123
|
+
async get(
|
|
124
|
+
request: operations.GetCommandRequest,
|
|
125
125
|
options?: RequestOptions,
|
|
126
126
|
): Promise<models.Command> {
|
|
127
|
-
return unwrapAsync(
|
|
127
|
+
return unwrapAsync(commandsGet(
|
|
128
128
|
this,
|
|
129
129
|
request,
|
|
130
130
|
options,
|
package/src/sdk/debugsessions.ts
CHANGED
|
@@ -41,13 +41,13 @@ export class DebugSessions extends ClientSDK {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Update debug-session state. Called by manager on tunnel attach, close, or deadline expiry.
|
|
45
45
|
*/
|
|
46
|
-
async
|
|
47
|
-
request: operations.
|
|
46
|
+
async update(
|
|
47
|
+
request: operations.UpdateDebugSessionRequest,
|
|
48
48
|
options?: RequestOptions,
|
|
49
49
|
): Promise<models.DebugSession> {
|
|
50
|
-
return unwrapAsync(
|
|
50
|
+
return unwrapAsync(debugSessionsUpdate(
|
|
51
51
|
this,
|
|
52
52
|
request,
|
|
53
53
|
options,
|
|
@@ -55,13 +55,13 @@ export class DebugSessions extends ClientSDK {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Retrieve a debug session by ID.
|
|
59
59
|
*/
|
|
60
|
-
async
|
|
61
|
-
request: operations.
|
|
60
|
+
async get(
|
|
61
|
+
request: operations.GetDebugSessionRequest,
|
|
62
62
|
options?: RequestOptions,
|
|
63
63
|
): Promise<models.DebugSession> {
|
|
64
|
-
return unwrapAsync(
|
|
64
|
+
return unwrapAsync(debugSessionsGet(
|
|
65
65
|
this,
|
|
66
66
|
request,
|
|
67
67
|
options,
|
|
@@ -23,13 +23,13 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
23
23
|
|
|
24
24
|
export class DeploymentGroups extends ClientSDK {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Create a new deployment group
|
|
27
27
|
*/
|
|
28
|
-
async
|
|
29
|
-
request?: operations.
|
|
28
|
+
async createDeploymentGroup(
|
|
29
|
+
request?: operations.CreateDeploymentGroupRequest | undefined,
|
|
30
30
|
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
return unwrapAsync(
|
|
31
|
+
): Promise<models.DeploymentGroup> {
|
|
32
|
+
return unwrapAsync(deploymentGroupsCreateDeploymentGroup(
|
|
33
33
|
this,
|
|
34
34
|
request,
|
|
35
35
|
options,
|
|
@@ -37,13 +37,13 @@ export class DeploymentGroups extends ClientSDK {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* List deployment groups
|
|
41
41
|
*/
|
|
42
|
-
async
|
|
43
|
-
request?: operations.
|
|
42
|
+
async listDeploymentGroups(
|
|
43
|
+
request?: operations.ListDeploymentGroupsRequest | undefined,
|
|
44
44
|
options?: RequestOptions,
|
|
45
|
-
): Promise<
|
|
46
|
-
return unwrapAsync(
|
|
45
|
+
): Promise<operations.ListDeploymentGroupsResponse> {
|
|
46
|
+
return unwrapAsync(deploymentGroupsListDeploymentGroups(
|
|
47
47
|
this,
|
|
48
48
|
request,
|
|
49
49
|
options,
|
|
@@ -65,13 +65,13 @@ export class DeploymentGroups extends ClientSDK {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Get a deployment group by project and external ID
|
|
68
|
+
* Get or create a deployment group by project and external ID
|
|
69
69
|
*/
|
|
70
|
-
async
|
|
71
|
-
request: operations.
|
|
70
|
+
async ensureDeploymentGroupByExternalId(
|
|
71
|
+
request: operations.EnsureDeploymentGroupByExternalIdRequest,
|
|
72
72
|
options?: RequestOptions,
|
|
73
73
|
): Promise<models.DeploymentGroup> {
|
|
74
|
-
return unwrapAsync(
|
|
74
|
+
return unwrapAsync(deploymentGroupsEnsureDeploymentGroupByExternalId(
|
|
75
75
|
this,
|
|
76
76
|
request,
|
|
77
77
|
options,
|
|
@@ -79,13 +79,13 @@ export class DeploymentGroups extends ClientSDK {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Get
|
|
82
|
+
* Get a deployment group by project and external ID
|
|
83
83
|
*/
|
|
84
|
-
async
|
|
85
|
-
request: operations.
|
|
84
|
+
async getDeploymentGroupByExternalId(
|
|
85
|
+
request: operations.GetDeploymentGroupByExternalIdRequest,
|
|
86
86
|
options?: RequestOptions,
|
|
87
87
|
): Promise<models.DeploymentGroup> {
|
|
88
|
-
return unwrapAsync(
|
|
88
|
+
return unwrapAsync(deploymentGroupsGetDeploymentGroupByExternalId(
|
|
89
89
|
this,
|
|
90
90
|
request,
|
|
91
91
|
options,
|
|
@@ -107,13 +107,13 @@ export class DeploymentGroups extends ClientSDK {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* Update deployment group
|
|
111
111
|
*/
|
|
112
|
-
async
|
|
113
|
-
request: operations.
|
|
112
|
+
async updateDeploymentGroup(
|
|
113
|
+
request: operations.UpdateDeploymentGroupRequest,
|
|
114
114
|
options?: RequestOptions,
|
|
115
|
-
): Promise<
|
|
116
|
-
return unwrapAsync(
|
|
115
|
+
): Promise<models.DeploymentGroup> {
|
|
116
|
+
return unwrapAsync(deploymentGroupsUpdateDeploymentGroup(
|
|
117
117
|
this,
|
|
118
118
|
request,
|
|
119
119
|
options,
|
|
@@ -121,13 +121,13 @@ export class DeploymentGroups extends ClientSDK {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Delete deployment group
|
|
125
125
|
*/
|
|
126
|
-
async
|
|
127
|
-
request: operations.
|
|
126
|
+
async deleteDeploymentGroup(
|
|
127
|
+
request: operations.DeleteDeploymentGroupRequest,
|
|
128
128
|
options?: RequestOptions,
|
|
129
|
-
): Promise<
|
|
130
|
-
return unwrapAsync(
|
|
129
|
+
): Promise<void> {
|
|
130
|
+
return unwrapAsync(deploymentGroupsDeleteDeploymentGroup(
|
|
131
131
|
this,
|
|
132
132
|
request,
|
|
133
133
|
options,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { gatewaysGetWorkspaceOverview } from "../funcs/gatewaysGetWorkspaceOverview.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as models from "../models/index.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
+
|
|
11
|
+
export class Gateways extends ClientSDK {
|
|
12
|
+
/**
|
|
13
|
+
* Get compact cross-Project setup and customer status for a workspace Gateway.
|
|
14
|
+
*/
|
|
15
|
+
async getWorkspaceOverview(
|
|
16
|
+
request: operations.GetWorkspaceGatewayOverviewRequest,
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): Promise<models.WorkspaceGatewayOverview> {
|
|
19
|
+
return unwrapAsync(gatewaysGetWorkspaceOverview(
|
|
20
|
+
this,
|
|
21
|
+
request,
|
|
22
|
+
options,
|
|
23
|
+
));
|
|
24
|
+
}
|
|
25
|
+
}
|
package/src/sdk/machines.ts
CHANGED
|
@@ -71,22 +71,22 @@ export class Machines extends ClientSDK {
|
|
|
71
71
|
));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
async
|
|
75
|
-
request: operations.
|
|
74
|
+
async cancelMachineDrain(
|
|
75
|
+
request: operations.CancelMachinesMachineDrainRequest,
|
|
76
76
|
options?: RequestOptions,
|
|
77
|
-
): Promise<models.
|
|
78
|
-
return unwrapAsync(
|
|
77
|
+
): Promise<models.CancelMachinesMachineDrainResponse> {
|
|
78
|
+
return unwrapAsync(machinesCancelMachineDrain(
|
|
79
79
|
this,
|
|
80
80
|
request,
|
|
81
81
|
options,
|
|
82
82
|
));
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
async
|
|
86
|
-
request: operations.
|
|
85
|
+
async drainMachine(
|
|
86
|
+
request: operations.DrainMachinesMachineRequest,
|
|
87
87
|
options?: RequestOptions,
|
|
88
|
-
): Promise<models.
|
|
89
|
-
return unwrapAsync(
|
|
88
|
+
): Promise<models.DrainMachinesMachineResponse> {
|
|
89
|
+
return unwrapAsync(machinesDrainMachine(
|
|
90
90
|
this,
|
|
91
91
|
request,
|
|
92
92
|
options,
|
package/src/sdk/managers.ts
CHANGED
|
@@ -27,13 +27,13 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
27
27
|
|
|
28
28
|
export class Managers extends ClientSDK {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Create a new manager.
|
|
31
31
|
*/
|
|
32
|
-
async
|
|
33
|
-
request?: operations.
|
|
32
|
+
async create(
|
|
33
|
+
request?: operations.CreateManagerRequest | undefined,
|
|
34
34
|
options?: RequestOptions,
|
|
35
|
-
): Promise<
|
|
36
|
-
return unwrapAsync(
|
|
35
|
+
): Promise<models.CreateManagerResponse> {
|
|
36
|
+
return unwrapAsync(managersCreate(
|
|
37
37
|
this,
|
|
38
38
|
request,
|
|
39
39
|
options,
|
|
@@ -41,13 +41,13 @@ export class Managers extends ClientSDK {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Retrieve all managers.
|
|
45
45
|
*/
|
|
46
|
-
async
|
|
47
|
-
request?: operations.
|
|
46
|
+
async list(
|
|
47
|
+
request?: operations.ListManagersRequest | undefined,
|
|
48
48
|
options?: RequestOptions,
|
|
49
|
-
): Promise<models.
|
|
50
|
-
return unwrapAsync(
|
|
49
|
+
): Promise<Array<models.Manager>> {
|
|
50
|
+
return unwrapAsync(managersList(
|
|
51
51
|
this,
|
|
52
52
|
request,
|
|
53
53
|
options,
|
package/src/sdk/projects.ts
CHANGED
|
@@ -72,13 +72,13 @@ export class Projects extends ClientSDK {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Update a project.
|
|
76
76
|
*/
|
|
77
|
-
async
|
|
78
|
-
request: operations.
|
|
77
|
+
async update(
|
|
78
|
+
request: operations.UpdateProjectRequest,
|
|
79
79
|
options?: RequestOptions,
|
|
80
|
-
): Promise<
|
|
81
|
-
return unwrapAsync(
|
|
80
|
+
): Promise<models.Project> {
|
|
81
|
+
return unwrapAsync(projectsUpdate(
|
|
82
82
|
this,
|
|
83
83
|
request,
|
|
84
84
|
options,
|
|
@@ -86,13 +86,13 @@ export class Projects extends ClientSDK {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Delete a project. The project must have no deployments.
|
|
90
90
|
*/
|
|
91
|
-
async
|
|
92
|
-
request: operations.
|
|
91
|
+
async delete(
|
|
92
|
+
request: operations.DeleteProjectRequest,
|
|
93
93
|
options?: RequestOptions,
|
|
94
|
-
): Promise<
|
|
95
|
-
return unwrapAsync(
|
|
94
|
+
): Promise<void> {
|
|
95
|
+
return unwrapAsync(projectsDelete(
|
|
96
96
|
this,
|
|
97
97
|
request,
|
|
98
98
|
options,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -36,6 +36,7 @@ import { DeploymentGroups } from "./deploymentgroups.js";
|
|
|
36
36
|
import { Deployments } from "./deployments.js";
|
|
37
37
|
import { Domains } from "./domains.js";
|
|
38
38
|
import { Events } from "./events.js";
|
|
39
|
+
import { Gateways } from "./gateways.js";
|
|
39
40
|
import { Machines } from "./machines.js";
|
|
40
41
|
import { Managers } from "./managers.js";
|
|
41
42
|
import { Operations } from "./operations.js";
|
|
@@ -199,6 +200,11 @@ export class Alien extends ClientSDK {
|
|
|
199
200
|
return (this._billing ??= new Billing(this._options));
|
|
200
201
|
}
|
|
201
202
|
|
|
203
|
+
private _gateways?: Gateways;
|
|
204
|
+
get gateways(): Gateways {
|
|
205
|
+
return (this._gateways ??= new Gateways(this._options));
|
|
206
|
+
}
|
|
207
|
+
|
|
202
208
|
async getWorkspaceInvitationPreview(
|
|
203
209
|
request: operations.GetWorkspaceInvitationPreviewRequest,
|
|
204
210
|
options?: RequestOptions,
|
package/src/sdk/workspaces.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import { workspacesAddMember } from "../funcs/workspacesAddMember.js";
|
|
6
6
|
import { workspacesDelete } from "../funcs/workspacesDelete.js";
|
|
7
|
-
import { workspacesDismissOnboarding } from "../funcs/workspacesDismissOnboarding.js";
|
|
8
7
|
import { workspacesGet } from "../funcs/workspacesGet.js";
|
|
9
8
|
import { workspacesGetSettings } from "../funcs/workspacesGetSettings.js";
|
|
10
9
|
import { workspacesList } from "../funcs/workspacesList.js";
|
|
@@ -48,13 +47,13 @@ export class Workspaces extends ClientSDK {
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
|
-
*
|
|
50
|
+
* Update a workspace.
|
|
52
51
|
*/
|
|
53
|
-
async
|
|
54
|
-
request: operations.
|
|
52
|
+
async update(
|
|
53
|
+
request: operations.UpdateWorkspaceRequest,
|
|
55
54
|
options?: RequestOptions,
|
|
56
|
-
): Promise<
|
|
57
|
-
return unwrapAsync(
|
|
55
|
+
): Promise<models.Workspace> {
|
|
56
|
+
return unwrapAsync(workspacesUpdate(
|
|
58
57
|
this,
|
|
59
58
|
request,
|
|
60
59
|
options,
|
|
@@ -62,13 +61,13 @@ export class Workspaces extends ClientSDK {
|
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
/**
|
|
65
|
-
*
|
|
64
|
+
* Delete a workspace. The workspace must have no projects.
|
|
66
65
|
*/
|
|
67
|
-
async
|
|
68
|
-
request: operations.
|
|
66
|
+
async delete(
|
|
67
|
+
request: operations.DeleteWorkspaceRequest,
|
|
69
68
|
options?: RequestOptions,
|
|
70
|
-
): Promise<
|
|
71
|
-
return unwrapAsync(
|
|
69
|
+
): Promise<void> {
|
|
70
|
+
return unwrapAsync(workspacesDelete(
|
|
72
71
|
this,
|
|
73
72
|
request,
|
|
74
73
|
options,
|
|
@@ -103,20 +102,6 @@ export class Workspaces extends ClientSDK {
|
|
|
103
102
|
));
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
/**
|
|
107
|
-
* Remove a member from a workspace.
|
|
108
|
-
*/
|
|
109
|
-
async removeMember(
|
|
110
|
-
request: operations.RemoveWorkspaceMemberRequest,
|
|
111
|
-
options?: RequestOptions,
|
|
112
|
-
): Promise<void> {
|
|
113
|
-
return unwrapAsync(workspacesRemoveMember(
|
|
114
|
-
this,
|
|
115
|
-
request,
|
|
116
|
-
options,
|
|
117
|
-
));
|
|
118
|
-
}
|
|
119
|
-
|
|
120
105
|
/**
|
|
121
106
|
* Update a workspace member's role.
|
|
122
107
|
*/
|
|
@@ -132,13 +117,13 @@ export class Workspaces extends ClientSDK {
|
|
|
132
117
|
}
|
|
133
118
|
|
|
134
119
|
/**
|
|
135
|
-
*
|
|
120
|
+
* Remove a member from a workspace.
|
|
136
121
|
*/
|
|
137
|
-
async
|
|
138
|
-
request: operations.
|
|
122
|
+
async removeMember(
|
|
123
|
+
request: operations.RemoveWorkspaceMemberRequest,
|
|
139
124
|
options?: RequestOptions,
|
|
140
|
-
): Promise<
|
|
141
|
-
return unwrapAsync(
|
|
125
|
+
): Promise<void> {
|
|
126
|
+
return unwrapAsync(workspacesRemoveMember(
|
|
142
127
|
this,
|
|
143
128
|
request,
|
|
144
129
|
options,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesDismissOnboarding.d.ts","sourceRoot":"","sources":["../../src/funcs/workspacesDismissOnboarding.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,SAAS,EACd,MAAM,CAAC,QAAQ,GACf,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesDismissOnboarding.js","sourceRoot":"","sources":["../../src/funcs/workspacesDismissOnboarding.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;GAEG;AACH,MAAM,UAAU,2BAA2B,CACzC,MAAiB,EACjB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issWorkspaceOnboardingRequest = {
|
|
3
|
-
/**
|
|
4
|
-
* Unique identifier for the workspace.
|
|
5
|
-
*/
|
|
6
|
-
id: string;
|
|
7
|
-
/**
|
|
8
|
-
* 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.
|
|
9
|
-
*/
|
|
10
|
-
workspace?: string | undefined;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type DismissWorkspaceOnboardingRequest$Outbound = {
|
|
14
|
-
id: string;
|
|
15
|
-
workspace?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const DismissWorkspaceOnboardingRequest$outboundSchema: z.ZodType<DismissWorkspaceOnboardingRequest$Outbound, DismissWorkspaceOnboardingRequest>;
|
|
19
|
-
export declare function dismissWorkspaceOnboardingRequestToJSON(dismissWorkspaceOnboardingRequest: DismissWorkspaceOnboardingRequest): string;
|
|
20
|
-
//# sourceMappingURL=dismissworkspaceonboarding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dismissworkspaceonboarding.d.ts","sourceRoot":"","sources":["../../../src/models/operations/dismissworkspaceonboarding.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,iCAAiC,CAIjC,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4";
|
|
5
|
-
/** @internal */
|
|
6
|
-
export const DismissWorkspaceOnboardingRequest$outboundSchema = z.object({
|
|
7
|
-
id: z.string(),
|
|
8
|
-
workspace: z.string().optional(),
|
|
9
|
-
});
|
|
10
|
-
export function dismissWorkspaceOnboardingRequestToJSON(dismissWorkspaceOnboardingRequest) {
|
|
11
|
-
return JSON.stringify(DismissWorkspaceOnboardingRequest$outboundSchema.parse(dismissWorkspaceOnboardingRequest));
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=dismissworkspaceonboarding.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dismissworkspaceonboarding.js","sourceRoot":"","sources":["../../../src/models/operations/dismissworkspaceonboarding.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAmB5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAGzD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4";
|
|
6
|
-
|
|
7
|
-
export type DismissWorkspaceOnboardingRequest = {
|
|
8
|
-
/**
|
|
9
|
-
* Unique identifier for the workspace.
|
|
10
|
-
*/
|
|
11
|
-
id: string;
|
|
12
|
-
/**
|
|
13
|
-
* 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.
|
|
14
|
-
*/
|
|
15
|
-
workspace?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/** @internal */
|
|
19
|
-
export type DismissWorkspaceOnboardingRequest$Outbound = {
|
|
20
|
-
id: string;
|
|
21
|
-
workspace?: string | undefined;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const DismissWorkspaceOnboardingRequest$outboundSchema: z.ZodType<
|
|
26
|
-
DismissWorkspaceOnboardingRequest$Outbound,
|
|
27
|
-
DismissWorkspaceOnboardingRequest
|
|
28
|
-
> = z.object({
|
|
29
|
-
id: z.string(),
|
|
30
|
-
workspace: z.string().optional(),
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export function dismissWorkspaceOnboardingRequestToJSON(
|
|
34
|
-
dismissWorkspaceOnboardingRequest: DismissWorkspaceOnboardingRequest,
|
|
35
|
-
): string {
|
|
36
|
-
return JSON.stringify(
|
|
37
|
-
DismissWorkspaceOnboardingRequest$outboundSchema.parse(
|
|
38
|
-
dismissWorkspaceOnboardingRequest,
|
|
39
|
-
),
|
|
40
|
-
);
|
|
41
|
-
}
|