import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest = { workspaceId: string; pageSize?: number | undefined; pageToken?: string | undefined; }; export type Sharings = { id?: string | undefined; sharedWithEmail?: string | undefined; permissionLevel?: string | undefined; expiresAt?: Date | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData = { sharings?: Array | undefined; nextPageToken?: string | undefined; totalSize?: number | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody = { data: GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$Outbound = { workspaceId: string; pageSize?: number | undefined; pageToken?: string | undefined; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$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 GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequestToJSON(getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest: GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequest): string; export declare function getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Sharings$inboundSchema: z.ZodType; /** @internal */ export type Sharings$Outbound = { id?: string | undefined; sharedWithEmail?: string | undefined; permissionLevel?: string | undefined; expiresAt?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; }; /** @internal */ export declare const Sharings$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 Sharings$ { /** @deprecated use `Sharings$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Sharings$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Sharings$Outbound` instead. */ type Outbound = Sharings$Outbound; } export declare function sharingsToJSON(sharings: Sharings): string; export declare function sharingsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$Outbound = { sharings?: Array | undefined; nextPageToken?: string | undefined; totalSize?: number | undefined; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$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 GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdDataToJSON(getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData: GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData): string; export declare function getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$Outbound = { data: GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdData$Outbound; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$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 GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBodyToJSON(getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody: GetApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBody): string; export declare function getApiWorkspaceServiceV1WorkspacesSharingsWorkspaceIdResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiworkspaceservicev1workspacessharingsworkspaceid.d.ts.map