@n8n/api-types 1.42.4 → 1.43.1

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.
Files changed (120) hide show
  1. package/dist/agent-sse.d.ts +15 -1
  2. package/dist/agents/agent-json-config.schema.d.ts +413 -0
  3. package/dist/agents/agent-json-config.schema.js +33 -2
  4. package/dist/agents/agent-json-config.schema.js.map +1 -1
  5. package/dist/agents/background-job.d.ts +5 -2
  6. package/dist/agents/dto.d.ts +327 -2
  7. package/dist/agents/dto.js +43 -4
  8. package/dist/agents/dto.js.map +1 -1
  9. package/dist/agents/inline-agent-config.schema.d.ts +233 -0
  10. package/dist/agents/slack/index.d.ts +1 -0
  11. package/dist/agents/slack/index.js +1 -0
  12. package/dist/agents/slack/index.js.map +1 -1
  13. package/dist/agents/slack/manager-credential.d.ts +2 -0
  14. package/dist/agents/slack/manager-credential.js +7 -0
  15. package/dist/agents/slack/manager-credential.js.map +1 -0
  16. package/dist/agents/types.d.ts +17 -0
  17. package/dist/agents/types.js +2 -1
  18. package/dist/agents/types.js.map +1 -1
  19. package/dist/build.tsbuildinfo +1 -1
  20. package/dist/chat-hub.js.map +1 -1
  21. package/dist/dto/data-table/data-table-public.dto.d.ts +495 -0
  22. package/dist/dto/data-table/data-table-public.dto.js +239 -1
  23. package/dist/dto/data-table/data-table-public.dto.js.map +1 -1
  24. package/dist/dto/data-table/data-table-public.openapi.d.ts +116 -0
  25. package/dist/dto/data-table/data-table-public.openapi.js +91 -1
  26. package/dist/dto/data-table/data-table-public.openapi.js.map +1 -1
  27. package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +17 -7
  28. package/dist/dto/data-table/list-data-table-content-query.dto.js +13 -14
  29. package/dist/dto/data-table/list-data-table-content-query.dto.js.map +1 -1
  30. package/dist/dto/index.d.ts +11 -9
  31. package/dist/dto/index.js +51 -15
  32. package/dist/dto/index.js.map +1 -1
  33. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.d.ts +32 -6
  34. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js +2 -3
  35. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js.map +1 -1
  36. package/dist/dto/ldap/ldap-configuration-public.dto.d.ts +285 -0
  37. package/dist/dto/ldap/ldap-configuration-public.dto.js +76 -0
  38. package/dist/dto/ldap/ldap-configuration-public.dto.js.map +1 -0
  39. package/dist/dto/ldap/ldap-configuration-public.openapi.d.ts +90 -0
  40. package/dist/dto/ldap/ldap-configuration-public.openapi.js +94 -0
  41. package/dist/dto/ldap/ldap-configuration-public.openapi.js.map +1 -0
  42. package/dist/dto/ldap/ldap-sync-public.dto.d.ts +203 -0
  43. package/dist/dto/ldap/ldap-sync-public.dto.js +57 -0
  44. package/dist/dto/ldap/ldap-sync-public.dto.js.map +1 -0
  45. package/dist/dto/ldap/ldap-sync-public.openapi.d.ts +54 -0
  46. package/dist/dto/ldap/ldap-sync-public.openapi.js +58 -0
  47. package/dist/dto/ldap/ldap-sync-public.openapi.js.map +1 -0
  48. package/dist/dto/log-streaming/log-streaming-public.dto.d.ts +17 -0
  49. package/dist/dto/log-streaming/log-streaming-public.dto.js +17 -0
  50. package/dist/dto/log-streaming/log-streaming-public.dto.js.map +1 -0
  51. package/dist/dto/log-streaming/log-streaming-public.openapi.d.ts +6 -0
  52. package/dist/dto/log-streaming/log-streaming-public.openapi.js +10 -0
  53. package/dist/dto/log-streaming/log-streaming-public.openapi.js.map +1 -0
  54. package/dist/dto/otel/otel-settings-public.dto.d.ts +134 -0
  55. package/dist/dto/otel/otel-settings-public.dto.js +48 -0
  56. package/dist/dto/otel/otel-settings-public.dto.js.map +1 -0
  57. package/dist/dto/otel/otel-settings-public.openapi.d.ts +54 -0
  58. package/dist/dto/otel/otel-settings-public.openapi.js +70 -0
  59. package/dist/dto/otel/otel-settings-public.openapi.js.map +1 -0
  60. package/dist/dto/otel/otel-test-trace-public.dto.d.ts +61 -0
  61. package/dist/dto/otel/otel-test-trace-public.dto.js +31 -0
  62. package/dist/dto/otel/otel-test-trace-public.dto.js.map +1 -0
  63. package/dist/dto/otel/otel-test-trace-public.openapi.d.ts +43 -0
  64. package/dist/dto/otel/otel-test-trace-public.openapi.js +38 -0
  65. package/dist/dto/otel/otel-test-trace-public.openapi.js.map +1 -0
  66. package/dist/dto/otel/update-otel-settings.dto.js +1 -0
  67. package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
  68. package/dist/dto/packages/import-package-request.dto.d.ts +3 -1
  69. package/dist/dto/packages/import-package-request.dto.js +2 -0
  70. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  71. package/dist/dto/promotions/promotable-resource.dto.d.ts +13 -0
  72. package/dist/dto/promotions/promotable-resource.dto.js +11 -1
  73. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  74. package/dist/dto/promotions/promotion-common.dto.d.ts +1 -0
  75. package/dist/dto/promotions/promotion-common.dto.js +2 -1
  76. package/dist/dto/promotions/promotion-common.dto.js.map +1 -1
  77. package/dist/dto/promotions/promotion-operations.dto.d.ts +50 -0
  78. package/dist/dto/promotions/promotion-operations.dto.js +19 -1
  79. package/dist/dto/promotions/promotion-operations.dto.js.map +1 -1
  80. package/dist/dto/saml/saml-configuration-public.dto.d.ts +611 -0
  81. package/dist/dto/saml/saml-configuration-public.dto.js +239 -0
  82. package/dist/dto/saml/saml-configuration-public.dto.js.map +1 -0
  83. package/dist/frontend-settings.d.ts +1 -0
  84. package/dist/index.d.ts +8 -4
  85. package/dist/index.js +14 -7
  86. package/dist/index.js.map +1 -1
  87. package/dist/process-internals.d.ts +15 -0
  88. package/dist/{dto/ldap/ldap-configuration-response.dto.js → process-internals.js} +1 -1
  89. package/dist/process-internals.js.map +1 -0
  90. package/dist/schemas/breaking-changes.schema.d.ts +39 -36
  91. package/dist/schemas/breaking-changes.schema.js +9 -3
  92. package/dist/schemas/breaking-changes.schema.js.map +1 -1
  93. package/dist/schemas/instance-ai.schema.d.ts +615 -17
  94. package/dist/schemas/instance-ai.schema.js +32 -8
  95. package/dist/schemas/instance-ai.schema.js.map +1 -1
  96. package/dist/schemas/mcp-registry.schema.d.ts +0 -3
  97. package/dist/schemas/mcp-tool-permissions.schema.d.ts +33 -0
  98. package/dist/schemas/mcp-tool-permissions.schema.js +20 -0
  99. package/dist/schemas/mcp-tool-permissions.schema.js.map +1 -0
  100. package/dist/schemas/public-api-path-params.schema.d.ts +1 -0
  101. package/dist/schemas/public-api-path-params.schema.js +7 -2
  102. package/dist/schemas/public-api-path-params.schema.js.map +1 -1
  103. package/dist/schemas/public-api-uploaded-file.schema.d.ts +21 -0
  104. package/dist/schemas/public-api-uploaded-file.schema.js +15 -0
  105. package/dist/schemas/public-api-uploaded-file.schema.js.map +1 -0
  106. package/dist/workflow-suggestions.d.ts +48 -0
  107. package/dist/workflow-suggestions.js +3 -0
  108. package/dist/workflow-suggestions.js.map +1 -0
  109. package/package.json +11 -8
  110. package/dist/dto/data-table/update-data-table-column.dto.d.ts +0 -21
  111. package/dist/dto/data-table/update-data-table-column.dto.js +0 -17
  112. package/dist/dto/data-table/update-data-table-column.dto.js.map +0 -1
  113. package/dist/dto/ldap/ldap-configuration-response.dto.d.ts +0 -2
  114. package/dist/dto/ldap/ldap-configuration-response.dto.js.map +0 -1
  115. package/dist/dto/ldap/ldap-configuration.dto.d.ts +0 -47
  116. package/dist/dto/ldap/ldap-configuration.dto.js +0 -31
  117. package/dist/dto/ldap/ldap-configuration.dto.js.map +0 -1
  118. package/dist/dto/ldap/ldap-sync.dto.d.ts +0 -9
  119. package/dist/dto/ldap/ldap-sync.dto.js +0 -9
  120. package/dist/dto/ldap/ldap-sync.dto.js.map +0 -1
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import type { AiPreferenceDto, AiPreferenceScope } from './ai-preference.schema';
3
3
  import type { McpRegistryServerIconResponse } from './mcp-registry.schema';
4
+ import type { McpToolPermissions } from './mcp-tool-permissions.schema';
4
5
  export declare const UNLIMITED_CREDITS = -1;
5
6
  export type InstanceAiCredits = {
6
7
  creditsQuota: number;
@@ -1326,6 +1327,39 @@ export declare const instanceAiTargetApprovalSchema: z.ZodObject<{
1326
1327
  args?: unknown;
1327
1328
  }>;
1328
1329
  export type InstanceAiTargetApproval = z.infer<typeof instanceAiTargetApprovalSchema>;
1330
+ export declare const testListenerCardSchema: z.ZodObject<{
1331
+ workflowId: z.ZodString;
1332
+ triggers: z.ZodArray<z.ZodObject<{
1333
+ nodeName: z.ZodString;
1334
+ url: z.ZodString;
1335
+ method: z.ZodString;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ nodeName: string;
1338
+ url: string;
1339
+ method: string;
1340
+ }, {
1341
+ nodeName: string;
1342
+ url: string;
1343
+ method: string;
1344
+ }>, "many">;
1345
+ deadlineAt: z.ZodString;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ workflowId: string;
1348
+ triggers: {
1349
+ nodeName: string;
1350
+ url: string;
1351
+ method: string;
1352
+ }[];
1353
+ deadlineAt: string;
1354
+ }, {
1355
+ workflowId: string;
1356
+ triggers: {
1357
+ nodeName: string;
1358
+ url: string;
1359
+ method: string;
1360
+ }[];
1361
+ deadlineAt: string;
1362
+ }>;
1329
1363
  export declare const instanceAiQuestionSchema: z.ZodObject<{
1330
1364
  id: z.ZodString;
1331
1365
  question: z.ZodString;
@@ -2499,6 +2533,39 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
2499
2533
  }[];
2500
2534
  }[];
2501
2535
  }>>;
2536
+ testListener: z.ZodOptional<z.ZodObject<{
2537
+ workflowId: z.ZodString;
2538
+ triggers: z.ZodArray<z.ZodObject<{
2539
+ nodeName: z.ZodString;
2540
+ url: z.ZodString;
2541
+ method: z.ZodString;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ nodeName: string;
2544
+ url: string;
2545
+ method: string;
2546
+ }, {
2547
+ nodeName: string;
2548
+ url: string;
2549
+ method: string;
2550
+ }>, "many">;
2551
+ deadlineAt: z.ZodString;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ workflowId: string;
2554
+ triggers: {
2555
+ nodeName: string;
2556
+ url: string;
2557
+ method: string;
2558
+ }[];
2559
+ deadlineAt: string;
2560
+ }, {
2561
+ workflowId: string;
2562
+ triggers: {
2563
+ nodeName: string;
2564
+ url: string;
2565
+ method: string;
2566
+ }[];
2567
+ deadlineAt: string;
2568
+ }>>;
2502
2569
  }, "strip", z.ZodTypeAny, {
2503
2570
  requestId: string;
2504
2571
  inputThreadId?: string | undefined;
@@ -2778,6 +2845,15 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
2778
2845
  }[];
