@usestatemachines/sdk 0.6.1 → 0.7.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.
@@ -1,13 +0,0 @@
1
- import * as z from "zod/v4-mini";
2
- export type PauseEnvironmentRequest = {
3
- environmentId: string;
4
- idempotencyKey?: string | undefined;
5
- };
6
- /** @internal */
7
- export type PauseEnvironmentRequest$Outbound = {
8
- environmentId: string;
9
- "idempotency-key"?: string | undefined;
10
- };
11
- /** @internal */
12
- export declare const PauseEnvironmentRequest$outboundSchema: z.ZodMiniType<PauseEnvironmentRequest$Outbound, PauseEnvironmentRequest>;
13
- export declare function pauseEnvironmentRequestToJSON(pauseEnvironmentRequest: PauseEnvironmentRequest): string;
@@ -1,17 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4-mini";
5
- import { remap as remap$ } from "../../lib/primitives.js";
6
- /** @internal */
7
- export const PauseEnvironmentRequest$outboundSchema = z.pipe(z.object({
8
- environmentId: z.string(),
9
- idempotencyKey: z.optional(z.string()),
10
- }), z.transform((v) => {
11
- return remap$(v, {
12
- idempotencyKey: "idempotency-key",
13
- });
14
- }));
15
- export function pauseEnvironmentRequestToJSON(pauseEnvironmentRequest) {
16
- return JSON.stringify(PauseEnvironmentRequest$outboundSchema.parse(pauseEnvironmentRequest));
17
- }
@@ -1,13 +0,0 @@
1
- import * as z from "zod/v4-mini";
2
- export type ResumeEnvironmentRequest = {
3
- environmentId: string;
4
- idempotencyKey?: string | undefined;
5
- };
6
- /** @internal */
7
- export type ResumeEnvironmentRequest$Outbound = {
8
- environmentId: string;
9
- "idempotency-key"?: string | undefined;
10
- };
11
- /** @internal */
12
- export declare const ResumeEnvironmentRequest$outboundSchema: z.ZodMiniType<ResumeEnvironmentRequest$Outbound, ResumeEnvironmentRequest>;
13
- export declare function resumeEnvironmentRequestToJSON(resumeEnvironmentRequest: ResumeEnvironmentRequest): string;
@@ -1,17 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4-mini";
5
- import { remap as remap$ } from "../../lib/primitives.js";
6
- /** @internal */
7
- export const ResumeEnvironmentRequest$outboundSchema = z.pipe(z.object({
8
- environmentId: z.string(),
9
- idempotencyKey: z.optional(z.string()),
10
- }), z.transform((v) => {
11
- return remap$(v, {
12
- idempotencyKey: "idempotency-key",
13
- });
14
- }));
15
- export function resumeEnvironmentRequestToJSON(resumeEnvironmentRequest) {
16
- return JSON.stringify(ResumeEnvironmentRequest$outboundSchema.parse(resumeEnvironmentRequest));
17
- }