Skip to main content
Glama

Squad AI

CreateTopic200ResponseData.ts4.09 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'; import type { Opportunity } from './Opportunity.js'; import { OpportunityFromJSON, OpportunityFromJSONTyped, OpportunityToJSON, OpportunityToJSONTyped, } from './Opportunity.js'; import type { Insight } from './Insight.js'; import { InsightFromJSON, InsightFromJSONTyped, InsightToJSON, InsightToJSONTyped, } from './Insight.js'; /** * Topic data * @export * @interface CreateTopic200ResponseData */ export interface CreateTopic200ResponseData { [key: string]: any | any; /** * * @type {string} * @memberof CreateTopic200ResponseData */ id: string; /** * Title of the topic * @type {string} * @memberof CreateTopic200ResponseData */ title: string; /** * Description of the topic * @type {string} * @memberof CreateTopic200ResponseData */ description: string; /** * Creation timestamp * @type {string} * @memberof CreateTopic200ResponseData */ createdAt: string; /** * Last update timestamp * @type {string} * @memberof CreateTopic200ResponseData */ updatedAt: string; /** * * @type {Array<Opportunity>} * @memberof CreateTopic200ResponseData */ opportunities: Array<Opportunity>; /** * * @type {Array<Insight>} * @memberof CreateTopic200ResponseData */ insights: Array<Insight>; } /** * Check if a given object implements the CreateTopic200ResponseData interface. */ export function instanceOfCreateTopic200ResponseData(value: object): value is CreateTopic200ResponseData { if (!('id' in value) || value['id'] === undefined) return false; if (!('title' in value) || value['title'] === undefined) return false; if (!('description' in value) || value['description'] === undefined) return false; if (!('createdAt' in value) || value['createdAt'] === undefined) return false; if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false; if (!('opportunities' in value) || value['opportunities'] === undefined) return false; if (!('insights' in value) || value['insights'] === undefined) return false; return true; } export function CreateTopic200ResponseDataFromJSON(json: any): CreateTopic200ResponseData { return CreateTopic200ResponseDataFromJSONTyped(json, false); } export function CreateTopic200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTopic200ResponseData { if (json == null) { return json; } return { ...json, 'id': json['id'], 'title': json['title'], 'description': json['description'], 'createdAt': json['createdAt'], 'updatedAt': json['updatedAt'], 'opportunities': ((json['opportunities'] as Array<any>).map(OpportunityFromJSON)), 'insights': ((json['insights'] as Array<any>).map(InsightFromJSON)), }; } export function CreateTopic200ResponseDataToJSON(json: any): CreateTopic200ResponseData { return CreateTopic200ResponseDataToJSONTyped(json, false); } export function CreateTopic200ResponseDataToJSONTyped(value?: CreateTopic200ResponseData | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { ...value, 'id': value['id'], 'title': value['title'], 'description': value['description'], 'createdAt': value['createdAt'], 'updatedAt': value['updatedAt'], 'opportunities': ((value['opportunities'] as Array<any>).map(OpportunityToJSON)), 'insights': ((value['insights'] as Array<any>).map(InsightToJSON)), }; }

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