Variable teamMembershipListResponseSchemaConst
teamMembershipListResponseSchema: ZodObject<
{
data: ZodArray<
ZodObject<
{
agent: ZodOptional<
ZodNullable<
ZodObject<
{
acl: ZodOptional<ZodNullable<(...)>>;
app: ZodOptional<ZodString>;
created_at: ZodOptional<ZodString>;
default_model: ZodOptional<ZodNullable<(...)>>;
description: ZodOptional<ZodNullable<(...)>>;
email: ZodOptional<ZodNullable<(...)>>;
id: ZodString;
identity: ZodOptional<ZodNullable<(...)>>;
last_applied_template_config: ZodOptional<ZodNullable<(...)>>;
lookup_key: ZodOptional<ZodNullable<(...)>>;
metadata: ZodOptional<ZodRecord<(...), (...)>>;
name: ZodOptional<ZodString>;
org: ZodOptional<ZodNullable<(...)>>;
org_name: ZodOptional<ZodNullable<(...)>>;
originator: ZodOptional<ZodNullable<(...)>>;
phone_number: ZodOptional<ZodNullable<(...)>>;
sandbox: ZodOptional<ZodNullable<(...)>>;
source_solution: ZodOptional<ZodNullable<(...)>>;
team: ZodOptional<ZodNullable<(...)>>;
template_upgrade_available: ZodOptional<ZodNullable<(...)>>;
updated_at: ZodOptional<ZodString>;
user: ZodOptional<ZodNullable<(...)>>;
},
"strip",
ZodTypeAny,
{
acl?: { add?: ...; grants?: ...; remove?: ... }
| null;
app?: string;
created_at?: string;
default_model?: string | null;
description?: string | null;
email?: string | null;
id: string;
identity?: string | null;
last_applied_template_config?: string | null;
lookup_key?: string | null;
metadata?: Record<(...), (...)>;
name?: string;
org?: string | null;
org_name?: string | null;
originator?: string | null;
phone_number?: string | null;
sandbox?: string | null;
source_solution?:
| { current_solution?: ...; solution: ...; template: ... }
| null;
team?: string | null;
template_upgrade_available?: boolean | null;
updated_at?: string;
user?: string | null;
},
{
acl?: { add?: ...; grants?: ...; remove?: ... }
| null;
app?: string;
created_at?: string;
default_model?: string | null;
description?: string | null;
email?: string | null;
id: string;
identity?: string | null;
last_applied_template_config?: string | null;
lookup_key?: string | null;
metadata?: Record<(...), (...)>;
name?: string;
org?: string | null;
org_name?: string | null;
originator?: string | null;
phone_number?: string | null;
sandbox?: string | null;
source_solution?:
| { current_solution?: ...; solution: ...; template: ... }
| null;
team?: string | null;
template_upgrade_available?: boolean | null;
updated_at?: string;
user?: string | null;
},
>,
>,
>;
created_at: ZodOptional<ZodString>;
id: ZodString;
joined_at: ZodOptional<ZodString>;
metadata: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
name: ZodOptional<ZodNullable<ZodString>>;
profile_picture: ZodOptional<
ZodNullable<
ZodObject<
{
file: ZodOptional<ZodNullable<(...)>>;
height: ZodOptional<ZodNullable<(...)>>;
media: ZodOptional<ZodNullable<(...)>>;
mime_type: ZodOptional<ZodNullable<(...)>>;
refresh_url: ZodOptional<ZodNullable<(...)>>;
url: ZodOptional<ZodNullable<(...)>>;
width: ZodOptional<ZodNullable<(...)>>;
},
"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;
},
>,
>,
>;
role: ZodOptional<ZodString>;
team: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>,
>;
type: ZodOptional<ZodString>;
updated_at: ZodOptional<ZodString>;
user: ZodOptional<
ZodNullable<
ZodObject<
{
alias: ZodOptional<ZodNullable<(...)>>;
app: ZodOptional<ZodNullable<(...)>>;
app_name: ZodOptional<ZodNullable<(...)>>;
created_by_agent_user: ZodOptional<ZodNullable<(...)>>;
created_by_developer: ZodOptional<ZodNullable<(...)>>;
created_by_org: ZodOptional<ZodNullable<(...)>>;
created_by_team: ZodOptional<ZodNullable<(...)>>;
created_by_user: ZodOptional<ZodNullable<(...)>>;
email: ZodOptional<ZodNullable<(...)>>;
id: ZodString;
is_system_user: ZodOptional<ZodBoolean>;
metadata: ZodOptional<ZodRecord<(...), (...)>>;
name: ZodOptional<ZodNullable<(...)>>;
org: ZodOptional<ZodNullable<(...)>>;
org_name: ZodOptional<ZodNullable<(...)>>;
org_role: ZodOptional<ZodNullable<(...)>>;
org_slug: ZodOptional<ZodNullable<(...)>>;
sandbox: ZodOptional<ZodNullable<(...)>>;
sandbox_name: ZodOptional<ZodNullable<(...)>>;
},
"strip",
ZodTypeAny,
{
alias?: string
| null;
app?: string | null;
app_name?: string | null;
created_by_agent_user?: string | null;
created_by_developer?: string | null;
created_by_org?: string | null;
created_by_team?: string | null;
created_by_user?: string | null;
email?: string | null;
id: string;
is_system_user?: boolean;
metadata?: Record<(...), (...)>;
name?: string | null;
org?: string | null;
org_name?: string | null;
org_role?: string | null;
org_slug?: string | null;
sandbox?: string | null;
sandbox_name?: string | null;
},
{
alias?: string
| null;
app?: string | null;
app_name?: string | null;
created_by_agent_user?: string | null;
created_by_developer?: string | null;
created_by_org?: string | null;
created_by_team?: string | null;
created_by_user?: string | null;
email?: string | null;
id: string;
is_system_user?: boolean;
metadata?: Record<(...), (...)>;
name?: string | null;
org?: string | null;
org_name?: string | null;
org_role?: string | null;
org_slug?: string | null;
sandbox?: string | null;
sandbox_name?: string | null;
},
>,
>,
>;
},
"strip",
ZodTypeAny,
{
agent?: | {
acl?: { add?: (...)[]; grants?: (...)[]; remove?: (...)[] }
| null;
app?: string;
created_at?: string;
default_model?: string | null;
description?: string | null;
email?: string | null;
id: string;
identity?: string | null;
last_applied_template_config?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
org?: string | null;
org_name?: string | null;
originator?: string | null;
phone_number?: string | null;
sandbox?: string | null;
source_solution?:
| {
current_solution?: {
category_keys?: ...;
created_at?: ...;
description?: ...;
events?: ...;
id: ...;
image_url?: ...;
installed_config_ids: ...;
kind: ...;
latest_solution?: ...;
latest_version?: ...;
lookup_key?: ...;
metadata?: ...;
name?: ...;
org?: ...;
org_logo?: ...;
org_name?: ...;
org_slug?: ...;
owners: ...;
readme_url?: ...;
screenshot_urls?: ...;
solution_id?: ...;
solution_version?: ...;
tag_keys?: ...;
template_kind?: ...;
templates: ...;
updated_at?: ...;
upgrade_available: ...;
virtual_path?: ...;
};
solution: {
category_keys?: (...)
| (...);
created_at?: (...) | (...);
description?: (...) | (...) | (...);
events?: (...) | (...);
id: string;
image_url?: (...) | (...) | (...);
installed_config_ids: (...)[];
kind: string;
latest_solution?: (...) | (...) | (...);
latest_version?: (...) | (...) | (...);
lookup_key?: (...) | (...) | (...);
metadata?: (...) | (...);
name?: (...) | (...) | (...);
org?: (...) | (...) | (...);
org_logo?: (...) | (...) | (...);
org_name?: (...) | (...) | (...);
org_slug?: (...) | (...) | (...);
owners: (...)[];
readme_url?: (...) | (...) | (...);
screenshot_urls?: (...) | (...);
solution_id?: (...) | (...) | (...);
solution_version?: (...) | (...) | (...);
tag_keys?: (...) | (...);
template_kind?: (...) | (...) | (...);
templates: (...)[];
updated_at?: (...) | (...);
upgrade_available: boolean;
virtual_path?: (...) | (...) | (...);
};
template: {
created_at?: (...)
| (...);
description?: (...) | (...) | (...);
display_name?: (...) | (...) | (...);
id: string;
kind: string;
lookup_key?: (...) | (...) | (...);
name?: (...) | (...) | (...);
updated_at?: (...) | (...);
virtual_path?: (...) | (...) | (...);
};
}
| null;
team?: string
| null;
template_upgrade_available?: boolean | null;
updated_at?: string;
user?: string | null;
}
| null;
created_at?: string;
id: string;
joined_at?: string;
metadata?: Record<string, {} | null>;
name?: string | null;
profile_picture?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
role?: string;
team?: Record<string, {} | null>
| null;
type?: string;
updated_at?: string;
user?:
| {
alias?: string
| null;
app?: string | null;
app_name?: string | null;
created_by_agent_user?: string | null;
created_by_developer?: string | null;
created_by_org?: string | null;
created_by_team?: string | null;
created_by_user?: string | null;
email?: string | null;
id: string;
is_system_user?: boolean;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_name?: string | null;
org_role?: string | null;
org_slug?: string | null;
sandbox?: string | null;
sandbox_name?: string | null;
}
| null;
},
{
agent?: | {
acl?: { add?: (...)[]; grants?: (...)[]; remove?: (...)[] }
| null;
app?: string;
created_at?: string;
default_model?: string | null;
description?: string | null;
email?: string | null;
id: string;
identity?: string | null;
last_applied_template_config?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
org?: string | null;
org_name?: string | null;
originator?: string | null;
phone_number?: string | null;
sandbox?: string | null;
source_solution?:
| {
current_solution?: {
category_keys?: ...;
created_at?: ...;
description?: ...;
events?: ...;
id: ...;
image_url?: ...;
installed_config_ids: ...;
kind: ...;
latest_solution?: ...;
latest_version?: ...;
lookup_key?: ...;
metadata?: ...;
name?: ...;
org?: ...;
org_logo?: ...;
org_name?: ...;
org_slug?: ...;
owners: ...;
readme_url?: ...;
screenshot_urls?: ...;
solution_id?: ...;
solution_version?: ...;
tag_keys?: ...;
template_kind?: ...;
templates: ...;
updated_at?: ...;
upgrade_available: ...;
virtual_path?: ...;
};
solution: {
category_keys?: (...)
| (...);
created_at?: (...) | (...);
description?: (...) | (...) | (...);
events?: (...) | (...);
id: string;
image_url?: (...) | (...) | (...);
installed_config_ids: (...)[];
kind: string;
latest_solution?: (...) | (...) | (...);
latest_version?: (...) | (...) | (...);
lookup_key?: (...) | (...) | (...);
metadata?: (...) | (...);
name?: (...) | (...) | (...);
org?: (...) | (...) | (...);
org_logo?: (...) | (...) | (...);
org_name?: (...) | (...) | (...);
org_slug?: (...) | (...) | (...);
owners: (...)[];
readme_url?: (...) | (...) | (...);
screenshot_urls?: (...) | (...);
solution_id?: (...) | (...) | (...);
solution_version?: (...) | (...) | (...);
tag_keys?: (...) | (...);
template_kind?: (...) | (...) | (...);
templates: (...)[];
updated_at?: (...) | (...);
upgrade_available: boolean;
virtual_path?: (...) | (...) | (...);
};
template: {
created_at?: (...)
| (...);
description?: (...) | (...) | (...);
display_name?: (...) | (...) | (...);
id: string;
kind: string;
lookup_key?: (...) | (...) | (...);
name?: (...) | (...) | (...);
updated_at?: (...) | (...);
virtual_path?: (...) | (...) | (...);
};
}
| null;
team?: string
| null;
template_upgrade_available?: boolean | null;
updated_at?: string;
user?: string | null;
}
| null;
created_at?: string;
id: string;
joined_at?: string;
metadata?: Record<string, {} | null>;
name?: string | null;
profile_picture?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
role?: string;
team?: Record<string, {} | null>
| null;
type?: string;
updated_at?: string;
user?:
| {
alias?: string
| null;
app?: string | null;
app_name?: string | null;
created_by_agent_user?: string | null;
created_by_developer?: string | null;
created_by_org?: string | null;
created_by_team?: string | null;
created_by_user?: string | null;
email?: string | null;
id: string;
is_system_user?: boolean;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_name?: string | null;
org_role?: string | null;
org_slug?: string | null;
sandbox?: string | null;
sandbox_name?: string | null;
}
| null;
},
>,
"many",
>;
has_next: ZodOptional<ZodBoolean>;
has_prev: ZodOptional<ZodBoolean>;
page: ZodOptional<ZodNumber>;
page_size: ZodOptional<ZodNumber>;
total_entries: ZodOptional<ZodNumber>;
total_pages: ZodOptional<ZodNumber>;
},
"strip",
ZodTypeAny,
{
data: {
agent?: | {
acl?: | {
add?: { actions: ...; principal?: ...; principal_type: ... }[];
grants?: { actions: ...; principal?: ...; principal_type: ... }[];
remove?: { principal?: ...; principal_type: ... }[];
}
| null;
app?: string;
created_at?: string;
default_model?: string
| null;
description?: string | null;
email?: string | null;
id: string;
identity?: string | null;
last_applied_template_config?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
org?: string | null;
org_name?: string | null;
originator?: string | null;
phone_number?: string | null;
sandbox?: string | null;
source_solution?:
| {
current_solution?: {
category_keys?: (...)
| (...);
created_at?: (...) | (...);
description?: (...) | (...) | (...);
events?: (...) | (...);
id: string;
image_url?: (...) | (...) | (...);
installed_config_ids: (...)[];
kind: string;
latest_solution?: (...) | (...) | (...);
latest_version?: (...) | (...) | (...);
lookup_key?: (...) | (...) | (...);
metadata?: (...) | (...);
name?: (...) | (...) | (...);
org?: (...) | (...) | (...);
org_logo?: (...) | (...) | (...);
org_name?: (...) | (...) | (...);
org_slug?: (...) | (...) | (...);
owners: (...)[];
readme_url?: (...) | (...) | (...);
screenshot_urls?: (...) | (...);
solution_id?: (...) | (...) | (...);
solution_version?: (...) | (...) | (...);
tag_keys?: (...) | (...);
template_kind?: (...) | (...) | (...);
templates: (...)[];
updated_at?: (...) | (...);
upgrade_available: boolean;
virtual_path?: (...) | (...) | (...);
};
solution: {
category_keys?: (...)[];
created_at?: string;
description?: string | null;
events?: Record<(...), (...)>;
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<(...), (...)>;
name?: string | null;
org?: string | null;
org_logo?:
| {
file?: ...;
height?: ...;
media?: ...;
mime_type?: ...;
refresh_url?: ...;
url?: ...;
width?: ...;
}
| null;
org_name?: string
| null;
org_slug?: string | null;
owners: string[];
readme_url?: string | null;
screenshot_urls?: (...)[];
solution_id?: string | null;
solution_version?: string | null;
tag_keys?: (...)[];
template_kind?: string | null;
templates: {
description?: ...;
details?: ...;
display_name?: ...;
id?: ...;
kind: ...;
lookup_key?: ...;
name?: ...;
readme_url?: ...;
virtual_path?: ...;
}[];
updated_at?: string;
upgrade_available: boolean;
virtual_path?: string
| null;
};
template: {
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
};
}
| null;
team?: string
| null;
template_upgrade_available?: boolean | null;
updated_at?: string;
user?: string | null;
}
| null;
created_at?: string;
id: string;
joined_at?: string;
metadata?: Record<string, {} | null>;
name?: string | null;
profile_picture?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
role?: string;
team?: Record<string, {} | null>
| null;
type?: string;
updated_at?: string;
user?:
| {
alias?: string
| null;
app?: string | null;
app_name?: string | null;
created_by_agent_user?: string | null;
created_by_developer?: string | null;
created_by_org?: string | null;
created_by_team?: string | null;
created_by_user?: string | null;
email?: string | null;
id: string;
is_system_user?: boolean;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_name?: string | null;
org_role?: string | null;
org_slug?: string | null;
sandbox?: string | null;
sandbox_name?: string | null;
}
| null;
}[];
has_next?: boolean;
has_prev?: boolean;
page?: number;
page_size?: number;
total_entries?: number;
total_pages?: number;
},
{
data: {
agent?: | {
acl?: | {
add?: { actions: ...; principal?: ...; principal_type: ... }[];
grants?: { actions: ...; principal?: ...; principal_type: ... }[];
remove?: { principal?: ...; principal_type: ... }[];
}
| null;
app?: string;
created_at?: string;
default_model?: string
| null;
description?: string | null;
email?: string | null;
id: string;
identity?: string | null;
last_applied_template_config?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
org?: string | null;
org_name?: string | null;
originator?: string | null;
phone_number?: string | null;
sandbox?: string | null;
source_solution?:
| {
current_solution?: {
category_keys?: (...)
| (...);
created_at?: (...) | (...);
description?: (...) | (...) | (...);
events?: (...) | (...);
id: string;
image_url?: (...) | (...) | (...);
installed_config_ids: (...)[];
kind: string;
latest_solution?: (...) | (...) | (...);
latest_version?: (...) | (...) | (...);
lookup_key?: (...) | (...) | (...);
metadata?: (...) | (...);
name?: (...) | (...) | (...);
org?: (...) | (...) | (...);
org_logo?: (...) | (...) | (...);
org_name?: (...) | (...) | (...);
org_slug?: (...) | (...) | (...);
owners: (...)[];
readme_url?: (...) | (...) | (...);
screenshot_urls?: (...) | (...);
solution_id?: (...) | (...) | (...);
solution_version?: (...) | (...) | (...);
tag_keys?: (...) | (...);
template_kind?: (...) | (...) | (...);
templates: (...)[];
updated_at?: (...) | (...);
upgrade_available: boolean;
virtual_path?: (...) | (...) | (...);
};
solution: {
category_keys?: (...)[];
created_at?: string;
description?: string | null;
events?: Record<(...), (...)>;
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<(...), (...)>;
name?: string | null;
org?: string | null;
org_logo?:
| {
file?: ...;
height?: ...;
media?: ...;
mime_type?: ...;
refresh_url?: ...;
url?: ...;
width?: ...;
}
| null;
org_name?: string
| null;
org_slug?: string | null;
owners: string[];
readme_url?: string | null;
screenshot_urls?: (...)[];
solution_id?: string | null;
solution_version?: string | null;
tag_keys?: (...)[];
template_kind?: string | null;
templates: {
description?: ...;
details?: ...;
display_name?: ...;
id?: ...;
kind: ...;
lookup_key?: ...;
name?: ...;
readme_url?: ...;
virtual_path?: ...;
}[];
updated_at?: string;
upgrade_available: boolean;
virtual_path?: string
| null;
};
template: {
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
};
}
| null;
team?: string
| null;
template_upgrade_available?: boolean | null;
updated_at?: string;
user?: string | null;
}
| null;
created_at?: string;
id: string;
joined_at?: string;
metadata?: Record<string, {} | null>;
name?: string | null;
profile_picture?:
| {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
}
| null;
role?: string;
team?: Record<string, {} | null>
| null;
type?: string;
updated_at?: string;
user?:
| {
alias?: string
| null;
app?: string | null;
app_name?: string | null;
created_by_agent_user?: string | null;
created_by_developer?: string | null;
created_by_org?: string | null;
created_by_team?: string | null;
created_by_user?: string | null;
email?: string | null;
id: string;
is_system_user?: boolean;
metadata?: Record<string, {} | null>;
name?: string | null;
org?: string | null;
org_name?: string | null;
org_role?: string | null;
org_slug?: string | null;
sandbox?: string | null;
sandbox_name?: string | null;
}
| null;
}[];
has_next?: boolean;
has_prev?: boolean;
page?: number;
page_size?: number;
total_entries?: number;
total_pages?: number;
},
> = ...
Runtime validator for TeamMembershipListResponse.