2779
2846
  }[];
2780
2847
  } | undefined;
2848
+ testListener?: {
2849
+ workflowId: string;
2850
+ triggers: {
2851
+ nodeName: string;
2852
+ url: string;
2853
+ method: string;
2854
+ }[];
2855
+ deadlineAt: string;
2856
+ } | undefined;
2781
2857
  }, {
2782
2858
  requestId: string;
2783
2859
  inputThreadId?: string | undefined;
@@ -3057,6 +3133,15 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
3057
3133
  }[];
3058
3134
  }[];
3059
3135
  } | undefined;
3136
+ testListener?: {
3137
+ workflowId: string;
3138
+ triggers: {
3139
+ nodeName: string;
3140
+ url: string;
3141
+ method: string;
3142
+ }[];
3143
+ deadlineAt: string;
3144
+ } | undefined;
3060
3145
  }>;
3061
3146
  export type InstanceAiConfirmationRequestPayload = z.infer<typeof confirmationRequestPayloadSchema>;
3062
3147
  export declare function isDisplayableConfirmationRequest(payload: InstanceAiConfirmationRequestPayload): boolean;
@@ -6120,6 +6205,39 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
6120
6205
  }[];
6121
6206
  }[];
6122
6207
  }>>;
6208
+ testListener: z.ZodOptional<z.ZodObject<{
6209
+ workflowId: z.ZodString;
6210
+ triggers: z.ZodArray<z.ZodObject<{
6211
+ nodeName: z.ZodString;
6212
+ url: z.ZodString;
6213
+ method: z.ZodString;
6214
+ }, "strip", z.ZodTypeAny, {
6215
+ nodeName: string;
6216
+ url: string;
6217
+ method: string;
6218
+ }, {
6219
+ nodeName: string;
6220
+ url: string;
6221
+ method: string;
6222
+ }>, "many">;
6223
+ deadlineAt: z.ZodString;
6224
+ }, "strip", z.ZodTypeAny, {
6225
+ workflowId: string;
6226
+ triggers: {
6227
+ nodeName: string;
6228
+ url: string;
6229
+ method: string;
6230
+ }[];
6231
+ deadlineAt: string;
6232
+ }, {
6233
+ workflowId: string;
6234
+ triggers: {
6235
+ nodeName: string;
6236
+ url: string;
6237
+ method: string;
6238
+ }[];
6239
+ deadlineAt: string;
6240
+ }>>;
6123
6241
  }, "strip", z.ZodTypeAny, {
6124
6242
  requestId: string;
6125
6243
  inputThreadId?: string | undefined;
@@ -6399,6 +6517,15 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
6399
6517
  }[];
6400
6518
  }[];
6401
6519
  } | undefined;
6520
+ testListener?: {
6521
+ workflowId: string;
6522
+ triggers: {
6523
+ nodeName: string;
6524
+ url: string;
6525
+ method: string;
6526
+ }[];
6527
+ deadlineAt: string;
6528
+ } | undefined;
6402
6529
  }, {
6403
6530
  requestId: string;
6404
6531
  inputThreadId?: string | undefined;
@@ -6678,6 +6805,15 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
6678
6805
  }[];
6679
6806
  }[];
6680
6807
  } | undefined;
6808
+ testListener?: {
6809
+ workflowId: string;
6810
+ triggers: {
6811
+ nodeName: string;
6812
+ url: string;
6813
+ method: string;
6814
+ }[];
6815
+ deadlineAt: string;
6816
+ } | undefined;
6681
6817
  }>;
6682
6818
  }, "strip", z.ZodTypeAny, {
6683
6819
  runId: string;
@@ -6965,6 +7101,15 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
6965
7101
  }[];
6966
7102
  }[];
6967
7103
  } | undefined;
7104
+ testListener?: {
7105
+ workflowId: string;
7106
+ triggers: {
7107
+ nodeName: string;
7108
+ url: string;
7109
+ method: string;
7110
+ }[];
7111
+ deadlineAt: string;
7112
+ } | undefined;
6968
7113
  };
6969
7114
  }, {
6970
7115
  runId: string;
@@ -7252,6 +7397,15 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
7252
7397
  }[];
7253
7398
  }[];
7254
7399
  } | undefined;
7400
+ testListener?: {
7401
+ workflowId: string;
7402
+ triggers: {
7403
+ nodeName: string;
7404
+ url: string;
7405
+ method: string;
7406
+ }[];
7407
+ deadlineAt: string;
7408
+ } | undefined;
7255
7409
  };
