Skip to main content
Glama

Squad AI

OpportunityRelationshipsPayload.ts2.54 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 body for managing opportunity relationships * @export * @interface OpportunityRelationshipsPayload */ export interface OpportunityRelationshipsPayload { /** * Array of solution IDs to associate with the opportunity * @type {Array<string>} * @memberof OpportunityRelationshipsPayload */ solutionIds?: Array<string>; /** * Array of outcome IDs to associate with the opportunity * @type {Array<string>} * @memberof OpportunityRelationshipsPayload */ outcomeIds?: Array<string>; /** * Array of insight IDs to associate with the opportunity * @type {Array<string>} * @memberof OpportunityRelationshipsPayload */ insightIds?: Array<string>; } /** * Check if a given object implements the OpportunityRelationshipsPayload interface. */ export function instanceOfOpportunityRelationshipsPayload(value: object): value is OpportunityRelationshipsPayload { return true; } export function OpportunityRelationshipsPayloadFromJSON(json: any): OpportunityRelationshipsPayload { return OpportunityRelationshipsPayloadFromJSONTyped(json, false); } export function OpportunityRelationshipsPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpportunityRelationshipsPayload { if (json == null) { return json; } return { 'solutionIds': json['solutionIds'] == null ? undefined : json['solutionIds'], 'outcomeIds': json['outcomeIds'] == null ? undefined : json['outcomeIds'], 'insightIds': json['insightIds'] == null ? undefined : json['insightIds'], }; } export function OpportunityRelationshipsPayloadToJSON(json: any): OpportunityRelationshipsPayload { return OpportunityRelationshipsPayloadToJSONTyped(json, false); } export function OpportunityRelationshipsPayloadToJSONTyped(value?: OpportunityRelationshipsPayload | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'solutionIds': value['solutionIds'], 'outcomeIds': value['outcomeIds'], 'insightIds': value['insightIds'], }; }

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