@redplanethq/sdk 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +108 -37
- package/dist/index.d.ts +108 -37
- package/dist/index.js +53 -39
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -385,6 +385,20 @@ declare class McpAuthParams {
|
|
|
385
385
|
server_url: string;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
+
/** A single config field declared by a widget */
|
|
389
|
+
interface WidgetConfigField {
|
|
390
|
+
key: string;
|
|
391
|
+
label: string;
|
|
392
|
+
type: 'input' | 'select';
|
|
393
|
+
placeholder?: string;
|
|
394
|
+
required?: boolean;
|
|
395
|
+
/** Options for select fields only */
|
|
396
|
+
options?: Array<{
|
|
397
|
+
label: string;
|
|
398
|
+
value: string;
|
|
399
|
+
}>;
|
|
400
|
+
default?: string;
|
|
401
|
+
}
|
|
388
402
|
interface WidgetRenderContext {
|
|
389
403
|
placement: 'tui' | 'webapp';
|
|
390
404
|
pat: string;
|
|
@@ -394,6 +408,8 @@ interface WidgetRenderContext {
|
|
|
394
408
|
name?: string;
|
|
395
409
|
}>;
|
|
396
410
|
baseUrl: string;
|
|
411
|
+
/** Config values supplied by the agent or by the user via the config form */
|
|
412
|
+
config?: Record<string, string>;
|
|
397
413
|
/** Call to trigger a TUI re-render after updating internal state (TUI only) */
|
|
398
414
|
requestRender?: () => void;
|
|
399
415
|
}
|
|
@@ -404,6 +420,8 @@ interface WidgetMeta {
|
|
|
404
420
|
description: string;
|
|
405
421
|
support: Array<'tui' | 'webapp'>;
|
|
406
422
|
tuiPlacement?: 'overview' | 'below-input';
|
|
423
|
+
/** Declares config fields the widget accepts; drives the config form when agent omits them */
|
|
424
|
+
configSchema?: WidgetConfigField[];
|
|
407
425
|
}
|
|
408
426
|
/**
|
|
409
427
|
* A zero-argument React function component (webapp placement).
|
|
@@ -463,7 +481,7 @@ interface ToolUIRenderContext {
|
|
|
463
481
|
*/
|
|
464
482
|
interface ToolUI {
|
|
465
483
|
supported_tools: string[];
|
|
466
|
-
render(toolName: string, input: ToolInput, result: ToolResult | null, context: ToolUIRenderContext, submitInput: (input: ToolInput) => void): Promise<ToolUIComponent>;
|
|
484
|
+
render(toolName: string, input: ToolInput, result: ToolResult | null, context: ToolUIRenderContext, submitInput: (input: ToolInput) => void, onDecline: () => void): Promise<ToolUIComponent>;
|
|
467
485
|
}
|
|
468
486
|
/**
|
|
469
487
|
* Shape exported by an integration's frontend.js bundle.
|
|
@@ -1115,10 +1133,61 @@ declare const GetDocumentResponseSchema: z.ZodObject<{
|
|
|
1115
1133
|
};
|
|
1116
1134
|
}>;
|
|
1117
1135
|
type GetDocumentResponse = z.infer<typeof GetDocumentResponseSchema>;
|
|
1136
|
+
declare const GetSkillInputSchema: z.ZodObject<{
|
|
1137
|
+
skillId: z.ZodString;
|
|
1138
|
+
}, "strip", z.ZodTypeAny, {
|
|
1139
|
+
skillId?: string;
|
|
1140
|
+
}, {
|
|
1141
|
+
skillId?: string;
|
|
1142
|
+
}>;
|
|
1143
|
+
type GetSkillInput = z.infer<typeof GetSkillInputSchema>;
|
|
1144
|
+
declare const GetSkillResponseSchema: z.ZodObject<{
|
|
1145
|
+
skill: z.ZodNullable<z.ZodObject<{
|
|
1146
|
+
id: z.ZodString;
|
|
1147
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1152
|
+
id: z.ZodString;
|
|
1153
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1154
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1156
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1157
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1158
|
+
id: z.ZodString;
|
|
1159
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1160
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1162
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1164
|
+
}, "strip", z.ZodTypeAny, {
|
|
1165
|
+
skill?: {
|
|
1166
|
+
source?: string;
|
|
1167
|
+
sessionId?: string;
|
|
1168
|
+
title?: string;
|
|
1169
|
+
id?: string;
|
|
1170
|
+
createdAt?: string;
|
|
1171
|
+
} & {
|
|
1172
|
+
[k: string]: unknown;
|
|
1173
|
+
};
|
|
1174
|
+
}, {
|
|
1175
|
+
skill?: {
|
|
1176
|
+
source?: string;
|
|
1177
|
+
sessionId?: string;
|
|
1178
|
+
title?: string;
|
|
1179
|
+
id?: string;
|
|
1180
|
+
createdAt?: string;
|
|
1181
|
+
} & {
|
|
1182
|
+
[k: string]: unknown;
|
|
1183
|
+
};
|
|
1184
|
+
}>;
|
|
1185
|
+
type GetSkillResponse = z.infer<typeof GetSkillResponseSchema>;
|
|
1118
1186
|
declare const GatewayAgentInfoSchema: z.ZodObject<{
|
|
1119
1187
|
id: z.ZodString;
|
|
1120
1188
|
name: z.ZodString;
|
|
1121
1189
|
description: z.ZodString;
|
|
1190
|
+
baseUrl: z.ZodString;
|
|
1122
1191
|
tools: z.ZodArray<z.ZodString, "many">;
|
|
1123
1192
|
platform: z.ZodNullable<z.ZodString>;
|
|
1124
1193
|
hostname: z.ZodNullable<z.ZodString>;
|
|
@@ -1129,6 +1198,7 @@ declare const GatewayAgentInfoSchema: z.ZodObject<{
|
|
|
1129
1198
|
id?: string;
|
|
1130
1199
|
name?: string;
|
|
1131
1200
|
description?: string;
|
|
1201
|
+
baseUrl?: string;
|
|
1132
1202
|
platform?: string;
|
|
1133
1203
|
hostname?: string;
|
|
1134
1204
|
}, {
|
|
@@ -1137,15 +1207,45 @@ declare const GatewayAgentInfoSchema: z.ZodObject<{
|
|
|
1137
1207
|
id?: string;
|
|
1138
1208
|
name?: string;
|
|
1139
1209
|
description?: string;
|
|
1210
|
+
baseUrl?: string;
|
|
1140
1211
|
platform?: string;
|
|
1141
1212
|
hostname?: string;
|
|
1142
1213
|
}>;
|
|
1214
|
+
declare const RegisterGatewayRequestSchema: z.ZodObject<{
|
|
1215
|
+
intent: z.ZodLiteral<"register">;
|
|
1216
|
+
baseUrl: z.ZodString;
|
|
1217
|
+
securityKey: z.ZodString;
|
|
1218
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
name?: string;
|
|
1222
|
+
description?: string;
|
|
1223
|
+
baseUrl?: string;
|
|
1224
|
+
intent?: "register";
|
|
1225
|
+
securityKey?: string;
|
|
1226
|
+
}, {
|
|
1227
|
+
name?: string;
|
|
1228
|
+
description?: string;
|
|
1229
|
+
baseUrl?: string;
|
|
1230
|
+
intent?: "register";
|
|
1231
|
+
securityKey?: string;
|
|
1232
|
+
}>;
|
|
1233
|
+
type RegisterGatewayRequest = z.infer<typeof RegisterGatewayRequestSchema>;
|
|
1234
|
+
declare const RegisterGatewayResponseSchema: z.ZodObject<{
|
|
1235
|
+
gatewayId: z.ZodString;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
gatewayId?: string;
|
|
1238
|
+
}, {
|
|
1239
|
+
gatewayId?: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
type RegisterGatewayResponse = z.infer<typeof RegisterGatewayResponseSchema>;
|
|
1143
1242
|
type GatewayAgentInfo = z.infer<typeof GatewayAgentInfoSchema>;
|
|
1144
1243
|
declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
1145
1244
|
gateways: z.ZodArray<z.ZodObject<{
|
|
1146
1245
|
id: z.ZodString;
|
|
1147
1246
|
name: z.ZodString;
|
|
1148
1247
|
description: z.ZodString;
|
|
1248
|
+
baseUrl: z.ZodString;
|
|
1149
1249
|
tools: z.ZodArray<z.ZodString, "many">;
|
|
1150
1250
|
platform: z.ZodNullable<z.ZodString>;
|
|
1151
1251
|
hostname: z.ZodNullable<z.ZodString>;
|
|
@@ -1156,6 +1256,7 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1156
1256
|
id?: string;
|
|
1157
1257
|
name?: string;
|
|
1158
1258
|
description?: string;
|
|
1259
|
+
baseUrl?: string;
|
|
1159
1260
|
platform?: string;
|
|
1160
1261
|
hostname?: string;
|
|
1161
1262
|
}, {
|
|
@@ -1164,6 +1265,7 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1164
1265
|
id?: string;
|
|
1165
1266
|
name?: string;
|
|
1166
1267
|
description?: string;
|
|
1268
|
+
baseUrl?: string;
|
|
1167
1269
|
platform?: string;
|
|
1168
1270
|
hostname?: string;
|
|
1169
1271
|
}>, "many">;
|
|
@@ -1174,6 +1276,7 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1174
1276
|
id?: string;
|
|
1175
1277
|
name?: string;
|
|
1176
1278
|
description?: string;
|
|
1279
|
+
baseUrl?: string;
|
|
1177
1280
|
platform?: string;
|
|
1178
1281
|
hostname?: string;
|
|
1179
1282
|
}[];
|
|
@@ -1184,44 +1287,12 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1184
1287
|
id?: string;
|
|
1185
1288
|
name?: string;
|
|
1186
1289
|
description?: string;
|
|
1290
|
+
baseUrl?: string;
|
|
1187
1291
|
platform?: string;
|
|
1188
1292
|
hostname?: string;
|
|
1189
1293
|
}[];
|
|
1190
1294
|
}>;
|
|
1191
1295
|
type GetGatewaysResponse = z.infer<typeof GetGatewaysResponseSchema>;
|
|
1192
|
-
declare const ExecuteGatewayInputSchema: z.ZodObject<{
|
|
1193
|
-
gatewayId: z.ZodString;
|
|
1194
|
-
intent: z.ZodString;
|
|
1195
|
-
}, "strip", z.ZodTypeAny, {
|
|
1196
|
-
gatewayId?: string;
|
|
1197
|
-
intent?: string;
|
|
1198
|
-
}, {
|
|
1199
|
-
gatewayId?: string;
|
|
1200
|
-
intent?: string;
|
|
1201
|
-
}>;
|
|
1202
|
-
type ExecuteGatewayInput = z.infer<typeof ExecuteGatewayInputSchema>;
|
|
1203
|
-
declare const ExecuteGatewayToolInputSchema: z.ZodObject<{
|
|
1204
|
-
gatewayId: z.ZodString;
|
|
1205
|
-
toolName: z.ZodString;
|
|
1206
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1207
|
-
}, "strip", z.ZodTypeAny, {
|
|
1208
|
-
params?: Record<string, unknown>;
|
|
1209
|
-
gatewayId?: string;
|
|
1210
|
-
toolName?: string;
|
|
1211
|
-
}, {
|
|
1212
|
-
params?: Record<string, unknown>;
|
|
1213
|
-
gatewayId?: string;
|
|
1214
|
-
toolName?: string;
|
|
1215
|
-
}>;
|
|
1216
|
-
type ExecuteGatewayToolInput = z.infer<typeof ExecuteGatewayToolInputSchema>;
|
|
1217
|
-
declare const ExecuteGatewayResponseSchema: z.ZodObject<{
|
|
1218
|
-
result: z.ZodUnknown;
|
|
1219
|
-
}, "strip", z.ZodTypeAny, {
|
|
1220
|
-
result?: unknown;
|
|
1221
|
-
}, {
|
|
1222
|
-
result?: unknown;
|
|
1223
|
-
}>;
|
|
1224
|
-
type ExecuteGatewayResponse = z.infer<typeof ExecuteGatewayResponseSchema>;
|
|
1225
1296
|
declare const AuthorizationCodeResponseSchema: z.ZodObject<{
|
|
1226
1297
|
authorizationCode: z.ZodString;
|
|
1227
1298
|
url: z.ZodString;
|
|
@@ -1288,12 +1359,12 @@ declare class CoreClient {
|
|
|
1288
1359
|
getSessionId(): Promise<string>;
|
|
1289
1360
|
getDocuments(params?: GetDocumentsInput): Promise<GetDocumentsResponse>;
|
|
1290
1361
|
getDocument(params: GetDocumentInput): Promise<GetDocumentResponse>;
|
|
1362
|
+
getSkill(params: GetSkillInput): Promise<GetSkillResponse>;
|
|
1291
1363
|
getGateways(): Promise<GetGatewaysResponse>;
|
|
1292
|
-
|
|
1293
|
-
executeGatewayTool(params: ExecuteGatewayToolInput): Promise<ExecuteGatewayResponse>;
|
|
1364
|
+
registerGateway(input: Omit<RegisterGatewayRequest, "intent">): Promise<RegisterGatewayResponse>;
|
|
1294
1365
|
getAuthorizationCode(): Promise<AuthorizationCodeResponse>;
|
|
1295
1366
|
exchangeToken(params: TokenExchangeInput): Promise<TokenExchangeResponse>;
|
|
1296
1367
|
checkAuth(): Promise<MeResponse>;
|
|
1297
1368
|
}
|
|
1298
1369
|
|
|
1299
|
-
export { APIKeyParams, ActionStatus, ActionStatusEnum, type AddEpisodeParams, type AddEpisodeResult, type AdjacentChunks, type AuthType, type AuthorizationCodeResponse, AuthorizationCodeResponseSchema, COMPACTED_SESSION_NODE_PROPERTIES, ClaudeModels, type CompactedSessionNode, type Config, CoreClient, CoreClientError, type CoreClientOptions, type CreatePatternParams, type DocumentNode, DocumentSchema, ENTITY_NODE_PROPERTIES, EPISODIC_NODE_PROPERTIES, EXPLICIT_PATTERN_TYPES, type EntityNode, type EntityType, EntityTypes, type EpisodeSearchResult, EpisodeType, EpisodeTypeEnum, type EpisodeWithProvenance, type EpisodicNode, type EpisodicNodeWithoutEmbeddings, type
|
|
1370
|
+
export { APIKeyParams, ActionStatus, ActionStatusEnum, type AddEpisodeParams, type AddEpisodeResult, type AdjacentChunks, type AuthType, type AuthorizationCodeResponse, AuthorizationCodeResponseSchema, COMPACTED_SESSION_NODE_PROPERTIES, ClaudeModels, type CompactedSessionNode, type Config, CoreClient, CoreClientError, type CoreClientOptions, type CreatePatternParams, type DocumentNode, DocumentSchema, ENTITY_NODE_PROPERTIES, EPISODIC_NODE_PROPERTIES, EXPLICIT_PATTERN_TYPES, type EntityNode, type EntityType, EntityTypes, type EpisodeSearchResult, EpisodeType, EpisodeTypeEnum, type EpisodeWithProvenance, type EpisodicNode, type EpisodicNodeWithoutEmbeddings, type ExecuteIntegrationActionInput, ExecuteIntegrationActionInputSchema, type ExecuteIntegrationActionResponse, ExecuteIntegrationActionResponseSchema, type ExplicitPatternType, type ExtractedTripleData, type FrontendExport, GRAPH_ASPECTS, type GatewayAgentInfo, GatewayAgentInfoSchema, GeminiModels, type GetDocumentInput, GetDocumentInputSchema, type GetDocumentResponse, GetDocumentResponseSchema, type GetDocumentsInput, GetDocumentsInputSchema, type GetDocumentsResponse, GetDocumentsResponseSchema, type GetGatewaysResponse, GetGatewaysResponseSchema, type GetIntegrationActionsInput, GetIntegrationActionsInputSchema, type GetIntegrationActionsResponse, GetIntegrationActionsResponseSchema, type GetIntegrationsConnectedResponse, GetIntegrationsConnectedResponseSchema, type GetSkillInput, GetSkillInputSchema, type GetSkillResponse, GetSkillResponseSchema, type GraphAspect, IMPLICIT_PATTERN_TYPES, type Identifier, type ImplicitPatternType, type IngestInput, IngestInputSchema, type IngestResponse, IngestResponseSchema, IntegrationAccountSchema, IntegrationCLI, type IntegrationEventPayload, IntegrationEventType, LLMMappings, LLMModelEnum, LLMModelType, McpAuthParams, type MeResponse, MeResponseSchema, type Message, type MessageType, OAuth2Params, OpenAIModels, PATTERN_TYPES, type Param, type PatternConfirmationParams, type PatternDetectionResult, type PatternType, QUALITY_THRESHOLDS, type QualityFilterResult, type RegisterGatewayRequest, RegisterGatewayRequestSchema, type RegisterGatewayResponse, RegisterGatewayResponseSchema, type RerankConfig, STATEMENT_NODE_PROPERTIES, type SearchInput, SearchInputSchema, type SearchOptions, type SearchResponse, SearchResponseSchema, type SpaceAssignmentResult, type SpaceDeletionResult, type SpaceNode, type SpacePattern, Spec, type StatementAspect, StatementAspects, type StatementNode, type StatementWithSource, type TokenExchangeInput, TokenExchangeInputSchema, type TokenExchangeResponse, TokenExchangeResponseSchema, type ToolContent, type ToolInput, type ToolInputPrimitive, type ToolInputValue, type ToolResult, type ToolUI, type ToolUIComponent, type ToolUIRenderContext, type Triple, type TuiToolUIComponent, type TuiWidgetComponent, type UserConfirmationStatus, UserTypeEnum, VOICE_ASPECTS, type VoiceAspect, type VoiceAspectNode, type WebToolUIComponent, type WebWidgetComponent, type WidgetComponent, type WidgetConfigField, type WidgetMeta, type WidgetRenderContext, type WidgetSpec };
|
package/dist/index.d.ts
CHANGED
|
@@ -385,6 +385,20 @@ declare class McpAuthParams {
|
|
|
385
385
|
server_url: string;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
+
/** A single config field declared by a widget */
|
|
389
|
+
interface WidgetConfigField {
|
|
390
|
+
key: string;
|
|
391
|
+
label: string;
|
|
392
|
+
type: 'input' | 'select';
|
|
393
|
+
placeholder?: string;
|
|
394
|
+
required?: boolean;
|
|
395
|
+
/** Options for select fields only */
|
|
396
|
+
options?: Array<{
|
|
397
|
+
label: string;
|
|
398
|
+
value: string;
|
|
399
|
+
}>;
|
|
400
|
+
default?: string;
|
|
401
|
+
}
|
|
388
402
|
interface WidgetRenderContext {
|
|
389
403
|
placement: 'tui' | 'webapp';
|
|
390
404
|
pat: string;
|
|
@@ -394,6 +408,8 @@ interface WidgetRenderContext {
|
|
|
394
408
|
name?: string;
|
|
395
409
|
}>;
|
|
396
410
|
baseUrl: string;
|
|
411
|
+
/** Config values supplied by the agent or by the user via the config form */
|
|
412
|
+
config?: Record<string, string>;
|
|
397
413
|
/** Call to trigger a TUI re-render after updating internal state (TUI only) */
|
|
398
414
|
requestRender?: () => void;
|
|
399
415
|
}
|
|
@@ -404,6 +420,8 @@ interface WidgetMeta {
|
|
|
404
420
|
description: string;
|
|
405
421
|
support: Array<'tui' | 'webapp'>;
|
|
406
422
|
tuiPlacement?: 'overview' | 'below-input';
|
|
423
|
+
/** Declares config fields the widget accepts; drives the config form when agent omits them */
|
|
424
|
+
configSchema?: WidgetConfigField[];
|
|
407
425
|
}
|
|
408
426
|
/**
|
|
409
427
|
* A zero-argument React function component (webapp placement).
|
|
@@ -463,7 +481,7 @@ interface ToolUIRenderContext {
|
|
|
463
481
|
*/
|
|
464
482
|
interface ToolUI {
|
|
465
483
|
supported_tools: string[];
|
|
466
|
-
render(toolName: string, input: ToolInput, result: ToolResult | null, context: ToolUIRenderContext, submitInput: (input: ToolInput) => void): Promise<ToolUIComponent>;
|
|
484
|
+
render(toolName: string, input: ToolInput, result: ToolResult | null, context: ToolUIRenderContext, submitInput: (input: ToolInput) => void, onDecline: () => void): Promise<ToolUIComponent>;
|
|
467
485
|
}
|
|
468
486
|
/**
|
|
469
487
|
* Shape exported by an integration's frontend.js bundle.
|
|
@@ -1115,10 +1133,61 @@ declare const GetDocumentResponseSchema: z.ZodObject<{
|
|
|
1115
1133
|
};
|
|
1116
1134
|
}>;
|
|
1117
1135
|
type GetDocumentResponse = z.infer<typeof GetDocumentResponseSchema>;
|
|
1136
|
+
declare const GetSkillInputSchema: z.ZodObject<{
|
|
1137
|
+
skillId: z.ZodString;
|
|
1138
|
+
}, "strip", z.ZodTypeAny, {
|
|
1139
|
+
skillId?: string;
|
|
1140
|
+
}, {
|
|
1141
|
+
skillId?: string;
|
|
1142
|
+
}>;
|
|
1143
|
+
type GetSkillInput = z.infer<typeof GetSkillInputSchema>;
|
|
1144
|
+
declare const GetSkillResponseSchema: z.ZodObject<{
|
|
1145
|
+
skill: z.ZodNullable<z.ZodObject<{
|
|
1146
|
+
id: z.ZodString;
|
|
1147
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1152
|
+
id: z.ZodString;
|
|
1153
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1154
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1156
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1157
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1158
|
+
id: z.ZodString;
|
|
1159
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1160
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1162
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1164
|
+
}, "strip", z.ZodTypeAny, {
|
|
1165
|
+
skill?: {
|
|
1166
|
+
source?: string;
|
|
1167
|
+
sessionId?: string;
|
|
1168
|
+
title?: string;
|
|
1169
|
+
id?: string;
|
|
1170
|
+
createdAt?: string;
|
|
1171
|
+
} & {
|
|
1172
|
+
[k: string]: unknown;
|
|
1173
|
+
};
|
|
1174
|
+
}, {
|
|
1175
|
+
skill?: {
|
|
1176
|
+
source?: string;
|
|
1177
|
+
sessionId?: string;
|
|
1178
|
+
title?: string;
|
|
1179
|
+
id?: string;
|
|
1180
|
+
createdAt?: string;
|
|
1181
|
+
} & {
|
|
1182
|
+
[k: string]: unknown;
|
|
1183
|
+
};
|
|
1184
|
+
}>;
|
|
1185
|
+
type GetSkillResponse = z.infer<typeof GetSkillResponseSchema>;
|
|
1118
1186
|
declare const GatewayAgentInfoSchema: z.ZodObject<{
|
|
1119
1187
|
id: z.ZodString;
|
|
1120
1188
|
name: z.ZodString;
|
|
1121
1189
|
description: z.ZodString;
|
|
1190
|
+
baseUrl: z.ZodString;
|
|
1122
1191
|
tools: z.ZodArray<z.ZodString, "many">;
|
|
1123
1192
|
platform: z.ZodNullable<z.ZodString>;
|
|
1124
1193
|
hostname: z.ZodNullable<z.ZodString>;
|
|
@@ -1129,6 +1198,7 @@ declare const GatewayAgentInfoSchema: z.ZodObject<{
|
|
|
1129
1198
|
id?: string;
|
|
1130
1199
|
name?: string;
|
|
1131
1200
|
description?: string;
|
|
1201
|
+
baseUrl?: string;
|
|
1132
1202
|
platform?: string;
|
|
1133
1203
|
hostname?: string;
|
|
1134
1204
|
}, {
|
|
@@ -1137,15 +1207,45 @@ declare const GatewayAgentInfoSchema: z.ZodObject<{
|
|
|
1137
1207
|
id?: string;
|
|
1138
1208
|
name?: string;
|
|
1139
1209
|
description?: string;
|
|
1210
|
+
baseUrl?: string;
|
|
1140
1211
|
platform?: string;
|
|
1141
1212
|
hostname?: string;
|
|
1142
1213
|
}>;
|
|
1214
|
+
declare const RegisterGatewayRequestSchema: z.ZodObject<{
|
|
1215
|
+
intent: z.ZodLiteral<"register">;
|
|
1216
|
+
baseUrl: z.ZodString;
|
|
1217
|
+
securityKey: z.ZodString;
|
|
1218
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
name?: string;
|
|
1222
|
+
description?: string;
|
|
1223
|
+
baseUrl?: string;
|
|
1224
|
+
intent?: "register";
|
|
1225
|
+
securityKey?: string;
|
|
1226
|
+
}, {
|
|
1227
|
+
name?: string;
|
|
1228
|
+
description?: string;
|
|
1229
|
+
baseUrl?: string;
|
|
1230
|
+
intent?: "register";
|
|
1231
|
+
securityKey?: string;
|
|
1232
|
+
}>;
|
|
1233
|
+
type RegisterGatewayRequest = z.infer<typeof RegisterGatewayRequestSchema>;
|
|
1234
|
+
declare const RegisterGatewayResponseSchema: z.ZodObject<{
|
|
1235
|
+
gatewayId: z.ZodString;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
gatewayId?: string;
|
|
1238
|
+
}, {
|
|
1239
|
+
gatewayId?: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
type RegisterGatewayResponse = z.infer<typeof RegisterGatewayResponseSchema>;
|
|
1143
1242
|
type GatewayAgentInfo = z.infer<typeof GatewayAgentInfoSchema>;
|
|
1144
1243
|
declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
1145
1244
|
gateways: z.ZodArray<z.ZodObject<{
|
|
1146
1245
|
id: z.ZodString;
|
|
1147
1246
|
name: z.ZodString;
|
|
1148
1247
|
description: z.ZodString;
|
|
1248
|
+
baseUrl: z.ZodString;
|
|
1149
1249
|
tools: z.ZodArray<z.ZodString, "many">;
|
|
1150
1250
|
platform: z.ZodNullable<z.ZodString>;
|
|
1151
1251
|
hostname: z.ZodNullable<z.ZodString>;
|
|
@@ -1156,6 +1256,7 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1156
1256
|
id?: string;
|
|
1157
1257
|
name?: string;
|
|
1158
1258
|
description?: string;
|
|
1259
|
+
baseUrl?: string;
|
|
1159
1260
|
platform?: string;
|
|
1160
1261
|
hostname?: string;
|
|
1161
1262
|
}, {
|
|
@@ -1164,6 +1265,7 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1164
1265
|
id?: string;
|
|
1165
1266
|
name?: string;
|
|
1166
1267
|
description?: string;
|
|
1268
|
+
baseUrl?: string;
|
|
1167
1269
|
platform?: string;
|
|
1168
1270
|
hostname?: string;
|
|
1169
1271
|
}>, "many">;
|
|
@@ -1174,6 +1276,7 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1174
1276
|
id?: string;
|
|
1175
1277
|
name?: string;
|
|
1176
1278
|
description?: string;
|
|
1279
|
+
baseUrl?: string;
|
|
1177
1280
|
platform?: string;
|
|
1178
1281
|
hostname?: string;
|
|
1179
1282
|
}[];
|
|
@@ -1184,44 +1287,12 @@ declare const GetGatewaysResponseSchema: z.ZodObject<{
|
|
|
1184
1287
|
id?: string;
|
|
1185
1288
|
name?: string;
|
|
1186
1289
|
description?: string;
|
|
1290
|
+
baseUrl?: string;
|
|
1187
1291
|
platform?: string;
|
|
1188
1292
|
hostname?: string;
|
|
1189
1293
|
}[];
|
|
1190
1294
|
}>;
|
|
1191
1295
|
type GetGatewaysResponse = z.infer<typeof GetGatewaysResponseSchema>;
|
|
1192
|
-
declare const ExecuteGatewayInputSchema: z.ZodObject<{
|
|
1193
|
-
gatewayId: z.ZodString;
|
|
1194
|
-
intent: z.ZodString;
|
|
1195
|
-
}, "strip", z.ZodTypeAny, {
|
|
1196
|
-
gatewayId?: string;
|
|
1197
|
-
intent?: string;
|
|
1198
|
-
}, {
|
|
1199
|
-
gatewayId?: string;
|
|
1200
|
-
intent?: string;
|
|
1201
|
-
}>;
|
|
1202
|
-
type ExecuteGatewayInput = z.infer<typeof ExecuteGatewayInputSchema>;
|
|
1203
|
-
declare const ExecuteGatewayToolInputSchema: z.ZodObject<{
|
|
1204
|
-
gatewayId: z.ZodString;
|
|
1205
|
-
toolName: z.ZodString;
|
|
1206
|
-
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1207
|
-
}, "strip", z.ZodTypeAny, {
|
|
1208
|
-
params?: Record<string, unknown>;
|
|
1209
|
-
gatewayId?: string;
|
|
1210
|
-
toolName?: string;
|
|
1211
|
-
}, {
|
|
1212
|
-
params?: Record<string, unknown>;
|
|
1213
|
-
gatewayId?: string;
|
|
1214
|
-
toolName?: string;
|
|
1215
|
-
}>;
|
|
1216
|
-
type ExecuteGatewayToolInput = z.infer<typeof ExecuteGatewayToolInputSchema>;
|
|
1217
|
-
declare const ExecuteGatewayResponseSchema: z.ZodObject<{
|
|
1218
|
-
result: z.ZodUnknown;
|
|
1219
|
-
}, "strip", z.ZodTypeAny, {
|
|
1220
|
-
result?: unknown;
|
|
1221
|
-
}, {
|
|
1222
|
-
result?: unknown;
|
|
1223
|
-
}>;
|
|
1224
|
-
type ExecuteGatewayResponse = z.infer<typeof ExecuteGatewayResponseSchema>;
|
|
1225
1296
|
declare const AuthorizationCodeResponseSchema: z.ZodObject<{
|
|
1226
1297
|
authorizationCode: z.ZodString;
|
|
1227
1298
|
url: z.ZodString;
|
|
@@ -1288,12 +1359,12 @@ declare class CoreClient {
|
|
|
1288
1359
|
getSessionId(): Promise<string>;
|
|
1289
1360
|
getDocuments(params?: GetDocumentsInput): Promise<GetDocumentsResponse>;
|
|
1290
1361
|
getDocument(params: GetDocumentInput): Promise<GetDocumentResponse>;
|
|
1362
|
+
getSkill(params: GetSkillInput): Promise<GetSkillResponse>;
|
|
1291
1363
|
getGateways(): Promise<GetGatewaysResponse>;
|
|
1292
|
-
|
|
1293
|
-
executeGatewayTool(params: ExecuteGatewayToolInput): Promise<ExecuteGatewayResponse>;
|
|
1364
|
+
registerGateway(input: Omit<RegisterGatewayRequest, "intent">): Promise<RegisterGatewayResponse>;
|
|
1294
1365
|
getAuthorizationCode(): Promise<AuthorizationCodeResponse>;
|
|
1295
1366
|
exchangeToken(params: TokenExchangeInput): Promise<TokenExchangeResponse>;
|
|
1296
1367
|
checkAuth(): Promise<MeResponse>;
|
|
1297
1368
|
}
|
|
1298
1369
|
|
|
1299
|
-
export { APIKeyParams, ActionStatus, ActionStatusEnum, type AddEpisodeParams, type AddEpisodeResult, type AdjacentChunks, type AuthType, type AuthorizationCodeResponse, AuthorizationCodeResponseSchema, COMPACTED_SESSION_NODE_PROPERTIES, ClaudeModels, type CompactedSessionNode, type Config, CoreClient, CoreClientError, type CoreClientOptions, type CreatePatternParams, type DocumentNode, DocumentSchema, ENTITY_NODE_PROPERTIES, EPISODIC_NODE_PROPERTIES, EXPLICIT_PATTERN_TYPES, type EntityNode, type EntityType, EntityTypes, type EpisodeSearchResult, EpisodeType, EpisodeTypeEnum, type EpisodeWithProvenance, type EpisodicNode, type EpisodicNodeWithoutEmbeddings, type
|
|
1370
|
+
export { APIKeyParams, ActionStatus, ActionStatusEnum, type AddEpisodeParams, type AddEpisodeResult, type AdjacentChunks, type AuthType, type AuthorizationCodeResponse, AuthorizationCodeResponseSchema, COMPACTED_SESSION_NODE_PROPERTIES, ClaudeModels, type CompactedSessionNode, type Config, CoreClient, CoreClientError, type CoreClientOptions, type CreatePatternParams, type DocumentNode, DocumentSchema, ENTITY_NODE_PROPERTIES, EPISODIC_NODE_PROPERTIES, EXPLICIT_PATTERN_TYPES, type EntityNode, type EntityType, EntityTypes, type EpisodeSearchResult, EpisodeType, EpisodeTypeEnum, type EpisodeWithProvenance, type EpisodicNode, type EpisodicNodeWithoutEmbeddings, type ExecuteIntegrationActionInput, ExecuteIntegrationActionInputSchema, type ExecuteIntegrationActionResponse, ExecuteIntegrationActionResponseSchema, type ExplicitPatternType, type ExtractedTripleData, type FrontendExport, GRAPH_ASPECTS, type GatewayAgentInfo, GatewayAgentInfoSchema, GeminiModels, type GetDocumentInput, GetDocumentInputSchema, type GetDocumentResponse, GetDocumentResponseSchema, type GetDocumentsInput, GetDocumentsInputSchema, type GetDocumentsResponse, GetDocumentsResponseSchema, type GetGatewaysResponse, GetGatewaysResponseSchema, type GetIntegrationActionsInput, GetIntegrationActionsInputSchema, type GetIntegrationActionsResponse, GetIntegrationActionsResponseSchema, type GetIntegrationsConnectedResponse, GetIntegrationsConnectedResponseSchema, type GetSkillInput, GetSkillInputSchema, type GetSkillResponse, GetSkillResponseSchema, type GraphAspect, IMPLICIT_PATTERN_TYPES, type Identifier, type ImplicitPatternType, type IngestInput, IngestInputSchema, type IngestResponse, IngestResponseSchema, IntegrationAccountSchema, IntegrationCLI, type IntegrationEventPayload, IntegrationEventType, LLMMappings, LLMModelEnum, LLMModelType, McpAuthParams, type MeResponse, MeResponseSchema, type Message, type MessageType, OAuth2Params, OpenAIModels, PATTERN_TYPES, type Param, type PatternConfirmationParams, type PatternDetectionResult, type PatternType, QUALITY_THRESHOLDS, type QualityFilterResult, type RegisterGatewayRequest, RegisterGatewayRequestSchema, type RegisterGatewayResponse, RegisterGatewayResponseSchema, type RerankConfig, STATEMENT_NODE_PROPERTIES, type SearchInput, SearchInputSchema, type SearchOptions, type SearchResponse, SearchResponseSchema, type SpaceAssignmentResult, type SpaceDeletionResult, type SpaceNode, type SpacePattern, Spec, type StatementAspect, StatementAspects, type StatementNode, type StatementWithSource, type TokenExchangeInput, TokenExchangeInputSchema, type TokenExchangeResponse, TokenExchangeResponseSchema, type ToolContent, type ToolInput, type ToolInputPrimitive, type ToolInputValue, type ToolResult, type ToolUI, type ToolUIComponent, type ToolUIRenderContext, type Triple, type TuiToolUIComponent, type TuiWidgetComponent, type UserConfirmationStatus, UserTypeEnum, VOICE_ASPECTS, type VoiceAspect, type VoiceAspectNode, type WebToolUIComponent, type WebWidgetComponent, type WidgetComponent, type WidgetConfigField, type WidgetMeta, type WidgetRenderContext, type WidgetSpec };
|
package/dist/index.js
CHANGED
|
@@ -550,10 +550,17 @@ var GetDocumentInputSchema = zod.z.object({
|
|
|
550
550
|
var GetDocumentResponseSchema = zod.z.object({
|
|
551
551
|
document: DocumentSchema.nullable()
|
|
552
552
|
});
|
|
553
|
+
var GetSkillInputSchema = zod.z.object({
|
|
554
|
+
skillId: zod.z.string()
|
|
555
|
+
});
|
|
556
|
+
var GetSkillResponseSchema = zod.z.object({
|
|
557
|
+
skill: DocumentSchema.nullable()
|
|
558
|
+
});
|
|
553
559
|
var GatewayAgentInfoSchema = zod.z.object({
|
|
554
560
|
id: zod.z.string(),
|
|
555
561
|
name: zod.z.string(),
|
|
556
562
|
description: zod.z.string(),
|
|
563
|
+
baseUrl: zod.z.string(),
|
|
557
564
|
tools: zod.z.array(zod.z.string()),
|
|
558
565
|
platform: zod.z.string().nullable(),
|
|
559
566
|
hostname: zod.z.string().nullable(),
|
|
@@ -562,20 +569,18 @@ var GatewayAgentInfoSchema = zod.z.object({
|
|
|
562
569
|
"DISCONNECTED"
|
|
563
570
|
])
|
|
564
571
|
});
|
|
565
|
-
var
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
572
|
+
var RegisterGatewayRequestSchema = zod.z.object({
|
|
573
|
+
intent: zod.z.literal("register"),
|
|
574
|
+
baseUrl: zod.z.string().url(),
|
|
575
|
+
securityKey: zod.z.string().min(10),
|
|
576
|
+
name: zod.z.string().min(1).max(64).optional(),
|
|
577
|
+
description: zod.z.string().max(500).optional()
|
|
571
578
|
});
|
|
572
|
-
var
|
|
573
|
-
gatewayId: zod.z.string()
|
|
574
|
-
toolName: zod.z.string(),
|
|
575
|
-
params: zod.z.record(zod.z.unknown())
|
|
579
|
+
var RegisterGatewayResponseSchema = zod.z.object({
|
|
580
|
+
gatewayId: zod.z.string()
|
|
576
581
|
});
|
|
577
|
-
var
|
|
578
|
-
|
|
582
|
+
var GetGatewaysResponseSchema = zod.z.object({
|
|
583
|
+
gateways: zod.z.array(GatewayAgentInfoSchema)
|
|
579
584
|
});
|
|
580
585
|
var AuthorizationCodeResponseSchema = zod.z.object({
|
|
581
586
|
authorizationCode: zod.z.string(),
|
|
@@ -631,10 +636,15 @@ var CoreClient = class {
|
|
|
631
636
|
if (!response.ok) {
|
|
632
637
|
let errorMessage;
|
|
633
638
|
try {
|
|
634
|
-
const
|
|
635
|
-
|
|
639
|
+
const rawText = await response.text();
|
|
640
|
+
try {
|
|
641
|
+
const errorBody = JSON.parse(rawText);
|
|
642
|
+
errorMessage = errorBody.error || JSON.stringify(errorBody);
|
|
643
|
+
} catch {
|
|
644
|
+
errorMessage = rawText || `HTTP ${response.status}`;
|
|
645
|
+
}
|
|
636
646
|
} catch {
|
|
637
|
-
errorMessage =
|
|
647
|
+
errorMessage = `HTTP ${response.status}`;
|
|
638
648
|
}
|
|
639
649
|
throw new CoreClientError(errorMessage, response.status);
|
|
640
650
|
}
|
|
@@ -658,10 +668,15 @@ var CoreClient = class {
|
|
|
658
668
|
if (!response.ok) {
|
|
659
669
|
let errorMessage;
|
|
660
670
|
try {
|
|
661
|
-
const
|
|
662
|
-
|
|
671
|
+
const rawText = await response.text();
|
|
672
|
+
try {
|
|
673
|
+
const errorBody = JSON.parse(rawText);
|
|
674
|
+
errorMessage = errorBody.error || JSON.stringify(errorBody);
|
|
675
|
+
} catch {
|
|
676
|
+
errorMessage = rawText || `HTTP ${response.status}`;
|
|
677
|
+
}
|
|
663
678
|
} catch {
|
|
664
|
-
errorMessage =
|
|
679
|
+
errorMessage = `HTTP ${response.status}`;
|
|
665
680
|
}
|
|
666
681
|
throw new CoreClientError(errorMessage, response.status);
|
|
667
682
|
}
|
|
@@ -755,6 +770,13 @@ var CoreClient = class {
|
|
|
755
770
|
return this.request("GET", `/api/v1/documents/${params.documentId}`);
|
|
756
771
|
}
|
|
757
772
|
/**
|
|
773
|
+
* Get a single skill by ID.
|
|
774
|
+
* GET /api/v1/skills/:skillId
|
|
775
|
+
*/
|
|
776
|
+
async getSkill(params) {
|
|
777
|
+
return this.request("GET", `/api/v1/skills/${params.skillId}`);
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
758
780
|
* List all connected gateways for the workspace.
|
|
759
781
|
* GET /api/v1/gateways
|
|
760
782
|
*/
|
|
@@ -762,26 +784,17 @@ var CoreClient = class {
|
|
|
762
784
|
return this.request("GET", "/api/v1/gateways");
|
|
763
785
|
}
|
|
764
786
|
/**
|
|
765
|
-
*
|
|
766
|
-
* POST /api/v1/gateways
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
body: {
|
|
771
|
-
intent: params.intent
|
|
772
|
-
}
|
|
773
|
-
});
|
|
774
|
-
}
|
|
775
|
-
/**
|
|
776
|
-
* Proxy a single tool call to a gateway via server websocket.
|
|
777
|
-
* POST /api/v1/gateways/:gatewayId/execute (mode: "tool")
|
|
787
|
+
* Register a self-hosted gateway with the workspace.
|
|
788
|
+
* POST /api/v1/gateways (body: { intent: "register", baseUrl, securityKey, name?, description? })
|
|
789
|
+
*
|
|
790
|
+
* The webapp probes the gateway's `/verify` to confirm reachability and
|
|
791
|
+
* that the supplied key matches its stored hash before persisting.
|
|
778
792
|
*/
|
|
779
|
-
async
|
|
780
|
-
return this.request("POST",
|
|
793
|
+
async registerGateway(input) {
|
|
794
|
+
return this.request("POST", "/api/v1/gateways", {
|
|
781
795
|
body: {
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
params: params.params
|
|
796
|
+
intent: "register",
|
|
797
|
+
...input
|
|
785
798
|
}
|
|
786
799
|
});
|
|
787
800
|
}
|
|
@@ -831,9 +844,6 @@ exports.EPISODIC_NODE_PROPERTIES = EPISODIC_NODE_PROPERTIES;
|
|
|
831
844
|
exports.EXPLICIT_PATTERN_TYPES = EXPLICIT_PATTERN_TYPES;
|
|
832
845
|
exports.EntityTypes = EntityTypes;
|
|
833
846
|
exports.EpisodeType = EpisodeType;
|
|
834
|
-
exports.ExecuteGatewayInputSchema = ExecuteGatewayInputSchema;
|
|
835
|
-
exports.ExecuteGatewayResponseSchema = ExecuteGatewayResponseSchema;
|
|
836
|
-
exports.ExecuteGatewayToolInputSchema = ExecuteGatewayToolInputSchema;
|
|
837
847
|
exports.ExecuteIntegrationActionInputSchema = ExecuteIntegrationActionInputSchema;
|
|
838
848
|
exports.ExecuteIntegrationActionResponseSchema = ExecuteIntegrationActionResponseSchema;
|
|
839
849
|
exports.GRAPH_ASPECTS = GRAPH_ASPECTS;
|
|
@@ -847,6 +857,8 @@ exports.GetGatewaysResponseSchema = GetGatewaysResponseSchema;
|
|
|
847
857
|
exports.GetIntegrationActionsInputSchema = GetIntegrationActionsInputSchema;
|
|
848
858
|
exports.GetIntegrationActionsResponseSchema = GetIntegrationActionsResponseSchema;
|
|
849
859
|
exports.GetIntegrationsConnectedResponseSchema = GetIntegrationsConnectedResponseSchema;
|
|
860
|
+
exports.GetSkillInputSchema = GetSkillInputSchema;
|
|
861
|
+
exports.GetSkillResponseSchema = GetSkillResponseSchema;
|
|
850
862
|
exports.IMPLICIT_PATTERN_TYPES = IMPLICIT_PATTERN_TYPES;
|
|
851
863
|
exports.IngestInputSchema = IngestInputSchema;
|
|
852
864
|
exports.IngestResponseSchema = IngestResponseSchema;
|
|
@@ -858,6 +870,8 @@ exports.OAuth2Params = OAuth2Params;
|
|
|
858
870
|
exports.OpenAIModels = OpenAIModels;
|
|
859
871
|
exports.PATTERN_TYPES = PATTERN_TYPES;
|
|
860
872
|
exports.QUALITY_THRESHOLDS = QUALITY_THRESHOLDS;
|
|
873
|
+
exports.RegisterGatewayRequestSchema = RegisterGatewayRequestSchema;
|
|
874
|
+
exports.RegisterGatewayResponseSchema = RegisterGatewayResponseSchema;
|
|
861
875
|
exports.STATEMENT_NODE_PROPERTIES = STATEMENT_NODE_PROPERTIES;
|
|
862
876
|
exports.SearchInputSchema = SearchInputSchema;
|
|
863
877
|
exports.SearchResponseSchema = SearchResponseSchema;
|