7256
7410
  }>, z.ZodObject<{
7257
7411
  runId: z.ZodString;
@@ -9068,6 +9222,8 @@ export declare const instanceAiThreadTabSchema: z.ZodObject<Pick<{
9068
9222
  projectId?: string | undefined;
9069
9223
  }>;
9070
9224
  export type InstanceAiThreadTab = z.infer<typeof instanceAiThreadTabSchema>;
9225
+ export declare const MAX_INSTANCE_AI_THREAD_OPEN_TABS = 100;
9226
+ export declare const MAX_INSTANCE_AI_THREAD_CLOSED_TABS = 500;
9071
9227
  export declare const instanceAiThreadTabsStateSchema: z.ZodObject<{
9072
9228
  tabs: z.ZodArray<z.ZodObject<Pick<{
9073
9229
  type: z.ZodEnum<["workflow", "agent", "data-table"]>;
@@ -9575,7 +9731,7 @@ declare const InstanceAiCorrectTaskRequest_base: import("../zod-class").ZodClass
9575
9731
  }>;
9576
9732
  export declare class InstanceAiCorrectTaskRequest extends InstanceAiCorrectTaskRequest_base {
9577
9733
  }
9578
- export declare const INSTANCE_AI_THREAD_SOURCES: readonly ['website-template', 'template-view', 'canvas_action_button', 'canvas_choice_prompt', 'node_error_view', 'credential_edit', 'credentials_list', 'agent_builder_page', 'agent_preview', 'assistant_page', 'onboarding', 'workflow_list_auto', 'workflow_list_button', 'evals', 'playwright'];
9734
+ export declare const INSTANCE_AI_THREAD_SOURCES: readonly ['website-template', 'template-view', 'canvas_action_button', 'canvas_choice_prompt', 'node_error_view', 'workflow_error_nudge', 'credential_edit', 'credentials_list', 'agent_builder_page', 'agent_preview', 'assistant_page', 'onboarding', 'workflow_list_auto', 'workflow_list_button', 'evals', 'playwright'];
9579
9735
  export type InstanceAiThreadSource = (typeof INSTANCE_AI_THREAD_SOURCES)[number];
9580
9736
  export declare const INSTANCE_AI_THREAD_SOURCE_FALLBACK = "unknown";
9581
9737
  export type InstanceAiThreadSourcePersisted = InstanceAiThreadSource | typeof INSTANCE_AI_THREAD_SOURCE_FALLBACK;
@@ -9593,13 +9749,13 @@ export type InstanceAiThreadOrigin = (typeof INSTANCE_AI_THREAD_ORIGINS)[number]
9593
9749
  declare const InstanceAiEnsureThreadRequest_base: import("../zod-class").ZodClass<{
9594
9750
  threadId?: string | undefined;
9595
9751
  projectId: string;
9596
- source: "agent_builder_page" | "agent_preview" | "assistant_page" | "canvas_action_button" | "canvas_choice_prompt" | "credential_edit" | "credentials_list" | "evals" | "node_error_view" | "onboarding" | "playwright" | "template-view" | "website-template" | "workflow_list_auto" | "workflow_list_button";
9752
+ source: "agent_builder_page" | "agent_preview" | "assistant_page" | "canvas_action_button" | "canvas_choice_prompt" | "credential_edit" | "credentials_list" | "evals" | "node_error_view" | "onboarding" | "playwright" | "template-view" | "website-template" | "workflow_error_nudge" | "workflow_list_auto" | "workflow_list_button";
9597
9753
  origin?: "external" | "internal" | undefined;
9598
9754
  sourceContext?: Record<string, unknown> | undefined;
9599
9755
  }, {
9600
9756
  threadId: z.ZodOptional<z.ZodString>;
9601
9757
  projectId: z.ZodString;
9602
- source: z.ZodEnum<["website-template", "template-view", "canvas_action_button", "canvas_choice_prompt", "node_error_view", "credential_edit", "credentials_list", "agent_builder_page", "agent_preview", "assistant_page", "onboarding", "workflow_list_auto", "workflow_list_button", "evals", "playwright"]>;
9758
+ source: z.ZodEnum<["website-template", "template-view", "canvas_action_button", "canvas_choice_prompt", "node_error_view", "workflow_error_nudge", "credential_edit", "credentials_list", "agent_builder_page", "agent_preview", "assistant_page", "onboarding", "workflow_list_auto", "workflow_list_button", "evals", "playwright"]>;
9603
9759
  origin: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
9604
9760
  sourceContext: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
9605
9761
  }>;
@@ -9909,7 +10065,8 @@ declare const instanceAiPermissionsSchema: z.ZodObject<{
9909
10065
  webSearch: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
9910
10066
  restoreWorkflowVersion: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
9911
10067
  executeNode: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
9912
- executeMcpTool: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
10068
+ mcpRead: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
10069
+ mcpWrite: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
9913
10070
  createPreference: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
9914
10071
  }, "strip", z.ZodTypeAny, {
9915
10072
  createWorkflow: "always_allow" | "blocked" | "require_approval";
@@ -9933,7 +10090,8 @@ declare const instanceAiPermissionsSchema: z.ZodObject<{
9933
10090
  webSearch: "always_allow" | "blocked" | "require_approval";
9934
10091
  restoreWorkflowVersion: "always_allow" | "blocked" | "require_approval";
9935
10092
  executeNode: "always_allow" | "blocked" | "require_approval";
9936
- executeMcpTool: "always_allow" | "blocked" | "require_approval";
10093
+ mcpRead: "always_allow" | "blocked" | "require_approval";
10094
+ mcpWrite: "always_allow" | "blocked" | "require_approval";
9937
10095
  createPreference: "always_allow" | "blocked" | "require_approval";
9938
10096
  }, {
9939
10097
  createWorkflow: "always_allow" | "blocked" | "require_approval";
@@ -9957,7 +10115,8 @@ declare const instanceAiPermissionsSchema: z.ZodObject<{
9957
10115
  webSearch: "always_allow" | "blocked" | "require_approval";
9958
10116
  restoreWorkflowVersion: "always_allow" | "blocked" | "require_approval";
9959
10117
  executeNode: "always_allow" | "blocked" | "require_approval";
9960
- executeMcpTool: "always_allow" | "blocked" | "require_approval";
10118
+ mcpRead: "always_allow" | "blocked" | "require_approval";
10119
+ mcpWrite: "always_allow" | "blocked" | "require_approval";
9961
10120
  createPreference: "always_allow" | "blocked" | "require_approval";
9962
10121
  }>;
9963
10122
  export type InstanceAiPermissions = z.infer<typeof instanceAiPermissionsSchema>;
@@ -10064,7 +10223,8 @@ declare const InstanceAiAdminSettingsUpdateRequest_base: import("../zod-class").
10064
10223
  webSearch?: "always_allow" | "blocked" | "require_approval" | undefined;
10065
10224
  restoreWorkflowVersion?: "always_allow" | "blocked" | "require_approval" | undefined;
10066
10225
  executeNode?: "always_allow" | "blocked" | "require_approval" | undefined;
10067
- executeMcpTool?: "always_allow" | "blocked" | "require_approval" | undefined;
10226
+ mcpRead?: "always_allow" | "blocked" | "require_approval" | undefined;
10227
+ mcpWrite?: "always_allow" | "blocked" | "require_approval" | undefined;
10068
10228
  createPreference?: "always_allow" | "blocked" | "require_approval" | undefined;
10069
10229
  } | undefined;
10070
10230
  mcpServers?: string | undefined;
@@ -10118,7 +10278,8 @@ declare const InstanceAiAdminSettingsUpdateRequest_base: import("../zod-class").
10118
10278
  webSearch: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10119
10279
  restoreWorkflowVersion: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10120
10280
  executeNode: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10121
- executeMcpTool: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10281
+ mcpRead: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10282
+ mcpWrite: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10122
10283
  createPreference: z.ZodOptional<z.ZodEnum<["require_approval", "always_allow", "blocked"]>>;
10123
10284
  }, "strip", z.ZodTypeAny, {
10124
10285
  createWorkflow?: "always_allow" | "blocked" | "require_approval" | undefined;
@@ -10142,7 +10303,8 @@ declare const InstanceAiAdminSettingsUpdateRequest_base: import("../zod-class").
10142
10303
  webSearch?: "always_allow" | "blocked" | "require_approval" | undefined;
10143
10304
  restoreWorkflowVersion?: "always_allow" | "blocked" | "require_approval" | undefined;
10144
10305
  executeNode?: "always_allow" | "blocked" | "require_approval" | undefined;
10145
- executeMcpTool?: "always_allow" | "blocked" | "require_approval" | undefined;
10306
+ mcpRead?: "always_allow" | "blocked" | "require_approval" | undefined;
10307
+ mcpWrite?: "always_allow" | "blocked" | "require_approval" | undefined;
10146
10308
  createPreference?: "always_allow" | "blocked" | "require_approval" | undefined;
10147
10309
  }, {
10148
10310
  createWorkflow?: "always_allow" | "blocked" | "require_approval" | undefined;
@@ -10166,7 +10328,8 @@ declare const InstanceAiAdminSettingsUpdateRequest_base: import("../zod-class").
10166
10328
  webSearch?: "always_allow" | "blocked" | "require_approval" | undefined;
10167
10329
  restoreWorkflowVersion?: "always_allow" | "blocked" | "require_approval" | undefined;
10168
10330
  executeNode?: "always_allow" | "blocked" | "require_approval" | undefined;
10169
- executeMcpTool?: "always_allow" | "blocked" | "require_approval" | undefined;
10331
+ mcpRead?: "always_allow" | "blocked" | "require_approval" | undefined;
10332
+ mcpWrite?: "always_allow" | "blocked" | "require_approval" | undefined;
10170
10333
  createPreference?: "always_allow" | "blocked" | "require_approval" | undefined;
10171
10334
  }>, {
10172
10335
  createWorkflow?: "always_allow" | "blocked" | "require_approval" | undefined;
@@ -10190,7 +10353,8 @@ declare const InstanceAiAdminSettingsUpdateRequest_base: import("../zod-class").
10190
10353
  webSearch?: "always_allow" | "blocked" | "require_approval" | undefined;
10191
10354
  restoreWorkflowVersion?: "always_allow" | "blocked" | "require_approval" | undefined;
10192
10355
  executeNode?: "always_allow" | "blocked" | "require_approval" | undefined;
10193
- executeMcpTool?: "always_allow" | "blocked" | "require_approval" | undefined;
10356
+ mcpRead?: "always_allow" | "blocked" | "require_approval" | undefined;
10357
+ mcpWrite?: "always_allow" | "blocked" | "require_approval" | undefined;
10194
10358
  createPreference?: "always_allow" | "blocked" | "require_approval" | undefined;
10195
10359
  }, {
10196
10360
  createWorkflow?: "always_allow" | "blocked" | "require_approval" | undefined;
@@ -10214,7 +10378,8 @@ declare const InstanceAiAdminSettingsUpdateRequest_base: import("../zod-class").
10214
10378
  webSearch?: "always_allow" | "blocked" | "require_approval" | undefined;
10215
10379
  restoreWorkflowVersion?: "always_allow" | "blocked" | "require_approval" | undefined;
10216
10380
  executeNode?: "always_allow" | "blocked" | "require_approval" | undefined;
10217
- executeMcpTool?: "always_allow" | "blocked" | "require_approval" | undefined;
10381
+ mcpRead?: "always_allow" | "blocked" | "require_approval" | undefined;
10382
+ mcpWrite?: "always_allow" | "blocked" | "require_approval" | undefined;
10218
10383
  createPreference?: "always_allow" | "blocked" | "require_approval" | undefined;
10219
10384
  }>>;
10220
10385
  mcpServers: z.ZodOptional<z.ZodString>;
@@ -10371,17 +10536,14 @@ export interface InstanceAiMcpConnectionResponse {
10371
10536
  credentialId: string;
10372
10537
  credentialName: string;
10373
10538
  credentialType: string;
10374
- toolFilter: InstanceAiMcpConnectionToolFilterResponse | null;
10539
+ toolPermissions: McpToolPermissions;
10375
10540
  createdAt: string;
10376
10541
  updatedAt: string;
10377
10542
  }
10378
- export interface InstanceAiMcpConnectionToolFilterResponse {
10379
- mode: 'allow' | 'exclude';
10380
- tools: string[];
10381
- }
10382
10543
  export interface InstanceAiMcpConnectionToolResponse {
10383
10544
  name: string;
10384
10545
  description?: string;
10546
+ category: 'read' | 'write';
10385
10547
  }
10386
10548
  export type InstanceAiMcpConnectionFailureReason = 'server_unavailable' | 'authentication' | 'unknown';
10387
10549
  export type InstanceAiMcpConnectionToolsResponse = {
@@ -10464,10 +10626,12 @@ declare const InstanceAiEvalExecutionRequest_base: import("../zod-class").ZodCla
10464
10626
  scenarioHints?: string | undefined;
10465
10627
  pinNodes?: string[] | undefined;
10466
10628
  timeoutMs?: number | undefined;
10629
+ seededDataTableIds?: string[] | undefined;
10467
10630
  }, {
10468
10631
  scenarioHints: z.ZodOptional<z.ZodString>;
10469
10632
  pinNodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10470
10633
  timeoutMs: z.ZodOptional<z.ZodNumber>;
10634
+ seededDataTableIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10471
10635
  }>;
10472
10636
  export declare class InstanceAiEvalExecutionRequest extends InstanceAiEvalExecutionRequest_base {
10473
10637
  }
@@ -10636,6 +10800,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
10636
10800
  id: z.ZodString;
10637
10801
  config: z.ZodEffects<z.ZodObject<{
10638
10802
  name: z.ZodString;
10803
+ description: z.ZodOptional<z.ZodString>;
10639
10804
  model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
10640
10805
  credential: z.ZodOptional<z.ZodString>;
10641
10806
  modelDeploymentName: z.ZodOptional<z.ZodString>;
@@ -10849,12 +11014,15 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
10849
11014
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
10850
11015
  agentId: z.ZodString;
10851
11016
  useWhen: z.ZodOptional<z.ZodString>;
11017
+ enabled: z.ZodOptional<z.ZodBoolean>;
10852
11018
  }, "strict", z.ZodTypeAny, {
10853
11019
  agentId: string;
10854
11020
  useWhen?: string | undefined;
11021
+ enabled?: boolean | undefined;
10855
11022
  }, {
10856
11023
  agentId: string;
10857
11024
  useWhen?: string | undefined;
11025
+ enabled?: boolean | undefined;
10858
11026
  }>, "many">>;
10859
11027
  modelsByDifficulty: z.ZodOptional<z.ZodObject<{
10860
11028
  low: z.ZodOptional<z.ZodObject<{
@@ -10919,6 +11087,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
10919
11087
  agents?: {
10920
11088
  agentId: string;
10921
11089
  useWhen?: string | undefined;
11090
+ enabled?: boolean | undefined;
10922
11091
  }[] | undefined;
10923
11092
  modelsByDifficulty?: {
10924
11093
  low?: {
@@ -10939,6 +11108,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
10939
11108
  agents?: {
10940
11109
  agentId: string;
10941
11110
  useWhen?: string | undefined;
11111
+ enabled?: boolean | undefined;
10942
11112
  }[] | undefined;
10943
11113
  modelsByDifficulty?: {
10944
11114
  low?: {
@@ -10957,18 +11127,22 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
10957
11127
  }>>;
10958
11128
  tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10959
11129
  type: z.ZodLiteral<"custom">;
11130
+ enabled: z.ZodOptional<z.ZodBoolean>;
10960
11131
  id: z.ZodString;
10961
11132
  requireApproval: z.ZodOptional<z.ZodBoolean>;
10962
11133
  }, "strip", z.ZodTypeAny, {
10963
11134
  type: "custom";
11135
+ enabled?: boolean | undefined;
10964
11136
  id: string;
10965
11137
  requireApproval?: boolean | undefined;
10966
11138
  }, {
10967
11139
  type: "custom";
11140
+ enabled?: boolean | undefined;
10968
11141
  id: string;
10969
11142
  requireApproval?: boolean | undefined;
10970
11143
  }>, z.ZodObject<{
10971
11144
  type: z.ZodLiteral<"workflow">;
11145
+ enabled: z.ZodOptional<z.ZodBoolean>;
10972
11146
  workflowId: z.ZodOptional<z.ZodString>;
10973
11147
  workflow: z.ZodString;
10974
11148
  name: z.ZodOptional<z.ZodString>;
@@ -10993,6 +11167,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
10993
11167
  }>]>>>;
10994
11168
  }, "strict", z.ZodTypeAny, {
10995
11169
  type: "workflow";
11170
+ enabled?: boolean | undefined;
10996
11171
  workflowId?: string | undefined;
10997
11172
  workflow: string;
10998
11173
  name?: string | undefined;
@@ -11007,6 +11182,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11007
11182
  }> | undefined;
11008
11183
  }, {
11009
11184
  type: "workflow";
11185
+ enabled?: boolean | undefined;
11010
11186
  workflowId?: string | undefined;
11011
11187
  workflow: string;
11012
11188
  name?: string | undefined;
@@ -11021,6 +11197,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11021
11197
  }> | undefined;
11022
11198
  }>, z.ZodObject<{
11023
11199
  type: z.ZodLiteral<"node">;
11200
+ enabled: z.ZodOptional<z.ZodBoolean>;
11024
11201
  name: z.ZodString;
11025
11202
  description: z.ZodOptional<z.ZodString>;
11026
11203
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -11078,6 +11255,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11078
11255
  requireApproval: z.ZodOptional<z.ZodBoolean>;
11079
11256
  }, "strict", z.ZodTypeAny, {
11080
11257
  type: "node";
11258
+ enabled?: boolean | undefined;
11081
11259
  name: string;
11082
11260
  description?: string | undefined;
11083
11261
  inputSchema?: undefined;
@@ -11097,6 +11275,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11097
11275
  requireApproval?: boolean | undefined;
11098
11276
  }, {
11099
11277
  type: "node";
11278
+ enabled?: boolean | undefined;
11100
11279
  name: string;
11101
11280
  description?: string | undefined;
11102
11281
  inputSchema?: undefined;
@@ -11116,10 +11295,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11116
11295
  requireApproval?: boolean | undefined;
11117
11296
  }>]>, "many">, ({
11118
11297
  type: "custom";
11298
+ enabled?: boolean | undefined;
11119
11299
  id: string;
11120
11300
  requireApproval?: boolean | undefined;
11121
11301
  } | {
11122
11302
  type: "workflow";
11303
+ enabled?: boolean | undefined;
11123
11304
  workflowId?: string | undefined;
11124
11305
  workflow: string;
11125
11306
  name?: string | undefined;
@@ -11134,6 +11315,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11134
11315
  }> | undefined;
11135
11316
  } | {
11136
11317
  type: "node";
11318
+ enabled?: boolean | undefined;
11137
11319
  name: string;
11138
11320
  description?: string | undefined;
11139
11321
  inputSchema?: undefined;
@@ -11153,10 +11335,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11153
11335
  requireApproval?: boolean | undefined;
11154
11336
  })[], ({
11155
11337
  type: "custom";
11338
+ enabled?: boolean | undefined;
11156
11339
  id: string;
11157
11340
  requireApproval?: boolean | undefined;
11158
11341
  } | {
11159
11342
  type: "workflow";
11343
+ enabled?: boolean | undefined;
11160
11344
  workflowId?: string | undefined;
11161
11345
  workflow: string;
11162
11346
  name?: string | undefined;
@@ -11171,6 +11355,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11171
11355
  }> | undefined;
11172
11356
  } | {
11173
11357
  type: "node";
11358
+ enabled?: boolean | undefined;
11174
11359
  name: string;
11175
11360
  description?: string | undefined;
11176
11361
  inputSchema?: undefined;
@@ -11191,18 +11376,23 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
11191
11376
  })[]>>;
