Skip to main content
Glama

Squad AI

OutcomeRelationshipsPayload.ts2.16 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 outcome relationships * @export * @interface OutcomeRelationshipsPayload */ export interface OutcomeRelationshipsPayload { /** * Array of opportunity IDs to associate with the outcome * @type {Array<string>} * @memberof OutcomeRelationshipsPayload */ opportunityIds?: Array<string>; /** * Array of metric IDs to associate with the outcome * @type {Array<string>} * @memberof OutcomeRelationshipsPayload */ metricIds?: Array<string>; } /** * Check if a given object implements the OutcomeRelationshipsPayload interface. */ export function instanceOfOutcomeRelationshipsPayload(value: object): value is OutcomeRelationshipsPayload { return true; } export function OutcomeRelationshipsPayloadFromJSON(json: any): OutcomeRelationshipsPayload { return OutcomeRelationshipsPayloadFromJSONTyped(json, false); } export function OutcomeRelationshipsPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutcomeRelationshipsPayload { if (json == null) { return json; } return { 'opportunityIds': json['opportunityIds'] == null ? undefined : json['opportunityIds'], 'metricIds': json['metricIds'] == null ? undefined : json['metricIds'], }; } export function OutcomeRelationshipsPayloadToJSON(json: any): OutcomeRelationshipsPayload { return OutcomeRelationshipsPayloadToJSONTyped(json, false); } export function OutcomeRelationshipsPayloadToJSONTyped(value?: OutcomeRelationshipsPayload | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'opportunityIds': value['opportunityIds'], 'metricIds': value['metricIds'], }; }

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