sim 2.1.8-dev.101.1 → 2.1.8-dev.95.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.
@@ -320,7 +320,7 @@ type ApplyWorkflowOperationsBodyRef0 = {
320
320
  };
321
321
  };
322
322
  type ApplyWorkflowOperationsBodyRef1 = Array<ApplyWorkflowOperationsBodyRef2>;
323
- type ApplyWorkflowOperationsBodyRef2 = ApplyWorkflowOperationsBodyRef3 | ApplyWorkflowOperationsBodyRef4 | ApplyWorkflowOperationsBodyRef5 | ApplyWorkflowOperationsBodyRef6;
323
+ type ApplyWorkflowOperationsBodyRef2 = ApplyWorkflowOperationsBodyRef3 | ApplyWorkflowOperationsBodyRef4 | ApplyWorkflowOperationsBodyRef5;
324
324
  type ApplyWorkflowOperationsBodyRef3 = {
325
325
  type: string;
326
326
  operation?: string;
@@ -352,13 +352,6 @@ type ApplyWorkflowOperationsBodyRef5 = {
352
352
  } & Record<string, unknown>;
353
353
  usageControl?: 'auto' | 'force' | 'none';
354
354
  };
355
- type ApplyWorkflowOperationsBodyRef6 = {
356
- type: 'mcp-server-advanced';
357
- params: {
358
- serverId: string;
359
- };
360
- usageControl?: 'auto' | 'force' | 'none';
361
- };
362
355
  export type ApplyWorkflowOperationsBody = {
363
356
  operations: Array<ApplyWorkflowOperationsBodyRef0>;
364
357
  atomic?: boolean;
@@ -955,27 +948,11 @@ export type CompleteTableImportResponse = {
955
948
  export type CreateCredentialConnectionQuery = Record<string, unknown>;
956
949
  export type CreateCredentialConnectionBody = {
957
950
  workspaceId: string;
951
+ providerId: string;
958
952
  displayName: string;
959
- providerId: 'quickbooks';
960
- oauthClientConfig: {
961
- clientId: string;
962
- clientSecret: string;
963
- environment: 'sandbox' | 'production';
964
- webhookVerifierToken: string;
965
- };
966
- } | {
967
- workspaceId: string;
968
- displayName: string;
969
- providerId: 'google-email' | 'google-drive' | 'google-docs' | 'google-sheets' | 'google-forms' | 'google-calendar' | 'google-contacts' | 'google-ads' | 'google-bigquery' | 'google-tasks' | 'google-vault' | 'google-groups' | 'google-chat' | 'google-meet' | 'vertex-ai' | 'microsoft-ad' | 'microsoft-dataverse' | 'microsoft-excel' | 'microsoft-planner' | 'microsoft-teams' | 'microsoft-word' | 'outlook' | 'onedrive' | 'sharepoint' | 'x' | 'tiktok' | 'confluence' | 'jira' | 'airtable' | 'bitbucket' | 'notion' | 'clickup' | 'linear' | 'manageengine-sdp' | 'monday' | 'box' | 'dropbox' | 'shopify' | 'slack' | 'reddit' | 'wealthbox' | 'webflow' | 'trello' | 'asana' | 'attio' | 'calcom' | 'docusign' | 'pipedrive' | 'hubspot' | 'linkedin' | 'instagram' | 'salesforce' | 'salesforce-sandbox' | 'zoho-desk' | 'zoom' | 'wordpress' | 'spotify';
970
953
  } | {
971
954
  workspaceId: string;
972
955
  credentialId: string;
973
- oauthClientConfig?: {
974
- clientId: string;
975
- clientSecret: string;
976
- environment: 'sandbox' | 'production';
977
- webhookVerifierToken: string;
978
- };
979
956
  };
980
957
  type CreateCredentialConnectionResponseRef0 = {
981
958
  authorizationUrl: string;
@@ -1436,34 +1413,6 @@ type CreateMcpServerResponseRef0 = {
1436
1413
  export type CreateMcpServerResponse = {
1437
1414
  data: CreateMcpServerResponseRef0;
1438
1415
  };
1439
- /** `POST /api/v2/sandboxes` */
1440
- export type CreateSandboxQuery = Record<string, unknown>;
1441
- export type CreateSandboxBody = {
1442
- workspaceId: string;
1443
- name: string;
1444
- language: 'javascript' | 'python';
1445
- dependencies?: Array<string>;
1446
- cliTools?: Array<'google-cloud-cli@577.0.0-r1' | 'aws-cli@2.36.15-r1' | 'azure-cli@2.89.0-r1' | 'doctl@1.166.0-r1' | 'github-cli@2.97.0-r1' | 'gitlab-cli@1.111.0-r1' | 'kubectl@1.36.3-r1' | 'helm@4.2.3-r1' | 'kustomize@5.8.1-r1' | 'argocd@3.4.6-r1' | 'terraform@1.15.8-r1' | 'pulumi@3.255.0-r1' | 'supabase-cli@2.111.0-r1' | 'firebase-cli@15.25.1-r1' | 'flyctl@0.4.78-r1' | 'railway-cli@5.30.4-r1' | 'stripe-cli@1.45.0-r1' | 'duckdb@1.5.5-r1' | 'rclone@1.75.0-r1' | 'restic@0.19.1-r1' | 'minio-mc@RELEASE.2025-08-13T08-35-41Z-r1' | 'mongosh@2.9.2-r1' | 'sops@3.13.3-r1' | 'age@1.3.1-r1'>;
1447
- systemPackages?: Array<string>;
1448
- };
1449
- type CreateSandboxResponseRef0 = {
1450
- id: string;
1451
- name: string;
1452
- language: 'javascript' | 'python';
1453
- dependencies: Array<string>;
1454
- cliTools: Array<'google-cloud-cli@577.0.0-r1' | 'aws-cli@2.36.15-r1' | 'azure-cli@2.89.0-r1' | 'doctl@1.166.0-r1' | 'github-cli@2.97.0-r1' | 'gitlab-cli@1.111.0-r1' | 'kubectl@1.36.3-r1' | 'helm@4.2.3-r1' | 'kustomize@5.8.1-r1' | 'argocd@3.4.6-r1' | 'terraform@1.15.8-r1' | 'pulumi@3.255.0-r1' | 'supabase-cli@2.111.0-r1' | 'firebase-cli@15.25.1-r1' | 'flyctl@0.4.78-r1' | 'railway-cli@5.30.4-r1' | 'stripe-cli@1.45.0-r1' | 'duckdb@1.5.5-r1' | 'rclone@1.75.0-r1' | 'restic@0.19.1-r1' | 'minio-mc@RELEASE.2025-08-13T08-35-41Z-r1' | 'mongosh@2.9.2-r1' | 'sops@3.13.3-r1' | 'age@1.3.1-r1'>;
1455
- systemPackages: Array<string>;
1456
- buildStatus: 'pending' | 'building' | 'ready' | 'failed' | null;
1457
- errorCode: string | null;
1458
- errorMessage: string | null;
1459
- errorDetail: string | null;
1460
- builtAt: string | null;
1461
- createdAt: string;
1462
- updatedAt: string;
1463
- };
1464
- export type CreateSandboxResponse = {
1465
- data: CreateSandboxResponseRef0;
1466
- };
1467
1416
  /** `POST /api/v2/credentials` */
1468
1417
  export type CreateServiceAccountCredentialQuery = Record<string, unknown>;
1469
1418
  export type CreateServiceAccountCredentialBody = {
@@ -2163,20 +2112,6 @@ type DeleteMcpServerResponseRef0 = {
2163
2112
  export type DeleteMcpServerResponse = {
2164
2113
  data: DeleteMcpServerResponseRef0;
2165
2114
  };
2166
- /** `DELETE /api/v2/sandboxes/[sandboxId]` */
2167
- export type DeleteSandboxParams = {
2168
- sandboxId: string;
2169
- };
2170
- export type DeleteSandboxQuery = {
2171
- workspaceId: string;
2172
- };
2173
- type DeleteSandboxResponseRef0 = {
2174
- id: string;
2175
- deleted: true;
2176
- };
2177
- export type DeleteSandboxResponse = {
2178
- data: DeleteSandboxResponseRef0;
2179
- };
2180
2115
  /** `DELETE /api/v2/secrets/[name]` */
2181
2116
  export type DeleteSecretParams = {
2182
2117
  name: string;
@@ -2541,78 +2476,6 @@ type DuplicateWorkflowResponseRef0 = {
2541
2476
  export type DuplicateWorkflowResponse = {
2542
2477
  data: DuplicateWorkflowResponseRef0;
2543
2478
  };
2544
- /** `PATCH /api/v2/files/[fileId]/content` */
2545
- export type EditFileContentParams = {
2546
- fileId: string;
2547
- };
2548
- export type EditFileContentQuery = Record<string, unknown>;
2549
- export type EditFileContentBody = {
2550
- workspaceId: string;
2551
- edit: {
2552
- mode: 'search_replace';
2553
- search: string;
2554
- content: string;
2555
- replaceAll?: boolean;
2556
- } | {
2557
- mode: 'replace_between';
2558
- beforeAnchor: string;
2559
- afterAnchor: string;
2560
- content: string;
2561
- occurrence?: number;
2562
- } | {
2563
- mode: 'insert_after';
2564
- anchor: string;
2565
- content: string;
2566
- occurrence?: number;
2567
- } | {
2568
- mode: 'delete_between';
2569
- startAnchor: string;
2570
- endAnchor: string;
2571
- occurrence?: number;
2572
- };
2573
- };
2574
- type EditFileContentResponseRef0 = {
2575
- id: string;
2576
- webUrl: string;
2577
- name: string;
2578
- size: number;
2579
- type: string;
2580
- key: string;
2581
- folderPath: string;
2582
- uploadedByEmail: string;
2583
- uploadedAt: string;
2584
- updatedAt: string;
2585
- deletedAt: string | null;
2586
- };
2587
- type EditFileContentResponseRef1 = {
2588
- file: EditFileContentResponseRef0;
2589
- lineCount: number;
2590
- };
2591
- export type EditFileContentResponse = {
2592
- data: EditFileContentResponseRef1;
2593
- };
2594
- /** `POST /api/v2/tools/[toolId]/execute` */
2595
- export type ExecuteToolParams = {
2596
- toolId: string;
2597
- };
2598
- export type ExecuteToolQuery = Record<string, unknown>;
2599
- export type ExecuteToolBody = {
2600
- workspaceId: string;
2601
- input?: Record<string, unknown>;
2602
- credentialId?: string;
2603
- timeoutSeconds?: number;
2604
- };
2605
- type ExecuteToolResponseRef0 = {
2606
- toolId: string;
2607
- status: 'succeeded' | 'failed';
2608
- output: unknown;
2609
- error: {
2610
- message: string;
2611
- } | null;
2612
- };
2613
- export type ExecuteToolResponse = {
2614
- data: ExecuteToolResponseRef0;
2615
- };
2616
2479
  /** `POST /api/v2/workflows/[workflowId]/execute` */
2617
2480
  export type ExecuteWorkflowParams = {
2618
2481
  workflowId: string;
@@ -3426,31 +3289,6 @@ type GetRowEnrichmentResponseRef4 = {
3426
3289
  export type GetRowEnrichmentResponse = {
3427
3290
  data: GetRowEnrichmentResponseRef4;
3428
3291
  };
3429
- /** `GET /api/v2/sandboxes/[sandboxId]` */
3430
- export type GetSandboxParams = {
3431
- sandboxId: string;
3432
- };
3433
- export type GetSandboxQuery = {
3434
- workspaceId: string;
3435
- };
3436
- type GetSandboxResponseRef0 = {
3437
- id: string;
3438
- name: string;
3439
- language: 'javascript' | 'python';
3440
- dependencies: Array<string>;
3441
- cliTools: Array<'google-cloud-cli@577.0.0-r1' | 'aws-cli@2.36.15-r1' | 'azure-cli@2.89.0-r1' | 'doctl@1.166.0-r1' | 'github-cli@2.97.0-r1' | 'gitlab-cli@1.111.0-r1' | 'kubectl@1.36.3-r1' | 'helm@4.2.3-r1' | 'kustomize@5.8.1-r1' | 'argocd@3.4.6-r1' | 'terraform@1.15.8-r1' | 'pulumi@3.255.0-r1' | 'supabase-cli@2.111.0-r1' | 'firebase-cli@15.25.1-r1' | 'flyctl@0.4.78-r1' | 'railway-cli@5.30.4-r1' | 'stripe-cli@1.45.0-r1' | 'duckdb@1.5.5-r1' | 'rclone@1.75.0-r1' | 'restic@0.19.1-r1' | 'minio-mc@RELEASE.2025-08-13T08-35-41Z-r1' | 'mongosh@2.9.2-r1' | 'sops@3.13.3-r1' | 'age@1.3.1-r1'>;
3442
- systemPackages: Array<string>;
3443
- buildStatus: 'pending' | 'building' | 'ready' | 'failed' | null;
3444
- errorCode: string | null;
3445
- errorMessage: string | null;
3446
- errorDetail: string | null;
3447
- builtAt: string | null;
3448
- createdAt: string;
3449
- updatedAt: string;
3450
- };
3451
- export type GetSandboxResponse = {
3452
- data: GetSandboxResponseRef0;
3453
- };
3454
3292
  /** `GET /api/v2/skills/[skillId]` */
3455
3293
  export type GetSkillParams = {
3456
3294
  skillId: string;
@@ -4137,7 +3975,7 @@ export type ListAuditLogsResponse = {
4137
3975
  };
4138
3976
  /** `GET /api/v2/billing/logs` */
4139
3977
  export type ListBillingLogsQuery = {
4140
- source?: 'workflow' | 'wand' | 'sim-chat' | 'mcp_copilot' | 'mothership_block' | 'knowledge-base' | 'voice-input' | 'enrichment' | 'voice-output' | 'api-tool';
3978
+ source?: 'workflow' | 'wand' | 'sim-chat' | 'mcp_copilot' | 'mothership_block' | 'knowledge-base' | 'voice-input' | 'enrichment' | 'voice-output';
4141
3979
  workspaceId?: string;
4142
3980
  period?: '1d' | '7d' | '30d' | 'all' | 'custom';
4143
3981
  startDate?: string;
@@ -4148,7 +3986,7 @@ export type ListBillingLogsQuery = {
4148
3986
  type ListBillingLogsResponseRef0 = {
4149
3987
  id: string;
4150
3988
  createdAt: string;
4151
- source: 'workflow' | 'wand' | 'sim-chat' | 'mcp_copilot' | 'mothership_block' | 'knowledge-base' | 'voice-input' | 'enrichment' | 'voice-output' | 'api-tool';
3989
+ source: 'workflow' | 'wand' | 'sim-chat' | 'mcp_copilot' | 'mothership_block' | 'knowledge-base' | 'voice-input' | 'enrichment' | 'voice-output';
4152
3990
  workspaceId: string | null;
4153
3991
  workflow: {
4154
3992
  id: string;
@@ -4317,20 +4155,6 @@ type ListCredentialProvidersResponseRef0 = {
4317
4155
  providerId: string;
4318
4156
  label: string;
4319
4157
  }>;
4320
- fields: Array<{
4321
- id: string;
4322
- label: string;
4323
- placeholder: string;
4324
- required: boolean;
4325
- secret: boolean;
4326
- multiline: boolean;
4327
- requiredForAuthMethods?: Array<string>;
4328
- options?: Array<{
4329
- value: string;
4330
- label: string;
4331
- }>;
4332
- hint?: string;
4333
- }>;
4334
4158
  } | {
4335
4159
  type: 'service_account';
4336
4160
  serviceId: string;
@@ -4429,8 +4253,6 @@ export type ListFileFoldersQuery = {
4429
4253
  sortBy?: 'name' | 'createdAt' | 'updatedAt';
4430
4254
  sortOrder?: 'asc' | 'desc';
4431
4255
  scope?: 'active' | 'archived';
4432
- recursive?: 'true' | '1' | 'yes' | 'on' | 'y' | 'enabled' | 'false' | '0' | 'no' | 'off' | 'n' | 'disabled';
4433
- depth?: number;
4434
4256
  };
4435
4257
  type ListFileFoldersResponseRef0 = {
4436
4258
  name: string;
@@ -4860,34 +4682,6 @@ export type ListMcpServerToolsResponse = {
4860
4682
  data: Array<ListMcpServerToolsResponseRef0>;
4861
4683
  nextCursor: string | null;
4862
4684
  };
4863
- /** `GET /api/v2/sandboxes` */
4864
- export type ListSandboxesQuery = {
4865
- workspaceId: string;
4866
- search?: string;
4867
- sortBy?: 'name' | 'createdAt' | 'updatedAt';
4868
- sortOrder?: 'asc' | 'desc';
4869
- limit?: number;
4870
- cursor?: string;
4871
- };
4872
- type ListSandboxesResponseRef0 = {
4873
- id: string;
4874
- name: string;
4875
- language: 'javascript' | 'python';
4876
- dependencies: Array<string>;
4877
- cliTools: Array<'google-cloud-cli@577.0.0-r1' | 'aws-cli@2.36.15-r1' | 'azure-cli@2.89.0-r1' | 'doctl@1.166.0-r1' | 'github-cli@2.97.0-r1' | 'gitlab-cli@1.111.0-r1' | 'kubectl@1.36.3-r1' | 'helm@4.2.3-r1' | 'kustomize@5.8.1-r1' | 'argocd@3.4.6-r1' | 'terraform@1.15.8-r1' | 'pulumi@3.255.0-r1' | 'supabase-cli@2.111.0-r1' | 'firebase-cli@15.25.1-r1' | 'flyctl@0.4.78-r1' | 'railway-cli@5.30.4-r1' | 'stripe-cli@1.45.0-r1' | 'duckdb@1.5.5-r1' | 'rclone@1.75.0-r1' | 'restic@0.19.1-r1' | 'minio-mc@RELEASE.2025-08-13T08-35-41Z-r1' | 'mongosh@2.9.2-r1' | 'sops@3.13.3-r1' | 'age@1.3.1-r1'>;
4878
- systemPackages: Array<string>;
4879
- buildStatus: 'pending' | 'building' | 'ready' | 'failed' | null;
4880
- errorCode: string | null;
4881
- errorMessage: string | null;
4882
- errorDetail: string | null;
4883
- builtAt: string | null;
4884
- createdAt: string;
4885
- updatedAt: string;
4886
- };
4887
- export type ListSandboxesResponse = {
4888
- data: Array<ListSandboxesResponseRef0>;
4889
- nextCursor: string | null;
4890
- };
4891
4685
  /** `GET /api/v2/secrets` */
4892
4686
  export type ListSecretsQuery = {
4893
4687
  workspaceId: string;
@@ -5536,8 +5330,6 @@ export type ReadFileTextParams = {
5536
5330
  export type ReadFileTextQuery = {
5537
5331
  workspaceId: string;
5538
5332
  maxBytes?: number;
5539
- offset?: number;
5540
- limit?: number;
5541
5333
  };
5542
5334
  type ReadFileTextResponseRef0 = {
5543
5335
  fileId: string;
@@ -5550,12 +5342,6 @@ type ReadFileTextResponseRef0 = {
5550
5342
  degradedReason: string | null;
5551
5343
  charCount: number;
5552
5344
  byteCount: number;
5553
- lineRange?: {
5554
- offset: number;
5555
- lineCount: number;
5556
- totalLines: number;
5557
- totalLinesExact: boolean;
5558
- };
5559
5345
  };
5560
5346
  export type ReadFileTextResponse = {
5561
5347
  data: ReadFileTextResponseRef0;
@@ -6207,35 +5993,6 @@ type RunRowEnrichmentResponseRef0 = {
6207
5993
  export type RunRowEnrichmentResponse = {
6208
5994
  data: RunRowEnrichmentResponseRef0;
6209
5995
  };
6210
- /** `GET /api/v2/files/search` */
6211
- export type SearchFileContentQuery = {
6212
- workspaceId: string;
6213
- query: string;
6214
- mode?: 'exact' | 'regex';
6215
- maxResults?: number;
6216
- folderPaths?: string;
6217
- includeSubfolders?: 'true' | '1' | 'yes' | 'on' | 'y' | 'enabled' | 'false' | '0' | 'no' | 'off' | 'n' | 'disabled';
6218
- };
6219
- type SearchFileContentResponseRef0 = {
6220
- results: Array<{
6221
- fileId: string;
6222
- lineNumber: number;
6223
- text: string;
6224
- }>;
6225
- count: number;
6226
- truncated: boolean;
6227
- complete: boolean;
6228
- indexStatus: {
6229
- readyFiles: number;
6230
- pendingFiles: number;
6231
- failedFiles: number;
6232
- skippedFiles: number;
6233
- partialFiles: number;
6234
- };
6235
- };
6236
- export type SearchFileContentResponse = {
6237
- data: SearchFileContentResponseRef0;
6238
- };
6239
5996
  /** `POST /api/v2/knowledge/search` */
6240
5997
  export type SearchKnowledgeQuery = Record<string, unknown>;
6241
5998
  type SearchKnowledgeBodyRef0 = {
@@ -6862,37 +6619,6 @@ type UpdateRowsByFilterResponseRef0 = {
6862
6619
  export type UpdateRowsByFilterResponse = {
6863
6620
  data: UpdateRowsByFilterResponseRef0;
6864
6621
  };
6865
- /** `PATCH /api/v2/sandboxes/[sandboxId]` */
6866
- export type UpdateSandboxParams = {
6867
- sandboxId: string;
6868
- };
6869
- export type UpdateSandboxQuery = Record<string, unknown>;
6870
- export type UpdateSandboxBody = {
6871
- workspaceId: string;
6872
- name?: string;
6873
- language?: 'javascript' | 'python';
6874
- dependencies?: Array<string>;
6875
- cliTools?: Array<'google-cloud-cli@577.0.0-r1' | 'aws-cli@2.36.15-r1' | 'azure-cli@2.89.0-r1' | 'doctl@1.166.0-r1' | 'github-cli@2.97.0-r1' | 'gitlab-cli@1.111.0-r1' | 'kubectl@1.36.3-r1' | 'helm@4.2.3-r1' | 'kustomize@5.8.1-r1' | 'argocd@3.4.6-r1' | 'terraform@1.15.8-r1' | 'pulumi@3.255.0-r1' | 'supabase-cli@2.111.0-r1' | 'firebase-cli@15.25.1-r1' | 'flyctl@0.4.78-r1' | 'railway-cli@5.30.4-r1' | 'stripe-cli@1.45.0-r1' | 'duckdb@1.5.5-r1' | 'rclone@1.75.0-r1' | 'restic@0.19.1-r1' | 'minio-mc@RELEASE.2025-08-13T08-35-41Z-r1' | 'mongosh@2.9.2-r1' | 'sops@3.13.3-r1' | 'age@1.3.1-r1'>;
6876
- systemPackages?: Array<string>;
6877
- };
6878
- type UpdateSandboxResponseRef0 = {
6879
- id: string;
6880
- name: string;
6881
- language: 'javascript' | 'python';
6882
- dependencies: Array<string>;
6883
- cliTools: Array<'google-cloud-cli@577.0.0-r1' | 'aws-cli@2.36.15-r1' | 'azure-cli@2.89.0-r1' | 'doctl@1.166.0-r1' | 'github-cli@2.97.0-r1' | 'gitlab-cli@1.111.0-r1' | 'kubectl@1.36.3-r1' | 'helm@4.2.3-r1' | 'kustomize@5.8.1-r1' | 'argocd@3.4.6-r1' | 'terraform@1.15.8-r1' | 'pulumi@3.255.0-r1' | 'supabase-cli@2.111.0-r1' | 'firebase-cli@15.25.1-r1' | 'flyctl@0.4.78-r1' | 'railway-cli@5.30.4-r1' | 'stripe-cli@1.45.0-r1' | 'duckdb@1.5.5-r1' | 'rclone@1.75.0-r1' | 'restic@0.19.1-r1' | 'minio-mc@RELEASE.2025-08-13T08-35-41Z-r1' | 'mongosh@2.9.2-r1' | 'sops@3.13.3-r1' | 'age@1.3.1-r1'>;
6884
- systemPackages: Array<string>;
6885
- buildStatus: 'pending' | 'building' | 'ready' | 'failed' | null;
6886
- errorCode: string | null;
6887
- errorMessage: string | null;
6888
- errorDetail: string | null;
6889
- builtAt: string | null;
6890
- createdAt: string;
6891
- updatedAt: string;
6892
- };
6893
- export type UpdateSandboxResponse = {
6894
- data: UpdateSandboxResponseRef0;
6895
- };
6896
6622
  /** `PATCH /api/v2/skills/[skillId]` */
6897
6623
  export type UpdateSkillParams = {
6898
6624
  skillId: string;
@@ -7972,6 +7698,13 @@ export declare const V2_OPERATIONS: {
7972
7698
  readonly responseMode: 'json';
7973
7699
  readonly summary: 'Create Credential Connection';
7974
7700
  readonly personalKeyOnly: true;
7701
+ readonly body: {
7702
+ readonly workspaceId: {
7703
+ readonly kind: 'string';
7704
+ readonly required: true;
7705
+ readonly describe: 'Workspace that will own the credential.';
7706
+ };
7707
+ };
7975
7708
  readonly opaqueBody: true;
7976
7709
  };
7977
7710
  readonly createCustomTool: {
@@ -8440,47 +8173,6 @@ export declare const V2_OPERATIONS: {
8440
8173
  };
8441
8174
  };
8442
8175
  };
8443
- readonly createSandbox: {
8444
- readonly method: 'POST';
8445
- readonly path: '/api/v2/sandboxes';
8446
- readonly pathParams: readonly [];
8447
- readonly responseMode: 'json';
8448
- readonly summary: 'Create Sandbox';
8449
- readonly personalKeyOnly: true;
8450
- readonly body: {
8451
- readonly workspaceId: {
8452
- readonly kind: 'string';
8453
- readonly required: true;
8454
- readonly describe: 'Workspace in which to create the sandbox.';
8455
- };
8456
- readonly name: {
8457
- readonly kind: 'string';
8458
- readonly required: true;
8459
- readonly describe: 'Display name, unique within the workspace; 1 to 64 characters.';
8460
- };
8461
- readonly language: {
8462
- readonly kind: 'enum';
8463
- readonly required: true;
8464
- readonly values: readonly ['javascript', 'python'];
8465
- readonly describe: 'Dependency ecosystem: `javascript` installs from npm, `python` from PyPI.';
8466
- };
8467
- readonly dependencies: {
8468
- readonly kind: 'array';
8469
- readonly default: readonly [];
8470
- readonly describe: 'Package specifiers installed into the sandbox, one per entry.';
8471
- };
8472
- readonly cliTools: {
8473
- readonly kind: 'array';
8474
- readonly default: readonly [];
8475
- readonly describe: 'Pinned managed CLI ids installed into the sandbox, at most 10, no duplicates.';
8476
- };
8477
- readonly systemPackages: {
8478
- readonly kind: 'array';
8479
- readonly default: readonly [];
8480
- readonly describe: 'Debian packages installed into the sandbox, one per entry.';
8481
- };
8482
- };
8483
- };
8484
8176
  readonly createServiceAccountCredential: {
8485
8177
  readonly method: 'POST';
8486
8178
  readonly path: '/api/v2/credentials';
@@ -9100,24 +8792,6 @@ export declare const V2_OPERATIONS: {
9100
8792
  };
9101
8793
  };
9102
8794
  };
9103
- readonly deleteSandbox: {
9104
- readonly method: 'DELETE';
9105
- readonly path: '/api/v2/sandboxes/[sandboxId]';
9106
- readonly pathParams: readonly ['sandboxId'];
9107
- readonly pathParamDocs: {
9108
- readonly sandboxId: 'Unique sandbox identifier.';
9109
- };
9110
- readonly responseMode: 'json';
9111
- readonly summary: 'Delete Sandbox';
9112
- readonly personalKeyOnly: true;
9113
- readonly query: {
9114
- readonly workspaceId: {
9115
- readonly kind: 'string';
9116
- readonly required: true;
9117
- readonly describe: 'Workspace that owns the sandbox.';
9118
- };
9119
- };
9120
- };
9121
8795
  readonly deleteSecret: {
9122
8796
  readonly method: 'DELETE';
9123
8797
  readonly path: '/api/v2/secrets/[name]';
@@ -9468,59 +9142,6 @@ export declare const V2_OPERATIONS: {
9468
9142
  };
9469
9143
  };
9470
9144
  };
9471
- readonly editFileContent: {
9472
- readonly method: 'PATCH';
9473
- readonly path: '/api/v2/files/[fileId]/content';
9474
- readonly pathParams: readonly ['fileId'];
9475
- readonly pathParamDocs: {
9476
- readonly fileId: 'File identifier.';
9477
- };
9478
- readonly responseMode: 'json';
9479
- readonly summary: 'Edit File Content';
9480
- readonly body: {
9481
- readonly workspaceId: {
9482
- readonly kind: 'string';
9483
- readonly required: true;
9484
- readonly describe: 'Workspace that owns the file.';
9485
- };
9486
- readonly edit: {
9487
- readonly kind: 'unknown';
9488
- readonly required: true;
9489
- readonly describe: 'One exact or anchor-based edit: search_replace, replace_between, insert_after, or delete_between.';
9490
- };
9491
- };
9492
- };
9493
- readonly executeTool: {
9494
- readonly method: 'POST';
9495
- readonly path: '/api/v2/tools/[toolId]/execute';
9496
- readonly pathParams: readonly ['toolId'];
9497
- readonly pathParamDocs: {
9498
- readonly toolId: 'Tool identifier. An unversioned name resolves to the newest version, and the response echoes the resolved id.';
9499
- };
9500
- readonly responseMode: 'json';
9501
- readonly summary: 'Run Tool';
9502
- readonly personalKeyOnly: true;
9503
- readonly body: {
9504
- readonly workspaceId: {
9505
- readonly kind: 'string';
9506
- readonly required: true;
9507
- readonly describe: 'Workspace whose integration allowlist, credentials, and environment variables govern this call.';
9508
- };
9509
- readonly input: {
9510
- readonly kind: 'object';
9511
- readonly default: {};
9512
- readonly describe: 'Arguments for the tool, keyed by the parameter ids the tool catalog publishes for it. A parameter whose visibility is `user-only` also accepts an environment-variable reference written as the whole value, `{{VAR_NAME}}`, resolved server-side against the workspace environment; any other value is sent verbatim.';
9513
- };
9514
- readonly credentialId: {
9515
- readonly kind: 'string';
9516
- readonly describe: 'Credential to authenticate with. Required when the tool declares an OAuth requirement; the workspace credentials list names the candidates.';
9517
- };
9518
- readonly timeoutSeconds: {
9519
- readonly kind: 'integer';
9520
- readonly describe: 'How long to wait for the tool before abandoning the call.';
9521
- };
9522
- };
9523
- };
9524
9145
  readonly executeWorkflow: {
9525
9146
  readonly method: 'POST';
9526
9147
  readonly path: '/api/v2/workflows/[workflowId]/execute';
@@ -9936,23 +9557,6 @@ export declare const V2_OPERATIONS: {
9936
9557
  };
9937
9558
  };
9938
9559
  };
9939
- readonly getSandbox: {
9940
- readonly method: 'GET';
9941
- readonly path: '/api/v2/sandboxes/[sandboxId]';
9942
- readonly pathParams: readonly ['sandboxId'];
9943
- readonly pathParamDocs: {
9944
- readonly sandboxId: 'Unique sandbox identifier.';
9945
- };
9946
- readonly responseMode: 'json';
9947
- readonly summary: 'Get Sandbox';
9948
- readonly query: {
9949
- readonly workspaceId: {
9950
- readonly kind: 'string';
9951
- readonly required: true;
9952
- readonly describe: 'Workspace that owns the sandbox.';
9953
- };
9954
- };
9955
- };
9956
9560
  readonly getSkill: {
9957
9561
  readonly method: 'GET';
9958
9562
  readonly path: '/api/v2/skills/[skillId]';
@@ -10323,7 +9927,7 @@ export declare const V2_OPERATIONS: {
10323
9927
  readonly query: {
10324
9928
  readonly source: {
10325
9929
  readonly kind: 'enum';
10326
- readonly values: readonly ['workflow', 'wand', 'sim-chat', 'mcp_copilot', 'mothership_block', 'knowledge-base', 'voice-input', 'enrichment', 'voice-output', 'api-tool'];
9930
+ readonly values: readonly ['workflow', 'wand', 'sim-chat', 'mcp_copilot', 'mothership_block', 'knowledge-base', 'voice-input', 'enrichment', 'voice-output'];
10327
9931
  readonly describe: 'Restrict results to one usage source.';
10328
9932
  };
10329
9933
  readonly workspaceId: {
@@ -10632,15 +10236,6 @@ export declare const V2_OPERATIONS: {
10632
10236
  readonly default: 'active';
10633
10237
  readonly describe: 'Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders a recursive delete soft-deleted, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both.';
10634
10238
  };
10635
- readonly recursive: {
10636
- readonly kind: 'enum';
10637
- readonly values: readonly ['true', '1', 'yes', 'on', 'y', 'enabled', 'false', '0', 'no', 'off', 'n', 'disabled'];
10638
- readonly describe: 'Whether parentPath includes every descendant instead of direct children only.';
10639
- };
10640
- readonly depth: {
10641
- readonly kind: 'integer';
10642
- readonly describe: 'Deepest level below parentPath to include when recursive is true.';
10643
- };
10644
10239
  };
10645
10240
  };
10646
10241
  readonly listFiles: {
@@ -11163,45 +10758,6 @@ export declare const V2_OPERATIONS: {
11163
10758
  };
11164
10759
  };
11165
10760
  };
11166
- readonly listSandboxes: {
11167
- readonly method: 'GET';
11168
- readonly path: '/api/v2/sandboxes';
11169
- readonly pathParams: readonly [];
11170
- readonly responseMode: 'json';
11171
- readonly summary: 'List Sandboxes';
11172
- readonly query: {
11173
- readonly workspaceId: {
11174
- readonly kind: 'string';
11175
- readonly required: true;
11176
- readonly describe: 'Workspace that owns the sandbox.';
11177
- };
11178
- readonly search: {
11179
- readonly kind: 'string';
11180
- readonly describe: 'Case-insensitive substring match against the sandbox name.';
11181
- };
11182
- readonly sortBy: {
11183
- readonly kind: 'enum';
11184
- readonly values: readonly ['name', 'createdAt', 'updatedAt'];
11185
- readonly default: 'name';
11186
- readonly describe: 'Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order.';
11187
- };
11188
- readonly sortOrder: {
11189
- readonly kind: 'enum';
11190
- readonly values: readonly ['asc', 'desc'];
11191
- readonly default: 'asc';
11192
- readonly describe: 'Sort direction.';
11193
- };
11194
- readonly limit: {
11195
- readonly kind: 'integer';
11196
- readonly default: 50;
11197
- readonly describe: 'Maximum sandboxes to return per page. Must be a whole number from 1 to 100. Defaults to 50.';
11198
- };
11199
- readonly cursor: {
11200
- readonly kind: 'string';
11201
- readonly describe: 'Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor.';
11202
- };
11203
- };
11204
- };
11205
10761
  readonly listSecrets: {
11206
10762
  readonly method: 'GET';
11207
10763
  readonly path: '/api/v2/secrets';
@@ -11938,14 +11494,6 @@ export declare const V2_OPERATIONS: {
11938
11494
  readonly kind: 'integer';
11939
11495
  readonly describe: 'Optional ceiling on the source bytes fed to the parser, lowering but never raising the server limit.';
11940
11496
  };
11941
- readonly offset: {
11942
- readonly kind: 'integer';
11943
- readonly describe: 'First line to return, 1-based. Absent starts at the first line.';
11944
- };
11945
- readonly limit: {
11946
- readonly kind: 'integer';
11947
- readonly describe: 'How many lines to return from `offset`. Absent reads to the end.';
11948
- };
11949
11497
  };
11950
11498
  };
11951
11499
  readonly relocateFileFolder: {
@@ -12358,45 +11906,6 @@ export declare const V2_OPERATIONS: {
12358
11906
  };
12359
11907
  };
12360
11908
  };
12361
- readonly searchFileContent: {
12362
- readonly method: 'GET';
12363
- readonly path: '/api/v2/files/search';
12364
- readonly pathParams: readonly [];
12365
- readonly responseMode: 'json';
12366
- readonly summary: 'Search File Content';
12367
- readonly query: {
12368
- readonly workspaceId: {
12369
- readonly kind: 'string';
12370
- readonly required: true;
12371
- readonly describe: 'Workspace to search.';
12372
- };
12373
- readonly query: {
12374
- readonly kind: 'string';
12375
- readonly required: true;
12376
- readonly describe: 'Regular expression, or exact text when `mode` is `exact`.';
12377
- };
12378
- readonly mode: {
12379
- readonly kind: 'enum';
12380
- readonly values: readonly ['exact', 'regex'];
12381
- readonly default: 'regex';
12382
- readonly describe: 'How `query` is read.';
12383
- };
12384
- readonly maxResults: {
12385
- readonly kind: 'integer';
12386
- readonly default: 50;
12387
- readonly describe: 'Maximum matching lines to return.';
12388
- };
12389
- readonly folderPaths: {
12390
- readonly kind: 'string';
12391
- readonly describe: 'Folders the search is confined to, comma-separated. Absent searches the whole workspace. The scope also narrows `indexStatus`, so `complete` describes the folders searched rather than the workspace.';
12392
- };
12393
- readonly includeSubfolders: {
12394
- readonly kind: 'enum';
12395
- readonly values: readonly ['true', '1', 'yes', 'on', 'y', 'enabled', 'false', '0', 'no', 'off', 'n', 'disabled'];
12396
- readonly describe: 'Whether the scope descends into nested folders. Absent means yes. The listed spellings are the whole accepted vocabulary and are case-sensitive; any other value is rejected.';
12397
- };
12398
- };
12399
- };
12400
11909
  readonly searchKnowledge: {
12401
11910
  readonly method: 'POST';
12402
11911
  readonly path: '/api/v2/knowledge/search';
@@ -12429,6 +11938,7 @@ export declare const V2_OPERATIONS: {
12429
11938
  };
12430
11939
  readonly searchMode: {
12431
11940
  readonly kind: 'enum';
11941
+ readonly default: 'vector';
12432
11942
  readonly describe: 'Retrieval strategy: vector is semantic-only, while hybrid also runs full-text search.';
12433
11943
  };
12434
11944
  readonly rerankerEnabled: {
@@ -13080,45 +12590,6 @@ export declare const V2_OPERATIONS: {
13080
12590
  };
13081
12591
  };
13082
12592
  };
13083
- readonly updateSandbox: {
13084
- readonly method: 'PATCH';
13085
- readonly path: '/api/v2/sandboxes/[sandboxId]';
13086
- readonly pathParams: readonly ['sandboxId'];
13087
- readonly pathParamDocs: {
13088
- readonly sandboxId: 'Unique sandbox identifier.';
13089
- };
13090
- readonly responseMode: 'json';
13091
- readonly summary: 'Update Sandbox';
13092
- readonly personalKeyOnly: true;
13093
- readonly body: {
13094
- readonly workspaceId: {
13095
- readonly kind: 'string';
13096
- readonly required: true;
13097
- readonly describe: 'Workspace that owns the sandbox.';
13098
- };
13099
- readonly name: {
13100
- readonly kind: 'string';
13101
- readonly describe: 'New display name, unique within the workspace; 1 to 64 characters.';
13102
- };
13103
- readonly language: {
13104
- readonly kind: 'enum';
13105
- readonly values: readonly ['javascript', 'python'];
13106
- readonly describe: 'Replacement dependency ecosystem. The whole spec is revalidated against it, so a Python dependency list does not survive a switch to JavaScript.';
13107
- };
13108
- readonly dependencies: {
13109
- readonly kind: 'array';
13110
- readonly describe: 'Replacement package list; replaces the whole list.';
13111
- };
13112
- readonly cliTools: {
13113
- readonly kind: 'array';
13114
- readonly describe: 'Replacement managed CLI list; replaces the whole list.';
13115
- };
13116
- readonly systemPackages: {
13117
- readonly kind: 'array';
13118
- readonly describe: 'Replacement Debian package list; replaces the whole list.';
13119
- };
13120
- };
13121
- };
13122
12593
  readonly updateSkill: {
13123
12594
  readonly method: 'PATCH';
13124
12595
  readonly path: '/api/v2/skills/[skillId]';