11192
11377
  skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
11193
11378
  type: z.ZodLiteral<"skill">;
11379
+ enabled: z.ZodOptional<z.ZodBoolean>;
11194
11380
  id: z.ZodString;
11195
11381
  }, "strip", z.ZodTypeAny, {
11196
11382
  type: "skill";
11383
+ enabled?: boolean | undefined;
11197
11384
  id: string;
11198
11385
  }, {
11199
11386
  type: "skill";
11387
+ enabled?: boolean | undefined;
11200
11388
  id: string;
11201
11389
  }>, "many">, {
11202
11390
  type: "skill";
11391
+ enabled?: boolean | undefined;
11203
11392
  id: string;
11204
11393
  }[], {
11205
11394
  type: "skill";
11395
+ enabled?: boolean | undefined;
11206
11396
  id: string;
11207
11397
  }[]>>;
11208
11398
  tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -12116,6 +12306,48 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12116
12306
  }>>;
12117
12307
  toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
12118
12308
  maxIterations: z.ZodOptional<z.ZodNumber>;
12309
+ guardrails: z.ZodOptional<z.ZodObject<{
12310
+ budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
12311
+ enabled: z.ZodBoolean;
12312
+ monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
12313
+ alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
12314
+ sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
12315
+ }, "strip", z.ZodTypeAny, {
12316
+ enabled: boolean;
12317
+ monthlyBudgetUsd?: number | undefined;
12318
+ alertThresholdPercent?: number | undefined;
12319
+ sessionCostCapUsd?: number | undefined;
12320
+ }, {
12321
+ enabled: boolean;
12322
+ monthlyBudgetUsd?: number | undefined;
12323
+ alertThresholdPercent?: number | undefined;
12324
+ sessionCostCapUsd?: number | undefined;
12325
+ }>, {
12326
+ enabled: boolean;
12327
+ monthlyBudgetUsd?: number | undefined;
12328
+ alertThresholdPercent?: number | undefined;
12329
+ sessionCostCapUsd?: number | undefined;
12330
+ }, {
12331
+ enabled: boolean;
12332
+ monthlyBudgetUsd?: number | undefined;
12333
+ alertThresholdPercent?: number | undefined;
12334
+ sessionCostCapUsd?: number | undefined;
12335
+ }>>;
12336
+ }, "strip", z.ZodTypeAny, {
12337
+ budget?: {
12338
+ enabled: boolean;
12339
+ monthlyBudgetUsd?: number | undefined;
12340
+ alertThresholdPercent?: number | undefined;
12341
+ sessionCostCapUsd?: number | undefined;
12342
+ } | undefined;
12343
+ }, {
12344
+ budget?: {
12345
+ enabled: boolean;
12346
+ monthlyBudgetUsd?: number | undefined;
12347
+ alertThresholdPercent?: number | undefined;
12348
+ sessionCostCapUsd?: number | undefined;
12349
+ } | undefined;
12350
+ }>>;
12119
12351
  }, "strip", z.ZodTypeAny, {
12120
12352
  reasoning?: "high" | "low" | "medium" | undefined;
12121
12353
  promptCaching?: {
@@ -12131,6 +12363,14 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12131
12363
  } | undefined;
12132
12364
  toolCallConcurrency?: number | undefined;
12133
12365
  maxIterations?: number | undefined;
12366
+ guardrails?: {
12367
+ budget?: {
12368
+ enabled: boolean;
12369
+ monthlyBudgetUsd?: number | undefined;
12370
+ alertThresholdPercent?: number | undefined;
12371
+ sessionCostCapUsd?: number | undefined;
12372
+ } | undefined;
12373
+ } | undefined;
12134
12374
  }, {
12135
12375
  reasoning?: "high" | "low" | "medium" | undefined;
12136
12376
  promptCaching?: {
@@ -12146,9 +12386,18 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12146
12386
  } | undefined;
12147
12387
  toolCallConcurrency?: number | undefined;
12148
12388
  maxIterations?: number | undefined;
12389
+ guardrails?: {
12390
+ budget?: {
12391
+ enabled: boolean;
12392
+ monthlyBudgetUsd?: number | undefined;
12393
+ alertThresholdPercent?: number | undefined;
12394
+ sessionCostCapUsd?: number | undefined;
12395
+ } | undefined;
12396
+ } | undefined;
12149
12397
  }>>;
12150
12398
  }, "strip", z.ZodTypeAny, {
12151
12399
  name: string;
12400
+ description?: string | undefined;
12152
12401
  model: string;
12153
12402
  credential?: string | undefined;
12154
12403
  modelDeploymentName?: string | undefined;
@@ -12200,6 +12449,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12200
12449
  agents?: {
12201
12450
  agentId: string;
12202
12451
  useWhen?: string | undefined;
12452
+ enabled?: boolean | undefined;
12203
12453
  }[] | undefined;
12204
12454
  modelsByDifficulty?: {
12205
12455
  low?: {
@@ -12218,10 +12468,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12218
12468
  } | undefined;
12219
12469
  tools?: ({
12220
12470
  type: "custom";
12471
+ enabled?: boolean | undefined;
12221
12472
  id: string;
12222
12473
  requireApproval?: boolean | undefined;
12223
12474
  } | {
12224
12475
  type: "workflow";
12476
+ enabled?: boolean | undefined;
12225
12477
  workflowId?: string | undefined;
12226
12478
  workflow: string;
12227
12479
  name?: string | undefined;
@@ -12236,6 +12488,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12236
12488
  }> | undefined;
12237
12489
  } | {
12238
12490
  type: "node";
12491
+ enabled?: boolean | undefined;
12239
12492
  name: string;
12240
12493
  description?: string | undefined;
12241
12494
  inputSchema?: undefined;
@@ -12256,6 +12509,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12256
12509
  })[] | undefined;
12257
12510
  skills?: {
12258
12511
  type: "skill";
12512
+ enabled?: boolean | undefined;
12259
12513
  id: string;
12260
12514
  }[] | undefined;
12261
12515
  tasks?: {
@@ -12420,9 +12674,18 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12420
12674
  } | undefined;
12421
12675
  toolCallConcurrency?: number | undefined;
12422
12676
  maxIterations?: number | undefined;
12677
+ guardrails?: {
12678
+ budget?: {
12679
+ enabled: boolean;
12680
+ monthlyBudgetUsd?: number | undefined;
12681
+ alertThresholdPercent?: number | undefined;
12682
+ sessionCostCapUsd?: number | undefined;
12683
+ } | undefined;
12684
+ } | undefined;
12423
12685
  } | undefined;
12424
12686
  }, {
12425
12687
  name: string;
12688
+ description?: string | undefined;
12426
12689
  model: string;
12427
12690
  credential?: string | undefined;
12428
12691
  modelDeploymentName?: string | undefined;
@@ -12474,6 +12737,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12474
12737
  agents?: {
12475
12738
  agentId: string;
12476
12739
  useWhen?: string | undefined;
12740
+ enabled?: boolean | undefined;
12477
12741
  }[] | undefined;
12478
12742
  modelsByDifficulty?: {
12479
12743
  low?: {
@@ -12492,10 +12756,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12492
12756
  } | undefined;
12493
12757
  tools?: ({
12494
12758
  type: "custom";
12759
+ enabled?: boolean | undefined;
12495
12760
  id: string;
12496
12761
  requireApproval?: boolean | undefined;
12497
12762
  } | {
12498
12763
  type: "workflow";
12764
+ enabled?: boolean | undefined;
12499
12765
  workflowId?: string | undefined;
12500
12766
  workflow: string;
12501
12767
  name?: string | undefined;
@@ -12510,6 +12776,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12510
12776
  }> | undefined;
12511
12777
  } | {
12512
12778
  type: "node";
12779
+ enabled?: boolean | undefined;
12513
12780
  name: string;
12514
12781
  description?: string | undefined;
12515
12782
  inputSchema?: undefined;
@@ -12530,6 +12797,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12530
12797
  })[] | undefined;
12531
12798
  skills?: {
12532
12799
  type: "skill";
12800
+ enabled?: boolean | undefined;
12533
12801
  id: string;
12534
12802
  }[] | undefined;
12535
12803
  tasks?: {
@@ -12694,9 +12962,18 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12694
12962
  } | undefined;
12695
12963
  toolCallConcurrency?: number | undefined;
12696
12964
  maxIterations?: number | undefined;
12965
+ guardrails?: {
12966
+ budget?: {
12967
+ enabled: boolean;
12968
+ monthlyBudgetUsd?: number | undefined;
12969
+ alertThresholdPercent?: number | undefined;
12970
+ sessionCostCapUsd?: number | undefined;
12971
+ } | undefined;
12972
+ } | undefined;
12697
12973
  } | undefined;
12698
12974
  }>, {
12699
12975
  name: string;
12976
+ description?: string | undefined;
12700
12977
  model: string;
12701
12978
  credential?: string | undefined;
12702
12979
  modelDeploymentName?: string | undefined;
@@ -12748,6 +13025,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12748
13025
  agents?: {
12749
13026
  agentId: string;
12750
13027
  useWhen?: string | undefined;
13028
+ enabled?: boolean | undefined;
12751
13029
  }[] | undefined;
12752
13030
  modelsByDifficulty?: {
12753
13031
  low?: {
@@ -12766,10 +13044,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12766
13044
  } | undefined;
12767
13045
  tools?: ({
12768
13046
  type: "custom";
13047
+ enabled?: boolean | undefined;
12769
13048
  id: string;
12770
13049
  requireApproval?: boolean | undefined;
12771
13050
  } | {
12772
13051
  type: "workflow";
13052
+ enabled?: boolean | undefined;
12773
13053
  workflowId?: string | undefined;
12774
13054
  workflow: string;
12775
13055
  name?: string | undefined;
@@ -12784,6 +13064,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12784
13064
  }> | undefined;
12785
13065
  } | {
12786
13066
  type: "node";
13067
+ enabled?: boolean | undefined;
12787
13068
  name: string;
12788
13069
  description?: string | undefined;
12789
13070
  inputSchema?: undefined;
@@ -12804,6 +13085,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12804
13085
  })[] | undefined;
12805
13086
  skills?: {
12806
13087
  type: "skill";
13088
+ enabled?: boolean | undefined;
12807
13089
  id: string;
12808
13090
  }[] | undefined;
12809
13091
  tasks?: {
@@ -12968,9 +13250,18 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
12968
13250
  } | undefined;
12969
13251
  toolCallConcurrency?: number | undefined;
12970
13252
  maxIterations?: number | undefined;
13253
+ guardrails?: {
13254
+ budget?: {
13255
+ enabled: boolean;
13256
+ monthlyBudgetUsd?: number | undefined;
13257
+ alertThresholdPercent?: number | undefined;
13258
+ sessionCostCapUsd?: number | undefined;
13259
+ } | undefined;
13260
+ } | undefined;
12971
13261
  } | undefined;
