Variable solutionUpgradeResponseSchemaConst
solutionUpgradeResponseSchema: ZodObject<
{
created_at: ZodOptional<ZodString>;
id: ZodString;
installed_configs: ZodOptional<
ZodArray<
ZodObject<
{
id: ZodString;
key: ZodString;
kind: ZodString;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{ id: string; key: string; kind: string; lookup_key?: string
| null },
{ id: string; key: string; kind: string; lookup_key?: string | null },
>,
"many",
>,
>;
kind: ZodString;
lookup_key: ZodOptional<ZodString>;
solution: ZodObject<
{
category_keys: ZodOptional<ZodArray<ZodString, "many">>;
created_at: ZodOptional<ZodString>;
description: ZodOptional<ZodNullable<ZodString>>;
events: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
id: ZodString;
image_url: ZodOptional<ZodNullable<ZodString>>;
installed_config_ids: ZodArray<ZodString, "many">;
kind: ZodString;
latest_solution: ZodOptional<ZodNullable<ZodString>>;
latest_version: ZodOptional<ZodNullable<ZodString>>;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
metadata: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
name: ZodOptional<ZodNullable<ZodString>>;
org: ZodOptional<ZodNullable<ZodString>>;
org_logo: ZodOptional<
ZodNullable<
ZodObject<
{
file: ZodOptional<ZodNullable<ZodString>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
media: ZodOptional<ZodNullable<ZodString>>;
mime_type: ZodOptional<ZodNullable<ZodString>>;
refresh_url: ZodOptional<ZodNullable<ZodString>>;
url: ZodOptional<ZodNullable<ZodString>>;
width: ZodOptional<ZodNullable<ZodNumber>>;
},
"strip",
ZodTypeAny,
{
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
},
{
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
},
>,
>,
>;
org_name: ZodOptional<ZodNullable<ZodString>>;
org_slug: ZodOptional<ZodNullable<ZodString>>;
owners: ZodArray<ZodString, "many">;
readme_url: ZodOptional<ZodNullable<ZodString>>;
screenshot_urls: ZodOptional<ZodArray<ZodString, "many">>;
solution_id: ZodOptional<ZodNullable<ZodString>>;
solution_version: ZodOptional<ZodNullable<ZodString>>;
tag_keys: ZodOptional<ZodArray<ZodString, "many">>;
template_kind: ZodOptional<ZodNullable<ZodString>>;
templates: ZodArray<
ZodObject<
{
description: ZodOptional<ZodNullable<ZodString>>;
details: ZodOptional<
ZodNullable<ZodDiscriminatedUnion<"type", [(...)]>>,
>;
display_name: ZodOptional<ZodNullable<ZodString>>;
id: ZodOptional<ZodNullable<ZodString>>;
kind: ZodString;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
readme_url: ZodOptional<ZodNullable<ZodString>>;
virtual_path: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{
description?: string
| null;
details?:
| {
automation_type?: string
| null;
invoke_contract?:
| { input_schema?: ...; participants?: ...; prefills: ... }
| null;
type: "automation";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
},
{
description?: string
| null;
details?:
| {
automation_type?: string
| null;
invoke_contract?:
| { input_schema?: ...; participants?: ...; prefills: ... }
| null;
type: "automation";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
},
>,
"many",
>;
updated_at: ZodOptional<ZodString>;
upgrade_available: ZodBoolean;
virtual_path: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{
category_keys?: string[];
created_at?: string;
description?: string
| null;
events?: Record<string, {} | null>;
id: string;
image_url?: string | null;
installed_config_ids: string[];
kind: string;
latest_solution?: string | null;
latest_version?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_logo?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
org_name?: string
| null;
org_slug?: string | null;
owners: string[];
readme_url?: string | null;
screenshot_urls?: string[];
solution_id?: string | null;
solution_version?: string | null;
tag_keys?: string[];
template_kind?: string | null;
templates: {
description?: string | null;
details?:
| {
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: (...)
| (...)
| (...);
participants?: (...) | (...) | (...);
prefills: { participants?: ...; payload?: ... };
}
| null;
type: "automation";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
}[];
updated_at?: string;
upgrade_available: boolean;
virtual_path?: string
| null;
},
{
category_keys?: string[];
created_at?: string;
description?: string
| null;
events?: Record<string, {} | null>;
id: string;
image_url?: string | null;
installed_config_ids: string[];
kind: string;
latest_solution?: string | null;
latest_version?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_logo?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
org_name?: string
| null;
org_slug?: string | null;
owners: string[];
readme_url?: string | null;
screenshot_urls?: string[];
solution_id?: string | null;
solution_version?: string | null;
tag_keys?: string[];
template_kind?: string | null;
templates: {
description?: string | null;
details?:
| {
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: (...)
| (...)
| (...);
participants?: (...) | (...) | (...);
prefills: { participants?: ...; payload?: ... };
}
| null;
type: "automation";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
}[];
updated_at?: string;
upgrade_available: boolean;
virtual_path?: string
| null;
},
>;
updated_at: ZodOptional<ZodString>;
upgrade_result: ZodObject<
{
changes: ZodArray<
ZodObject<
{
action: ZodString;
content_changed: ZodBoolean;
id: ZodOptional<ZodString>;
key: ZodString;
kind: ZodOptional<ZodString>;
lookup_key: ZodOptional<ZodString>;
mime_type_changed: ZodBoolean;
referenced_by: ZodOptional<
ZodArray<
ZodObject<
{ id: ...; kind: ...; lookup_key: ...; reason: ... },
"strip",
ZodTypeAny,
{ id: ...; kind: ...; lookup_key?: ...; reason: ... },
{ id: ...; kind: ...; lookup_key?: ...; reason: ... },
>,
"many",
>,
>;
relative_path_changed: ZodBoolean;
role: ZodString;
virtual_path: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
action: string;
content_changed: boolean;
id?: string;
key: string;
kind?: string;
lookup_key?: string;
mime_type_changed: boolean;
referenced_by?: {
id: string;
kind: string;
lookup_key?: (...)
| (...);
reason: string;
}[];
relative_path_changed: boolean;
role: string;
virtual_path?: string;
},
{
action: string;
content_changed: boolean;
id?: string;
key: string;
kind?: string;
lookup_key?: string;
mime_type_changed: boolean;
referenced_by?: {
id: string;
kind: string;
lookup_key?: (...)
| (...);
reason: string;
}[];
relative_path_changed: boolean;
role: string;
virtual_path?: string;
},
>,
"many",
>;
code: ZodOptional<ZodString>;
dry_run: ZodBoolean;
existing_solution_version: ZodOptional<ZodString>;
incoming_solution_version: ZodOptional<ZodString>;
message: ZodOptional<ZodString>;
review_fingerprint: ZodOptional<ZodString>;
status: ZodString;
summary: ZodObject<
{
adds: ZodNumber;
deletes: ZodNumber;
noops: ZodNumber;
orphans: ZodNumber;
referenced_orphans: ZodNumber;
updates: ZodNumber;
},
"strip",
ZodTypeAny,
{
adds: number;
deletes: number;
noops: number;
orphans: number;
referenced_orphans: number;
updates: number;
},
{
adds: number;
deletes: number;
noops: number;
orphans: number;
referenced_orphans: number;
updates: number;
},
>;
version_change: ZodString;
},
"strip",
ZodTypeAny,
{
changes: {
action: string;
content_changed: boolean;
id?: string;
key: string;
kind?: string;
lookup_key?: string;
mime_type_changed: boolean;
referenced_by?: {
id: string;
kind: string;
lookup_key?: string;
reason: string;
}[];
relative_path_changed: boolean;
role: string;
virtual_path?: string;
}[];
code?: string;
dry_run: boolean;
existing_solution_version?: string;
incoming_solution_version?: string;
message?: string;
review_fingerprint?: string;
status: string;
summary: {
adds: number;
deletes: number;
noops: number;
orphans: number;
referenced_orphans: number;
updates: number;
};
version_change: string;
},
{
changes: {
action: string;
content_changed: boolean;
id?: string;
key: string;
kind?: string;
lookup_key?: string;
mime_type_changed: boolean;
referenced_by?: {
id: string;
kind: string;
lookup_key?: string;
reason: string;
}[];
relative_path_changed: boolean;
role: string;
virtual_path?: string;
}[];
code?: string;
dry_run: boolean;
existing_solution_version?: string;
incoming_solution_version?: string;
message?: string;
review_fingerprint?: string;
status: string;
summary: {
adds: number;
deletes: number;
noops: number;
orphans: number;
referenced_orphans: number;
updates: number;
};
version_change: string;
},
>;
virtual_path: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
created_at?: string;
id: string;
installed_configs?: {
id: string;
key: string;
kind: string;
lookup_key?: string
| null;
}[];
kind: string;
lookup_key?: string;
solution: {
category_keys?: string[];
created_at?: string;
description?: string
| null;
events?: Record<string, {} | null>;
id: string;
image_url?: string | null;
installed_config_ids: string[];
kind: string;
latest_solution?: string | null;
latest_version?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_logo?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
org_name?: string
| null;
org_slug?: string | null;
owners: string[];
readme_url?: string | null;
screenshot_urls?: string[];
solution_id?: string | null;
solution_version?: string | null;
tag_keys?: string[];
template_kind?: string | null;
templates: {
description?: string | null;
details?:
| {
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: Record<(...), (...)>
| null;
participants?: (...)[] | null;
prefills: { participants?: (...) | (...); payload?: (...) | (...) };
}
| null;
type: "automation";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
}[];
updated_at?: string;
upgrade_available: boolean;
virtual_path?: string
| null;
};
updated_at?: string;
upgrade_result: {
changes: {
action: string;
content_changed: boolean;
id?: string;
key: string;
kind?: string;
lookup_key?: string;
mime_type_changed: boolean;
referenced_by?: {
id: string;
kind: string;
lookup_key?: string;
reason: string;
}[];
relative_path_changed: boolean;
role: string;
virtual_path?: string;
}[];
code?: string;
dry_run: boolean;
existing_solution_version?: string;
incoming_solution_version?: string;
message?: string;
review_fingerprint?: string;
status: string;
summary: {
adds: number;
deletes: number;
noops: number;
orphans: number;
referenced_orphans: number;
updates: number;
};
version_change: string;
};
virtual_path?: string;
},
{
created_at?: string;
id: string;
installed_configs?: {
id: string;
key: string;
kind: string;
lookup_key?: string
| null;
}[];
kind: string;
lookup_key?: string;
solution: {
category_keys?: string[];
created_at?: string;
description?: string
| null;
events?: Record<string, {} | null>;
id: string;
image_url?: string | null;
installed_config_ids: string[];
kind: string;
latest_solution?: string | null;
latest_version?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_logo?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
org_name?: string
| null;
org_slug?: string | null;
owners: string[];
readme_url?: string | null;
screenshot_urls?: string[];
solution_id?: string | null;
solution_version?: string | null;
tag_keys?: string[];
template_kind?: string | null;
templates: {
description?: string | null;
details?:
| {
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: Record<(...), (...)>
| null;
participants?: (...)[] | null;
prefills: { participants?: (...) | (...); payload?: (...) | (...) };
}
| null;
type: "automation";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
}[];
updated_at?: string;
upgrade_available: boolean;
virtual_path?: string
| null;
};
updated_at?: string;
upgrade_result: {
changes: {
action: string;
content_changed: boolean;
id?: string;
key: string;
kind?: string;
lookup_key?: string;
mime_type_changed: boolean;
referenced_by?: {
id: string;
kind: string;
lookup_key?: string;
reason: string;
}[];
relative_path_changed: boolean;
role: string;
virtual_path?: string;
}[];
code?: string;
dry_run: boolean;
existing_solution_version?: string;
incoming_solution_version?: string;
message?: string;
review_fingerprint?: string;
status: string;
summary: {
adds: number;
deletes: number;
noops: number;
orphans: number;
referenced_orphans: number;
updates: number;
};
version_change: string;
};
virtual_path?: string;
},
> = ...
Runtime validator for SolutionUpgradeResponse.