import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type PutApiWorkspaceServiceV1WorkspaceSharingsSharing = { id?: string | undefined; sharedWithEmail?: string | undefined; permissionLevel?: string | undefined; expiresAt?: Date | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; }; export type PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody = { sharing?: PutApiWorkspaceServiceV1WorkspaceSharingsSharing | undefined; }; export type PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing = { id?: string | undefined; sharedWithEmail?: string | undefined; permissionLevel?: string | undefined; expiresAt?: Date | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; }; export type PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody = { sharing?: PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing | undefined; }; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsSharing$inboundSchema: z.ZodType; /** @internal */ export type PutApiWorkspaceServiceV1WorkspaceSharingsSharing$Outbound = { id?: string | undefined; sharedWithEmail?: string | undefined; permissionLevel?: string | undefined; expiresAt?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; }; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsSharing$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PutApiWorkspaceServiceV1WorkspaceSharingsSharing$ { /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsSharing$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsSharing$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsSharing$Outbound` instead. */ type Outbound = PutApiWorkspaceServiceV1WorkspaceSharingsSharing$Outbound; } export declare function putApiWorkspaceServiceV1WorkspaceSharingsSharingToJSON(putApiWorkspaceServiceV1WorkspaceSharingsSharing: PutApiWorkspaceServiceV1WorkspaceSharingsSharing): string; export declare function putApiWorkspaceServiceV1WorkspaceSharingsSharingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$inboundSchema: z.ZodType; /** @internal */ export type PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$Outbound = { sharing?: PutApiWorkspaceServiceV1WorkspaceSharingsSharing$Outbound | undefined; }; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$ { /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$Outbound` instead. */ type Outbound = PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody$Outbound; } export declare function putApiWorkspaceServiceV1WorkspaceSharingsRequestBodyToJSON(putApiWorkspaceServiceV1WorkspaceSharingsRequestBody: PutApiWorkspaceServiceV1WorkspaceSharingsRequestBody): string; export declare function putApiWorkspaceServiceV1WorkspaceSharingsRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$inboundSchema: z.ZodType; /** @internal */ export type PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$Outbound = { id?: string | undefined; sharedWithEmail?: string | undefined; permissionLevel?: string | undefined; expiresAt?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; }; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$ { /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$Outbound` instead. */ type Outbound = PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$Outbound; } export declare function putApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharingToJSON(putApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing: PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing): string; export declare function putApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$inboundSchema: z.ZodType; /** @internal */ export type PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$Outbound = { sharing?: PutApiWorkspaceServiceV1WorkspaceSharingsWorkspaceSharingsSharing$Outbound | undefined; }; /** @internal */ export declare const PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$ { /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$Outbound` instead. */ type Outbound = PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody$Outbound; } export declare function putApiWorkspaceServiceV1WorkspaceSharingsResponseBodyToJSON(putApiWorkspaceServiceV1WorkspaceSharingsResponseBody: PutApiWorkspaceServiceV1WorkspaceSharingsResponseBody): string; export declare function putApiWorkspaceServiceV1WorkspaceSharingsResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putapiworkspaceservicev1workspacesharings.d.ts.map