12972
13262
  }, {
12973
13263
  name: string;
13264
+ description?: string | undefined;
12974
13265
  model: string;
12975
13266
  credential?: string | undefined;
12976
13267
  modelDeploymentName?: string | undefined;
@@ -13022,6 +13313,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13022
13313
  agents?: {
13023
13314
  agentId: string;
13024
13315
  useWhen?: string | undefined;
13316
+ enabled?: boolean | undefined;
13025
13317
  }[] | undefined;
13026
13318
  modelsByDifficulty?: {
13027
13319
  low?: {
@@ -13040,10 +13332,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13040
13332
  } | undefined;
13041
13333
  tools?: ({
13042
13334
  type: "custom";
13335
+ enabled?: boolean | undefined;
13043
13336
  id: string;
13044
13337
  requireApproval?: boolean | undefined;
13045
13338
  } | {
13046
13339
  type: "workflow";
13340
+ enabled?: boolean | undefined;
13047
13341
  workflowId?: string | undefined;
13048
13342
  workflow: string;
13049
13343
  name?: string | undefined;
@@ -13058,6 +13352,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13058
13352
  }> | undefined;
13059
13353
  } | {
13060
13354
  type: "node";
13355
+ enabled?: boolean | undefined;
13061
13356
  name: string;
13062
13357
  description?: string | undefined;
13063
13358
  inputSchema?: undefined;
@@ -13078,6 +13373,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13078
13373
  })[] | undefined;
13079
13374
  skills?: {
13080
13375
  type: "skill";
13376
+ enabled?: boolean | undefined;
13081
13377
  id: string;
13082
13378
  }[] | undefined;
13083
13379
  tasks?: {
@@ -13242,6 +13538,14 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13242
13538
  } | undefined;
13243
13539
  toolCallConcurrency?: number | undefined;
13244
13540
  maxIterations?: number | undefined;
13541
+ guardrails?: {
13542
+ budget?: {
13543
+ enabled: boolean;
13544
+ monthlyBudgetUsd?: number | undefined;
13545
+ alertThresholdPercent?: number | undefined;
13546
+ sessionCostCapUsd?: number | undefined;
13547
+ } | undefined;
13548
+ } | undefined;
13245
13549
  } | undefined;
13246
13550
  }>;
13247
13551
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13303,6 +13607,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13303
13607
  id: string;
13304
13608
  config: {
13305
13609
  name: string;
13610
+ description?: string | undefined;
13306
13611
  model: string;
13307
13612
  credential?: string | undefined;
13308
13613
  modelDeploymentName?: string | undefined;
@@ -13354,6 +13659,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13354
13659
  agents?: {
13355
13660
  agentId: string;
13356
13661
  useWhen?: string | undefined;
13662
+ enabled?: boolean | undefined;
13357
13663
  }[] | undefined;
13358
13664
  modelsByDifficulty?: {
13359
13665
  low?: {
@@ -13372,10 +13678,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13372
13678
  } | undefined;
13373
13679
  tools?: ({
13374
13680
  type: "custom";
13681
+ enabled?: boolean | undefined;
13375
13682
  id: string;
13376
13683
  requireApproval?: boolean | undefined;
13377
13684
  } | {
13378
13685
  type: "workflow";
13686
+ enabled?: boolean | undefined;
13379
13687
  workflowId?: string | undefined;
13380
13688
  workflow: string;
13381
13689
  name?: string | undefined;
@@ -13390,6 +13698,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13390
13698
  }> | undefined;
13391
13699
  } | {
13392
13700
  type: "node";
13701
+ enabled?: boolean | undefined;
13393
13702
  name: string;
13394
13703
  description?: string | undefined;
13395
13704
  inputSchema?: undefined;
@@ -13410,6 +13719,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13410
13719
  })[] | undefined;
13411
13720
  skills?: {
13412
13721
  type: "skill";
13722
+ enabled?: boolean | undefined;
13413
13723
  id: string;
13414
13724
  }[] | undefined;
13415
13725
  tasks?: {
@@ -13574,6 +13884,14 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13574
13884
  } | undefined;
13575
13885
  toolCallConcurrency?: number | undefined;
13576
13886
  maxIterations?: number | undefined;
13887
+ guardrails?: {
13888
+ budget?: {
13889
+ enabled: boolean;
13890
+ monthlyBudgetUsd?: number | undefined;
13891
+ alertThresholdPercent?: number | undefined;
13892
+ sessionCostCapUsd?: number | undefined;
13893
+ } | undefined;
13894
+ } | undefined;
13577
13895
  } | undefined;
13578
13896
  };
13579
13897
  skills?: Record<string, {
@@ -13595,6 +13913,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13595
13913
  id: string;
13596
13914
  config: {
13597
13915
  name: string;
13916
+ description?: string | undefined;
13598
13917
  model: string;
13599
13918
  credential?: string | undefined;
13600
13919
  modelDeploymentName?: string | undefined;
@@ -13646,6 +13965,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13646
13965
  agents?: {
13647
13966
  agentId: string;
13648
13967
  useWhen?: string | undefined;
13968
+ enabled?: boolean | undefined;
13649
13969
  }[] | undefined;
13650
13970
  modelsByDifficulty?: {
13651
13971
  low?: {
@@ -13664,10 +13984,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13664
13984
  } | undefined;
13665
13985
  tools?: ({
13666
13986
  type: "custom";
13987
+ enabled?: boolean | undefined;
13667
13988
  id: string;
13668
13989
  requireApproval?: boolean | undefined;
13669
13990
  } | {
13670
13991
  type: "workflow";
13992
+ enabled?: boolean | undefined;
13671
13993
  workflowId?: string | undefined;
13672
13994
  workflow: string;
13673
13995
  name?: string | undefined;
@@ -13682,6 +14004,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13682
14004
  }> | undefined;
13683
14005
  } | {
13684
14006
  type: "node";
14007
+ enabled?: boolean | undefined;
13685
14008
  name: string;
13686
14009
  description?: string | undefined;
13687
14010
  inputSchema?: undefined;
@@ -13702,6 +14025,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13702
14025
  })[] | undefined;
13703
14026
  skills?: {
13704
14027
  type: "skill";
14028
+ enabled?: boolean | undefined;
13705
14029
  id: string;
13706
14030
  }[] | undefined;
13707
14031
  tasks?: {
@@ -13866,6 +14190,14 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13866
14190
  } | undefined;
13867
14191
  toolCallConcurrency?: number | undefined;
13868
14192
  maxIterations?: number | undefined;
14193
+ guardrails?: {
14194
+ budget?: {
14195
+ enabled: boolean;
14196
+ monthlyBudgetUsd?: number | undefined;
14197
+ alertThresholdPercent?: number | undefined;
14198
+ sessionCostCapUsd?: number | undefined;
14199
+ } | undefined;
14200
+ } | undefined;
13869
14201
  } | undefined;
13870
14202
  };
13871
14203
  skills?: Record<string, {
@@ -13887,6 +14219,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13887
14219
  id: string;
13888
14220
  config: {
13889
14221
  name: string;
14222
+ description?: string | undefined;
13890
14223
  model: string;
13891
14224
  credential?: string | undefined;
13892
14225
  modelDeploymentName?: string | undefined;
@@ -13938,6 +14271,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13938
14271
  agents?: {
13939
14272
  agentId: string;
13940
14273
  useWhen?: string | undefined;
14274
+ enabled?: boolean | undefined;
13941
14275
  }[] | undefined;
13942
14276
  modelsByDifficulty?: {
13943
14277
  low?: {
@@ -13956,10 +14290,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13956
14290
  } | undefined;
13957
14291
  tools?: ({
13958
14292
  type: "custom";
14293
+ enabled?: boolean | undefined;
13959
14294
  id: string;
13960
14295
  requireApproval?: boolean | undefined;
13961
14296
  } | {
13962
14297
  type: "workflow";
14298
+ enabled?: boolean | undefined;
13963
14299
  workflowId?: string | undefined;
13964
14300
  workflow: string;
13965
14301
  name?: string | undefined;
@@ -13974,6 +14310,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13974
14310
  }> | undefined;
13975
14311
  } | {
13976
14312
  type: "node";
14313
+ enabled?: boolean | undefined;
13977
14314
  name: string;
13978
14315
  description?: string | undefined;
13979
14316
  inputSchema?: undefined;
@@ -13994,6 +14331,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
13994
14331
  })[] | undefined;
13995
14332
  skills?: {
13996
14333
  type: "skill";
14334
+ enabled?: boolean | undefined;
13997
14335
  id: string;
13998
14336
  }[] | undefined;
13999
14337
  tasks?: {
@@ -14158,6 +14496,14 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14158
14496
  } | undefined;
14159
14497
  toolCallConcurrency?: number | undefined;
14160
14498
  maxIterations?: number | undefined;
14499
+ guardrails?: {
14500
+ budget?: {
14501
+ enabled: boolean;
14502
+ monthlyBudgetUsd?: number | undefined;
14503
+ alertThresholdPercent?: number | undefined;
14504
+ sessionCostCapUsd?: number | undefined;
14505
+ } | undefined;
14506
+ } | undefined;
14161
14507
  } | undefined;
14162
14508
  };
14163
14509
  skills?: Record<string, {
@@ -14179,6 +14525,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14179
14525
  id: string;
14180
14526
  config: {
14181
14527
  name: string;
14528
+ description?: string | undefined;
14182
14529
  model: string;
14183
14530
  credential?: string | undefined;
14184
14531
  modelDeploymentName?: string | undefined;
@@ -14230,6 +14577,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14230
14577
  agents?: {
14231
14578
  agentId: string;
14232
14579
  useWhen?: string | undefined;
14580
+ enabled?: boolean | undefined;
14233
14581
  }[] | undefined;
14234
14582
  modelsByDifficulty?: {
14235
14583
  low?: {
@@ -14248,10 +14596,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14248
14596
  } | undefined;
14249
14597
  tools?: ({
14250
14598
  type: "custom";
14599
+ enabled?: boolean | undefined;
14251
14600
  id: string;
14252
14601
  requireApproval?: boolean | undefined;
14253
14602
  } | {
14254
14603
  type: "workflow";
14604
+ enabled?: boolean | undefined;
14255
14605
  workflowId?: string | undefined;
14256
14606
  workflow: string;
14257
14607
  name?: string | undefined;
@@ -14266,6 +14616,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14266
14616
  }> | undefined;
14267
14617
  } | {
14268
14618
  type: "node";
14619
+ enabled?: boolean | undefined;
14269
14620
  name: string;
14270
14621
  description?: string | undefined;
14271
14622
  inputSchema?: undefined;
@@ -14286,6 +14637,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14286
14637
  })[] | undefined;
14287
14638
  skills?: {
14288
14639
  type: "skill";
14640
+ enabled?: boolean | undefined;
14289
14641
  id: string;
14290
14642
  }[] | undefined;
14291
14643
  tasks?: {
@@ -14450,6 +14802,14 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
14450
14802
  } | undefined;
14451
14803
  toolCallConcurrency?: number | undefined;
14452
14804
  maxIterations?: number | undefined;
14805
+ guardrails?: {
14806
+ budget?: {
14807
+ enabled: boolean;
14808
+ monthlyBudgetUsd?: number | undefined;
14809
+ alertThresholdPercent?: number | undefined;
14810
+ sessionCostCapUsd?: number | undefined;
14811
+ } | undefined;
14812
+ } | undefined;
14453
14813
  } | undefined;
14454
14814
  };
