import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DiffSummaryDto } from "./diffsummarydto.js"; import { ResourceDependencyDto } from "./resourcedependencydto.js"; import { ResourceDiffDto } from "./resourcediffdto.js"; import { ResourceTypeEnum } from "./resourcetypeenum.js"; /** * User who last updated the resource */ export type ResourceDiffResultDtoSourceResourceUpdatedBy = { /** * User ID */ id: string; /** * User first name */ firstName: string; /** * User last name */ lastName?: string | null | undefined; /** * User external ID */ externalId?: string | undefined; }; /** * Source resource information */ export type SourceResource = { /** * Resource ID (workflow ID or step ID) */ id?: string | null | undefined; /** * Resource name (workflow name or step name) */ name?: string | null | undefined; /** * User who last updated the resource */ updatedBy?: ResourceDiffResultDtoSourceResourceUpdatedBy | null | undefined; /** * When the resource was last updated */ updatedAt?: Date | null | undefined; }; /** * User who last updated the resource */ export type ResourceDiffResultDtoUpdatedBy = { /** * User ID */ id: string; /** * User first name */ firstName: string; /** * User last name */ lastName?: string | null | undefined; /** * User external ID */ externalId?: string | undefined; }; /** * Target resource information */ export type TargetResource = { /** * Resource ID (workflow ID or step ID) */ id?: string | null | undefined; /** * Resource name (workflow name or step name) */ name?: string | null | undefined; /** * User who last updated the resource */ updatedBy?: ResourceDiffResultDtoUpdatedBy | null | undefined; /** * When the resource was last updated */ updatedAt?: Date | null | undefined; }; export type ResourceDiffResultDto = { /** * Type of the layout */ resourceType: ResourceTypeEnum; /** * Source resource information */ sourceResource?: SourceResource | null | undefined; /** * Target resource information */ targetResource?: TargetResource | null | undefined; /** * List of specific changes for this resource */ changes: Array; /** * Summary of changes for this resource */ summary: DiffSummaryDto; /** * Dependencies that affect this resource */ dependencies?: Array | undefined; }; /** @internal */ export declare const ResourceDiffResultDtoSourceResourceUpdatedBy$inboundSchema: z.ZodType; export declare function resourceDiffResultDtoSourceResourceUpdatedByFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SourceResource$inboundSchema: z.ZodType; export declare function sourceResourceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResourceDiffResultDtoUpdatedBy$inboundSchema: z.ZodType; export declare function resourceDiffResultDtoUpdatedByFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TargetResource$inboundSchema: z.ZodType; export declare function targetResourceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResourceDiffResultDto$inboundSchema: z.ZodType; export declare function resourceDiffResultDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=resourcediffresultdto.d.ts.map