sim 2.2.24-preview.274.1 → 2.2.24-preview.276.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.
@@ -4495,6 +4495,18 @@ type GetFileVersionResponseRef0 = {
4495
4495
  export type GetFileVersionResponse = {
4496
4496
  data: GetFileVersionResponseRef0;
4497
4497
  };
4498
+ /** `GET /api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions` */
4499
+ export type GetGitLabSearchPermissionsParams = {
4500
+ organizationId: string;
4501
+ sourceId: string;
4502
+ };
4503
+ export type GetGitLabSearchPermissionsQuery = Record<string, unknown>;
4504
+ type GetGitLabSearchPermissionsResponseRef0 = {
4505
+ revision: number;
4506
+ };
4507
+ export type GetGitLabSearchPermissionsResponse = {
4508
+ data: GetGitLabSearchPermissionsResponseRef0;
4509
+ };
4498
4510
  /** `GET /api/v2/knowledge/[knowledgeBaseId]` */
4499
4511
  export type GetKnowledgeBaseParams = {
4500
4512
  knowledgeBaseId: string;
@@ -5279,7 +5291,7 @@ export type GetSandboxResponse = {
5279
5291
  export type GetSelectorQuery = Record<string, unknown>;
5280
5292
  export type GetSelectorBody = {
5281
5293
  workspaceId: string;
5282
- selectorKey: 'airtable.bases' | 'airtable.tables' | 'asana.workspaces' | 'attio.lists' | 'attio.objects' | 'bigquery.datasets' | 'bigquery.tables' | 'bitbucket.workspaces' | 'bitbucket.repositories' | 'calcom.eventTypes' | 'calcom.schedules' | 'clickup.workspaces' | 'clickup.spaces' | 'clickup.folders' | 'clickup.lists' | 'coda.docs' | 'coda.pages' | 'coda.tables' | 'coda.columns' | 'coda.rows' | 'coda.formulas' | 'coda.controls' | 'coda.folders' | 'coda.permissions' | 'confluence.spaces' | 'confluence.spacesById' | 'confluence.pages' | 'google.tasks.lists' | 'gauge.organizations' | 'gauge.categories' | 'gauge.topics' | 'gauge.prompts' | 'gauge.tags' | 'gauge.answers' | 'fivetran.groups' | 'fivetran.connections' | 'gmail.labels' | 'google.calendar' | 'google.drive' | 'google.sheets' | 'harmonic.savedSearches' | 'jama.projects' | 'jama.itemTypes' | 'flow.projects' | 'flow.categories' | 'flow.branches' | 'helpscout.mailboxes' | 'helpscout.assignees' | 'hubspot.lists' | 'hubspot.owners' | 'hubspot.pipelines' | 'hubspot.pipelineStages' | 'hubspot.properties' | 'jsm.requestTypes' | 'jsm.serviceDesks' | 'microsoft.planner.plans' | 'notion.databases' | 'notion.pages' | 'netsuite.recordTypes' | 'netsuite.asyncTasks' | 'pipedrive.pipelines' | 'sharepoint.lists' | 'trello.boards' | 'zoho_desk.organizations' | 'zoho_desk.departments' | 'zoho_desk.agents' | 'zoom.meetings' | 'slack.channels' | 'snowflake.databases' | 'snowflake.schemas' | 'snowflake.tables' | 'snowflake.warehouses' | 'snowflake.roles' | 'snowflake.fileFormats' | 'snowflake.procedures' | 'slack.users' | 'outlook.folders' | 'outlook.calendars' | 'microsoft.teams' | 'microsoft.chats' | 'microsoft.channels' | 'microsoft.planner' | 'onedrive.files' | 'onedrive.folders' | 'sharepoint.sites' | 'microsoft.excel' | 'microsoft.excel.drives' | 'microsoft.excel.sheets' | 'microsoft.word' | 'wealthbox.contacts' | 'jira.issues' | 'jira.projects' | 'jira.projectKeys' | 'linear.projects' | 'linear.teams' | 'monday.boards' | 'monday.groups' | 'webflow.sites' | 'webflow.collections' | 'webflow.items' | 'planetscale.databases' | 'powerbi.workspaces' | 'powerbi.datasets' | 'powerbi.reports' | 'planetscale.branches' | 'planetscale.backups' | 'planetscale.deployRequests' | 'cloudwatch.logGroups' | 'cloudwatch.logStreams' | 'imap.mailboxes' | 'mcp.tools' | 'managedAgent.agents' | 'managedAgent.environments' | 'managedAgent.vaults' | 'managedAgent.memoryStores' | 'knowledge.documents' | 'sim.workflows' | 'table.columns' | 'table.outputColumns' | 'workspace.secretNames' | 'workspace.sandboxes' | 'providers.ollamaEmbeddingModels' | 'providers.openrouterEmbeddingModels';
5294
+ selectorKey: 'airtable.bases' | 'airtable.tables' | 'asana.workspaces' | 'attio.lists' | 'attio.objects' | 'bigquery.datasets' | 'bigquery.tables' | 'bitbucket.workspaces' | 'bitbucket.repositories' | 'calcom.eventTypes' | 'calcom.schedules' | 'clickup.workspaces' | 'clickup.spaces' | 'clickup.folders' | 'clickup.lists' | 'coda.docs' | 'coda.pages' | 'coda.tables' | 'coda.columns' | 'coda.rows' | 'coda.formulas' | 'coda.controls' | 'coda.folders' | 'coda.permissions' | 'confluence.spaces' | 'confluence.spacesById' | 'confluence.pages' | 'google.tasks.lists' | 'gauge.organizations' | 'gauge.categories' | 'gauge.topics' | 'gauge.prompts' | 'gauge.tags' | 'gauge.answers' | 'fivetran.groups' | 'fivetran.connections' | 'gmail.labels' | 'google.calendar' | 'google.drive' | 'google.sheets' | 'harmonic.savedSearches' | 'jama.projects' | 'jama.itemTypes' | 'flow.projects' | 'flow.categories' | 'flow.branches' | 'helpscout.mailboxes' | 'helpscout.assignees' | 'hubspot.lists' | 'hubspot.owners' | 'hubspot.pipelines' | 'hubspot.pipelineStages' | 'hubspot.properties' | 'jsm.requestTypes' | 'jsm.serviceDesks' | 'microsoft.planner.plans' | 'notion.databases' | 'notion.pages' | 'netsuite.recordTypes' | 'netsuite.asyncTasks' | 'pipedrive.pipelines' | 'sharepoint.lists' | 'trello.boards' | 'zoho_desk.organizations' | 'zoho_desk.departments' | 'zoho_desk.agents' | 'zoom.meetings' | 'slack.channels' | 'snowflake.databases' | 'snowflake.schemas' | 'snowflake.tables' | 'snowflake.warehouses' | 'snowflake.roles' | 'snowflake.fileFormats' | 'snowflake.procedures' | 'slack.users' | 'outlook.folders' | 'outlook.calendars' | 'microsoft.teams' | 'microsoft.chats' | 'microsoft.channels' | 'microsoft.planner' | 'onedrive.files' | 'onedrive.folders' | 'sharepoint.sites' | 'microsoft.excel' | 'microsoft.excel.drives' | 'microsoft.excel.sheets' | 'microsoft.word' | 'wealthbox.contacts' | 'jira.issues' | 'jira.projects' | 'jira.projectKeys' | 'linear.projects' | 'linear.teams' | 'monday.boards' | 'monday.groups' | 'webflow.sites' | 'webflow.collections' | 'webflow.items' | 'planetscale.databases' | 'powerbi.workspaces' | 'powerbi.datasets' | 'powerbi.reports' | 'planetscale.branches' | 'planetscale.backups' | 'planetscale.deployRequests' | 'cloudwatch.logGroups' | 'cloudwatch.logStreams' | 'cloudwatch.savedLogGroups' | 'cloudwatch.savedLogStreams' | 'imap.mailboxes' | 'mcp.tools' | 'managedAgent.agents' | 'managedAgent.environments' | 'managedAgent.vaults' | 'managedAgent.memoryStores' | 'knowledge.documents' | 'sim.workflows' | 'table.columns' | 'table.outputColumns' | 'workspace.secretNames' | 'workspace.sandboxes' | 'providers.ollamaEmbeddingModels' | 'providers.openrouterEmbeddingModels';
5283
5295
  context?: Record<string, string>;
5284
5296
  id: string;
5285
5297
  };
@@ -7595,7 +7607,7 @@ export type ListSecretsResponse = {
7595
7607
  export type ListSelectorQuery = Record<string, unknown>;
7596
7608
  export type ListSelectorBody = {
7597
7609
  workspaceId: string;
7598
- selectorKey: 'airtable.bases' | 'airtable.tables' | 'asana.workspaces' | 'attio.lists' | 'attio.objects' | 'bigquery.datasets' | 'bigquery.tables' | 'bitbucket.workspaces' | 'bitbucket.repositories' | 'calcom.eventTypes' | 'calcom.schedules' | 'clickup.workspaces' | 'clickup.spaces' | 'clickup.folders' | 'clickup.lists' | 'coda.docs' | 'coda.pages' | 'coda.tables' | 'coda.columns' | 'coda.rows' | 'coda.formulas' | 'coda.controls' | 'coda.folders' | 'coda.permissions' | 'confluence.spaces' | 'confluence.spacesById' | 'confluence.pages' | 'google.tasks.lists' | 'gauge.organizations' | 'gauge.categories' | 'gauge.topics' | 'gauge.prompts' | 'gauge.tags' | 'gauge.answers' | 'fivetran.groups' | 'fivetran.connections' | 'gmail.labels' | 'google.calendar' | 'google.drive' | 'google.sheets' | 'harmonic.savedSearches' | 'jama.projects' | 'jama.itemTypes' | 'flow.projects' | 'flow.categories' | 'flow.branches' | 'helpscout.mailboxes' | 'helpscout.assignees' | 'hubspot.lists' | 'hubspot.owners' | 'hubspot.pipelines' | 'hubspot.pipelineStages' | 'hubspot.properties' | 'jsm.requestTypes' | 'jsm.serviceDesks' | 'microsoft.planner.plans' | 'notion.databases' | 'notion.pages' | 'netsuite.recordTypes' | 'netsuite.asyncTasks' | 'pipedrive.pipelines' | 'sharepoint.lists' | 'trello.boards' | 'zoho_desk.organizations' | 'zoho_desk.departments' | 'zoho_desk.agents' | 'zoom.meetings' | 'slack.channels' | 'snowflake.databases' | 'snowflake.schemas' | 'snowflake.tables' | 'snowflake.warehouses' | 'snowflake.roles' | 'snowflake.fileFormats' | 'snowflake.procedures' | 'slack.users' | 'outlook.folders' | 'outlook.calendars' | 'microsoft.teams' | 'microsoft.chats' | 'microsoft.channels' | 'microsoft.planner' | 'onedrive.files' | 'onedrive.folders' | 'sharepoint.sites' | 'microsoft.excel' | 'microsoft.excel.drives' | 'microsoft.excel.sheets' | 'microsoft.word' | 'wealthbox.contacts' | 'jira.issues' | 'jira.projects' | 'jira.projectKeys' | 'linear.projects' | 'linear.teams' | 'monday.boards' | 'monday.groups' | 'webflow.sites' | 'webflow.collections' | 'webflow.items' | 'planetscale.databases' | 'powerbi.workspaces' | 'powerbi.datasets' | 'powerbi.reports' | 'planetscale.branches' | 'planetscale.backups' | 'planetscale.deployRequests' | 'cloudwatch.logGroups' | 'cloudwatch.logStreams' | 'imap.mailboxes' | 'mcp.tools' | 'managedAgent.agents' | 'managedAgent.environments' | 'managedAgent.vaults' | 'managedAgent.memoryStores' | 'knowledge.documents' | 'sim.workflows' | 'table.columns' | 'table.outputColumns' | 'workspace.secretNames' | 'workspace.sandboxes' | 'providers.ollamaEmbeddingModels' | 'providers.openrouterEmbeddingModels';
7610
+ selectorKey: 'airtable.bases' | 'airtable.tables' | 'asana.workspaces' | 'attio.lists' | 'attio.objects' | 'bigquery.datasets' | 'bigquery.tables' | 'bitbucket.workspaces' | 'bitbucket.repositories' | 'calcom.eventTypes' | 'calcom.schedules' | 'clickup.workspaces' | 'clickup.spaces' | 'clickup.folders' | 'clickup.lists' | 'coda.docs' | 'coda.pages' | 'coda.tables' | 'coda.columns' | 'coda.rows' | 'coda.formulas' | 'coda.controls' | 'coda.folders' | 'coda.permissions' | 'confluence.spaces' | 'confluence.spacesById' | 'confluence.pages' | 'google.tasks.lists' | 'gauge.organizations' | 'gauge.categories' | 'gauge.topics' | 'gauge.prompts' | 'gauge.tags' | 'gauge.answers' | 'fivetran.groups' | 'fivetran.connections' | 'gmail.labels' | 'google.calendar' | 'google.drive' | 'google.sheets' | 'harmonic.savedSearches' | 'jama.projects' | 'jama.itemTypes' | 'flow.projects' | 'flow.categories' | 'flow.branches' | 'helpscout.mailboxes' | 'helpscout.assignees' | 'hubspot.lists' | 'hubspot.owners' | 'hubspot.pipelines' | 'hubspot.pipelineStages' | 'hubspot.properties' | 'jsm.requestTypes' | 'jsm.serviceDesks' | 'microsoft.planner.plans' | 'notion.databases' | 'notion.pages' | 'netsuite.recordTypes' | 'netsuite.asyncTasks' | 'pipedrive.pipelines' | 'sharepoint.lists' | 'trello.boards' | 'zoho_desk.organizations' | 'zoho_desk.departments' | 'zoho_desk.agents' | 'zoom.meetings' | 'slack.channels' | 'snowflake.databases' | 'snowflake.schemas' | 'snowflake.tables' | 'snowflake.warehouses' | 'snowflake.roles' | 'snowflake.fileFormats' | 'snowflake.procedures' | 'slack.users' | 'outlook.folders' | 'outlook.calendars' | 'microsoft.teams' | 'microsoft.chats' | 'microsoft.channels' | 'microsoft.planner' | 'onedrive.files' | 'onedrive.folders' | 'sharepoint.sites' | 'microsoft.excel' | 'microsoft.excel.drives' | 'microsoft.excel.sheets' | 'microsoft.word' | 'wealthbox.contacts' | 'jira.issues' | 'jira.projects' | 'jira.projectKeys' | 'linear.projects' | 'linear.teams' | 'monday.boards' | 'monday.groups' | 'webflow.sites' | 'webflow.collections' | 'webflow.items' | 'planetscale.databases' | 'powerbi.workspaces' | 'powerbi.datasets' | 'powerbi.reports' | 'planetscale.branches' | 'planetscale.backups' | 'planetscale.deployRequests' | 'cloudwatch.logGroups' | 'cloudwatch.logStreams' | 'cloudwatch.savedLogGroups' | 'cloudwatch.savedLogStreams' | 'imap.mailboxes' | 'mcp.tools' | 'managedAgent.agents' | 'managedAgent.environments' | 'managedAgent.vaults' | 'managedAgent.memoryStores' | 'knowledge.documents' | 'sim.workflows' | 'table.columns' | 'table.outputColumns' | 'workspace.secretNames' | 'workspace.sandboxes' | 'providers.ollamaEmbeddingModels' | 'providers.openrouterEmbeddingModels';
7599
7611
  context?: Record<string, string>;
7600
7612
  search?: string;
7601
7613
  cursor?: string;
@@ -9262,6 +9274,29 @@ type RenameProjectFileResponseRef0 = {
9262
9274
  export type RenameProjectFileResponse = {
9263
9275
  data: RenameProjectFileResponseRef0;
9264
9276
  };
9277
+ /** `PUT /api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions` */
9278
+ export type ReplaceGitLabSearchPermissionsParams = {
9279
+ organizationId: string;
9280
+ sourceId: string;
9281
+ };
9282
+ export type ReplaceGitLabSearchPermissionsQuery = Record<string, unknown>;
9283
+ export type ReplaceGitLabSearchPermissionsBody = {
9284
+ expectedRevision: number;
9285
+ userMapping: {
9286
+ filename: string;
9287
+ content: string;
9288
+ };
9289
+ projectPermissions: {
9290
+ filename: string;
9291
+ content: string;
9292
+ };
9293
+ };
9294
+ type ReplaceGitLabSearchPermissionsResponseRef0 = {
9295
+ revision: number;
9296
+ };
9297
+ export type ReplaceGitLabSearchPermissionsResponse = {
9298
+ data: ReplaceGitLabSearchPermissionsResponseRef0;
9299
+ };
9265
9300
  /** `PUT /api/v2/workflows/[workflowId]/deployments/chat` */
9266
9301
  export type ReplaceWorkflowChatDeploymentParams = {
9267
9302
  workflowId: string;
@@ -14895,6 +14930,18 @@ export declare const V2_OPERATIONS: {
14895
14930
  };
14896
14931
  };
14897
14932
  };
14933
+ readonly getGitLabSearchPermissions: {
14934
+ readonly method: 'GET';
14935
+ readonly path: '/api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions';
14936
+ readonly pathParams: readonly ['organizationId', 'sourceId'];
14937
+ readonly pathParamDocs: {
14938
+ readonly organizationId: 'Organization identifier.';
14939
+ readonly sourceId: 'Identifier of the configured GitLab Search source.';
14940
+ };
14941
+ readonly responseMode: 'json';
14942
+ readonly summary: 'Get GitLab Search permission revision';
14943
+ readonly workspaceKeyUnsupported: true;
14944
+ };
14898
14945
  readonly getKnowledgeBase: {
14899
14946
  readonly method: 'GET';
14900
14947
  readonly path: '/api/v2/knowledge/[knowledgeBaseId]';
@@ -15385,7 +15432,7 @@ export declare const V2_OPERATIONS: {
15385
15432
  readonly selectorKey: {
15386
15433
  readonly kind: 'enum';
15387
15434
  readonly required: true;
15388
- readonly values: readonly ['airtable.bases', 'airtable.tables', 'asana.workspaces', 'attio.lists', 'attio.objects', 'bigquery.datasets', 'bigquery.tables', 'bitbucket.workspaces', 'bitbucket.repositories', 'calcom.eventTypes', 'calcom.schedules', 'clickup.workspaces', 'clickup.spaces', 'clickup.folders', 'clickup.lists', 'coda.docs', 'coda.pages', 'coda.tables', 'coda.columns', 'coda.rows', 'coda.formulas', 'coda.controls', 'coda.folders', 'coda.permissions', 'confluence.spaces', 'confluence.spacesById', 'confluence.pages', 'google.tasks.lists', 'gauge.organizations', 'gauge.categories', 'gauge.topics', 'gauge.prompts', 'gauge.tags', 'gauge.answers', 'fivetran.groups', 'fivetran.connections', 'gmail.labels', 'google.calendar', 'google.drive', 'google.sheets', 'harmonic.savedSearches', 'jama.projects', 'jama.itemTypes', 'flow.projects', 'flow.categories', 'flow.branches', 'helpscout.mailboxes', 'helpscout.assignees', 'hubspot.lists', 'hubspot.owners', 'hubspot.pipelines', 'hubspot.pipelineStages', 'hubspot.properties', 'jsm.requestTypes', 'jsm.serviceDesks', 'microsoft.planner.plans', 'notion.databases', 'notion.pages', 'netsuite.recordTypes', 'netsuite.asyncTasks', 'pipedrive.pipelines', 'sharepoint.lists', 'trello.boards', 'zoho_desk.organizations', 'zoho_desk.departments', 'zoho_desk.agents', 'zoom.meetings', 'slack.channels', 'snowflake.databases', 'snowflake.schemas', 'snowflake.tables', 'snowflake.warehouses', 'snowflake.roles', 'snowflake.fileFormats', 'snowflake.procedures', 'slack.users', 'outlook.folders', 'outlook.calendars', 'microsoft.teams', 'microsoft.chats', 'microsoft.channels', 'microsoft.planner', 'onedrive.files', 'onedrive.folders', 'sharepoint.sites', 'microsoft.excel', 'microsoft.excel.drives', 'microsoft.excel.sheets', 'microsoft.word', 'wealthbox.contacts', 'jira.issues', 'jira.projects', 'jira.projectKeys', 'linear.projects', 'linear.teams', 'monday.boards', 'monday.groups', 'webflow.sites', 'webflow.collections', 'webflow.items', 'planetscale.databases', 'powerbi.workspaces', 'powerbi.datasets', 'powerbi.reports', 'planetscale.branches', 'planetscale.backups', 'planetscale.deployRequests', 'cloudwatch.logGroups', 'cloudwatch.logStreams', 'imap.mailboxes', 'mcp.tools', 'managedAgent.agents', 'managedAgent.environments', 'managedAgent.vaults', 'managedAgent.memoryStores', 'knowledge.documents', 'sim.workflows', 'table.columns', 'table.outputColumns', 'workspace.secretNames', 'workspace.sandboxes', 'providers.ollamaEmbeddingModels', 'providers.openrouterEmbeddingModels'];
15435
+ readonly values: readonly ['airtable.bases', 'airtable.tables', 'asana.workspaces', 'attio.lists', 'attio.objects', 'bigquery.datasets', 'bigquery.tables', 'bitbucket.workspaces', 'bitbucket.repositories', 'calcom.eventTypes', 'calcom.schedules', 'clickup.workspaces', 'clickup.spaces', 'clickup.folders', 'clickup.lists', 'coda.docs', 'coda.pages', 'coda.tables', 'coda.columns', 'coda.rows', 'coda.formulas', 'coda.controls', 'coda.folders', 'coda.permissions', 'confluence.spaces', 'confluence.spacesById', 'confluence.pages', 'google.tasks.lists', 'gauge.organizations', 'gauge.categories', 'gauge.topics', 'gauge.prompts', 'gauge.tags', 'gauge.answers', 'fivetran.groups', 'fivetran.connections', 'gmail.labels', 'google.calendar', 'google.drive', 'google.sheets', 'harmonic.savedSearches', 'jama.projects', 'jama.itemTypes', 'flow.projects', 'flow.categories', 'flow.branches', 'helpscout.mailboxes', 'helpscout.assignees', 'hubspot.lists', 'hubspot.owners', 'hubspot.pipelines', 'hubspot.pipelineStages', 'hubspot.properties', 'jsm.requestTypes', 'jsm.serviceDesks', 'microsoft.planner.plans', 'notion.databases', 'notion.pages', 'netsuite.recordTypes', 'netsuite.asyncTasks', 'pipedrive.pipelines', 'sharepoint.lists', 'trello.boards', 'zoho_desk.organizations', 'zoho_desk.departments', 'zoho_desk.agents', 'zoom.meetings', 'slack.channels', 'snowflake.databases', 'snowflake.schemas', 'snowflake.tables', 'snowflake.warehouses', 'snowflake.roles', 'snowflake.fileFormats', 'snowflake.procedures', 'slack.users', 'outlook.folders', 'outlook.calendars', 'microsoft.teams', 'microsoft.chats', 'microsoft.channels', 'microsoft.planner', 'onedrive.files', 'onedrive.folders', 'sharepoint.sites', 'microsoft.excel', 'microsoft.excel.drives', 'microsoft.excel.sheets', 'microsoft.word', 'wealthbox.contacts', 'jira.issues', 'jira.projects', 'jira.projectKeys', 'linear.projects', 'linear.teams', 'monday.boards', 'monday.groups', 'webflow.sites', 'webflow.collections', 'webflow.items', 'planetscale.databases', 'powerbi.workspaces', 'powerbi.datasets', 'powerbi.reports', 'planetscale.branches', 'planetscale.backups', 'planetscale.deployRequests', 'cloudwatch.logGroups', 'cloudwatch.logStreams', 'cloudwatch.savedLogGroups', 'cloudwatch.savedLogStreams', 'imap.mailboxes', 'mcp.tools', 'managedAgent.agents', 'managedAgent.environments', 'managedAgent.vaults', 'managedAgent.memoryStores', 'knowledge.documents', 'sim.workflows', 'table.columns', 'table.outputColumns', 'workspace.secretNames', 'workspace.sandboxes', 'providers.ollamaEmbeddingModels', 'providers.openrouterEmbeddingModels'];
15389
15436
  readonly describe: 'Registered selector key from an import or sync preview, such as `gmail.labels`.';
15390
15437
  };
15391
15438
  readonly context: {
@@ -17505,7 +17552,7 @@ export declare const V2_OPERATIONS: {
17505
17552
  readonly selectorKey: {
17506
17553
  readonly kind: 'enum';
17507
17554
  readonly required: true;
17508
- readonly values: readonly ['airtable.bases', 'airtable.tables', 'asana.workspaces', 'attio.lists', 'attio.objects', 'bigquery.datasets', 'bigquery.tables', 'bitbucket.workspaces', 'bitbucket.repositories', 'calcom.eventTypes', 'calcom.schedules', 'clickup.workspaces', 'clickup.spaces', 'clickup.folders', 'clickup.lists', 'coda.docs', 'coda.pages', 'coda.tables', 'coda.columns', 'coda.rows', 'coda.formulas', 'coda.controls', 'coda.folders', 'coda.permissions', 'confluence.spaces', 'confluence.spacesById', 'confluence.pages', 'google.tasks.lists', 'gauge.organizations', 'gauge.categories', 'gauge.topics', 'gauge.prompts', 'gauge.tags', 'gauge.answers', 'fivetran.groups', 'fivetran.connections', 'gmail.labels', 'google.calendar', 'google.drive', 'google.sheets', 'harmonic.savedSearches', 'jama.projects', 'jama.itemTypes', 'flow.projects', 'flow.categories', 'flow.branches', 'helpscout.mailboxes', 'helpscout.assignees', 'hubspot.lists', 'hubspot.owners', 'hubspot.pipelines', 'hubspot.pipelineStages', 'hubspot.properties', 'jsm.requestTypes', 'jsm.serviceDesks', 'microsoft.planner.plans', 'notion.databases', 'notion.pages', 'netsuite.recordTypes', 'netsuite.asyncTasks', 'pipedrive.pipelines', 'sharepoint.lists', 'trello.boards', 'zoho_desk.organizations', 'zoho_desk.departments', 'zoho_desk.agents', 'zoom.meetings', 'slack.channels', 'snowflake.databases', 'snowflake.schemas', 'snowflake.tables', 'snowflake.warehouses', 'snowflake.roles', 'snowflake.fileFormats', 'snowflake.procedures', 'slack.users', 'outlook.folders', 'outlook.calendars', 'microsoft.teams', 'microsoft.chats', 'microsoft.channels', 'microsoft.planner', 'onedrive.files', 'onedrive.folders', 'sharepoint.sites', 'microsoft.excel', 'microsoft.excel.drives', 'microsoft.excel.sheets', 'microsoft.word', 'wealthbox.contacts', 'jira.issues', 'jira.projects', 'jira.projectKeys', 'linear.projects', 'linear.teams', 'monday.boards', 'monday.groups', 'webflow.sites', 'webflow.collections', 'webflow.items', 'planetscale.databases', 'powerbi.workspaces', 'powerbi.datasets', 'powerbi.reports', 'planetscale.branches', 'planetscale.backups', 'planetscale.deployRequests', 'cloudwatch.logGroups', 'cloudwatch.logStreams', 'imap.mailboxes', 'mcp.tools', 'managedAgent.agents', 'managedAgent.environments', 'managedAgent.vaults', 'managedAgent.memoryStores', 'knowledge.documents', 'sim.workflows', 'table.columns', 'table.outputColumns', 'workspace.secretNames', 'workspace.sandboxes', 'providers.ollamaEmbeddingModels', 'providers.openrouterEmbeddingModels'];
17555
+ readonly values: readonly ['airtable.bases', 'airtable.tables', 'asana.workspaces', 'attio.lists', 'attio.objects', 'bigquery.datasets', 'bigquery.tables', 'bitbucket.workspaces', 'bitbucket.repositories', 'calcom.eventTypes', 'calcom.schedules', 'clickup.workspaces', 'clickup.spaces', 'clickup.folders', 'clickup.lists', 'coda.docs', 'coda.pages', 'coda.tables', 'coda.columns', 'coda.rows', 'coda.formulas', 'coda.controls', 'coda.folders', 'coda.permissions', 'confluence.spaces', 'confluence.spacesById', 'confluence.pages', 'google.tasks.lists', 'gauge.organizations', 'gauge.categories', 'gauge.topics', 'gauge.prompts', 'gauge.tags', 'gauge.answers', 'fivetran.groups', 'fivetran.connections', 'gmail.labels', 'google.calendar', 'google.drive', 'google.sheets', 'harmonic.savedSearches', 'jama.projects', 'jama.itemTypes', 'flow.projects', 'flow.categories', 'flow.branches', 'helpscout.mailboxes', 'helpscout.assignees', 'hubspot.lists', 'hubspot.owners', 'hubspot.pipelines', 'hubspot.pipelineStages', 'hubspot.properties', 'jsm.requestTypes', 'jsm.serviceDesks', 'microsoft.planner.plans', 'notion.databases', 'notion.pages', 'netsuite.recordTypes', 'netsuite.asyncTasks', 'pipedrive.pipelines', 'sharepoint.lists', 'trello.boards', 'zoho_desk.organizations', 'zoho_desk.departments', 'zoho_desk.agents', 'zoom.meetings', 'slack.channels', 'snowflake.databases', 'snowflake.schemas', 'snowflake.tables', 'snowflake.warehouses', 'snowflake.roles', 'snowflake.fileFormats', 'snowflake.procedures', 'slack.users', 'outlook.folders', 'outlook.calendars', 'microsoft.teams', 'microsoft.chats', 'microsoft.channels', 'microsoft.planner', 'onedrive.files', 'onedrive.folders', 'sharepoint.sites', 'microsoft.excel', 'microsoft.excel.drives', 'microsoft.excel.sheets', 'microsoft.word', 'wealthbox.contacts', 'jira.issues', 'jira.projects', 'jira.projectKeys', 'linear.projects', 'linear.teams', 'monday.boards', 'monday.groups', 'webflow.sites', 'webflow.collections', 'webflow.items', 'planetscale.databases', 'powerbi.workspaces', 'powerbi.datasets', 'powerbi.reports', 'planetscale.branches', 'planetscale.backups', 'planetscale.deployRequests', 'cloudwatch.logGroups', 'cloudwatch.logStreams', 'cloudwatch.savedLogGroups', 'cloudwatch.savedLogStreams', 'imap.mailboxes', 'mcp.tools', 'managedAgent.agents', 'managedAgent.environments', 'managedAgent.vaults', 'managedAgent.memoryStores', 'knowledge.documents', 'sim.workflows', 'table.columns', 'table.outputColumns', 'workspace.secretNames', 'workspace.sandboxes', 'providers.ollamaEmbeddingModels', 'providers.openrouterEmbeddingModels'];
17509
17556
  readonly describe: 'Registered selector key from an import or sync preview, such as `gmail.labels`.';
17510
17557
  };
17511
17558
  readonly context: {
@@ -18895,6 +18942,35 @@ export declare const V2_OPERATIONS: {
18895
18942
  };
18896
18943
  };
18897
18944
  };
18945
+ readonly replaceGitLabSearchPermissions: {
18946
+ readonly method: 'PUT';
18947
+ readonly path: '/api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions';
18948
+ readonly pathParams: readonly ['organizationId', 'sourceId'];
18949
+ readonly pathParamDocs: {
18950
+ readonly organizationId: 'Organization identifier.';
18951
+ readonly sourceId: 'Identifier of the configured GitLab Search source.';
18952
+ };
18953
+ readonly responseMode: 'json';
18954
+ readonly summary: 'Replace GitLab Search permission CSVs';
18955
+ readonly workspaceKeyUnsupported: true;
18956
+ readonly body: {
18957
+ readonly expectedRevision: {
18958
+ readonly kind: 'integer';
18959
+ readonly required: true;
18960
+ readonly describe: 'Current permission revision obtained before generating this snapshot.';
18961
+ };
18962
+ readonly userMapping: {
18963
+ readonly kind: 'object';
18964
+ readonly required: true;
18965
+ readonly describe: 'GitLab user IDs and their verified Sim email addresses.';
18966
+ };
18967
+ readonly projectPermissions: {
18968
+ readonly kind: 'object';
18969
+ readonly required: true;
18970
+ readonly describe: 'GitLab project paths and the IDs of users granted access.';
18971
+ };
18972
+ };
18973
+ };
18898
18974
  readonly replaceWorkflowChatDeployment: {
18899
18975
  readonly method: 'PUT';
18900
18976
  readonly path: '/api/v2/workflows/[workflowId]/deployments/chat';
package/dist/index.js CHANGED
@@ -12220,6 +12220,18 @@ var V2_OPERATIONS = {
12220
12220
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." }
12221
12221
  }
12222
12222
  },
12223
+ getGitLabSearchPermissions: {
12224
+ method: "GET",
12225
+ path: "/api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions",
12226
+ pathParams: ["organizationId", "sourceId"],
12227
+ pathParamDocs: {
12228
+ organizationId: "Organization identifier.",
12229
+ sourceId: "Identifier of the configured GitLab Search source."
12230
+ },
12231
+ responseMode: "json",
12232
+ summary: "Get GitLab Search permission revision",
12233
+ workspaceKeyUnsupported: true
12234
+ },
12223
12235
  getKnowledgeBase: {
12224
12236
  method: "GET",
12225
12237
  path: "/api/v2/knowledge/[knowledgeBaseId]",
@@ -12801,6 +12813,8 @@ var V2_OPERATIONS = {
12801
12813
  "planetscale.deployRequests",
12802
12814
  "cloudwatch.logGroups",
12803
12815
  "cloudwatch.logStreams",
12816
+ "cloudwatch.savedLogGroups",
12817
+ "cloudwatch.savedLogStreams",
12804
12818
  "imap.mailboxes",
12805
12819
  "mcp.tools",
12806
12820
  "managedAgent.agents",
@@ -14992,6 +15006,8 @@ var V2_OPERATIONS = {
14992
15006
  "planetscale.deployRequests",
14993
15007
  "cloudwatch.logGroups",
14994
15008
  "cloudwatch.logStreams",
15009
+ "cloudwatch.savedLogGroups",
15010
+ "cloudwatch.savedLogStreams",
14995
15011
  "imap.mailboxes",
14996
15012
  "mcp.tools",
14997
15013
  "managedAgent.agents",
@@ -16239,6 +16255,35 @@ var V2_OPERATIONS = {
16239
16255
  name: { kind: "string", required: true, describe: "New file name, including its extension." }
16240
16256
  }
16241
16257
  },
16258
+ replaceGitLabSearchPermissions: {
16259
+ method: "PUT",
16260
+ path: "/api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions",
16261
+ pathParams: ["organizationId", "sourceId"],
16262
+ pathParamDocs: {
16263
+ organizationId: "Organization identifier.",
16264
+ sourceId: "Identifier of the configured GitLab Search source."
16265
+ },
16266
+ responseMode: "json",
16267
+ summary: "Replace GitLab Search permission CSVs",
16268
+ workspaceKeyUnsupported: true,
16269
+ body: {
16270
+ expectedRevision: {
16271
+ kind: "integer",
16272
+ required: true,
16273
+ describe: "Current permission revision obtained before generating this snapshot."
16274
+ },
16275
+ userMapping: {
16276
+ kind: "object",
16277
+ required: true,
16278
+ describe: "GitLab user IDs and their verified Sim email addresses."
16279
+ },
16280
+ projectPermissions: {
16281
+ kind: "object",
16282
+ required: true,
16283
+ describe: "GitLab project paths and the IDs of users granted access."
16284
+ }
16285
+ }
16286
+ },
16242
16287
  replaceWorkflowChatDeployment: {
16243
16288
  method: "PUT",
16244
16289
  path: "/api/v2/workflows/[workflowId]/deployments/chat",
@@ -19971,6 +20016,15 @@ var CLI_CONTRACT = {
19971
20016
  columns: [{ header: "id" }, { header: "name" }, { header: "role" }]
19972
20017
  },
19973
20018
  getOrganization: { command: "organizations get" },
20019
+ getGitLabSearchPermissions: {
20020
+ command: "organizations gitlab-permissions get",
20021
+ pathFlags: ORGANIZATION_FLAG
20022
+ },
20023
+ replaceGitLabSearchPermissions: {
20024
+ command: "organizations gitlab-permissions replace",
20025
+ pathFlags: ORGANIZATION_FLAG,
20026
+ confirm: "This replaces both GitLab permission files. Readers omitted from the new grants lose access."
20027
+ },
19974
20028
  listSsoProviders: {
19975
20029
  command: "organizations sso providers list",
19976
20030
  pathFlags: ORGANIZATION_FLAG,
package/dist/runtime.js CHANGED
@@ -12269,6 +12269,18 @@ var V2_OPERATIONS = {
12269
12269
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." }
12270
12270
  }
12271
12271
  },
12272
+ getGitLabSearchPermissions: {
12273
+ method: "GET",
12274
+ path: "/api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions",
12275
+ pathParams: ["organizationId", "sourceId"],
12276
+ pathParamDocs: {
12277
+ organizationId: "Organization identifier.",
12278
+ sourceId: "Identifier of the configured GitLab Search source."
12279
+ },
12280
+ responseMode: "json",
12281
+ summary: "Get GitLab Search permission revision",
12282
+ workspaceKeyUnsupported: true
12283
+ },
12272
12284
  getKnowledgeBase: {
12273
12285
  method: "GET",
12274
12286
  path: "/api/v2/knowledge/[knowledgeBaseId]",
@@ -12850,6 +12862,8 @@ var V2_OPERATIONS = {
12850
12862
  "planetscale.deployRequests",
12851
12863
  "cloudwatch.logGroups",
12852
12864
  "cloudwatch.logStreams",
12865
+ "cloudwatch.savedLogGroups",
12866
+ "cloudwatch.savedLogStreams",
12853
12867
  "imap.mailboxes",
12854
12868
  "mcp.tools",
12855
12869
  "managedAgent.agents",
@@ -15041,6 +15055,8 @@ var V2_OPERATIONS = {
15041
15055
  "planetscale.deployRequests",
15042
15056
  "cloudwatch.logGroups",
15043
15057
  "cloudwatch.logStreams",
15058
+ "cloudwatch.savedLogGroups",
15059
+ "cloudwatch.savedLogStreams",
15044
15060
  "imap.mailboxes",
15045
15061
  "mcp.tools",
15046
15062
  "managedAgent.agents",
@@ -16288,6 +16304,35 @@ var V2_OPERATIONS = {
16288
16304
  name: { kind: "string", required: true, describe: "New file name, including its extension." }
16289
16305
  }
16290
16306
  },
16307
+ replaceGitLabSearchPermissions: {
16308
+ method: "PUT",
16309
+ path: "/api/v2/organizations/[organizationId]/search/sources/[sourceId]/gitlab-permissions",
16310
+ pathParams: ["organizationId", "sourceId"],
16311
+ pathParamDocs: {
16312
+ organizationId: "Organization identifier.",
16313
+ sourceId: "Identifier of the configured GitLab Search source."
16314
+ },
16315
+ responseMode: "json",
16316
+ summary: "Replace GitLab Search permission CSVs",
16317
+ workspaceKeyUnsupported: true,
16318
+ body: {
16319
+ expectedRevision: {
16320
+ kind: "integer",
16321
+ required: true,
16322
+ describe: "Current permission revision obtained before generating this snapshot."
16323
+ },
16324
+ userMapping: {
16325
+ kind: "object",
16326
+ required: true,
16327
+ describe: "GitLab user IDs and their verified Sim email addresses."
16328
+ },
16329
+ projectPermissions: {
16330
+ kind: "object",
16331
+ required: true,
16332
+ describe: "GitLab project paths and the IDs of users granted access."
16333
+ }
16334
+ }
16335
+ },
16291
16336
  replaceWorkflowChatDeployment: {
16292
16337
  method: "PUT",
16293
16338
  path: "/api/v2/workflows/[workflowId]/deployments/chat",
@@ -20020,6 +20065,15 @@ var CLI_CONTRACT = {
20020
20065
  columns: [{ header: "id" }, { header: "name" }, { header: "role" }]
20021
20066
  },
20022
20067
  getOrganization: { command: "organizations get" },
20068
+ getGitLabSearchPermissions: {
20069
+ command: "organizations gitlab-permissions get",
20070
+ pathFlags: ORGANIZATION_FLAG
20071
+ },
20072
+ replaceGitLabSearchPermissions: {
20073
+ command: "organizations gitlab-permissions replace",
20074
+ pathFlags: ORGANIZATION_FLAG,
20075
+ confirm: "This replaces both GitLab permission files. Readers omitted from the new grants lose access."
20076
+ },
20023
20077
  listSsoProviders: {
20024
20078
  command: "organizations sso providers list",
20025
20079
  pathFlags: ORGANIZATION_FLAG,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sim",
3
- "version": "2.2.24-preview.274.1",
3
+ "version": "2.2.24-preview.276.1",
4
4
  "description": "Sim CLI - talk to the Sim API from your terminal",
5
5
  "type": "module",
6
6
  "bin": {