14455
14815
  skills?: Record<string, {
@@ -14498,6 +14858,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14498
14858
  id: string;
14499
14859
  config: {
14500
14860
  name: string;
14861
+ description?: string | undefined;
14501
14862
  model: string;
14502
14863
  credential?: string | undefined;
14503
14864
  modelDeploymentName?: string | undefined;
@@ -14549,6 +14910,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14549
14910
  agents?: {
14550
14911
  agentId: string;
14551
14912
  useWhen?: string | undefined;
14913
+ enabled?: boolean | undefined;
14552
14914
  }[] | undefined;
14553
14915
  modelsByDifficulty?: {
14554
14916
  low?: {
@@ -14567,10 +14929,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14567
14929
  } | undefined;
14568
14930
  tools?: ({
14569
14931
  type: "custom";
14932
+ enabled?: boolean | undefined;
14570
14933
  id: string;
14571
14934
  requireApproval?: boolean | undefined;
14572
14935
  } | {
14573
14936
  type: "workflow";
14937
+ enabled?: boolean | undefined;
14574
14938
  workflowId?: string | undefined;
14575
14939
  workflow: string;
14576
14940
  name?: string | undefined;
@@ -14585,6 +14949,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14585
14949
  }> | undefined;
14586
14950
  } | {
14587
14951
  type: "node";
14952
+ enabled?: boolean | undefined;
14588
14953
  name: string;
14589
14954
  description?: string | undefined;
14590
14955
  inputSchema?: undefined;
@@ -14605,6 +14970,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14605
14970
  })[] | undefined;
14606
14971
  skills?: {
14607
14972
  type: "skill";
14973
+ enabled?: boolean | undefined;
14608
14974
  id: string;
14609
14975
  }[] | undefined;
14610
14976
  tasks?: {
@@ -14769,6 +15135,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14769
15135
  } | undefined;
14770
15136
  toolCallConcurrency?: number | undefined;
14771
15137
  maxIterations?: number | undefined;
15138
+ guardrails?: {
15139
+ budget?: {
15140
+ enabled: boolean;
15141
+ monthlyBudgetUsd?: number | undefined;
15142
+ alertThresholdPercent?: number | undefined;
15143
+ sessionCostCapUsd?: number | undefined;
15144
+ } | undefined;
15145
+ } | undefined;
14772
15146
  } | undefined;
14773
15147
  };
14774
15148
  skills?: Record<string, {
@@ -14869,6 +15243,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
14869
15243
  id: z.ZodString;
14870
15244
  config: z.ZodEffects<z.ZodObject<{
14871
15245
  name: z.ZodString;
15246
+ description: z.ZodOptional<z.ZodString>;
14872
15247
  model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
14873
15248
  credential: z.ZodOptional<z.ZodString>;
14874
15249
  modelDeploymentName: z.ZodOptional<z.ZodString>;
@@ -15082,12 +15457,15 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15082
15457
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
15083
15458
  agentId: z.ZodString;
15084
15459
  useWhen: z.ZodOptional<z.ZodString>;
15460
+ enabled: z.ZodOptional<z.ZodBoolean>;
15085
15461
  }, "strict", z.ZodTypeAny, {
15086
15462
  agentId: string;
15087
15463
  useWhen?: string | undefined;
15464
+ enabled?: boolean | undefined;
15088
15465
  }, {
15089
15466
  agentId: string;
15090
15467
  useWhen?: string | undefined;
15468
+ enabled?: boolean | undefined;
15091
15469
  }>, "many">>;
15092
15470
  modelsByDifficulty: z.ZodOptional<z.ZodObject<{
15093
15471
  low: z.ZodOptional<z.ZodObject<{
@@ -15152,6 +15530,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15152
15530
  agents?: {
15153
15531
  agentId: string;
15154
15532
  useWhen?: string | undefined;
15533
+ enabled?: boolean | undefined;
15155
15534
  }[] | undefined;
15156
15535
  modelsByDifficulty?: {
15157
15536
  low?: {
@@ -15172,6 +15551,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15172
15551
  agents?: {
15173
15552
  agentId: string;
15174
15553
  useWhen?: string | undefined;
15554
+ enabled?: boolean | undefined;
15175
15555
  }[] | undefined;
15176
15556
  modelsByDifficulty?: {
15177
15557
  low?: {
@@ -15190,18 +15570,22 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15190
15570
  }>>;
15191
15571
  tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15192
15572
  type: z.ZodLiteral<"custom">;
15573
+ enabled: z.ZodOptional<z.ZodBoolean>;
15193
15574
  id: z.ZodString;
15194
15575
  requireApproval: z.ZodOptional<z.ZodBoolean>;
15195
15576
  }, "strip", z.ZodTypeAny, {
15196
15577
  type: "custom";
15578
+ enabled?: boolean | undefined;
15197
15579
  id: string;
15198
15580
  requireApproval?: boolean | undefined;
15199
15581
  }, {
15200
15582
  type: "custom";
15583
+ enabled?: boolean | undefined;
15201
15584
  id: string;
15202
15585
  requireApproval?: boolean | undefined;
15203
15586
  }>, z.ZodObject<{
15204
15587
  type: z.ZodLiteral<"workflow">;
15588
+ enabled: z.ZodOptional<z.ZodBoolean>;
15205
15589
  workflowId: z.ZodOptional<z.ZodString>;
15206
15590
  workflow: z.ZodString;
15207
15591
  name: z.ZodOptional<z.ZodString>;
@@ -15226,6 +15610,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15226
15610
  }>]>>>;
15227
15611
  }, "strict", z.ZodTypeAny, {
15228
15612
  type: "workflow";
15613
+ enabled?: boolean | undefined;
15229
15614
  workflowId?: string | undefined;
15230
15615
  workflow: string;
15231
15616
  name?: string | undefined;
@@ -15240,6 +15625,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15240
15625
  }> | undefined;
15241
15626
  }, {
15242
15627
  type: "workflow";
15628
+ enabled?: boolean | undefined;
15243
15629
  workflowId?: string | undefined;
15244
15630
  workflow: string;
15245
15631
  name?: string | undefined;
@@ -15254,6 +15640,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15254
15640
  }> | undefined;
15255
15641
  }>, z.ZodObject<{
15256
15642
  type: z.ZodLiteral<"node">;
15643
+ enabled: z.ZodOptional<z.ZodBoolean>;
15257
15644
  name: z.ZodString;
15258
15645
  description: z.ZodOptional<z.ZodString>;
15259
15646
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -15311,6 +15698,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15311
15698
  requireApproval: z.ZodOptional<z.ZodBoolean>;
15312
15699
  }, "strict", z.ZodTypeAny, {
15313
15700
  type: "node";
15701
+ enabled?: boolean | undefined;
15314
15702
  name: string;
15315
15703
  description?: string | undefined;
15316
15704
  inputSchema?: undefined;
@@ -15330,6 +15718,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15330
15718
  requireApproval?: boolean | undefined;
15331
15719
  }, {
15332
15720
  type: "node";
15721
+ enabled?: boolean | undefined;
15333
15722
  name: string;
15334
15723
  description?: string | undefined;
15335
15724
  inputSchema?: undefined;
@@ -15349,10 +15738,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15349
15738
  requireApproval?: boolean | undefined;
15350
15739
  }>]>, "many">, ({
15351
15740
  type: "custom";
15741
+ enabled?: boolean | undefined;
15352
15742
  id: string;
15353
15743
  requireApproval?: boolean | undefined;
15354
15744
  } | {
15355
15745
  type: "workflow";
15746
+ enabled?: boolean | undefined;
15356
15747
  workflowId?: string | undefined;
15357
15748
  workflow: string;
15358
15749
  name?: string | undefined;
@@ -15367,6 +15758,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15367
15758
  }> | undefined;
15368
15759
  } | {
15369
15760
  type: "node";
15761
+ enabled?: boolean | undefined;
15370
15762
  name: string;
15371
15763
  description?: string | undefined;
15372
15764
  inputSchema?: undefined;
@@ -15386,10 +15778,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15386
15778
  requireApproval?: boolean | undefined;
15387
15779
  })[], ({
15388
15780
  type: "custom";
15781
+ enabled?: boolean | undefined;
15389
15782
  id: string;
15390
15783
  requireApproval?: boolean | undefined;
15391
15784
  } | {
15392
15785
  type: "workflow";
15786
+ enabled?: boolean | undefined;
15393
15787
  workflowId?: string | undefined;
15394
15788
  workflow: string;
15395
15789
  name?: string | undefined;
@@ -15404,6 +15798,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15404
15798
  }> | undefined;
15405
15799
  } | {
15406
15800
  type: "node";
15801
+ enabled?: boolean | undefined;
15407
15802
  name: string;
15408
15803
  description?: string | undefined;
15409
15804
  inputSchema?: undefined;
@@ -15424,18 +15819,23 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
15424
15819
  })[]>>;
15425
15820
  skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
15426
15821
  type: z.ZodLiteral<"skill">;
15822
+ enabled: z.ZodOptional<z.ZodBoolean>;
15427
15823
  id: z.ZodString;
15428
15824
  }, "strip", z.ZodTypeAny, {
15429
15825
  type: "skill";
15826
+ enabled?: boolean | undefined;
15430
15827
  id: string;
15431
15828
  }, {
15432
15829
  type: "skill";
15830
+ enabled?: boolean | undefined;
15433
15831
  id: string;
15434
15832
  }>, "many">, {
15435
15833
  type: "skill";
15834
+ enabled?: boolean | undefined;
15436
15835
  id: string;
15437
15836
  }[], {
15438
15837
  type: "skill";
15838
+ enabled?: boolean | undefined;
15439
15839
  id: string;
15440
15840
  }[]>>;
15441
15841
  tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -16349,6 +16749,48 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16349
16749
  }>>;
16350
16750
  toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
16351
16751
  maxIterations: z.ZodOptional<z.ZodNumber>;
16752
+ guardrails: z.ZodOptional<z.ZodObject<{
16753
+ budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
16754
+ enabled: z.ZodBoolean;
16755
+ monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
16756
+ alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
16757
+ sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
16758
+ }, "strip", z.ZodTypeAny, {
16759
+ enabled: boolean;
16760
+ monthlyBudgetUsd?: number | undefined;
16761
+ alertThresholdPercent?: number | undefined;
16762
+ sessionCostCapUsd?: number | undefined;
16763
+ }, {
16764
+ enabled: boolean;
16765
+ monthlyBudgetUsd?: number | undefined;
16766
+ alertThresholdPercent?: number | undefined;
16767
+ sessionCostCapUsd?: number | undefined;
16768
+ }>, {
16769
+ enabled: boolean;
16770
+ monthlyBudgetUsd?: number | undefined;
16771
+ alertThresholdPercent?: number | undefined;
16772
+ sessionCostCapUsd?: number | undefined;
16773
+ }, {
16774
+ enabled: boolean;
16775
+ monthlyBudgetUsd?: number | undefined;
16776
+ alertThresholdPercent?: number | undefined;
16777
+ sessionCostCapUsd?: number | undefined;
16778
+ }>>;
16779
+ }, "strip", z.ZodTypeAny, {
16780
+ budget?: {
16781
+ enabled: boolean;
16782
+ monthlyBudgetUsd?: number | undefined;
16783
+ alertThresholdPercent?: number | undefined;
16784
+ sessionCostCapUsd?: number | undefined;
16785
+ } | undefined;
16786
+ }, {
16787
+ budget?: {
16788
+ enabled: boolean;
16789
+ monthlyBudgetUsd?: number | undefined;
16790
+ alertThresholdPercent?: number | undefined;
16791
+ sessionCostCapUsd?: number | undefined;
16792
+ } | undefined;
16793
+ }>>;
16352
16794
  }, "strip", z.ZodTypeAny, {
16353
16795
  reasoning?: "high" | "low" | "medium" | undefined;
16354
16796
  promptCaching?: {
@@ -16364,6 +16806,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16364
16806
  } | undefined;
16365
16807
  toolCallConcurrency?: number | undefined;
16366
16808
  maxIterations?: number | undefined;
16809
+ guardrails?: {
16810
+ budget?: {
16811
+ enabled: boolean;
16812
+ monthlyBudgetUsd?: number | undefined;
16813
+ alertThresholdPercent?: number | undefined;
16814
+ sessionCostCapUsd?: number | undefined;
16815
+ } | undefined;
16816
+ } | undefined;
16367
16817
  }, {
16368
16818
  reasoning?: "high" | "low" | "medium" | undefined;
16369
16819
  promptCaching?: {
@@ -16379,9 +16829,18 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16379
16829
  } | undefined;
16380
16830
  toolCallConcurrency?: number | undefined;
16381
16831
  maxIterations?: number | undefined;
16832
+ guardrails?: {
16833
+ budget?: {
16834
+ enabled: boolean;
16835
+ monthlyBudgetUsd?: number | undefined;
16836
+ alertThresholdPercent?: number | undefined;
16837
+ sessionCostCapUsd?: number | undefined;
16838
+ } | undefined;
16839
+ } | undefined;
16382
16840
  }>>;
