Skip to main content
Glama

Squad AI

PrioritiseSolutionsRequest.ts2.76 kB
/* tslint:disable */ /* eslint-disable */ /** * Squad API * API for managing Squad resources * * The version of the OpenAPI document: 4.0.0 * Contact: help@meetsquad.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime.js'; /** * Request schema for prioritising solutions * @export * @interface PrioritiseSolutionsRequest */ export interface PrioritiseSolutionsRequest { /** * * @type {string} * @memberof PrioritiseSolutionsRequest */ beforeId: string | null; /** * List of solution IDs to move * @type {Array<string>} * @memberof PrioritiseSolutionsRequest */ solutionIds: Array<string>; /** * Who triggered the priority update. If not provided, defaults to 'user' * @type {string} * @memberof PrioritiseSolutionsRequest */ triggeredBy?: PrioritiseSolutionsRequestTriggeredByEnum; } /** * @export */ export const PrioritiseSolutionsRequestTriggeredByEnum = { User: 'user', Ai: 'AI' } as const; export type PrioritiseSolutionsRequestTriggeredByEnum = typeof PrioritiseSolutionsRequestTriggeredByEnum[keyof typeof PrioritiseSolutionsRequestTriggeredByEnum]; /** * Check if a given object implements the PrioritiseSolutionsRequest interface. */ export function instanceOfPrioritiseSolutionsRequest(value: object): value is PrioritiseSolutionsRequest { if (!('beforeId' in value) || value['beforeId'] === undefined) return false; if (!('solutionIds' in value) || value['solutionIds'] === undefined) return false; return true; } export function PrioritiseSolutionsRequestFromJSON(json: any): PrioritiseSolutionsRequest { return PrioritiseSolutionsRequestFromJSONTyped(json, false); } export function PrioritiseSolutionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrioritiseSolutionsRequest { if (json == null) { return json; } return { 'beforeId': json['beforeId'], 'solutionIds': json['solutionIds'], 'triggeredBy': json['triggeredBy'] == null ? undefined : json['triggeredBy'], }; } export function PrioritiseSolutionsRequestToJSON(json: any): PrioritiseSolutionsRequest { return PrioritiseSolutionsRequestToJSONTyped(json, false); } export function PrioritiseSolutionsRequestToJSONTyped(value?: PrioritiseSolutionsRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'beforeId': value['beforeId'], 'solutionIds': value['solutionIds'], 'triggeredBy': value['triggeredBy'], }; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/the-basilisk-ai/squad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server