@engini/client 0.5.0 → 0.7.0

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.ts CHANGED
@@ -1085,6 +1085,7 @@ type ApplicationDto = {
1085
1085
  description: string;
1086
1086
  applicationLogo?: string | null;
1087
1087
  connectionRequirement: string;
1088
+ kind: string;
1088
1089
  categories: Array<string>;
1089
1090
  toolsCount: number;
1090
1091
  triggersCount: number;
@@ -1132,6 +1133,7 @@ type ConnectionPublicListItem = {
1132
1133
  applicationSlug: string;
1133
1134
  applicationName?: string | null;
1134
1135
  applicationLogo?: string | null;
1136
+ kind: string;
1135
1137
  isPublic: boolean;
1136
1138
  createdBy: string;
1137
1139
  createdDate: string;
@@ -1187,6 +1189,19 @@ type SetDefaultConnectionResponse = {
1187
1189
  connectionId: number;
1188
1190
  isDefault: boolean;
1189
1191
  };
1192
+ type ConnectionReplaceResult = {
1193
+ succeeded: boolean;
1194
+ activities: Array<ConnectionReplaceActivityOutcome>;
1195
+ };
1196
+ type ConnectionReplaceActivityOutcome = {
1197
+ stepNo: number;
1198
+ activityName: string;
1199
+ outcome: ConnectionReplacementOutcome;
1200
+ missingObjectName?: string | null;
1201
+ strippedFields: Array<string>;
1202
+ removedFilterConditions: Array<string>;
1203
+ };
1204
+ type ConnectionReplacementOutcome = 0 | 1 | 2 | 3 | 4 | 5;
1190
1205
  type ReplaceConnectionRequest = {
1191
1206
  workflowId: number;
1192
1207
  originalConnectionId: number;
@@ -1237,6 +1252,60 @@ type AccessTokenResponse = {
1237
1252
  [key: string]: unknown;
1238
1253
  };
1239
1254
  };
1255
+ type PaginatedResponseOfMcpServerPublicDto = {
1256
+ items: Array<McpServerPublicDto>;
1257
+ totalCount: number;
1258
+ offset: number;
1259
+ top: number;
1260
+ };
1261
+ type McpServerPublicDto = {
1262
+ mcpServerToken: string;
1263
+ name: string;
1264
+ url?: string | null;
1265
+ isActive: boolean;
1266
+ isAnonymousAllowed: boolean;
1267
+ connections: Array<McpServerConnectionDto>;
1268
+ workflows: Array<McpServerWorkflowDto>;
1269
+ createdDate: string;
1270
+ updatedDate?: string | null;
1271
+ createdByAccountUserId?: number | null;
1272
+ updatedByAccountUserId?: number | null;
1273
+ };
1274
+ type McpServerConnectionDto = {
1275
+ connectionId: number;
1276
+ applicationSlug: string;
1277
+ applicationName?: string | null;
1278
+ toolSlugs: Array<string>;
1279
+ availableToolsCount: number;
1280
+ selectedToolsCount: number;
1281
+ };
1282
+ type McpServerWorkflowDto = {
1283
+ workflowToken: string;
1284
+ workflowName?: string | null;
1285
+ toolName?: string | null;
1286
+ toolDescription?: string | null;
1287
+ };
1288
+ type UpdateMcpServerRequest = {
1289
+ name?: string | null;
1290
+ isActive?: boolean | null;
1291
+ connections?: Array<McpServerConnectionRequest> | null;
1292
+ workflows?: Array<McpServerWorkflowRequest> | null;
1293
+ };
1294
+ type McpServerConnectionRequest = {
1295
+ connectionId?: number | null;
1296
+ applicationSlug?: string | null;
1297
+ toolSlugs?: Array<string> | null;
1298
+ };
1299
+ type McpServerWorkflowRequest = {
1300
+ workflowToken: string;
1301
+ toolName?: string | null;
1302
+ toolDescription?: string | null;
1303
+ };
1304
+ type McpAvailableToolDto = {
1305
+ toolName: string;
1306
+ description?: string | null;
1307
+ isMandatory: boolean;
1308
+ };
1240
1309
  type PaginatedResponseOfToolDto = {
1241
1310
  items: Array<ToolDto>;
1242
1311
  totalCount: number;
@@ -2114,6 +2183,10 @@ type ApplicationsListApplicationsData = {
2114
2183
  * Optional list of categories to filter by.
2115
2184
  */
2116
2185
  category?: Array<string> | null;
2186
+ /**
2187
+ * Optional filter on the application's connection kind: Regular, Key, OPA or MCPClient. Case-insensitive. Use Key to find the applications an API key can be created against.
2188
+ */
2189
+ kind?: string | null;
2117
2190
  /**
2118
2191
  * When true, returns only applications the caller can currently use. Defaults to false.
2119
2192
  */
@@ -2246,6 +2319,10 @@ type ConnectionsGetConnectionsData = {
2246
2319
  metadata?: {
2247
2320
  [key: string]: string;
2248
2321
  } | null;
2322
+ /**
2323
+ * Optional filter on the connection's kind: Regular, Key, OPA or MCPClient. Case-insensitive. Key is the subset the engini.io Connections page shows under its "Keys" tab. Note that OPA and MCPClient connections are not served by this endpoint, so those values return an empty page.
2324
+ */
2325
+ kind?: string | null;
2249
2326
  };
2250
2327
  url: '/v1/connections';
2251
2328
  };
@@ -2680,9 +2757,11 @@ type ConnectionsReplaceConnectionErrors = {
2680
2757
  type ConnectionsReplaceConnectionError = ConnectionsReplaceConnectionErrors[keyof ConnectionsReplaceConnectionErrors];
2681
2758
  type ConnectionsReplaceConnectionResponses = {
2682
2759
  /**
2683
- * An empty success response when the replacement completes.
2760
+ * The per-activity replacement result when every activity replaced cleanly. Any
2761
+ * activity that could not be replaced (activity/object unavailable on the target) surfaces
2762
+ * as a 400 ErrorResponse instead - see ConnectionApiService.ReplaceConnection.
2684
2763
  */
2685
- 200: Blob | File;
2764
+ 200: ConnectionReplaceResult;
2686
2765
  };
2687
2766
  type ConnectionsReplaceConnectionResponse = ConnectionsReplaceConnectionResponses[keyof ConnectionsReplaceConnectionResponses];
2688
2767
  type ConnectionsRefreshObjectsData = {
@@ -3060,6 +3139,222 @@ type ConnectionsGetAccessTokenResponses = {
3060
3139
  200: AccessTokenResponse;
3061
3140
  };
3062
3141
  type ConnectionsGetAccessTokenResponse = ConnectionsGetAccessTokenResponses[keyof ConnectionsGetAccessTokenResponses];
3142
+ type McpServersListMcpServersData = {
3143
+ body?: never;
3144
+ headers?: {
3145
+ /**
3146
+ * Account token. Optional — alternatively send the AccountToken JWT claim.
3147
+ */
3148
+ companytoken?: string;
3149
+ };
3150
+ path?: never;
3151
+ query?: {
3152
+ /**
3153
+ * Zero-based index of the first item to return. Defaults to 0.
3154
+ */
3155
+ offset?: number;
3156
+ /**
3157
+ * Maximum number of items to return (capped at 100). Defaults to 100.
3158
+ */
3159
+ top?: number;
3160
+ };
3161
+ url: '/v1/mcpservers';
3162
+ };
3163
+ type McpServersListMcpServersErrors = {
3164
+ /**
3165
+ * Bad request - malformed body or invalid parameters.
3166
+ */
3167
+ 400: ErrorResponse;
3168
+ /**
3169
+ * Unauthorized - missing or invalid bearer token.
3170
+ */
3171
+ 401: ErrorResponse;
3172
+ /**
3173
+ * Forbidden - the caller lacks access to the resource.
3174
+ */
3175
+ 403: ErrorResponse;
3176
+ /**
3177
+ * Not found - the resource does not exist.
3178
+ */
3179
+ 404: ErrorResponse;
3180
+ /**
3181
+ * Too many requests - rate limit exceeded.
3182
+ */
3183
+ 429: ErrorResponse;
3184
+ /**
3185
+ * Internal server error - an unexpected error occurred.
3186
+ */
3187
+ 500: ErrorResponse;
3188
+ };
3189
+ type McpServersListMcpServersError = McpServersListMcpServersErrors[keyof McpServersListMcpServersErrors];
3190
+ type McpServersListMcpServersResponses = {
3191
+ /**
3192
+ * A paginated list of MCP servers.
3193
+ */
3194
+ 200: PaginatedResponseOfMcpServerPublicDto;
3195
+ };
3196
+ type McpServersListMcpServersResponse = McpServersListMcpServersResponses[keyof McpServersListMcpServersResponses];
3197
+ type McpServersGetMcpServerData = {
3198
+ body?: never;
3199
+ headers?: {
3200
+ /**
3201
+ * Account token. Optional — alternatively send the AccountToken JWT claim.
3202
+ */
3203
+ companytoken?: string;
3204
+ };
3205
+ path: {
3206
+ /**
3207
+ * The token identifying the MCP server.
3208
+ */
3209
+ mcpServerToken: string;
3210
+ };
3211
+ query?: never;
3212
+ url: '/v1/mcpservers/{mcpServerToken}';
3213
+ };
3214
+ type McpServersGetMcpServerErrors = {
3215
+ /**
3216
+ * Bad request - malformed body or invalid parameters.
3217
+ */
3218
+ 400: ErrorResponse;
3219
+ /**
3220
+ * Unauthorized - missing or invalid bearer token.
3221
+ */
3222
+ 401: ErrorResponse;
3223
+ /**
3224
+ * Forbidden - the caller lacks access to the resource.
3225
+ */
3226
+ 403: ErrorResponse;
3227
+ /**
3228
+ * Not found - the resource does not exist.
3229
+ */
3230
+ 404: ErrorResponse;
3231
+ /**
3232
+ * Too many requests - rate limit exceeded.
3233
+ */
3234
+ 429: ErrorResponse;
3235
+ /**
3236
+ * Internal server error - an unexpected error occurred.
3237
+ */
3238
+ 500: ErrorResponse;
3239
+ };
3240
+ type McpServersGetMcpServerError = McpServersGetMcpServerErrors[keyof McpServersGetMcpServerErrors];
3241
+ type McpServersGetMcpServerResponses = {
3242
+ /**
3243
+ * The requested MCP server.
3244
+ */
3245
+ 200: McpServerPublicDto;
3246
+ };
3247
+ type McpServersGetMcpServerResponse = McpServersGetMcpServerResponses[keyof McpServersGetMcpServerResponses];
3248
+ type McpServersUpdateMcpServerData = {
3249
+ /**
3250
+ * The fields to update on the MCP server.
3251
+ */
3252
+ body: UpdateMcpServerRequest;
3253
+ headers?: {
3254
+ /**
3255
+ * Account token. Optional — alternatively send the AccountToken JWT claim.
3256
+ */
3257
+ companytoken?: string;
3258
+ };
3259
+ path: {
3260
+ /**
3261
+ * The token identifying the MCP server to update.
3262
+ */
3263
+ mcpServerToken: string;
3264
+ };
3265
+ query?: never;
3266
+ url: '/v1/mcpservers/{mcpServerToken}';
3267
+ };
3268
+ type McpServersUpdateMcpServerErrors = {
3269
+ /**
3270
+ * Bad request - malformed body or invalid parameters.
3271
+ */
3272
+ 400: ErrorResponse;
3273
+ /**
3274
+ * Unauthorized - missing or invalid bearer token.
3275
+ */
3276
+ 401: ErrorResponse;
3277
+ /**
3278
+ * Forbidden - the caller lacks access to the resource.
3279
+ */
3280
+ 403: ErrorResponse;
3281
+ /**
3282
+ * Not found - the resource does not exist.
3283
+ */
3284
+ 404: ErrorResponse;
3285
+ /**
3286
+ * Too many requests - rate limit exceeded.
3287
+ */
3288
+ 429: ErrorResponse;
3289
+ /**
3290
+ * Internal server error - an unexpected error occurred.
3291
+ */
3292
+ 500: ErrorResponse;
3293
+ };
3294
+ type McpServersUpdateMcpServerError = McpServersUpdateMcpServerErrors[keyof McpServersUpdateMcpServerErrors];
3295
+ type McpServersUpdateMcpServerResponses = {
3296
+ /**
3297
+ * The updated MCP server.
3298
+ */
3299
+ 200: McpServerPublicDto;
3300
+ };
3301
+ type McpServersUpdateMcpServerResponse = McpServersUpdateMcpServerResponses[keyof McpServersUpdateMcpServerResponses];
3302
+ type McpServersGetAvailableToolsData = {
3303
+ body?: never;
3304
+ headers?: {
3305
+ /**
3306
+ * Account token. Optional — alternatively send the AccountToken JWT claim.
3307
+ */
3308
+ companytoken?: string;
3309
+ };
3310
+ path: {
3311
+ /**
3312
+ * The token identifying the MCP server.
3313
+ */
3314
+ mcpServerToken: string;
3315
+ };
3316
+ query?: {
3317
+ /**
3318
+ * The connection whose available tools to list.
3319
+ */
3320
+ connectionId?: number;
3321
+ };
3322
+ url: '/v1/mcpservers/{mcpServerToken}/available-tools';
3323
+ };
3324
+ type McpServersGetAvailableToolsErrors = {
3325
+ /**
3326
+ * Bad request - malformed body or invalid parameters.
3327
+ */
3328
+ 400: ErrorResponse;
3329
+ /**
3330
+ * Unauthorized - missing or invalid bearer token.
3331
+ */
3332
+ 401: ErrorResponse;
3333
+ /**
3334
+ * Forbidden - the caller lacks access to the resource.
3335
+ */
3336
+ 403: ErrorResponse;
3337
+ /**
3338
+ * Not found - the resource does not exist.
3339
+ */
3340
+ 404: ErrorResponse;
3341
+ /**
3342
+ * Too many requests - rate limit exceeded.
3343
+ */
3344
+ 429: ErrorResponse;
3345
+ /**
3346
+ * Internal server error - an unexpected error occurred.
3347
+ */
3348
+ 500: ErrorResponse;
3349
+ };
3350
+ type McpServersGetAvailableToolsError = McpServersGetAvailableToolsErrors[keyof McpServersGetAvailableToolsErrors];
3351
+ type McpServersGetAvailableToolsResponses = {
3352
+ /**
3353
+ * The tools the connection makes available.
3354
+ */
3355
+ 200: Array<McpAvailableToolDto>;
3356
+ };
3357
+ type McpServersGetAvailableToolsResponse = McpServersGetAvailableToolsResponses[keyof McpServersGetAvailableToolsResponses];
3063
3358
  type ToolsListToolsData = {
3064
3359
  body?: never;
3065
3360
  headers?: {
@@ -3778,6 +4073,43 @@ declare const connectionsGetSignInUrl: <ThrowOnError extends boolean = false>(op
3778
4073
  * complete the connection.
3779
4074
  */
3780
4075
  declare const connectionsGetAccessToken: <ThrowOnError extends boolean = false>(options: Options<ConnectionsGetAccessTokenData, ThrowOnError>) => RequestResult<ConnectionsGetAccessTokenResponses, ConnectionsGetAccessTokenErrors, ThrowOnError>;
4076
+ /**
4077
+ * List MCP servers.
4078
+ *
4079
+ * Returns the MCP servers belonging to the caller's account, paginated. MCP servers are
4080
+ * account-wide rather than per-user, so every caller authenticated for the account sees the
4081
+ * same set. Deactivated servers are included, with isActive reporting their state.
4082
+ * top is silently clamped to the range 1-100 and a negative offset is treated as 0.
4083
+ */
4084
+ declare const mcpServersListMcpServers: <ThrowOnError extends boolean = false>(options?: Options<McpServersListMcpServersData, ThrowOnError>) => RequestResult<McpServersListMcpServersResponses, McpServersListMcpServersErrors, ThrowOnError>;
4085
+ /**
4086
+ * Get an MCP server.
4087
+ *
4088
+ * Fetches a single MCP server by token, including the connections it exposes (with their
4089
+ * permitted tools) and any workflows published as tools. Returns an error if the server
4090
+ * does not exist or belongs to another account.
4091
+ */
4092
+ declare const mcpServersGetMcpServer: <ThrowOnError extends boolean = false>(options: Options<McpServersGetMcpServerData, ThrowOnError>) => RequestResult<McpServersGetMcpServerResponses, McpServersGetMcpServerErrors, ThrowOnError>;
4093
+ /**
4094
+ * Update an MCP server.
4095
+ *
4096
+ * Updates an MCP server belonging to the caller's account. Only the fields present in the
4097
+ * request body are changed - name, isActive, connections and
4098
+ * workflows are each left unchanged when omitted (null); supplying
4099
+ * connections or workflows replaces the entire set, it does not merge with
4100
+ * the existing one. Every connection entry must carry an explicit connectionId.
4101
+ * isAnonymousAllowed is read-only here and is always preserved.
4102
+ */
4103
+ declare const mcpServersUpdateMcpServer: <ThrowOnError extends boolean = false>(options: Options<McpServersUpdateMcpServerData, ThrowOnError>) => RequestResult<McpServersUpdateMcpServerResponses, McpServersUpdateMcpServerErrors, ThrowOnError>;
4104
+ /**
4105
+ * List the tools available to an MCP server from one of its connections.
4106
+ *
4107
+ * Returns every tool the given connection's application offers, so a caller can choose
4108
+ * which of them to expose. These are the candidates for a connection entry's
4109
+ * toolSlugs on the update endpoint; an empty toolSlugs exposes all of them.
4110
+ * Returns an error if the MCP server or the connection does not belong to the caller's account.
4111
+ */
4112
+ declare const mcpServersGetAvailableTools: <ThrowOnError extends boolean = false>(options: Options<McpServersGetAvailableToolsData, ThrowOnError>) => RequestResult<McpServersGetAvailableToolsResponses, McpServersGetAvailableToolsErrors, ThrowOnError>;
3781
4113
  /**
3782
4114
  * List tools.
3783
4115
  *
@@ -3875,4 +4207,4 @@ interface EnginiClientOptions {
3875
4207
  */
3876
4208
  declare function createEnginiClient(options: EnginiClientOptions): Client;
3877
4209
 
3878
- export { type AccessTokenResponse, type ActivityCondition, type ActivitySort, type AppConnectionFieldInputType, type ApplicationAuthMethod, type ApplicationConnectionField, type ApplicationDetailDto, type ApplicationDto, type ApplicationsGetApplicationData, type ApplicationsGetApplicationError, type ApplicationsGetApplicationErrors, type ApplicationsGetApplicationResponse, type ApplicationsGetApplicationResponses, type ApplicationsListApplicationsData, type ApplicationsListApplicationsError, type ApplicationsListApplicationsErrors, type ApplicationsListApplicationsResponse, type ApplicationsListApplicationsResponses, type AuthWhoAmIData, type AuthWhoAmIError, type AuthWhoAmIErrors, type AuthWhoAmIResponse, type AuthWhoAmIResponses, type BuildManifestRequest, type BuildManifestResponse, type BuildManifestTable, type BuildManifestWorkflow, type ClientOptions, type ConnectionInput, type ConnectionObject, type ConnectionPublicDetail, type ConnectionPublicListItem, type ConnectionsCheckConnectionData, type ConnectionsCheckConnectionError, type ConnectionsCheckConnectionErrors, type ConnectionsCheckConnectionResponse, type ConnectionsCheckConnectionResponses, type ConnectionsClearDefaultConnectionData, type ConnectionsClearDefaultConnectionError, type ConnectionsClearDefaultConnectionErrors, type ConnectionsClearDefaultConnectionResponse, type ConnectionsClearDefaultConnectionResponses, type ConnectionsCreateConnectionData, type ConnectionsCreateConnectionError, type ConnectionsCreateConnectionErrors, type ConnectionsCreateConnectionResponse, type ConnectionsCreateConnectionResponses, type ConnectionsDeleteConnectionData, type ConnectionsDeleteConnectionError, type ConnectionsDeleteConnectionErrors, type ConnectionsDeleteConnectionResponse, type ConnectionsDeleteConnectionResponses, type ConnectionsGetAccessTokenData, type ConnectionsGetAccessTokenError, type ConnectionsGetAccessTokenErrors, type ConnectionsGetAccessTokenResponse, type ConnectionsGetAccessTokenResponses, type ConnectionsGetConnectionData, type ConnectionsGetConnectionError, type ConnectionsGetConnectionErrors, type ConnectionsGetConnectionObjectsData, type ConnectionsGetConnectionObjectsError, type ConnectionsGetConnectionObjectsErrors, type ConnectionsGetConnectionObjectsResponse, type ConnectionsGetConnectionObjectsResponses, type ConnectionsGetConnectionResponse, type ConnectionsGetConnectionResponses, type ConnectionsGetConnectionsData, type ConnectionsGetConnectionsError, type ConnectionsGetConnectionsErrors, type ConnectionsGetConnectionsResponse, type ConnectionsGetConnectionsResponses, type ConnectionsGetDefaultConnectionsData, type ConnectionsGetDefaultConnectionsError, type ConnectionsGetDefaultConnectionsErrors, type ConnectionsGetDefaultConnectionsResponse, type ConnectionsGetDefaultConnectionsResponses, type ConnectionsGetRefreshStatusData, type ConnectionsGetRefreshStatusError, type ConnectionsGetRefreshStatusErrors, type ConnectionsGetRefreshStatusResponse, type ConnectionsGetRefreshStatusResponses, type ConnectionsGetSignInUrlData, type ConnectionsGetSignInUrlError, type ConnectionsGetSignInUrlErrors, type ConnectionsGetSignInUrlResponse, type ConnectionsGetSignInUrlResponses, type ConnectionsRefreshObjectsData, type ConnectionsRefreshObjectsError, type ConnectionsRefreshObjectsErrors, type ConnectionsRefreshObjectsResponse, type ConnectionsRefreshObjectsResponses, type ConnectionsReplaceConnectionData, type ConnectionsReplaceConnectionError, type ConnectionsReplaceConnectionErrors, type ConnectionsReplaceConnectionResponse, type ConnectionsReplaceConnectionResponses, type ConnectionsSelectObjectsData, type ConnectionsSelectObjectsError, type ConnectionsSelectObjectsErrors, type ConnectionsSelectObjectsResponse, type ConnectionsSelectObjectsResponses, type ConnectionsSetDefaultConnectionData, type ConnectionsSetDefaultConnectionError, type ConnectionsSetDefaultConnectionErrors, type ConnectionsSetDefaultConnectionResponse, type ConnectionsSetDefaultConnectionResponses, type ConnectionsUpdateConnectionData, type ConnectionsUpdateConnectionError, type ConnectionsUpdateConnectionErrors, type ConnectionsUpdateConnectionResponse, type ConnectionsUpdateConnectionResponses, type CreateConnectionRequest, type CreateSolutionRequest, type CreateToolsetRequest, type CustomConnectionDataItem, type DefaultConnectionDto, type DefaultConnectionsResponse, type EnginiClientOptions, type ErrorDetail, type ErrorResponse, type ExecutionInfo, type InstallSolutionRequest, type InstallSolutionResponse, type InstallationDetailResponse, type InstalledResourceResponse, type ManifestConnection, type ManifestConnectionDefaults, type ManifestTable, type ManifestWorkflow, type Options, type OrderDirection, type PaginatedResponseOfApplicationDto, type PaginatedResponseOfConnectionObject, type PaginatedResponseOfConnectionPublicListItem, type PaginatedResponseOfSolutionResponse, type PaginatedResponseOfToolDto, type PaginatedResponseOfToolsetDto, type ProvisionedResourceInfo, type RefreshStatus, type RefreshStatusResponse, type ReplaceConnectionRequest, type SelectObjectsRequest, type SetDefaultConnectionResponse, type SignInUrlRequest, type SignInUrlResponse, type SolutionAdminWriteResponse, type SolutionDetailResponse, type SolutionInstallationResponse, type SolutionManifest, type SolutionManifestBuildSpec, type SolutionResponse, type SolutionsArchiveSolutionData, type SolutionsArchiveSolutionError, type SolutionsArchiveSolutionErrors, type SolutionsArchiveSolutionResponse, type SolutionsArchiveSolutionResponses, type SolutionsBuildManifestData, type SolutionsBuildManifestError, type SolutionsBuildManifestErrors, type SolutionsBuildManifestResponse, type SolutionsBuildManifestResponses, type SolutionsCreateSolutionData, type SolutionsCreateSolutionError, type SolutionsCreateSolutionErrors, type SolutionsCreateSolutionResponse, type SolutionsCreateSolutionResponses, type SolutionsGetInstallationDetailData, type SolutionsGetInstallationDetailError, type SolutionsGetInstallationDetailErrors, type SolutionsGetInstallationDetailResponse, type SolutionsGetInstallationDetailResponses, type SolutionsGetInstallationResourcesData, type SolutionsGetInstallationResourcesError, type SolutionsGetInstallationResourcesErrors, type SolutionsGetInstallationResourcesResponse, type SolutionsGetInstallationResourcesResponses, type SolutionsGetInstallationsData, type SolutionsGetInstallationsError, type SolutionsGetInstallationsErrors, type SolutionsGetInstallationsResponse, type SolutionsGetInstallationsResponses, type SolutionsGetPublishedSolutionsData, type SolutionsGetPublishedSolutionsError, type SolutionsGetPublishedSolutionsErrors, type SolutionsGetPublishedSolutionsResponse, type SolutionsGetPublishedSolutionsResponses, type SolutionsGetSolutionBySlugData, type SolutionsGetSolutionBySlugError, type SolutionsGetSolutionBySlugErrors, type SolutionsGetSolutionBySlugResponse, type SolutionsGetSolutionBySlugResponses, type SolutionsInstallSolutionData, type SolutionsInstallSolutionError, type SolutionsInstallSolutionErrors, type SolutionsInstallSolutionResponse, type SolutionsInstallSolutionResponses, type SolutionsPublishSolutionData, type SolutionsPublishSolutionError, type SolutionsPublishSolutionErrors, type SolutionsPublishSolutionResponse, type SolutionsPublishSolutionResponses, type SolutionsUninstallSolutionData, type SolutionsUninstallSolutionError, type SolutionsUninstallSolutionErrors, type SolutionsUninstallSolutionResponse, type SolutionsUninstallSolutionResponses, type SolutionsUpdateInstallationData, type SolutionsUpdateInstallationError, type SolutionsUpdateInstallationErrors, type SolutionsUpdateInstallationResponse, type SolutionsUpdateInstallationResponses, type SolutionsUpdateSolutionData, type SolutionsUpdateSolutionError, type SolutionsUpdateSolutionErrors, type SolutionsUpdateSolutionResponse, type SolutionsUpdateSolutionResponses, type TableDefinitionDto, type TableFieldDto, type ToolDetailDto, type ToolDto, type ToolExecuteRequest, type ToolExecuteResponse, type ToolsExecuteToolData, type ToolsExecuteToolError, type ToolsExecuteToolErrors, type ToolsExecuteToolResponse, type ToolsExecuteToolResponses, type ToolsGetToolData, type ToolsGetToolError, type ToolsGetToolErrors, type ToolsGetToolResponse, type ToolsGetToolResponses, type ToolsListToolsData, type ToolsListToolsError, type ToolsListToolsErrors, type ToolsListToolsResponse, type ToolsListToolsResponses, type ToolsetConnectionDto, type ToolsetConnectionRequest, type ToolsetDto, type ToolsetsCreateToolsetData, type ToolsetsCreateToolsetError, type ToolsetsCreateToolsetErrors, type ToolsetsCreateToolsetResponse, type ToolsetsCreateToolsetResponses, type ToolsetsDeleteToolsetData, type ToolsetsDeleteToolsetError, type ToolsetsDeleteToolsetErrors, type ToolsetsDeleteToolsetResponse, type ToolsetsDeleteToolsetResponses, type ToolsetsGetToolsetData, type ToolsetsGetToolsetError, type ToolsetsGetToolsetErrors, type ToolsetsGetToolsetResponse, type ToolsetsGetToolsetResponses, type ToolsetsListToolsetsData, type ToolsetsListToolsetsError, type ToolsetsListToolsetsErrors, type ToolsetsListToolsetsResponse, type ToolsetsListToolsetsResponses, type ToolsetsUpdateToolsetData, type ToolsetsUpdateToolsetError, type ToolsetsUpdateToolsetErrors, type ToolsetsUpdateToolsetResponse, type ToolsetsUpdateToolsetResponses, type UninstallSolutionRequest, type UpdateBlockedResponse, type UpdateBlocker, type UpdateConnectionRequest, type UpdateInstallationRequest, type UpdateInstallationResponse, type UpdateSolutionRequest, type UpdateToolsetRequest, type WhoAmIResponse, applicationsGetApplication, applicationsListApplications, authWhoAmI, connectionsCheckConnection, connectionsClearDefaultConnection, connectionsCreateConnection, connectionsDeleteConnection, connectionsGetAccessToken, connectionsGetConnection, connectionsGetConnectionObjects, connectionsGetConnections, connectionsGetDefaultConnections, connectionsGetRefreshStatus, connectionsGetSignInUrl, connectionsRefreshObjects, connectionsReplaceConnection, connectionsSelectObjects, connectionsSetDefaultConnection, connectionsUpdateConnection, createEnginiClient, solutionsArchiveSolution, solutionsBuildManifest, solutionsCreateSolution, solutionsGetInstallationDetail, solutionsGetInstallationResources, solutionsGetInstallations, solutionsGetPublishedSolutions, solutionsGetSolutionBySlug, solutionsInstallSolution, solutionsPublishSolution, solutionsUninstallSolution, solutionsUpdateInstallation, solutionsUpdateSolution, toolsExecuteTool, toolsGetTool, toolsListTools, toolsetsCreateToolset, toolsetsDeleteToolset, toolsetsGetToolset, toolsetsListToolsets, toolsetsUpdateToolset };
4210
+ export { type AccessTokenResponse, type ActivityCondition, type ActivitySort, type AppConnectionFieldInputType, type ApplicationAuthMethod, type ApplicationConnectionField, type ApplicationDetailDto, type ApplicationDto, type ApplicationsGetApplicationData, type ApplicationsGetApplicationError, type ApplicationsGetApplicationErrors, type ApplicationsGetApplicationResponse, type ApplicationsGetApplicationResponses, type ApplicationsListApplicationsData, type ApplicationsListApplicationsError, type ApplicationsListApplicationsErrors, type ApplicationsListApplicationsResponse, type ApplicationsListApplicationsResponses, type AuthWhoAmIData, type AuthWhoAmIError, type AuthWhoAmIErrors, type AuthWhoAmIResponse, type AuthWhoAmIResponses, type BuildManifestRequest, type BuildManifestResponse, type BuildManifestTable, type BuildManifestWorkflow, type ClientOptions, type ConnectionInput, type ConnectionObject, type ConnectionPublicDetail, type ConnectionPublicListItem, type ConnectionReplaceActivityOutcome, type ConnectionReplaceResult, type ConnectionReplacementOutcome, type ConnectionsCheckConnectionData, type ConnectionsCheckConnectionError, type ConnectionsCheckConnectionErrors, type ConnectionsCheckConnectionResponse, type ConnectionsCheckConnectionResponses, type ConnectionsClearDefaultConnectionData, type ConnectionsClearDefaultConnectionError, type ConnectionsClearDefaultConnectionErrors, type ConnectionsClearDefaultConnectionResponse, type ConnectionsClearDefaultConnectionResponses, type ConnectionsCreateConnectionData, type ConnectionsCreateConnectionError, type ConnectionsCreateConnectionErrors, type ConnectionsCreateConnectionResponse, type ConnectionsCreateConnectionResponses, type ConnectionsDeleteConnectionData, type ConnectionsDeleteConnectionError, type ConnectionsDeleteConnectionErrors, type ConnectionsDeleteConnectionResponse, type ConnectionsDeleteConnectionResponses, type ConnectionsGetAccessTokenData, type ConnectionsGetAccessTokenError, type ConnectionsGetAccessTokenErrors, type ConnectionsGetAccessTokenResponse, type ConnectionsGetAccessTokenResponses, type ConnectionsGetConnectionData, type ConnectionsGetConnectionError, type ConnectionsGetConnectionErrors, type ConnectionsGetConnectionObjectsData, type ConnectionsGetConnectionObjectsError, type ConnectionsGetConnectionObjectsErrors, type ConnectionsGetConnectionObjectsResponse, type ConnectionsGetConnectionObjectsResponses, type ConnectionsGetConnectionResponse, type ConnectionsGetConnectionResponses, type ConnectionsGetConnectionsData, type ConnectionsGetConnectionsError, type ConnectionsGetConnectionsErrors, type ConnectionsGetConnectionsResponse, type ConnectionsGetConnectionsResponses, type ConnectionsGetDefaultConnectionsData, type ConnectionsGetDefaultConnectionsError, type ConnectionsGetDefaultConnectionsErrors, type ConnectionsGetDefaultConnectionsResponse, type ConnectionsGetDefaultConnectionsResponses, type ConnectionsGetRefreshStatusData, type ConnectionsGetRefreshStatusError, type ConnectionsGetRefreshStatusErrors, type ConnectionsGetRefreshStatusResponse, type ConnectionsGetRefreshStatusResponses, type ConnectionsGetSignInUrlData, type ConnectionsGetSignInUrlError, type ConnectionsGetSignInUrlErrors, type ConnectionsGetSignInUrlResponse, type ConnectionsGetSignInUrlResponses, type ConnectionsRefreshObjectsData, type ConnectionsRefreshObjectsError, type ConnectionsRefreshObjectsErrors, type ConnectionsRefreshObjectsResponse, type ConnectionsRefreshObjectsResponses, type ConnectionsReplaceConnectionData, type ConnectionsReplaceConnectionError, type ConnectionsReplaceConnectionErrors, type ConnectionsReplaceConnectionResponse, type ConnectionsReplaceConnectionResponses, type ConnectionsSelectObjectsData, type ConnectionsSelectObjectsError, type ConnectionsSelectObjectsErrors, type ConnectionsSelectObjectsResponse, type ConnectionsSelectObjectsResponses, type ConnectionsSetDefaultConnectionData, type ConnectionsSetDefaultConnectionError, type ConnectionsSetDefaultConnectionErrors, type ConnectionsSetDefaultConnectionResponse, type ConnectionsSetDefaultConnectionResponses, type ConnectionsUpdateConnectionData, type ConnectionsUpdateConnectionError, type ConnectionsUpdateConnectionErrors, type ConnectionsUpdateConnectionResponse, type ConnectionsUpdateConnectionResponses, type CreateConnectionRequest, type CreateSolutionRequest, type CreateToolsetRequest, type CustomConnectionDataItem, type DefaultConnectionDto, type DefaultConnectionsResponse, type EnginiClientOptions, type ErrorDetail, type ErrorResponse, type ExecutionInfo, type InstallSolutionRequest, type InstallSolutionResponse, type InstallationDetailResponse, type InstalledResourceResponse, type ManifestConnection, type ManifestConnectionDefaults, type ManifestTable, type ManifestWorkflow, type McpAvailableToolDto, type McpServerConnectionDto, type McpServerConnectionRequest, type McpServerPublicDto, type McpServerWorkflowDto, type McpServerWorkflowRequest, type McpServersGetAvailableToolsData, type McpServersGetAvailableToolsError, type McpServersGetAvailableToolsErrors, type McpServersGetAvailableToolsResponse, type McpServersGetAvailableToolsResponses, type McpServersGetMcpServerData, type McpServersGetMcpServerError, type McpServersGetMcpServerErrors, type McpServersGetMcpServerResponse, type McpServersGetMcpServerResponses, type McpServersListMcpServersData, type McpServersListMcpServersError, type McpServersListMcpServersErrors, type McpServersListMcpServersResponse, type McpServersListMcpServersResponses, type McpServersUpdateMcpServerData, type McpServersUpdateMcpServerError, type McpServersUpdateMcpServerErrors, type McpServersUpdateMcpServerResponse, type McpServersUpdateMcpServerResponses, type Options, type OrderDirection, type PaginatedResponseOfApplicationDto, type PaginatedResponseOfConnectionObject, type PaginatedResponseOfConnectionPublicListItem, type PaginatedResponseOfMcpServerPublicDto, type PaginatedResponseOfSolutionResponse, type PaginatedResponseOfToolDto, type PaginatedResponseOfToolsetDto, type ProvisionedResourceInfo, type RefreshStatus, type RefreshStatusResponse, type ReplaceConnectionRequest, type SelectObjectsRequest, type SetDefaultConnectionResponse, type SignInUrlRequest, type SignInUrlResponse, type SolutionAdminWriteResponse, type SolutionDetailResponse, type SolutionInstallationResponse, type SolutionManifest, type SolutionManifestBuildSpec, type SolutionResponse, type SolutionsArchiveSolutionData, type SolutionsArchiveSolutionError, type SolutionsArchiveSolutionErrors, type SolutionsArchiveSolutionResponse, type SolutionsArchiveSolutionResponses, type SolutionsBuildManifestData, type SolutionsBuildManifestError, type SolutionsBuildManifestErrors, type SolutionsBuildManifestResponse, type SolutionsBuildManifestResponses, type SolutionsCreateSolutionData, type SolutionsCreateSolutionError, type SolutionsCreateSolutionErrors, type SolutionsCreateSolutionResponse, type SolutionsCreateSolutionResponses, type SolutionsGetInstallationDetailData, type SolutionsGetInstallationDetailError, type SolutionsGetInstallationDetailErrors, type SolutionsGetInstallationDetailResponse, type SolutionsGetInstallationDetailResponses, type SolutionsGetInstallationResourcesData, type SolutionsGetInstallationResourcesError, type SolutionsGetInstallationResourcesErrors, type SolutionsGetInstallationResourcesResponse, type SolutionsGetInstallationResourcesResponses, type SolutionsGetInstallationsData, type SolutionsGetInstallationsError, type SolutionsGetInstallationsErrors, type SolutionsGetInstallationsResponse, type SolutionsGetInstallationsResponses, type SolutionsGetPublishedSolutionsData, type SolutionsGetPublishedSolutionsError, type SolutionsGetPublishedSolutionsErrors, type SolutionsGetPublishedSolutionsResponse, type SolutionsGetPublishedSolutionsResponses, type SolutionsGetSolutionBySlugData, type SolutionsGetSolutionBySlugError, type SolutionsGetSolutionBySlugErrors, type SolutionsGetSolutionBySlugResponse, type SolutionsGetSolutionBySlugResponses, type SolutionsInstallSolutionData, type SolutionsInstallSolutionError, type SolutionsInstallSolutionErrors, type SolutionsInstallSolutionResponse, type SolutionsInstallSolutionResponses, type SolutionsPublishSolutionData, type SolutionsPublishSolutionError, type SolutionsPublishSolutionErrors, type SolutionsPublishSolutionResponse, type SolutionsPublishSolutionResponses, type SolutionsUninstallSolutionData, type SolutionsUninstallSolutionError, type SolutionsUninstallSolutionErrors, type SolutionsUninstallSolutionResponse, type SolutionsUninstallSolutionResponses, type SolutionsUpdateInstallationData, type SolutionsUpdateInstallationError, type SolutionsUpdateInstallationErrors, type SolutionsUpdateInstallationResponse, type SolutionsUpdateInstallationResponses, type SolutionsUpdateSolutionData, type SolutionsUpdateSolutionError, type SolutionsUpdateSolutionErrors, type SolutionsUpdateSolutionResponse, type SolutionsUpdateSolutionResponses, type TableDefinitionDto, type TableFieldDto, type ToolDetailDto, type ToolDto, type ToolExecuteRequest, type ToolExecuteResponse, type ToolsExecuteToolData, type ToolsExecuteToolError, type ToolsExecuteToolErrors, type ToolsExecuteToolResponse, type ToolsExecuteToolResponses, type ToolsGetToolData, type ToolsGetToolError, type ToolsGetToolErrors, type ToolsGetToolResponse, type ToolsGetToolResponses, type ToolsListToolsData, type ToolsListToolsError, type ToolsListToolsErrors, type ToolsListToolsResponse, type ToolsListToolsResponses, type ToolsetConnectionDto, type ToolsetConnectionRequest, type ToolsetDto, type ToolsetsCreateToolsetData, type ToolsetsCreateToolsetError, type ToolsetsCreateToolsetErrors, type ToolsetsCreateToolsetResponse, type ToolsetsCreateToolsetResponses, type ToolsetsDeleteToolsetData, type ToolsetsDeleteToolsetError, type ToolsetsDeleteToolsetErrors, type ToolsetsDeleteToolsetResponse, type ToolsetsDeleteToolsetResponses, type ToolsetsGetToolsetData, type ToolsetsGetToolsetError, type ToolsetsGetToolsetErrors, type ToolsetsGetToolsetResponse, type ToolsetsGetToolsetResponses, type ToolsetsListToolsetsData, type ToolsetsListToolsetsError, type ToolsetsListToolsetsErrors, type ToolsetsListToolsetsResponse, type ToolsetsListToolsetsResponses, type ToolsetsUpdateToolsetData, type ToolsetsUpdateToolsetError, type ToolsetsUpdateToolsetErrors, type ToolsetsUpdateToolsetResponse, type ToolsetsUpdateToolsetResponses, type UninstallSolutionRequest, type UpdateBlockedResponse, type UpdateBlocker, type UpdateConnectionRequest, type UpdateInstallationRequest, type UpdateInstallationResponse, type UpdateMcpServerRequest, type UpdateSolutionRequest, type UpdateToolsetRequest, type WhoAmIResponse, applicationsGetApplication, applicationsListApplications, authWhoAmI, connectionsCheckConnection, connectionsClearDefaultConnection, connectionsCreateConnection, connectionsDeleteConnection, connectionsGetAccessToken, connectionsGetConnection, connectionsGetConnectionObjects, connectionsGetConnections, connectionsGetDefaultConnections, connectionsGetRefreshStatus, connectionsGetSignInUrl, connectionsRefreshObjects, connectionsReplaceConnection, connectionsSelectObjects, connectionsSetDefaultConnection, connectionsUpdateConnection, createEnginiClient, mcpServersGetAvailableTools, mcpServersGetMcpServer, mcpServersListMcpServers, mcpServersUpdateMcpServer, solutionsArchiveSolution, solutionsBuildManifest, solutionsCreateSolution, solutionsGetInstallationDetail, solutionsGetInstallationResources, solutionsGetInstallations, solutionsGetPublishedSolutions, solutionsGetSolutionBySlug, solutionsInstallSolution, solutionsPublishSolution, solutionsUninstallSolution, solutionsUpdateInstallation, solutionsUpdateSolution, toolsExecuteTool, toolsGetTool, toolsListTools, toolsetsCreateToolset, toolsetsDeleteToolset, toolsetsGetToolset, toolsetsListToolsets, toolsetsUpdateToolset };
package/dist/index.js CHANGED
@@ -1089,6 +1089,42 @@ var connectionsGetAccessToken = (options) => (options.client ?? client).get({
1089
1089
  url: "/v1/connections/access-token/{state}",
1090
1090
  ...options
1091
1091
  });
1092
+ var mcpServersListMcpServers = (options) => (options?.client ?? client).get({
1093
+ security: [
1094
+ { scheme: "bearer", type: "http" },
1095
+ { name: "x-api-key", type: "apiKey" }
1096
+ ],
1097
+ url: "/v1/mcpservers",
1098
+ ...options
1099
+ });
1100
+ var mcpServersGetMcpServer = (options) => (options.client ?? client).get({
1101
+ security: [
1102
+ { scheme: "bearer", type: "http" },
1103
+ { name: "x-api-key", type: "apiKey" }
1104
+ ],
1105
+ url: "/v1/mcpservers/{mcpServerToken}",
1106
+ ...options
1107
+ });
1108
+ var mcpServersUpdateMcpServer = (options) => (options.client ?? client).patch({
1109
+ security: [
1110
+ { scheme: "bearer", type: "http" },
1111
+ { name: "x-api-key", type: "apiKey" }
1112
+ ],
1113
+ url: "/v1/mcpservers/{mcpServerToken}",
1114
+ ...options,
1115
+ headers: {
1116
+ "Content-Type": "application/json",
1117
+ ...options.headers
1118
+ }
1119
+ });
1120
+ var mcpServersGetAvailableTools = (options) => (options.client ?? client).get({
1121
+ security: [
1122
+ { scheme: "bearer", type: "http" },
1123
+ { name: "x-api-key", type: "apiKey" }
1124
+ ],
1125
+ url: "/v1/mcpservers/{mcpServerToken}/available-tools",
1126
+ ...options
1127
+ });
1092
1128
  var toolsListTools = (options) => (options?.client ?? client).get({
1093
1129
  security: [
1094
1130
  { scheme: "bearer", type: "http" },
@@ -1176,6 +1212,6 @@ function createEnginiClient(options) {
1176
1212
  );
1177
1213
  }
1178
1214
 
1179
- export { applicationsGetApplication, applicationsListApplications, authWhoAmI, connectionsCheckConnection, connectionsClearDefaultConnection, connectionsCreateConnection, connectionsDeleteConnection, connectionsGetAccessToken, connectionsGetConnection, connectionsGetConnectionObjects, connectionsGetConnections, connectionsGetDefaultConnections, connectionsGetRefreshStatus, connectionsGetSignInUrl, connectionsRefreshObjects, connectionsReplaceConnection, connectionsSelectObjects, connectionsSetDefaultConnection, connectionsUpdateConnection, createEnginiClient, solutionsArchiveSolution, solutionsBuildManifest, solutionsCreateSolution, solutionsGetInstallationDetail, solutionsGetInstallationResources, solutionsGetInstallations, solutionsGetPublishedSolutions, solutionsGetSolutionBySlug, solutionsInstallSolution, solutionsPublishSolution, solutionsUninstallSolution, solutionsUpdateInstallation, solutionsUpdateSolution, toolsExecuteTool, toolsGetTool, toolsListTools, toolsetsCreateToolset, toolsetsDeleteToolset, toolsetsGetToolset, toolsetsListToolsets, toolsetsUpdateToolset };
1215
+ export { applicationsGetApplication, applicationsListApplications, authWhoAmI, connectionsCheckConnection, connectionsClearDefaultConnection, connectionsCreateConnection, connectionsDeleteConnection, connectionsGetAccessToken, connectionsGetConnection, connectionsGetConnectionObjects, connectionsGetConnections, connectionsGetDefaultConnections, connectionsGetRefreshStatus, connectionsGetSignInUrl, connectionsRefreshObjects, connectionsReplaceConnection, connectionsSelectObjects, connectionsSetDefaultConnection, connectionsUpdateConnection, createEnginiClient, mcpServersGetAvailableTools, mcpServersGetMcpServer, mcpServersListMcpServers, mcpServersUpdateMcpServer, solutionsArchiveSolution, solutionsBuildManifest, solutionsCreateSolution, solutionsGetInstallationDetail, solutionsGetInstallationResources, solutionsGetInstallations, solutionsGetPublishedSolutions, solutionsGetSolutionBySlug, solutionsInstallSolution, solutionsPublishSolution, solutionsUninstallSolution, solutionsUpdateInstallation, solutionsUpdateSolution, toolsExecuteTool, toolsGetTool, toolsListTools, toolsetsCreateToolset, toolsetsDeleteToolset, toolsetsGetToolset, toolsetsListToolsets, toolsetsUpdateToolset };
1180
1216
  //# sourceMappingURL=index.js.map
1181
1217
  //# sourceMappingURL=index.js.map