16383
16841
  }, "strip", z.ZodTypeAny, {
16384
16842
  name: string;
16843
+ description?: string | undefined;
16385
16844
  model: string;
16386
16845
  credential?: string | undefined;
16387
16846
  modelDeploymentName?: string | undefined;
@@ -16433,6 +16892,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16433
16892
  agents?: {
16434
16893
  agentId: string;
16435
16894
  useWhen?: string | undefined;
16895
+ enabled?: boolean | undefined;
16436
16896
  }[] | undefined;
16437
16897
  modelsByDifficulty?: {
16438
16898
  low?: {
@@ -16451,10 +16911,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16451
16911
  } | undefined;
16452
16912
  tools?: ({
16453
16913
  type: "custom";
16914
+ enabled?: boolean | undefined;
16454
16915
  id: string;
16455
16916
  requireApproval?: boolean | undefined;
16456
16917
  } | {
16457
16918
  type: "workflow";
16919
+ enabled?: boolean | undefined;
16458
16920
  workflowId?: string | undefined;
16459
16921
  workflow: string;
16460
16922
  name?: string | undefined;
@@ -16469,6 +16931,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16469
16931
  }> | undefined;
16470
16932
  } | {
16471
16933
  type: "node";
16934
+ enabled?: boolean | undefined;
16472
16935
  name: string;
16473
16936
  description?: string | undefined;
16474
16937
  inputSchema?: undefined;
@@ -16489,6 +16952,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16489
16952
  })[] | undefined;
16490
16953
  skills?: {
16491
16954
  type: "skill";
16955
+ enabled?: boolean | undefined;
16492
16956
  id: string;
16493
16957
  }[] | undefined;
16494
16958
  tasks?: {
@@ -16653,9 +17117,18 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16653
17117
  } | undefined;
16654
17118
  toolCallConcurrency?: number | undefined;
16655
17119
  maxIterations?: number | undefined;
17120
+ guardrails?: {
17121
+ budget?: {
17122
+ enabled: boolean;
17123
+ monthlyBudgetUsd?: number | undefined;
17124
+ alertThresholdPercent?: number | undefined;
17125
+ sessionCostCapUsd?: number | undefined;
17126
+ } | undefined;
17127
+ } | undefined;
16656
17128
  } | undefined;
16657
17129
  }, {
16658
17130
  name: string;
17131
+ description?: string | undefined;
16659
17132
  model: string;
16660
17133
  credential?: string | undefined;
16661
17134
  modelDeploymentName?: string | undefined;
@@ -16707,6 +17180,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16707
17180
  agents?: {
16708
17181
  agentId: string;
16709
17182
  useWhen?: string | undefined;
17183
+ enabled?: boolean | undefined;
16710
17184
  }[] | undefined;
16711
17185
  modelsByDifficulty?: {
16712
17186
  low?: {
@@ -16725,10 +17199,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16725
17199
  } | undefined;
16726
17200
  tools?: ({
16727
17201
  type: "custom";
17202
+ enabled?: boolean | undefined;
16728
17203
  id: string;
16729
17204
  requireApproval?: boolean | undefined;
16730
17205
  } | {
16731
17206
  type: "workflow";
17207
+ enabled?: boolean | undefined;
16732
17208
  workflowId?: string | undefined;
16733
17209
  workflow: string;
16734
17210
  name?: string | undefined;
@@ -16743,6 +17219,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16743
17219
  }> | undefined;
16744
17220
  } | {
16745
17221
  type: "node";
17222
+ enabled?: boolean | undefined;
16746
17223
  name: string;
16747
17224
  description?: string | undefined;
16748
17225
  inputSchema?: undefined;
@@ -16763,6 +17240,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16763
17240
  })[] | undefined;
16764
17241
  skills?: {
16765
17242
  type: "skill";
17243
+ enabled?: boolean | undefined;
16766
17244
  id: string;
16767
17245
  }[] | undefined;
16768
17246
  tasks?: {
@@ -16927,9 +17405,18 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16927
17405
  } | undefined;
16928
17406
  toolCallConcurrency?: number | undefined;
16929
17407
  maxIterations?: number | undefined;
17408
+ guardrails?: {
17409
+ budget?: {
17410
+ enabled: boolean;
17411
+ monthlyBudgetUsd?: number | undefined;
17412
+ alertThresholdPercent?: number | undefined;
17413
+ sessionCostCapUsd?: number | undefined;
17414
+ } | undefined;
17415
+ } | undefined;
16930
17416
  } | undefined;
16931
17417
  }>, {
16932
17418
  name: string;
17419
+ description?: string | undefined;
16933
17420
  model: string;
16934
17421
  credential?: string | undefined;
16935
17422
  modelDeploymentName?: string | undefined;
@@ -16981,6 +17468,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16981
17468
  agents?: {
16982
17469
  agentId: string;
16983
17470
  useWhen?: string | undefined;
17471
+ enabled?: boolean | undefined;
16984
17472
  }[] | undefined;
16985
17473
  modelsByDifficulty?: {
16986
17474
  low?: {
@@ -16999,10 +17487,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
16999
17487
  } | undefined;
17000
17488
  tools?: ({
17001
17489
  type: "custom";
17490
+ enabled?: boolean | undefined;
17002
17491
  id: string;
17003
17492
  requireApproval?: boolean | undefined;
17004
17493
  } | {
17005
17494
  type: "workflow";
17495
+ enabled?: boolean | undefined;
17006
17496
  workflowId?: string | undefined;
17007
17497
  workflow: string;
17008
17498
  name?: string | undefined;
@@ -17017,6 +17507,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17017
17507
  }> | undefined;
17018
17508
  } | {
17019
17509
  type: "node";
17510
+ enabled?: boolean | undefined;
17020
17511
  name: string;
17021
17512
  description?: string | undefined;
17022
17513
  inputSchema?: undefined;
@@ -17037,6 +17528,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17037
17528
  })[] | undefined;
17038
17529
  skills?: {
17039
17530
  type: "skill";
17531
+ enabled?: boolean | undefined;
17040
17532
  id: string;
17041
17533
  }[] | undefined;
17042
17534
  tasks?: {
@@ -17201,9 +17693,18 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17201
17693
  } | undefined;
17202
17694
  toolCallConcurrency?: number | undefined;
17203
17695
  maxIterations?: number | undefined;
17696
+ guardrails?: {
17697
+ budget?: {
17698
+ enabled: boolean;
17699
+ monthlyBudgetUsd?: number | undefined;
17700
+ alertThresholdPercent?: number | undefined;
17701
+ sessionCostCapUsd?: number | undefined;
17702
+ } | undefined;
17703
+ } | undefined;
17204
17704
  } | undefined;
17205
17705
  }, {
17206
17706
  name: string;
17707
+ description?: string | undefined;
17207
17708
  model: string;
17208
17709
  credential?: string | undefined;
17209
17710
  modelDeploymentName?: string | undefined;
@@ -17255,6 +17756,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17255
17756
  agents?: {
17256
17757
  agentId: string;
17257
17758
  useWhen?: string | undefined;
17759
+ enabled?: boolean | undefined;
17258
17760
  }[] | undefined;
17259
17761
  modelsByDifficulty?: {
17260
17762
  low?: {
@@ -17273,10 +17775,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17273
17775
  } | undefined;
17274
17776
  tools?: ({
17275
17777
  type: "custom";
17778
+ enabled?: boolean | undefined;
17276
17779
  id: string;
17277
17780
  requireApproval?: boolean | undefined;
17278
17781
  } | {
17279
17782
  type: "workflow";
17783
+ enabled?: boolean | undefined;
17280
17784
  workflowId?: string | undefined;
17281
17785
  workflow: string;
17282
17786
  name?: string | undefined;
@@ -17291,6 +17795,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17291
17795
  }> | undefined;
17292
17796
  } | {
17293
17797
  type: "node";
17798
+ enabled?: boolean | undefined;
17294
17799
  name: string;
17295
17800
  description?: string | undefined;
17296
17801
  inputSchema?: undefined;
@@ -17311,6 +17816,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17311
17816
  })[] | undefined;
17312
17817
  skills?: {
17313
17818
  type: "skill";
17819
+ enabled?: boolean | undefined;
17314
17820
  id: string;
17315
17821
  }[] | undefined;
17316
17822
  tasks?: {
@@ -17475,6 +17981,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17475
17981
  } | undefined;
17476
17982
  toolCallConcurrency?: number | undefined;
17477
17983
  maxIterations?: number | undefined;
17984
+ guardrails?: {
17985
+ budget?: {
17986
+ enabled: boolean;
17987
+ monthlyBudgetUsd?: number | undefined;
17988
+ alertThresholdPercent?: number | undefined;
17989
+ sessionCostCapUsd?: number | undefined;
17990
+ } | undefined;
17991
+ } | undefined;
17478
17992
  } | undefined;
17479
17993
  }>;
17480
17994
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -17536,6 +18050,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17536
18050
  id: string;
17537
18051
  config: {
17538
18052
  name: string;
18053
+ description?: string | undefined;
17539
18054
  model: string;
17540
18055
  credential?: string | undefined;
17541
18056
  modelDeploymentName?: string | undefined;
@@ -17587,6 +18102,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17587
18102
  agents?: {
17588
18103
  agentId: string;
17589
18104
  useWhen?: string | undefined;
18105
+ enabled?: boolean | undefined;
17590
18106
  }[] | undefined;
17591
18107
  modelsByDifficulty?: {
17592
18108
  low?: {
@@ -17605,10 +18121,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17605
18121
  } | undefined;
17606
18122
  tools?: ({
17607
18123
  type: "custom";
18124
+ enabled?: boolean | undefined;
17608
18125
  id: string;
17609
18126
  requireApproval?: boolean | undefined;
17610
18127
  } | {
17611
18128
  type: "workflow";
18129
+ enabled?: boolean | undefined;
17612
18130
  workflowId?: string | undefined;
17613
18131
  workflow: string;
17614
18132
  name?: string | undefined;
@@ -17623,6 +18141,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17623
18141
  }> | undefined;
17624
18142
  } | {
17625
18143
  type: "node";
18144
+ enabled?: boolean | undefined;
17626
18145
  name: string;
17627
18146
  description?: string | undefined;
17628
18147
  inputSchema?: undefined;
@@ -17643,6 +18162,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17643
18162
  })[] | undefined;
17644
18163
  skills?: {
17645
18164
  type: "skill";
18165
+ enabled?: boolean | undefined;
17646
18166
  id: string;
17647
18167
  }[] | undefined;
17648
18168
  tasks?: {
@@ -17807,6 +18327,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17807
18327
  } | undefined;
17808
18328
  toolCallConcurrency?: number | undefined;
17809
18329
  maxIterations?: number | undefined;
18330
+ guardrails?: {
18331
+ budget?: {
18332
+ enabled: boolean;
18333
+ monthlyBudgetUsd?: number | undefined;
18334
+ alertThresholdPercent?: number | undefined;
18335
+ sessionCostCapUsd?: number | undefined;
18336
+ } | undefined;
18337
+ } | undefined;
17810
18338
  } | undefined;
