@usestatemachines/sdk 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -6
- package/agents/index.js +2 -2
- package/agents/llms.txt +3 -2
- package/esm/extensions/client.d.ts +16 -4
- package/esm/extensions/client.js +17 -4
- package/esm/extensions/index.d.ts +2 -2
- package/esm/extensions/running-environment.d.ts +5 -5
- package/esm/extensions/running-environment.js +1 -1
- package/esm/extensions/wait.js +1 -1
- package/esm/funcs/{get-environment-exchange.d.ts → environments-get-request-payload.d.ts} +1 -1
- package/esm/funcs/environments-get-request-payload.js +100 -0
- package/esm/funcs/environments-get-request-stats.d.ts +11 -0
- package/esm/funcs/{get-environment-position.js → environments-get-request-stats.js} +17 -6
- package/esm/funcs/{list-environment-history.d.ts → environments-get-request.d.ts} +1 -1
- package/esm/funcs/{get-environment-exchange.js → environments-get-request.js} +6 -6
- package/esm/funcs/{get-environment-position.d.ts → environments-list-requests.d.ts} +1 -1
- package/esm/funcs/{list-environment-history.js → environments-list-requests.js} +13 -5
- package/esm/funcs/environments-resume.js +1 -0
- package/esm/funcs/environments-stop.js +1 -0
- package/esm/funcs/environments-suspend.js +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/environment-app.d.ts +0 -8
- package/esm/models/environment-app.js +0 -10
- package/esm/models/environment-request-detail.d.ts +40 -0
- package/esm/models/environment-request-detail.js +39 -0
- package/esm/models/environment-request-stats.d.ts +26 -0
- package/esm/models/environment-request-stats.js +31 -0
- package/esm/models/environment-request.d.ts +31 -0
- package/esm/models/environment-request.js +34 -0
- package/esm/models/error-response.d.ts +0 -1
- package/esm/models/error-response.js +0 -1
- package/esm/models/index.d.ts +4 -6
- package/esm/models/index.js +4 -6
- package/esm/models/operations/create-environment-definition.d.ts +10 -82
- package/esm/models/operations/create-environment-definition.js +4 -60
- package/esm/models/operations/get-environment-request-payload.d.ts +23 -0
- package/esm/models/operations/get-environment-request-payload.js +19 -0
- package/esm/models/operations/get-environment-request-stats.d.ts +70 -0
- package/esm/models/operations/get-environment-request-stats.js +55 -0
- package/esm/models/operations/get-environment-request.d.ts +25 -0
- package/esm/models/operations/get-environment-request.js +21 -0
- package/esm/models/operations/index.d.ts +4 -3
- package/esm/models/operations/index.js +4 -3
- package/esm/models/operations/list-environment-requests.d.ts +75 -0
- package/esm/models/operations/list-environment-requests.js +59 -0
- package/esm/models/operations/resume-environment.d.ts +2 -0
- package/esm/models/operations/resume-environment.js +8 -2
- package/esm/models/operations/stop-environment.d.ts +2 -0
- package/esm/models/operations/stop-environment.js +8 -2
- package/esm/models/operations/suspend-environment.d.ts +2 -0
- package/esm/models/operations/suspend-environment.js +8 -2
- package/esm/models/request-payload-preview.d.ts +31 -0
- package/esm/models/request-payload-preview.js +33 -0
- package/esm/sdk/environments.d.ts +4 -0
- package/esm/sdk/environments.js +16 -0
- package/esm/sdk/sdk.d.ts +0 -3
- package/esm/sdk/sdk.js +0 -12
- package/esm/types/smart-union.js +1 -2
- package/openapi.json +584 -524
- package/package.json +2 -2
- package/esm/models/environment-exchange.d.ts +0 -116
- package/esm/models/environment-exchange.js +0 -126
- package/esm/models/environment-position.d.ts +0 -25
- package/esm/models/environment-position.js +0 -32
- package/esm/models/history-body.d.ts +0 -28
- package/esm/models/history-body.js +0 -33
- package/esm/models/history-cause.d.ts +0 -48
- package/esm/models/history-cause.js +0 -63
- package/esm/models/history-position.d.ts +0 -11
- package/esm/models/history-position.js +0 -15
- package/esm/models/history-transaction.d.ts +0 -16
- package/esm/models/history-transaction.js +0 -20
- package/esm/models/operations/get-environment-exchange.d.ts +0 -25
- package/esm/models/operations/get-environment-exchange.js +0 -21
- package/esm/models/operations/get-environment-position.d.ts +0 -23
- package/esm/models/operations/get-environment-position.js +0 -20
- package/esm/models/operations/list-environment-history.d.ts +0 -28
- package/esm/models/operations/list-environment-history.js +0 -24
- package/esm/types/discriminated-union.d.ts +0 -24
- package/esm/types/discriminated-union.js +0 -60
|
@@ -2,35 +2,11 @@ import * as z from "zod/v4-mini";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
4
|
import * as models from "../index.js";
|
|
5
|
-
export type
|
|
6
|
-
exchangeId: string;
|
|
7
|
-
};
|
|
8
|
-
export type Position = {
|
|
9
|
-
generation: number;
|
|
10
|
-
lsn: string;
|
|
11
|
-
};
|
|
12
|
-
export type At1 = {
|
|
13
|
-
position: Position;
|
|
14
|
-
};
|
|
15
|
-
export type AtUnion = At1 | At2;
|
|
16
|
-
export type From2 = {
|
|
17
|
-
at: At1 | At2;
|
|
18
|
-
environment: string;
|
|
19
|
-
};
|
|
20
|
-
export type CreateEnvironmentDefinitionRequestBody3 = {
|
|
21
|
-
from: From2;
|
|
22
|
-
labels?: {
|
|
23
|
-
[k: string]: string;
|
|
24
|
-
} | undefined;
|
|
25
|
-
lifetimeMinutes?: number | undefined;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
version?: number | undefined;
|
|
28
|
-
};
|
|
29
|
-
export type From1 = {
|
|
5
|
+
export type From = {
|
|
30
6
|
snapshot: string;
|
|
31
7
|
};
|
|
32
8
|
export type CreateEnvironmentDefinitionRequestBody2 = {
|
|
33
|
-
from:
|
|
9
|
+
from: From;
|
|
34
10
|
labels?: {
|
|
35
11
|
[k: string]: string;
|
|
36
12
|
} | undefined;
|
|
@@ -82,11 +58,11 @@ export type CreateEnvironmentDefinitionRequestBody1 = {
|
|
|
82
58
|
name?: string | undefined;
|
|
83
59
|
version?: number | undefined;
|
|
84
60
|
};
|
|
85
|
-
export type CreateEnvironmentDefinitionRequestBody = CreateEnvironmentDefinitionRequestBody1 | CreateEnvironmentDefinitionRequestBody2
|
|
61
|
+
export type CreateEnvironmentDefinitionRequestBody = CreateEnvironmentDefinitionRequestBody1 | CreateEnvironmentDefinitionRequestBody2;
|
|
86
62
|
export type CreateEnvironmentDefinitionRequest = {
|
|
87
63
|
workspaceId: string;
|
|
88
64
|
idempotencyKey: string;
|
|
89
|
-
body: CreateEnvironmentDefinitionRequestBody1 | CreateEnvironmentDefinitionRequestBody2
|
|
65
|
+
body: CreateEnvironmentDefinitionRequestBody1 | CreateEnvironmentDefinitionRequestBody2;
|
|
90
66
|
};
|
|
91
67
|
/**
|
|
92
68
|
* Environment accepted from its setup definition
|
|
@@ -95,63 +71,15 @@ export type CreateEnvironmentDefinitionResponse = {
|
|
|
95
71
|
data: models.Environment;
|
|
96
72
|
};
|
|
97
73
|
/** @internal */
|
|
98
|
-
export type
|
|
99
|
-
exchangeId: string;
|
|
100
|
-
};
|
|
101
|
-
/** @internal */
|
|
102
|
-
export declare const At2$outboundSchema: z.ZodMiniType<At2$Outbound, At2>;
|
|
103
|
-
export declare function at2ToJSON(at2: At2): string;
|
|
104
|
-
/** @internal */
|
|
105
|
-
export type Position$Outbound = {
|
|
106
|
-
generation: number;
|
|
107
|
-
lsn: string;
|
|
108
|
-
};
|
|
109
|
-
/** @internal */
|
|
110
|
-
export declare const Position$outboundSchema: z.ZodMiniType<Position$Outbound, Position>;
|
|
111
|
-
export declare function positionToJSON(position: Position): string;
|
|
112
|
-
/** @internal */
|
|
113
|
-
export type At1$Outbound = {
|
|
114
|
-
position: Position$Outbound;
|
|
115
|
-
};
|
|
116
|
-
/** @internal */
|
|
117
|
-
export declare const At1$outboundSchema: z.ZodMiniType<At1$Outbound, At1>;
|
|
118
|
-
export declare function at1ToJSON(at1: At1): string;
|
|
119
|
-
/** @internal */
|
|
120
|
-
export type AtUnion$Outbound = At1$Outbound | At2$Outbound;
|
|
121
|
-
/** @internal */
|
|
122
|
-
export declare const AtUnion$outboundSchema: z.ZodMiniType<AtUnion$Outbound, AtUnion>;
|
|
123
|
-
export declare function atUnionToJSON(atUnion: AtUnion): string;
|
|
124
|
-
/** @internal */
|
|
125
|
-
export type From2$Outbound = {
|
|
126
|
-
at: At1$Outbound | At2$Outbound;
|
|
127
|
-
environment: string;
|
|
128
|
-
};
|
|
129
|
-
/** @internal */
|
|
130
|
-
export declare const From2$outboundSchema: z.ZodMiniType<From2$Outbound, From2>;
|
|
131
|
-
export declare function from2ToJSON(from2: From2): string;
|
|
132
|
-
/** @internal */
|
|
133
|
-
export type CreateEnvironmentDefinitionRequestBody3$Outbound = {
|
|
134
|
-
from: From2$Outbound;
|
|
135
|
-
labels?: {
|
|
136
|
-
[k: string]: string;
|
|
137
|
-
} | undefined;
|
|
138
|
-
lifetimeMinutes?: number | undefined;
|
|
139
|
-
name?: string | undefined;
|
|
140
|
-
version: number;
|
|
141
|
-
};
|
|
142
|
-
/** @internal */
|
|
143
|
-
export declare const CreateEnvironmentDefinitionRequestBody3$outboundSchema: z.ZodMiniType<CreateEnvironmentDefinitionRequestBody3$Outbound, CreateEnvironmentDefinitionRequestBody3>;
|
|
144
|
-
export declare function createEnvironmentDefinitionRequestBody3ToJSON(createEnvironmentDefinitionRequestBody3: CreateEnvironmentDefinitionRequestBody3): string;
|
|
145
|
-
/** @internal */
|
|
146
|
-
export type From1$Outbound = {
|
|
74
|
+
export type From$Outbound = {
|
|
147
75
|
snapshot: string;
|
|
148
76
|
};
|
|
149
77
|
/** @internal */
|
|
150
|
-
export declare const
|
|
151
|
-
export declare function
|
|
78
|
+
export declare const From$outboundSchema: z.ZodMiniType<From$Outbound, From>;
|
|
79
|
+
export declare function fromToJSON(from: From): string;
|
|
152
80
|
/** @internal */
|
|
153
81
|
export type CreateEnvironmentDefinitionRequestBody2$Outbound = {
|
|
154
|
-
from:
|
|
82
|
+
from: From$Outbound;
|
|
155
83
|
labels?: {
|
|
156
84
|
[k: string]: string;
|
|
157
85
|
} | undefined;
|
|
@@ -207,7 +135,7 @@ export type CreateEnvironmentDefinitionRequestBody1$Outbound = {
|
|
|
207
135
|
export declare const CreateEnvironmentDefinitionRequestBody1$outboundSchema: z.ZodMiniType<CreateEnvironmentDefinitionRequestBody1$Outbound, CreateEnvironmentDefinitionRequestBody1>;
|
|
208
136
|
export declare function createEnvironmentDefinitionRequestBody1ToJSON(createEnvironmentDefinitionRequestBody1: CreateEnvironmentDefinitionRequestBody1): string;
|
|
209
137
|
/** @internal */
|
|
210
|
-
export type CreateEnvironmentDefinitionRequestBody$Outbound = CreateEnvironmentDefinitionRequestBody1$Outbound | CreateEnvironmentDefinitionRequestBody2$Outbound
|
|
138
|
+
export type CreateEnvironmentDefinitionRequestBody$Outbound = CreateEnvironmentDefinitionRequestBody1$Outbound | CreateEnvironmentDefinitionRequestBody2$Outbound;
|
|
211
139
|
/** @internal */
|
|
212
140
|
export declare const CreateEnvironmentDefinitionRequestBody$outboundSchema: z.ZodMiniType<CreateEnvironmentDefinitionRequestBody$Outbound, CreateEnvironmentDefinitionRequestBody>;
|
|
213
141
|
export declare function createEnvironmentDefinitionRequestBodyToJSON(createEnvironmentDefinitionRequestBody: CreateEnvironmentDefinitionRequestBody): string;
|
|
@@ -215,7 +143,7 @@ export declare function createEnvironmentDefinitionRequestBodyToJSON(createEnvir
|
|
|
215
143
|
export type CreateEnvironmentDefinitionRequest$Outbound = {
|
|
216
144
|
workspaceId: string;
|
|
217
145
|
"idempotency-key": string;
|
|
218
|
-
body: CreateEnvironmentDefinitionRequestBody1$Outbound | CreateEnvironmentDefinitionRequestBody2$Outbound
|
|
146
|
+
body: CreateEnvironmentDefinitionRequestBody1$Outbound | CreateEnvironmentDefinitionRequestBody2$Outbound;
|
|
219
147
|
};
|
|
220
148
|
/** @internal */
|
|
221
149
|
export declare const CreateEnvironmentDefinitionRequest$outboundSchema: z.ZodMiniType<CreateEnvironmentDefinitionRequest$Outbound, CreateEnvironmentDefinitionRequest>;
|
|
@@ -7,69 +7,15 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { smartUnion } from "../../types/smart-union.js";
|
|
8
8
|
import * as models from "../index.js";
|
|
9
9
|
/** @internal */
|
|
10
|
-
export const
|
|
11
|
-
exchangeId: z.string(),
|
|
12
|
-
});
|
|
13
|
-
export function at2ToJSON(at2) {
|
|
14
|
-
return JSON.stringify(At2$outboundSchema.parse(at2));
|
|
15
|
-
}
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const Position$outboundSchema = z.object({
|
|
18
|
-
generation: z.int(),
|
|
19
|
-
lsn: z.string(),
|
|
20
|
-
});
|
|
21
|
-
export function positionToJSON(position) {
|
|
22
|
-
return JSON.stringify(Position$outboundSchema.parse(position));
|
|
23
|
-
}
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const At1$outboundSchema = z.object({
|
|
26
|
-
position: z.lazy(() => Position$outboundSchema),
|
|
27
|
-
});
|
|
28
|
-
export function at1ToJSON(at1) {
|
|
29
|
-
return JSON.stringify(At1$outboundSchema.parse(at1));
|
|
30
|
-
}
|
|
31
|
-
/** @internal */
|
|
32
|
-
export const AtUnion$outboundSchema = smartUnion([
|
|
33
|
-
z.lazy(() => At1$outboundSchema),
|
|
34
|
-
z.lazy(() => At2$outboundSchema),
|
|
35
|
-
]);
|
|
36
|
-
export function atUnionToJSON(atUnion) {
|
|
37
|
-
return JSON.stringify(AtUnion$outboundSchema.parse(atUnion));
|
|
38
|
-
}
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const From2$outboundSchema = z
|
|
41
|
-
.object({
|
|
42
|
-
at: smartUnion([
|
|
43
|
-
z.lazy(() => At1$outboundSchema),
|
|
44
|
-
z.lazy(() => At2$outboundSchema),
|
|
45
|
-
]),
|
|
46
|
-
environment: z.string(),
|
|
47
|
-
});
|
|
48
|
-
export function from2ToJSON(from2) {
|
|
49
|
-
return JSON.stringify(From2$outboundSchema.parse(from2));
|
|
50
|
-
}
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const CreateEnvironmentDefinitionRequestBody3$outboundSchema = z.object({
|
|
53
|
-
from: z.lazy(() => From2$outboundSchema),
|
|
54
|
-
labels: z.optional(z.record(z.string(), z.string())),
|
|
55
|
-
lifetimeMinutes: z.optional(z.int()),
|
|
56
|
-
name: z.optional(z.string()),
|
|
57
|
-
version: z._default(z.number(), 1),
|
|
58
|
-
});
|
|
59
|
-
export function createEnvironmentDefinitionRequestBody3ToJSON(createEnvironmentDefinitionRequestBody3) {
|
|
60
|
-
return JSON.stringify(CreateEnvironmentDefinitionRequestBody3$outboundSchema.parse(createEnvironmentDefinitionRequestBody3));
|
|
61
|
-
}
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const From1$outboundSchema = z
|
|
64
|
-
.object({
|
|
10
|
+
export const From$outboundSchema = z.object({
|
|
65
11
|
snapshot: z.string(),
|
|
66
12
|
});
|
|
67
|
-
export function
|
|
68
|
-
return JSON.stringify(
|
|
13
|
+
export function fromToJSON(from) {
|
|
14
|
+
return JSON.stringify(From$outboundSchema.parse(from));
|
|
69
15
|
}
|
|
70
16
|
/** @internal */
|
|
71
17
|
export const CreateEnvironmentDefinitionRequestBody2$outboundSchema = z.object({
|
|
72
|
-
from: z.lazy(() =>
|
|
18
|
+
from: z.lazy(() => From$outboundSchema),
|
|
73
19
|
labels: z.optional(z.record(z.string(), z.string())),
|
|
74
20
|
lifetimeMinutes: z.optional(z.int()),
|
|
75
21
|
name: z.optional(z.string()),
|
|
@@ -118,7 +64,6 @@ export function createEnvironmentDefinitionRequestBody1ToJSON(createEnvironmentD
|
|
|
118
64
|
export const CreateEnvironmentDefinitionRequestBody$outboundSchema = smartUnion([
|
|
119
65
|
z.lazy(() => CreateEnvironmentDefinitionRequestBody1$outboundSchema),
|
|
120
66
|
z.lazy(() => CreateEnvironmentDefinitionRequestBody2$outboundSchema),
|
|
121
|
-
z.lazy(() => CreateEnvironmentDefinitionRequestBody3$outboundSchema),
|
|
122
67
|
]);
|
|
123
68
|
export function createEnvironmentDefinitionRequestBodyToJSON(createEnvironmentDefinitionRequestBody) {
|
|
124
69
|
return JSON.stringify(CreateEnvironmentDefinitionRequestBody$outboundSchema.parse(createEnvironmentDefinitionRequestBody));
|
|
@@ -130,7 +75,6 @@ export const CreateEnvironmentDefinitionRequest$outboundSchema = z.pipe(z.object
|
|
|
130
75
|
body: smartUnion([
|
|
131
76
|
z.lazy(() => CreateEnvironmentDefinitionRequestBody1$outboundSchema),
|
|
132
77
|
z.lazy(() => CreateEnvironmentDefinitionRequestBody2$outboundSchema),
|
|
133
|
-
z.lazy(() => CreateEnvironmentDefinitionRequestBody3$outboundSchema),
|
|
134
78
|
]),
|
|
135
79
|
}), z.transform((v) => {
|
|
136
80
|
return remap$(v, {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const Direction: {
|
|
4
|
+
readonly Request: "request";
|
|
5
|
+
readonly Response: "response";
|
|
6
|
+
};
|
|
7
|
+
export type Direction = ClosedEnum<typeof Direction>;
|
|
8
|
+
export type GetEnvironmentRequestPayloadRequest = {
|
|
9
|
+
environmentId: string;
|
|
10
|
+
requestId: string;
|
|
11
|
+
direction: Direction;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const Direction$outboundSchema: z.ZodMiniEnum<typeof Direction>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type GetEnvironmentRequestPayloadRequest$Outbound = {
|
|
17
|
+
environmentId: string;
|
|
18
|
+
requestId: string;
|
|
19
|
+
direction: string;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const GetEnvironmentRequestPayloadRequest$outboundSchema: z.ZodMiniType<GetEnvironmentRequestPayloadRequest$Outbound, GetEnvironmentRequestPayloadRequest>;
|
|
23
|
+
export declare function getEnvironmentRequestPayloadRequestToJSON(getEnvironmentRequestPayloadRequest: GetEnvironmentRequestPayloadRequest): string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
export const Direction = {
|
|
6
|
+
Request: "request",
|
|
7
|
+
Response: "response",
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const Direction$outboundSchema = z.enum(Direction);
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const GetEnvironmentRequestPayloadRequest$outboundSchema = z.object({
|
|
13
|
+
environmentId: z.string(),
|
|
14
|
+
requestId: z.string(),
|
|
15
|
+
direction: Direction$outboundSchema,
|
|
16
|
+
});
|
|
17
|
+
export function getEnvironmentRequestPayloadRequestToJSON(getEnvironmentRequestPayloadRequest) {
|
|
18
|
+
return JSON.stringify(GetEnvironmentRequestPayloadRequest$outboundSchema.parse(getEnvironmentRequestPayloadRequest));
|
|
19
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
import * as models from "../index.js";
|
|
6
|
+
export declare const GetEnvironmentRequestStatsStatusClass: {
|
|
7
|
+
readonly Twoxx: "2xx";
|
|
8
|
+
readonly Threexx: "3xx";
|
|
9
|
+
readonly Fourxx: "4xx";
|
|
10
|
+
readonly Fivexx: "5xx";
|
|
11
|
+
};
|
|
12
|
+
export type GetEnvironmentRequestStatsStatusClass = ClosedEnum<typeof GetEnvironmentRequestStatsStatusClass>;
|
|
13
|
+
export declare const GetEnvironmentRequestStatsMethod: {
|
|
14
|
+
readonly Get: "GET";
|
|
15
|
+
readonly Head: "HEAD";
|
|
16
|
+
readonly Post: "POST";
|
|
17
|
+
readonly Put: "PUT";
|
|
18
|
+
readonly Patch: "PATCH";
|
|
19
|
+
readonly Delete: "DELETE";
|
|
20
|
+
readonly Options: "OPTIONS";
|
|
21
|
+
readonly Connect: "CONNECT";
|
|
22
|
+
readonly Trace: "TRACE";
|
|
23
|
+
};
|
|
24
|
+
export type GetEnvironmentRequestStatsMethod = ClosedEnum<typeof GetEnvironmentRequestStatsMethod>;
|
|
25
|
+
export declare const GetEnvironmentRequestStatsWritesOnly: {
|
|
26
|
+
readonly True: "true";
|
|
27
|
+
readonly False: "false";
|
|
28
|
+
};
|
|
29
|
+
export type GetEnvironmentRequestStatsWritesOnly = ClosedEnum<typeof GetEnvironmentRequestStatsWritesOnly>;
|
|
30
|
+
export type GetEnvironmentRequestStatsRequest = {
|
|
31
|
+
environmentId: string;
|
|
32
|
+
appKey?: string | undefined;
|
|
33
|
+
status?: number | undefined;
|
|
34
|
+
statusClass?: GetEnvironmentRequestStatsStatusClass | undefined;
|
|
35
|
+
method?: GetEnvironmentRequestStatsMethod | undefined;
|
|
36
|
+
search?: string | undefined;
|
|
37
|
+
writesOnly?: GetEnvironmentRequestStatsWritesOnly | undefined;
|
|
38
|
+
from: Date;
|
|
39
|
+
to: Date;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Recorded request statistics across the selected time window
|
|
43
|
+
*/
|
|
44
|
+
export type GetEnvironmentRequestStatsResponse = {
|
|
45
|
+
data: models.EnvironmentRequestStats;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const GetEnvironmentRequestStatsStatusClass$outboundSchema: z.ZodMiniEnum<typeof GetEnvironmentRequestStatsStatusClass>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const GetEnvironmentRequestStatsMethod$outboundSchema: z.ZodMiniEnum<typeof GetEnvironmentRequestStatsMethod>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const GetEnvironmentRequestStatsWritesOnly$outboundSchema: z.ZodMiniEnum<typeof GetEnvironmentRequestStatsWritesOnly>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type GetEnvironmentRequestStatsRequest$Outbound = {
|
|
55
|
+
environmentId: string;
|
|
56
|
+
appKey?: string | undefined;
|
|
57
|
+
status?: number | undefined;
|
|
58
|
+
statusClass?: string | undefined;
|
|
59
|
+
method?: string | undefined;
|
|
60
|
+
search?: string | undefined;
|
|
61
|
+
writesOnly?: string | undefined;
|
|
62
|
+
from: string;
|
|
63
|
+
to: string;
|
|
64
|
+
};
|
|
65
|
+
/** @internal */
|
|
66
|
+
export declare const GetEnvironmentRequestStatsRequest$outboundSchema: z.ZodMiniType<GetEnvironmentRequestStatsRequest$Outbound, GetEnvironmentRequestStatsRequest>;
|
|
67
|
+
export declare function getEnvironmentRequestStatsRequestToJSON(getEnvironmentRequestStatsRequest: GetEnvironmentRequestStatsRequest): string;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const GetEnvironmentRequestStatsResponse$inboundSchema: z.ZodMiniType<GetEnvironmentRequestStatsResponse, unknown>;
|
|
70
|
+
export declare function getEnvironmentRequestStatsResponseFromJSON(jsonString: string): SafeParseResult<GetEnvironmentRequestStatsResponse, SDKValidationError>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as models from "../index.js";
|
|
7
|
+
export const GetEnvironmentRequestStatsStatusClass = {
|
|
8
|
+
Twoxx: "2xx",
|
|
9
|
+
Threexx: "3xx",
|
|
10
|
+
Fourxx: "4xx",
|
|
11
|
+
Fivexx: "5xx",
|
|
12
|
+
};
|
|
13
|
+
export const GetEnvironmentRequestStatsMethod = {
|
|
14
|
+
Get: "GET",
|
|
15
|
+
Head: "HEAD",
|
|
16
|
+
Post: "POST",
|
|
17
|
+
Put: "PUT",
|
|
18
|
+
Patch: "PATCH",
|
|
19
|
+
Delete: "DELETE",
|
|
20
|
+
Options: "OPTIONS",
|
|
21
|
+
Connect: "CONNECT",
|
|
22
|
+
Trace: "TRACE",
|
|
23
|
+
};
|
|
24
|
+
export const GetEnvironmentRequestStatsWritesOnly = {
|
|
25
|
+
True: "true",
|
|
26
|
+
False: "false",
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const GetEnvironmentRequestStatsStatusClass$outboundSchema = z.enum(GetEnvironmentRequestStatsStatusClass);
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const GetEnvironmentRequestStatsMethod$outboundSchema = z.enum(GetEnvironmentRequestStatsMethod);
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const GetEnvironmentRequestStatsWritesOnly$outboundSchema = z.enum(GetEnvironmentRequestStatsWritesOnly);
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const GetEnvironmentRequestStatsRequest$outboundSchema = z.object({
|
|
36
|
+
environmentId: z.string(),
|
|
37
|
+
appKey: z.optional(z.string()),
|
|
38
|
+
status: z.optional(z.int()),
|
|
39
|
+
statusClass: z.optional(GetEnvironmentRequestStatsStatusClass$outboundSchema),
|
|
40
|
+
method: z.optional(GetEnvironmentRequestStatsMethod$outboundSchema),
|
|
41
|
+
search: z.optional(z.string()),
|
|
42
|
+
writesOnly: z.optional(GetEnvironmentRequestStatsWritesOnly$outboundSchema),
|
|
43
|
+
from: z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
44
|
+
to: z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
45
|
+
});
|
|
46
|
+
export function getEnvironmentRequestStatsRequestToJSON(getEnvironmentRequestStatsRequest) {
|
|
47
|
+
return JSON.stringify(GetEnvironmentRequestStatsRequest$outboundSchema.parse(getEnvironmentRequestStatsRequest));
|
|
48
|
+
}
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const GetEnvironmentRequestStatsResponse$inboundSchema = z.object({
|
|
51
|
+
data: models.EnvironmentRequestStats$inboundSchema,
|
|
52
|
+
});
|
|
53
|
+
export function getEnvironmentRequestStatsResponseFromJSON(jsonString) {
|
|
54
|
+
return safeParse(jsonString, (x) => GetEnvironmentRequestStatsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetEnvironmentRequestStatsResponse' from JSON`);
|
|
55
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
|
+
import * as models from "../index.js";
|
|
5
|
+
export type GetEnvironmentRequestRequest = {
|
|
6
|
+
environmentId: string;
|
|
7
|
+
requestId: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Recorded request with bounded payload previews
|
|
11
|
+
*/
|
|
12
|
+
export type GetEnvironmentRequestResponse = {
|
|
13
|
+
data: models.EnvironmentRequestDetail;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type GetEnvironmentRequestRequest$Outbound = {
|
|
17
|
+
environmentId: string;
|
|
18
|
+
requestId: string;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const GetEnvironmentRequestRequest$outboundSchema: z.ZodMiniType<GetEnvironmentRequestRequest$Outbound, GetEnvironmentRequestRequest>;
|
|
22
|
+
export declare function getEnvironmentRequestRequestToJSON(getEnvironmentRequestRequest: GetEnvironmentRequestRequest): string;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const GetEnvironmentRequestResponse$inboundSchema: z.ZodMiniType<GetEnvironmentRequestResponse, unknown>;
|
|
25
|
+
export declare function getEnvironmentRequestResponseFromJSON(jsonString: string): SafeParseResult<GetEnvironmentRequestResponse, SDKValidationError>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as models from "../index.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const GetEnvironmentRequestRequest$outboundSchema = z.object({
|
|
9
|
+
environmentId: z.string(),
|
|
10
|
+
requestId: z.string(),
|
|
11
|
+
});
|
|
12
|
+
export function getEnvironmentRequestRequestToJSON(getEnvironmentRequestRequest) {
|
|
13
|
+
return JSON.stringify(GetEnvironmentRequestRequest$outboundSchema.parse(getEnvironmentRequestRequest));
|
|
14
|
+
}
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetEnvironmentRequestResponse$inboundSchema = z.object({
|
|
17
|
+
data: models.EnvironmentRequestDetail$inboundSchema,
|
|
18
|
+
});
|
|
19
|
+
export function getEnvironmentRequestResponseFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => GetEnvironmentRequestResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetEnvironmentRequestResponse' from JSON`);
|
|
21
|
+
}
|
|
@@ -5,14 +5,15 @@ export * from "./delete-snapshot.js";
|
|
|
5
5
|
export * from "./get-catalog.js";
|
|
6
6
|
export * from "./get-connection.js";
|
|
7
7
|
export * from "./get-credential.js";
|
|
8
|
-
export * from "./get-environment-
|
|
9
|
-
export * from "./get-environment-
|
|
8
|
+
export * from "./get-environment-request-payload.js";
|
|
9
|
+
export * from "./get-environment-request-stats.js";
|
|
10
|
+
export * from "./get-environment-request.js";
|
|
10
11
|
export * from "./get-environment.js";
|
|
11
12
|
export * from "./get-release.js";
|
|
12
13
|
export * from "./get-snapshot.js";
|
|
13
14
|
export * from "./get-workspace.js";
|
|
14
15
|
export * from "./list-environment-events.js";
|
|
15
|
-
export * from "./list-environment-
|
|
16
|
+
export * from "./list-environment-requests.js";
|
|
16
17
|
export * from "./list-environments.js";
|
|
17
18
|
export * from "./list-snapshots.js";
|
|
18
19
|
export * from "./list-workspace-events.js";
|
|
@@ -8,14 +8,15 @@ export * from "./delete-snapshot.js";
|
|
|
8
8
|
export * from "./get-catalog.js";
|
|
9
9
|
export * from "./get-connection.js";
|
|
10
10
|
export * from "./get-credential.js";
|
|
11
|
-
export * from "./get-environment-
|
|
12
|
-
export * from "./get-environment-
|
|
11
|
+
export * from "./get-environment-request-payload.js";
|
|
12
|
+
export * from "./get-environment-request-stats.js";
|
|
13
|
+
export * from "./get-environment-request.js";
|
|
13
14
|
export * from "./get-environment.js";
|
|
14
15
|
export * from "./get-release.js";
|
|
15
16
|
export * from "./get-snapshot.js";
|
|
16
17
|
export * from "./get-workspace.js";
|
|
17
18
|
export * from "./list-environment-events.js";
|
|
18
|
-
export * from "./list-environment-
|
|
19
|
+
export * from "./list-environment-requests.js";
|
|
19
20
|
export * from "./list-environments.js";
|
|
20
21
|
export * from "./list-snapshots.js";
|
|
21
22
|
export * from "./list-workspace-events.js";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
import * as models from "../index.js";
|
|
6
|
+
export declare const ListEnvironmentRequestsStatusClass: {
|
|
7
|
+
readonly Twoxx: "2xx";
|
|
8
|
+
readonly Threexx: "3xx";
|
|
9
|
+
readonly Fourxx: "4xx";
|
|
10
|
+
readonly Fivexx: "5xx";
|
|
11
|
+
};
|
|
12
|
+
export type ListEnvironmentRequestsStatusClass = ClosedEnum<typeof ListEnvironmentRequestsStatusClass>;
|
|
13
|
+
export declare const ListEnvironmentRequestsMethod: {
|
|
14
|
+
readonly Get: "GET";
|
|
15
|
+
readonly Head: "HEAD";
|
|
16
|
+
readonly Post: "POST";
|
|
17
|
+
readonly Put: "PUT";
|
|
18
|
+
readonly Patch: "PATCH";
|
|
19
|
+
readonly Delete: "DELETE";
|
|
20
|
+
readonly Options: "OPTIONS";
|
|
21
|
+
readonly Connect: "CONNECT";
|
|
22
|
+
readonly Trace: "TRACE";
|
|
23
|
+
};
|
|
24
|
+
export type ListEnvironmentRequestsMethod = ClosedEnum<typeof ListEnvironmentRequestsMethod>;
|
|
25
|
+
export declare const ListEnvironmentRequestsWritesOnly: {
|
|
26
|
+
readonly True: "true";
|
|
27
|
+
readonly False: "false";
|
|
28
|
+
};
|
|
29
|
+
export type ListEnvironmentRequestsWritesOnly = ClosedEnum<typeof ListEnvironmentRequestsWritesOnly>;
|
|
30
|
+
export type ListEnvironmentRequestsRequest = {
|
|
31
|
+
environmentId: string;
|
|
32
|
+
limit?: number | undefined;
|
|
33
|
+
cursor?: string | undefined;
|
|
34
|
+
appKey?: string | undefined;
|
|
35
|
+
status?: number | undefined;
|
|
36
|
+
statusClass?: ListEnvironmentRequestsStatusClass | undefined;
|
|
37
|
+
method?: ListEnvironmentRequestsMethod | undefined;
|
|
38
|
+
search?: string | undefined;
|
|
39
|
+
writesOnly?: ListEnvironmentRequestsWritesOnly | undefined;
|
|
40
|
+
from?: Date | undefined;
|
|
41
|
+
to?: Date | undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Best-effort recorded replica requests, newest first
|
|
45
|
+
*/
|
|
46
|
+
export type ListEnvironmentRequestsResponse = {
|
|
47
|
+
data: Array<models.EnvironmentRequest>;
|
|
48
|
+
nextCursor: string | null;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const ListEnvironmentRequestsStatusClass$outboundSchema: z.ZodMiniEnum<typeof ListEnvironmentRequestsStatusClass>;
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const ListEnvironmentRequestsMethod$outboundSchema: z.ZodMiniEnum<typeof ListEnvironmentRequestsMethod>;
|
|
54
|
+
/** @internal */
|
|
55
|
+
export declare const ListEnvironmentRequestsWritesOnly$outboundSchema: z.ZodMiniEnum<typeof ListEnvironmentRequestsWritesOnly>;
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type ListEnvironmentRequestsRequest$Outbound = {
|
|
58
|
+
environmentId: string;
|
|
59
|
+
limit: number;
|
|
60
|
+
cursor?: string | undefined;
|
|
61
|
+
appKey?: string | undefined;
|
|
62
|
+
status?: number | undefined;
|
|
63
|
+
statusClass?: string | undefined;
|
|
64
|
+
method?: string | undefined;
|
|
65
|
+
search?: string | undefined;
|
|
66
|
+
writesOnly?: string | undefined;
|
|
67
|
+
from?: string | undefined;
|
|
68
|
+
to?: string | undefined;
|
|
69
|
+
};
|
|
70
|
+
/** @internal */
|
|
71
|
+
export declare const ListEnvironmentRequestsRequest$outboundSchema: z.ZodMiniType<ListEnvironmentRequestsRequest$Outbound, ListEnvironmentRequestsRequest>;
|
|
72
|
+
export declare function listEnvironmentRequestsRequestToJSON(listEnvironmentRequestsRequest: ListEnvironmentRequestsRequest): string;
|
|
73
|
+
/** @internal */
|
|
74
|
+
export declare const ListEnvironmentRequestsResponse$inboundSchema: z.ZodMiniType<ListEnvironmentRequestsResponse, unknown>;
|
|
75
|
+
export declare function listEnvironmentRequestsResponseFromJSON(jsonString: string): SafeParseResult<ListEnvironmentRequestsResponse, SDKValidationError>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
export const ListEnvironmentRequestsStatusClass = {
|
|
9
|
+
Twoxx: "2xx",
|
|
10
|
+
Threexx: "3xx",
|
|
11
|
+
Fourxx: "4xx",
|
|
12
|
+
Fivexx: "5xx",
|
|
13
|
+
};
|
|
14
|
+
export const ListEnvironmentRequestsMethod = {
|
|
15
|
+
Get: "GET",
|
|
16
|
+
Head: "HEAD",
|
|
17
|
+
Post: "POST",
|
|
18
|
+
Put: "PUT",
|
|
19
|
+
Patch: "PATCH",
|
|
20
|
+
Delete: "DELETE",
|
|
21
|
+
Options: "OPTIONS",
|
|
22
|
+
Connect: "CONNECT",
|
|
23
|
+
Trace: "TRACE",
|
|
24
|
+
};
|
|
25
|
+
export const ListEnvironmentRequestsWritesOnly = {
|
|
26
|
+
True: "true",
|
|
27
|
+
False: "false",
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const ListEnvironmentRequestsStatusClass$outboundSchema = z.enum(ListEnvironmentRequestsStatusClass);
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ListEnvironmentRequestsMethod$outboundSchema = z.enum(ListEnvironmentRequestsMethod);
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const ListEnvironmentRequestsWritesOnly$outboundSchema = z.enum(ListEnvironmentRequestsWritesOnly);
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ListEnvironmentRequestsRequest$outboundSchema = z.object({
|
|
37
|
+
environmentId: z.string(),
|
|
38
|
+
limit: z._default(z.int(), 50),
|
|
39
|
+
cursor: z.optional(z.string()),
|
|
40
|
+
appKey: z.optional(z.string()),
|
|
41
|
+
status: z.optional(z.int()),
|
|
42
|
+
statusClass: z.optional(ListEnvironmentRequestsStatusClass$outboundSchema),
|
|
43
|
+
method: z.optional(ListEnvironmentRequestsMethod$outboundSchema),
|
|
44
|
+
search: z.optional(z.string()),
|
|
45
|
+
writesOnly: z.optional(ListEnvironmentRequestsWritesOnly$outboundSchema),
|
|
46
|
+
from: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
47
|
+
to: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
48
|
+
});
|
|
49
|
+
export function listEnvironmentRequestsRequestToJSON(listEnvironmentRequestsRequest) {
|
|
50
|
+
return JSON.stringify(ListEnvironmentRequestsRequest$outboundSchema.parse(listEnvironmentRequestsRequest));
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const ListEnvironmentRequestsResponse$inboundSchema = z.object({
|
|
54
|
+
data: z.array(models.EnvironmentRequest$inboundSchema),
|
|
55
|
+
nextCursor: types.nullable(types.string()),
|
|
56
|
+
});
|
|
57
|
+
export function listEnvironmentRequestsResponseFromJSON(jsonString) {
|
|
58
|
+
return safeParse(jsonString, (x) => ListEnvironmentRequestsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListEnvironmentRequestsResponse' from JSON`);
|
|
59
|
+
}
|
|
@@ -4,6 +4,7 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
|
4
4
|
import * as models from "../index.js";
|
|
5
5
|
export type ResumeEnvironmentRequest = {
|
|
6
6
|
environmentId: string;
|
|
7
|
+
idempotencyKey?: string | undefined;
|
|
7
8
|
};
|
|
8
9
|
/**
|
|
9
10
|
* Environment queued to run again on the data it was suspended with
|
|
@@ -14,6 +15,7 @@ export type ResumeEnvironmentResponse = {
|
|
|
14
15
|
/** @internal */
|
|
15
16
|
export type ResumeEnvironmentRequest$Outbound = {
|
|
16
17
|
environmentId: string;
|
|
18
|
+
"idempotency-key"?: string | undefined;
|
|
17
19
|
};
|
|
18
20
|
/** @internal */
|
|
19
21
|
export declare const ResumeEnvironmentRequest$outboundSchema: z.ZodMiniType<ResumeEnvironmentRequest$Outbound, ResumeEnvironmentRequest>;
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
/** @internal */
|
|
8
|
-
export const ResumeEnvironmentRequest$outboundSchema = z.object({
|
|
9
|
+
export const ResumeEnvironmentRequest$outboundSchema = z.pipe(z.object({
|
|
9
10
|
environmentId: z.string(),
|
|
10
|
-
|
|
11
|
+
idempotencyKey: z.optional(z.string()),
|
|
12
|
+
}), z.transform((v) => {
|
|
13
|
+
return remap$(v, {
|
|
14
|
+
idempotencyKey: "idempotency-key",
|
|
15
|
+
});
|
|
16
|
+
}));
|
|
11
17
|
export function resumeEnvironmentRequestToJSON(resumeEnvironmentRequest) {
|
|
12
18
|
return JSON.stringify(ResumeEnvironmentRequest$outboundSchema.parse(resumeEnvironmentRequest));
|
|
13
19
|
}
|