@toriihq/torii-mcp
Version:
Model Context Protocol server for Torii API
54 lines (53 loc) • 1.09 kB
TypeScript
export type GetAppParams = {
id: string;
fields?: string;
version?: "1.0" | "1.1";
};
export type SearchAppsParams = {
query: string;
limit?: number;
};
export type UserParams = {
id: string;
fields?: string;
};
export type ContractParams = {
fields?: string;
};
export type AppData = {
name: string;
url?: string;
category?: string;
description?: string;
};
export type FieldData = {
name: string;
type: "text" | "number" | "boolean" | "date" | "select";
options?: string[];
};
export type ContractData = {
name: string;
idApp: string;
status: string;
startDate?: string;
endDate?: string;
amount?: number;
currency?: string;
};
export type UserListParams = {
email?: string;
lifecycleStatus?: "active" | "offboarding" | "offboarded";
isExternal?: boolean;
size?: number;
cursor?: string;
};
export type AuditParams = {
entity?: string;
startTime?: string;
endTime?: string;
size?: number;
cursor?: string;
};
export type AnonymizeParams = {
id: string;
};