17811
18339
  };
17812
18340
  skills?: Record<string, {
@@ -17828,6 +18356,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17828
18356
  id: string;
17829
18357
  config: {
17830
18358
  name: string;
18359
+ description?: string | undefined;
17831
18360
  model: string;
17832
18361
  credential?: string | undefined;
17833
18362
  modelDeploymentName?: string | undefined;
@@ -17879,6 +18408,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17879
18408
  agents?: {
17880
18409
  agentId: string;
17881
18410
  useWhen?: string | undefined;
18411
+ enabled?: boolean | undefined;
17882
18412
  }[] | undefined;
17883
18413
  modelsByDifficulty?: {
17884
18414
  low?: {
@@ -17897,10 +18427,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17897
18427
  } | undefined;
17898
18428
  tools?: ({
17899
18429
  type: "custom";
18430
+ enabled?: boolean | undefined;
17900
18431
  id: string;
17901
18432
  requireApproval?: boolean | undefined;
17902
18433
  } | {
17903
18434
  type: "workflow";
18435
+ enabled?: boolean | undefined;
17904
18436
  workflowId?: string | undefined;
17905
18437
  workflow: string;
17906
18438
  name?: string | undefined;
@@ -17915,6 +18447,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17915
18447
  }> | undefined;
17916
18448
  } | {
17917
18449
  type: "node";
18450
+ enabled?: boolean | undefined;
17918
18451
  name: string;
17919
18452
  description?: string | undefined;
17920
18453
  inputSchema?: undefined;
@@ -17935,6 +18468,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
17935
18468
  })[] | undefined;
17936
18469
  skills?: {
17937
18470
  type: "skill";
18471
+ enabled?: boolean | undefined;
17938
18472
  id: string;
17939
18473
  }[] | undefined;
17940
18474
  tasks?: {
@@ -18099,6 +18633,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18099
18633
  } | undefined;
18100
18634
  toolCallConcurrency?: number | undefined;
18101
18635
  maxIterations?: number | undefined;
18636
+ guardrails?: {
18637
+ budget?: {
18638
+ enabled: boolean;
18639
+ monthlyBudgetUsd?: number | undefined;
18640
+ alertThresholdPercent?: number | undefined;
18641
+ sessionCostCapUsd?: number | undefined;
18642
+ } | undefined;
18643
+ } | undefined;
18102
18644
  } | undefined;
18103
18645
  };
18104
18646
  skills?: Record<string, {
@@ -18120,6 +18662,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18120
18662
  id: string;
18121
18663
  config: {
18122
18664
  name: string;
18665
+ description?: string | undefined;
18123
18666
  model: string;
18124
18667
  credential?: string | undefined;
18125
18668
  modelDeploymentName?: string | undefined;
@@ -18171,6 +18714,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18171
18714
  agents?: {
18172
18715
  agentId: string;
18173
18716
  useWhen?: string | undefined;
18717
+ enabled?: boolean | undefined;
18174
18718
  }[] | undefined;
18175
18719
  modelsByDifficulty?: {
18176
18720
  low?: {
@@ -18189,10 +18733,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18189
18733
  } | undefined;
18190
18734
  tools?: ({
18191
18735
  type: "custom";
18736
+ enabled?: boolean | undefined;
18192
18737
  id: string;
18193
18738
  requireApproval?: boolean | undefined;
18194
18739
  } | {
18195
18740
  type: "workflow";
18741
+ enabled?: boolean | undefined;
18196
18742
  workflowId?: string | undefined;
18197
18743
  workflow: string;
18198
18744
  name?: string | undefined;
@@ -18207,6 +18753,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18207
18753
  }> | undefined;
18208
18754
  } | {
18209
18755
  type: "node";
18756
+ enabled?: boolean | undefined;
18210
18757
  name: string;
18211
18758
  description?: string | undefined;
18212
18759
  inputSchema?: undefined;
@@ -18227,6 +18774,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18227
18774
  })[] | undefined;
18228
18775
  skills?: {
18229
18776
  type: "skill";
18777
+ enabled?: boolean | undefined;
18230
18778
  id: string;
18231
18779
  }[] | undefined;
18232
18780
  tasks?: {
@@ -18391,6 +18939,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18391
18939
  } | undefined;
18392
18940
  toolCallConcurrency?: number | undefined;
18393
18941
  maxIterations?: number | undefined;
18942
+ guardrails?: {
18943
+ budget?: {
18944
+ enabled: boolean;
18945
+ monthlyBudgetUsd?: number | undefined;
18946
+ alertThresholdPercent?: number | undefined;
18947
+ sessionCostCapUsd?: number | undefined;
18948
+ } | undefined;
18949
+ } | undefined;
18394
18950
  } | undefined;
18395
18951
  };
18396
18952
  skills?: Record<string, {
@@ -18412,6 +18968,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18412
18968
  id: string;
18413
18969
  config: {
18414
18970
  name: string;
18971
+ description?: string | undefined;
18415
18972
  model: string;
18416
18973
  credential?: string | undefined;
18417
18974
  modelDeploymentName?: string | undefined;
@@ -18463,6 +19020,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18463
19020
  agents?: {
18464
19021
  agentId: string;
18465
19022
  useWhen?: string | undefined;
19023
+ enabled?: boolean | undefined;
18466
19024
  }[] | undefined;
18467
19025
  modelsByDifficulty?: {
18468
19026
  low?: {
@@ -18481,10 +19039,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18481
19039
  } | undefined;
18482
19040
  tools?: ({
18483
19041
  type: "custom";
19042
+ enabled?: boolean | undefined;
18484
19043
  id: string;
18485
19044
  requireApproval?: boolean | undefined;
18486
19045
  } | {
18487
19046
  type: "workflow";
19047
+ enabled?: boolean | undefined;
18488
19048
  workflowId?: string | undefined;
18489
19049
  workflow: string;
18490
19050
  name?: string | undefined;
@@ -18499,6 +19059,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18499
19059
  }> | undefined;
18500
19060
  } | {
18501
19061
  type: "node";
19062
+ enabled?: boolean | undefined;
18502
19063
  name: string;
18503
19064
  description?: string | undefined;
18504
19065
  inputSchema?: undefined;
@@ -18519,6 +19080,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18519
19080
  })[] | undefined;
18520
19081
  skills?: {
18521
19082
  type: "skill";
19083
+ enabled?: boolean | undefined;
18522
19084
  id: string;
18523
19085
  }[] | undefined;
18524
19086
  tasks?: {
@@ -18683,6 +19245,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18683
19245
  } | undefined;
18684
19246
  toolCallConcurrency?: number | undefined;
18685
19247
  maxIterations?: number | undefined;
19248
+ guardrails?: {
19249
+ budget?: {
19250
+ enabled: boolean;
19251
+ monthlyBudgetUsd?: number | undefined;
19252
+ alertThresholdPercent?: number | undefined;
19253
+ sessionCostCapUsd?: number | undefined;
19254
+ } | undefined;
19255
+ } | undefined;
18686
19256
  } | undefined;
18687
19257
  };
18688
19258
  skills?: Record<string, {
@@ -18704,6 +19274,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18704
19274
  id: string;
18705
19275
  config: {
18706
19276
  name: string;
19277
+ description?: string | undefined;
18707
19278
  model: string;
18708
19279
  credential?: string | undefined;
18709
19280
  modelDeploymentName?: string | undefined;
@@ -18755,6 +19326,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18755
19326
  agents?: {
18756
19327
  agentId: string;
18757
19328
  useWhen?: string | undefined;
19329
+ enabled?: boolean | undefined;
18758
19330
  }[] | undefined;
18759
19331
  modelsByDifficulty?: {
18760
19332
  low?: {
@@ -18773,10 +19345,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18773
19345
  } | undefined;
18774
19346
  tools?: ({
18775
19347
  type: "custom";
19348
+ enabled?: boolean | undefined;
18776
19349
  id: string;
18777
19350
  requireApproval?: boolean | undefined;
18778
19351
  } | {
18779
19352
  type: "workflow";
19353
+ enabled?: boolean | undefined;
18780
19354
  workflowId?: string | undefined;
18781
19355
  workflow: string;
18782
19356
  name?: string | undefined;
@@ -18791,6 +19365,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18791
19365
  }> | undefined;
18792
19366
  } | {
18793
19367
  type: "node";
19368
+ enabled?: boolean | undefined;
18794
19369
  name: string;
18795
19370
  description?: string | undefined;
18796
19371
  inputSchema?: undefined;
@@ -18811,6 +19386,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18811
19386
  })[] | undefined;
18812
19387
  skills?: {
18813
19388
  type: "skill";
19389
+ enabled?: boolean | undefined;
18814
19390
  id: string;
18815
19391
  }[] | undefined;
18816
19392
  tasks?: {
@@ -18975,6 +19551,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18975
19551
  } | undefined;
18976
19552
  toolCallConcurrency?: number | undefined;
18977
19553
  maxIterations?: number | undefined;
19554
+ guardrails?: {
19555
+ budget?: {
19556
+ enabled: boolean;
19557
+ monthlyBudgetUsd?: number | undefined;
19558
+ alertThresholdPercent?: number | undefined;
19559
+ sessionCostCapUsd?: number | undefined;
19560
+ } | undefined;
19561
+ } | undefined;
18978
19562
  } | undefined;
18979
19563
  };
18980
19564
  skills?: Record<string, {
@@ -18996,6 +19580,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
18996
19580
  id: string;
18997
19581
  config: {
18998
19582
  name: string;
19583
+ description?: string | undefined;
18999
19584
  model: string;
19000
19585
  credential?: string | undefined;
19001
19586
  modelDeploymentName?: string | undefined;
@@ -19047,6 +19632,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
19047
19632
  agents?: {
19048
19633
  agentId: string;
19049
19634
  useWhen?: string | undefined;
19635
+ enabled?: boolean | undefined;
19050
19636
  }[] | undefined;
19051
19637
  modelsByDifficulty?: {
19052
19638
  low?: {
@@ -19065,10 +19651,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
19065
19651
  } | undefined;
19066
19652
  tools?: ({
19067
19653
  type: "custom";
19654
+ enabled?: boolean | undefined;
19068
19655
  id: string;
19069
19656
  requireApproval?: boolean | undefined;
19070
19657
  } | {
19071
19658
  type: "workflow";
19659
+ enabled?: boolean | undefined;
19072
19660
  workflowId?: string | undefined;
19073
19661
  workflow: string;
19074
19662
  name?: string | undefined;
@@ -19083,6 +19671,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
19083
19671
  }> | undefined;
19084
19672
  } | {
19085
19673
  type: "node";
19674
+ enabled?: boolean | undefined;
19086
19675
  name: string;
19087
19676
  description?: string | undefined;
19088
19677
  inputSchema?: undefined;
@@ -19103,6 +19692,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
19103
19692
  })[] | undefined;
19104
19693
  skills?: {
19105
19694
  type: "skill";
19695
+ enabled?: boolean | undefined;
19106
19696
  id: string;
19107
19697
  }[] | undefined;
19108
19698
  tasks?: {
@@ -19267,6 +19857,14 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
19267
19857
  } | undefined;
19268
19858
  toolCallConcurrency?: number | undefined;
19269
19859
  maxIterations?: number | undefined;
19860
+ guardrails?: {
19861
+ budget?: {
19862
+ enabled: boolean;
19863
+ monthlyBudgetUsd?: number | undefined;
19864
+ alertThresholdPercent?: number | undefined;
19865
+ sessionCostCapUsd?: number | undefined;
19866
+ } | undefined;
19867
+ } | undefined;
19270
19868
  } | undefined;
19271
19869
  };
19272
19870
  skills?: Record<string, {