@hey-hey/cli 4.1.6 → 4.1.7

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 (2) hide show
  1. package/dist/index.mjs +1088 -63
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -413,7 +413,7 @@ var require_cli_options = __commonJS({
413
413
  var version;
414
414
  var init_package = __esm({
415
415
  "package.json"() {
416
- version = "4.1.6";
416
+ version = "4.1.7";
417
417
  }
418
418
  });
419
419
 
@@ -69339,7 +69339,7 @@ var init_axios4 = __esm({
69339
69339
  }
69340
69340
  });
69341
69341
 
69342
- // ../ui-common/dist/chunk-NVZWIVFZ.mjs
69342
+ // ../ui-common/dist/chunk-PN55B4MR.mjs
69343
69343
  function setFlattenedQueryParams2(urlSearchParams, parameter, key = "") {
69344
69344
  if (parameter == null) return;
69345
69345
  if (typeof parameter === "object") {
@@ -69358,9 +69358,9 @@ function setFlattenedQueryParams2(urlSearchParams, parameter, key = "") {
69358
69358
  }
69359
69359
  }
69360
69360
  }
69361
- var BASE_PATH2, COLLECTION_FORMATS2, BaseAPI2, RequiredError3, operationServerMap2, DUMMY_BASE_URL2, assertParamExists2, setBearerAuthToObject2, setSearchParams2, serializeDataIfNeeded2, toPathString2, createRequestFunction2, ConversationStartRunRequestDtoProviderEnum2, CreateImplementationHintDtoSourceTypeEnum, DesignDocSectionUpdateSource, EvidenceItemTypeEnum, EvidenceItemSourceEnum, LocalPromptType, RunEntityReferenceEntityTypeEnum, TaskSectionUpdateSource2, WorkStatus2, WorkflowName2, ActivityCorrelationApiAxiosParamCreator, ActivityCorrelationApiFp, ActivityCorrelationApi, AgentEdgesApiAxiosParamCreator, AgentEdgesApiFp, AgentEdgesApi, AgentSessionsApiAxiosParamCreator2, AgentSessionsApiFp2, AgentSessionsApi2, AnalyticsApiAxiosParamCreator, AnalyticsApiFp, AnalyticsApi, ArtifactsApiAxiosParamCreator, ArtifactsApiFp, ArtifactsApi, AuthApiAxiosParamCreator, AuthApiFp, AuthApi, CodingPromptsApiAxiosParamCreator, CodingPromptsApiFp, CodingPromptsApi, ControllerAuthorizationApiAxiosParamCreator, ControllerAuthorizationApiFp, ControllerAuthorizationApi, ConversationsApiAxiosParamCreator2, ConversationsApiFp2, ConversationsApi2, DebugAdminApiAxiosParamCreator, DebugAdminApiFp, DebugAdminApi, DesignDocsApiAxiosParamCreator2, DesignDocsApiFp2, DesignDocsApi2, DevelopmentApiAxiosParamCreator, DevelopmentApiFp, DevelopmentApi, EntitiesApiAxiosParamCreator, EntitiesApiFp, EntitiesApi, EntityContextApiAxiosParamCreator2, EntityContextApiFp2, EntityContextApi2, EntityPromptTemplatesApiAxiosParamCreator2, EntityPromptTemplatesApiFp2, EntityPromptTemplatesApi, EventsApiAxiosParamCreator, EventsApiFp, EventsApi, ExecutionsApiAxiosParamCreator, ExecutionsApiFp, ExecutionsApi, HelpApiAxiosParamCreator, HelpApiFp, HelpApi, ImplementationHintsApiAxiosParamCreator, ImplementationHintsApiFp, ImplementationHintsApi, InitiativesApiAxiosParamCreator, InitiativesApiFp, InitiativesApi, IntegrationsApiAxiosParamCreator, IntegrationsApiFp, IntegrationsApi, InteractionFlowsApiAxiosParamCreator, InteractionFlowsApiFp, InteractionFlowsApi, MachinesApiAxiosParamCreator2, MachinesApiFp2, MachinesApi2, McpApiAxiosParamCreator, McpApiFp, McpApi, NotificationsApiAxiosParamCreator, NotificationsApiFp, NotificationsApi, OrganizationsApiAxiosParamCreator, OrganizationsApiFp, OrganizationsApi, PaymentProviderWebhooksApiAxiosParamCreator, PaymentProviderWebhooksApiFp, PaymentProviderWebhooksApi, PlansApiAxiosParamCreator2, PlansApiFp2, PlansApi2, PrivateBetaAccessApiAxiosParamCreator, PrivateBetaAccessApiFp, PrivateBetaAccessApi, ProjectReportsApiAxiosParamCreator2, ProjectReportsApiFp, ProjectReportsApi, ProjectsApiAxiosParamCreator2, ProjectsApiFp2, ProjectsApi2, ProposalsApiAxiosParamCreator, ProposalsApiFp, ProposalsApi, ReportBugsApiAxiosParamCreator, ReportBugsApiFp, ReportBugsApi, ReportsApiAxiosParamCreator, ReportsApiFp, ReportsApi, SearchApiAxiosParamCreator2, SearchApiFp2, SearchApi2, SecondaryActionsApiAxiosParamCreator, SecondaryActionsApiFp, SecondaryActionsApi, ServicesApiAxiosParamCreator, ServicesApiFp, ServicesApi, StagedContentApiAxiosParamCreator, StagedContentApiFp, StagedContentApi, StarsApiAxiosParamCreator, StarsApiFp, StarsApi, SuggestionsApiAxiosParamCreator, SuggestionsApiFp, SuggestionsApi, TagsApiAxiosParamCreator, TagsApiFp, TagsApi, TasksApiAxiosParamCreator2, TasksApiFp2, TasksApi2, TopologyApiAxiosParamCreator, TopologyApiFp, TopologyApi, UserSettingsApiAxiosParamCreator, UserSettingsApiFp, UserSettingsApi, ValidationSessionsApiAxiosParamCreator, ValidationSessionsApiFp, ValidationSessionsApi, WebhooksApiAxiosParamCreator, WebhooksApiFp, WebhooksApi, WorkItemRefinementApiAxiosParamCreator, WorkItemRefinementApiFp, WorkItemRefinementApi, WorkItemTypesApiAxiosParamCreator2, WorkItemTypesApiFp2, WorkItemTypesApi2, WorkflowsApiAxiosParamCreator, WorkflowsApiFp, WorkflowsApi, Configuration;
69362
- var init_chunk_NVZWIVFZ = __esm({
69363
- "../ui-common/dist/chunk-NVZWIVFZ.mjs"() {
69361
+ var BASE_PATH2, COLLECTION_FORMATS2, BaseAPI2, RequiredError3, operationServerMap2, DUMMY_BASE_URL2, assertParamExists2, setBearerAuthToObject2, setSearchParams2, serializeDataIfNeeded2, toPathString2, createRequestFunction2, ConversationStartRunRequestDtoProviderEnum2, CreateImplementationHintDtoSourceTypeEnum, DesignDocSectionUpdateSource, EvidenceItemTypeEnum, EvidenceItemSourceEnum, LocalPromptType, RunEntityReferenceEntityTypeEnum, TaskSectionUpdateSource2, WorkStatus2, WorkflowName2, ActivityCorrelationApiAxiosParamCreator, ActivityCorrelationApiFp, ActivityCorrelationApi, AgentEdgesApiAxiosParamCreator, AgentEdgesApiFp, AgentEdgesApi, AgentSessionsApiAxiosParamCreator2, AgentSessionsApiFp2, AgentSessionsApi2, AnalyticsApiAxiosParamCreator, AnalyticsApiFp, AnalyticsApi, ArtifactsApiAxiosParamCreator, ArtifactsApiFp, ArtifactsApi, AuthApiAxiosParamCreator, AuthApiFp, AuthApi, CodingPromptsApiAxiosParamCreator, CodingPromptsApiFp, CodingPromptsApi, ControllerAuthorizationApiAxiosParamCreator, ControllerAuthorizationApiFp, ControllerAuthorizationApi, ConversationsApiAxiosParamCreator2, ConversationsApiFp2, ConversationsApi2, DebugAdminApiAxiosParamCreator, DebugAdminApiFp, DebugAdminApi, DesignDocsApiAxiosParamCreator2, DesignDocsApiFp2, DesignDocsApi2, DevelopmentApiAxiosParamCreator, DevelopmentApiFp, DevelopmentApi, EntitiesApiAxiosParamCreator, EntitiesApiFp, EntitiesApi, EntityContextApiAxiosParamCreator2, EntityContextApiFp2, EntityContextApi2, EntityPromptTemplatesApiAxiosParamCreator2, EntityPromptTemplatesApiFp2, EntityPromptTemplatesApi, EventsApiAxiosParamCreator, EventsApiFp, EventsApi, ExecutionsApiAxiosParamCreator, ExecutionsApiFp, ExecutionsApi, HelpApiAxiosParamCreator, HelpApiFp, HelpApi, ImplementationHintsApiAxiosParamCreator, ImplementationHintsApiFp, ImplementationHintsApi, InitiativesApiAxiosParamCreator, InitiativesApiFp, InitiativesApi, IntegrationsApiAxiosParamCreator, IntegrationsApiFp, IntegrationsApi, InteractionFlowsApiAxiosParamCreator, InteractionFlowsApiFp, InteractionFlowsApi, MachinesApiAxiosParamCreator2, MachinesApiFp2, MachinesApi2, McpApiAxiosParamCreator, McpApiFp, McpApi, NotificationsApiAxiosParamCreator, NotificationsApiFp, NotificationsApi, OpenItemsApiAxiosParamCreator, OpenItemsApiFp, OpenItemsApi, OrganizationsApiAxiosParamCreator, OrganizationsApiFp, OrganizationsApi, PaymentProviderWebhooksApiAxiosParamCreator, PaymentProviderWebhooksApiFp, PaymentProviderWebhooksApi, PlansApiAxiosParamCreator2, PlansApiFp2, PlansApi2, PrivateBetaAccessApiAxiosParamCreator, PrivateBetaAccessApiFp, PrivateBetaAccessApi, ProjectReportsApiAxiosParamCreator2, ProjectReportsApiFp, ProjectReportsApi, ProjectsApiAxiosParamCreator2, ProjectsApiFp2, ProjectsApi2, ProposalsApiAxiosParamCreator, ProposalsApiFp, ProposalsApi, ReportBugsApiAxiosParamCreator, ReportBugsApiFp, ReportBugsApi, ReportsApiAxiosParamCreator, ReportsApiFp, ReportsApi, SearchApiAxiosParamCreator2, SearchApiFp2, SearchApi2, SecondaryActionsApiAxiosParamCreator, SecondaryActionsApiFp, SecondaryActionsApi, ServicesApiAxiosParamCreator, ServicesApiFp, ServicesApi, StagedContentApiAxiosParamCreator, StagedContentApiFp, StagedContentApi, StarsApiAxiosParamCreator, StarsApiFp, StarsApi, SuggestionsApiAxiosParamCreator, SuggestionsApiFp, SuggestionsApi, TagsApiAxiosParamCreator, TagsApiFp, TagsApi, TasksApiAxiosParamCreator2, TasksApiFp2, TasksApi2, TopologyApiAxiosParamCreator, TopologyApiFp, TopologyApi, UserSettingsApiAxiosParamCreator, UserSettingsApiFp, UserSettingsApi, ValidationSessionsApiAxiosParamCreator, ValidationSessionsApiFp, ValidationSessionsApi, WebhooksApiAxiosParamCreator, WebhooksApiFp, WebhooksApi, WorkItemRefinementApiAxiosParamCreator, WorkItemRefinementApiFp, WorkItemRefinementApi, WorkItemTypesApiAxiosParamCreator2, WorkItemTypesApiFp2, WorkItemTypesApi2, WorkflowsApiAxiosParamCreator, WorkflowsApiFp, WorkflowsApi, Configuration;
69362
+ var init_chunk_PN55B4MR = __esm({
69363
+ "../ui-common/dist/chunk-PN55B4MR.mjs"() {
69364
69364
  "use strict";
69365
69365
  init_axios4();
69366
69366
  init_axios4();
@@ -85323,6 +85323,1020 @@ var init_chunk_NVZWIVFZ = __esm({
85323
85323
  return NotificationsApiFp(this.configuration).updateUserNotificationPreferences(requestParameters.organizationId, requestParameters.id, requestParameters.updateNotificationPreferencesDto, options).then((request) => request(this.axios, this.basePath));
85324
85324
  }
85325
85325
  };
85326
+ OpenItemsApiAxiosParamCreator = function(configuration) {
85327
+ return {
85328
+ /**
85329
+ * Scoped to the authenticated user and authorized project. New or reopened entries inherit the nearest already-open ancestor\'s canonical group from validated lineage and receive a server-assigned member position. Already-live entries refresh lineage and presentation while preserving note, pin, ordering, and explicit membership, including ungrouping. Returns every affected canonical row.
85330
+ * @summary Activate an Open Item
85331
+ * @param {string} organizationId Organization ID
85332
+ * @param {string} projectId Project ID
85333
+ * @param {ActivateOpenItemRequest} activateOpenItemRequest
85334
+ * @param {*} [options] Override http request option.
85335
+ * @throws {RequiredError}
85336
+ */
85337
+ activateOpenItem: async (organizationId, projectId, activateOpenItemRequest, options = {}) => {
85338
+ assertParamExists2("activateOpenItem", "organizationId", organizationId);
85339
+ assertParamExists2("activateOpenItem", "projectId", projectId);
85340
+ assertParamExists2("activateOpenItem", "activateOpenItemRequest", activateOpenItemRequest);
85341
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/activations`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
85342
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85343
+ let baseOptions;
85344
+ if (configuration) {
85345
+ baseOptions = configuration.baseOptions;
85346
+ }
85347
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85348
+ const localVarHeaderParameter = {};
85349
+ const localVarQueryParameter = {};
85350
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85351
+ localVarHeaderParameter["Content-Type"] = "application/json";
85352
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85353
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85354
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85355
+ localVarRequestOptions.data = serializeDataIfNeeded2(activateOpenItemRequest, localVarRequestOptions, configuration);
85356
+ return {
85357
+ url: toPathString2(localVarUrlObj),
85358
+ options: localVarRequestOptions
85359
+ };
85360
+ },
85361
+ /**
85362
+ * Scoped to the authenticated user and authorized project. Item-state premises. Server also assigns currently open nested descendants.
85363
+ * @summary Assign Open Items to a virtual group
85364
+ * @param {string} organizationId Organization ID
85365
+ * @param {string} projectId Project ID
85366
+ * @param {string} groupId Virtual group ID
85367
+ * @param {AssignOpenItemsToGroupRequest} assignOpenItemsToGroupRequest
85368
+ * @param {*} [options] Override http request option.
85369
+ * @throws {RequiredError}
85370
+ */
85371
+ assignOpenItemsToGroup: async (organizationId, projectId, groupId, assignOpenItemsToGroupRequest, options = {}) => {
85372
+ assertParamExists2("assignOpenItemsToGroup", "organizationId", organizationId);
85373
+ assertParamExists2("assignOpenItemsToGroup", "projectId", projectId);
85374
+ assertParamExists2("assignOpenItemsToGroup", "groupId", groupId);
85375
+ assertParamExists2("assignOpenItemsToGroup", "assignOpenItemsToGroupRequest", assignOpenItemsToGroupRequest);
85376
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups/{groupId}/assign`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
85377
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85378
+ let baseOptions;
85379
+ if (configuration) {
85380
+ baseOptions = configuration.baseOptions;
85381
+ }
85382
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85383
+ const localVarHeaderParameter = {};
85384
+ const localVarQueryParameter = {};
85385
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85386
+ localVarHeaderParameter["Content-Type"] = "application/json";
85387
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85388
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85389
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85390
+ localVarRequestOptions.data = serializeDataIfNeeded2(assignOpenItemsToGroupRequest, localVarRequestOptions, configuration);
85391
+ return {
85392
+ url: toPathString2(localVarUrlObj),
85393
+ options: localVarRequestOptions
85394
+ };
85395
+ },
85396
+ /**
85397
+ * Scoped to the authenticated user and authorized project. Idempotency key only; optional same-transaction assignment uses item-state premises.
85398
+ * @summary Create a virtual group
85399
+ * @param {string} organizationId Organization ID
85400
+ * @param {string} projectId Project ID
85401
+ * @param {CreateOpenItemGroupRequest} createOpenItemGroupRequest
85402
+ * @param {*} [options] Override http request option.
85403
+ * @throws {RequiredError}
85404
+ */
85405
+ createOpenItemGroup: async (organizationId, projectId, createOpenItemGroupRequest, options = {}) => {
85406
+ assertParamExists2("createOpenItemGroup", "organizationId", organizationId);
85407
+ assertParamExists2("createOpenItemGroup", "projectId", projectId);
85408
+ assertParamExists2("createOpenItemGroup", "createOpenItemGroupRequest", createOpenItemGroupRequest);
85409
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
85410
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85411
+ let baseOptions;
85412
+ if (configuration) {
85413
+ baseOptions = configuration.baseOptions;
85414
+ }
85415
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85416
+ const localVarHeaderParameter = {};
85417
+ const localVarQueryParameter = {};
85418
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85419
+ localVarHeaderParameter["Content-Type"] = "application/json";
85420
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85422
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85423
+ localVarRequestOptions.data = serializeDataIfNeeded2(createOpenItemGroupRequest, localVarRequestOptions, configuration);
85424
+ return {
85425
+ url: toPathString2(localVarUrlObj),
85426
+ options: localVarRequestOptions
85427
+ };
85428
+ },
85429
+ /**
85430
+ * Scoped to the authenticated user and authorized project. Group-revision premise. Members are ungrouped, not removed.
85431
+ * @summary Delete a virtual group
85432
+ * @param {string} organizationId Organization ID
85433
+ * @param {string} projectId Project ID
85434
+ * @param {string} groupId Virtual group ID
85435
+ * @param {DeleteOpenItemGroupRequest} deleteOpenItemGroupRequest
85436
+ * @param {*} [options] Override http request option.
85437
+ * @throws {RequiredError}
85438
+ */
85439
+ deleteOpenItemGroup: async (organizationId, projectId, groupId, deleteOpenItemGroupRequest, options = {}) => {
85440
+ assertParamExists2("deleteOpenItemGroup", "organizationId", organizationId);
85441
+ assertParamExists2("deleteOpenItemGroup", "projectId", projectId);
85442
+ assertParamExists2("deleteOpenItemGroup", "groupId", groupId);
85443
+ assertParamExists2("deleteOpenItemGroup", "deleteOpenItemGroupRequest", deleteOpenItemGroupRequest);
85444
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups/{groupId}/delete`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
85445
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85446
+ let baseOptions;
85447
+ if (configuration) {
85448
+ baseOptions = configuration.baseOptions;
85449
+ }
85450
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85451
+ const localVarHeaderParameter = {};
85452
+ const localVarQueryParameter = {};
85453
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85454
+ localVarHeaderParameter["Content-Type"] = "application/json";
85455
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85456
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85457
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85458
+ localVarRequestOptions.data = serializeDataIfNeeded2(deleteOpenItemGroupRequest, localVarRequestOptions, configuration);
85459
+ return {
85460
+ url: toPathString2(localVarUrlObj),
85461
+ options: localVarRequestOptions
85462
+ };
85463
+ },
85464
+ /**
85465
+ * Scoped to the authenticated user and authorized project. Returns ABSENT when no collection exists for the authenticated user and project, otherwise the canonical items, virtual groups, and collection revision.
85466
+ * @summary Read the canonical Open Items collection
85467
+ * @param {string} organizationId Organization ID
85468
+ * @param {string} projectId Project ID
85469
+ * @param {*} [options] Override http request option.
85470
+ * @throws {RequiredError}
85471
+ */
85472
+ getOpenItems: async (organizationId, projectId, options = {}) => {
85473
+ assertParamExists2("getOpenItems", "organizationId", organizationId);
85474
+ assertParamExists2("getOpenItems", "projectId", projectId);
85475
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
85476
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85477
+ let baseOptions;
85478
+ if (configuration) {
85479
+ baseOptions = configuration.baseOptions;
85480
+ }
85481
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
85482
+ const localVarHeaderParameter = {};
85483
+ const localVarQueryParameter = {};
85484
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85485
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85486
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85487
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85488
+ return {
85489
+ url: toPathString2(localVarUrlObj),
85490
+ options: localVarRequestOptions
85491
+ };
85492
+ },
85493
+ /**
85494
+ * Scoped to the authenticated user and authorized project. One-time atomic import of items and group state; only when the collection is ABSENT.
85495
+ * @summary Migrate browser-local Open Items
85496
+ * @param {string} organizationId Organization ID
85497
+ * @param {string} projectId Project ID
85498
+ * @param {MigrateOpenItemsRequest} migrateOpenItemsRequest
85499
+ * @param {*} [options] Override http request option.
85500
+ * @throws {RequiredError}
85501
+ */
85502
+ migrateOpenItems: async (organizationId, projectId, migrateOpenItemsRequest, options = {}) => {
85503
+ assertParamExists2("migrateOpenItems", "organizationId", organizationId);
85504
+ assertParamExists2("migrateOpenItems", "projectId", projectId);
85505
+ assertParamExists2("migrateOpenItems", "migrateOpenItemsRequest", migrateOpenItemsRequest);
85506
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/migration`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
85507
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85508
+ let baseOptions;
85509
+ if (configuration) {
85510
+ baseOptions = configuration.baseOptions;
85511
+ }
85512
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85513
+ const localVarHeaderParameter = {};
85514
+ const localVarQueryParameter = {};
85515
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85516
+ localVarHeaderParameter["Content-Type"] = "application/json";
85517
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85518
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85519
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85520
+ localVarRequestOptions.data = serializeDataIfNeeded2(migrateOpenItemsRequest, localVarRequestOptions, configuration);
85521
+ return {
85522
+ url: toPathString2(localVarUrlObj),
85523
+ options: localVarRequestOptions
85524
+ };
85525
+ },
85526
+ /**
85527
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
85528
+ * @summary Move an Open Item
85529
+ * @param {string} organizationId Organization ID
85530
+ * @param {string} projectId Project ID
85531
+ * @param {EntityType} entityType Open Item entity type
85532
+ * @param {string} entityId Open Item entity ID
85533
+ * @param {MoveOpenItemRequest} moveOpenItemRequest
85534
+ * @param {*} [options] Override http request option.
85535
+ * @throws {RequiredError}
85536
+ */
85537
+ moveOpenItem: async (organizationId, projectId, entityType2, entityId, moveOpenItemRequest, options = {}) => {
85538
+ assertParamExists2("moveOpenItem", "organizationId", organizationId);
85539
+ assertParamExists2("moveOpenItem", "projectId", projectId);
85540
+ assertParamExists2("moveOpenItem", "entityType", entityType2);
85541
+ assertParamExists2("moveOpenItem", "entityId", entityId);
85542
+ assertParamExists2("moveOpenItem", "moveOpenItemRequest", moveOpenItemRequest);
85543
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/items/{entityType}/{entityId}/move`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"entityType"}}`, encodeURIComponent(String(entityType2))).replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
85544
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85545
+ let baseOptions;
85546
+ if (configuration) {
85547
+ baseOptions = configuration.baseOptions;
85548
+ }
85549
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85550
+ const localVarHeaderParameter = {};
85551
+ const localVarQueryParameter = {};
85552
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85553
+ localVarHeaderParameter["Content-Type"] = "application/json";
85554
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85555
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85556
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85557
+ localVarRequestOptions.data = serializeDataIfNeeded2(moveOpenItemRequest, localVarRequestOptions, configuration);
85558
+ return {
85559
+ url: toPathString2(localVarUrlObj),
85560
+ options: localVarRequestOptions
85561
+ };
85562
+ },
85563
+ /**
85564
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
85565
+ * @summary Reorder a virtual group
85566
+ * @param {string} organizationId Organization ID
85567
+ * @param {string} projectId Project ID
85568
+ * @param {string} groupId Virtual group ID
85569
+ * @param {MoveOpenItemGroupRequest} moveOpenItemGroupRequest
85570
+ * @param {*} [options] Override http request option.
85571
+ * @throws {RequiredError}
85572
+ */
85573
+ moveOpenItemGroup: async (organizationId, projectId, groupId, moveOpenItemGroupRequest, options = {}) => {
85574
+ assertParamExists2("moveOpenItemGroup", "organizationId", organizationId);
85575
+ assertParamExists2("moveOpenItemGroup", "projectId", projectId);
85576
+ assertParamExists2("moveOpenItemGroup", "groupId", groupId);
85577
+ assertParamExists2("moveOpenItemGroup", "moveOpenItemGroupRequest", moveOpenItemGroupRequest);
85578
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups/{groupId}/move`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
85579
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85580
+ let baseOptions;
85581
+ if (configuration) {
85582
+ baseOptions = configuration.baseOptions;
85583
+ }
85584
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85585
+ const localVarHeaderParameter = {};
85586
+ const localVarQueryParameter = {};
85587
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85588
+ localVarHeaderParameter["Content-Type"] = "application/json";
85589
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85590
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85591
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85592
+ localVarRequestOptions.data = serializeDataIfNeeded2(moveOpenItemGroupRequest, localVarRequestOptions, configuration);
85593
+ return {
85594
+ url: toPathString2(localVarUrlObj),
85595
+ options: localVarRequestOptions
85596
+ };
85597
+ },
85598
+ /**
85599
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
85600
+ * @summary Reorder a virtual group member
85601
+ * @param {string} organizationId Organization ID
85602
+ * @param {string} projectId Project ID
85603
+ * @param {EntityType} entityType Open Item entity type
85604
+ * @param {string} entityId Open Item entity ID
85605
+ * @param {string} groupId Virtual group ID
85606
+ * @param {MoveOpenItemGroupMemberRequest} moveOpenItemGroupMemberRequest
85607
+ * @param {*} [options] Override http request option.
85608
+ * @throws {RequiredError}
85609
+ */
85610
+ moveOpenItemGroupMember: async (organizationId, projectId, entityType2, entityId, groupId, moveOpenItemGroupMemberRequest, options = {}) => {
85611
+ assertParamExists2("moveOpenItemGroupMember", "organizationId", organizationId);
85612
+ assertParamExists2("moveOpenItemGroupMember", "projectId", projectId);
85613
+ assertParamExists2("moveOpenItemGroupMember", "entityType", entityType2);
85614
+ assertParamExists2("moveOpenItemGroupMember", "entityId", entityId);
85615
+ assertParamExists2("moveOpenItemGroupMember", "groupId", groupId);
85616
+ assertParamExists2("moveOpenItemGroupMember", "moveOpenItemGroupMemberRequest", moveOpenItemGroupMemberRequest);
85617
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups/{groupId}/members/{entityType}/{entityId}/move`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"entityType"}}`, encodeURIComponent(String(entityType2))).replace(`{${"entityId"}}`, encodeURIComponent(String(entityId))).replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
85618
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85619
+ let baseOptions;
85620
+ if (configuration) {
85621
+ baseOptions = configuration.baseOptions;
85622
+ }
85623
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85624
+ const localVarHeaderParameter = {};
85625
+ const localVarQueryParameter = {};
85626
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85627
+ localVarHeaderParameter["Content-Type"] = "application/json";
85628
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85629
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85630
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85631
+ localVarRequestOptions.data = serializeDataIfNeeded2(moveOpenItemGroupMemberRequest, localVarRequestOptions, configuration);
85632
+ return {
85633
+ url: toPathString2(localVarUrlObj),
85634
+ options: localVarRequestOptions
85635
+ };
85636
+ },
85637
+ /**
85638
+ * Scoped to the authenticated user and authorized project. Server derives removed descendants from stored lineage: unpinned ungrouped and same-group descendants are removed; pinned and different-group descendants are retained. Returns every affected canonical row.
85639
+ * @summary Remove an Open Item
85640
+ * @param {string} organizationId Organization ID
85641
+ * @param {string} projectId Project ID
85642
+ * @param {EntityType} entityType Open Item entity type
85643
+ * @param {string} entityId Open Item entity ID
85644
+ * @param {RemoveOpenItemRequest} removeOpenItemRequest
85645
+ * @param {*} [options] Override http request option.
85646
+ * @throws {RequiredError}
85647
+ */
85648
+ removeOpenItem: async (organizationId, projectId, entityType2, entityId, removeOpenItemRequest, options = {}) => {
85649
+ assertParamExists2("removeOpenItem", "organizationId", organizationId);
85650
+ assertParamExists2("removeOpenItem", "projectId", projectId);
85651
+ assertParamExists2("removeOpenItem", "entityType", entityType2);
85652
+ assertParamExists2("removeOpenItem", "entityId", entityId);
85653
+ assertParamExists2("removeOpenItem", "removeOpenItemRequest", removeOpenItemRequest);
85654
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/items/{entityType}/{entityId}/remove`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"entityType"}}`, encodeURIComponent(String(entityType2))).replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
85655
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85656
+ let baseOptions;
85657
+ if (configuration) {
85658
+ baseOptions = configuration.baseOptions;
85659
+ }
85660
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85661
+ const localVarHeaderParameter = {};
85662
+ const localVarQueryParameter = {};
85663
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85664
+ localVarHeaderParameter["Content-Type"] = "application/json";
85665
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85666
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85667
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85668
+ localVarRequestOptions.data = serializeDataIfNeeded2(removeOpenItemRequest, localVarRequestOptions, configuration);
85669
+ return {
85670
+ url: toPathString2(localVarUrlObj),
85671
+ options: localVarRequestOptions
85672
+ };
85673
+ },
85674
+ /**
85675
+ * Scoped to the authenticated user and authorized project. Group-revision premise.
85676
+ * @summary Rename a virtual group
85677
+ * @param {string} organizationId Organization ID
85678
+ * @param {string} projectId Project ID
85679
+ * @param {string} groupId Virtual group ID
85680
+ * @param {RenameOpenItemGroupRequest} renameOpenItemGroupRequest
85681
+ * @param {*} [options] Override http request option.
85682
+ * @throws {RequiredError}
85683
+ */
85684
+ renameOpenItemGroup: async (organizationId, projectId, groupId, renameOpenItemGroupRequest, options = {}) => {
85685
+ assertParamExists2("renameOpenItemGroup", "organizationId", organizationId);
85686
+ assertParamExists2("renameOpenItemGroup", "projectId", projectId);
85687
+ assertParamExists2("renameOpenItemGroup", "groupId", groupId);
85688
+ assertParamExists2("renameOpenItemGroup", "renameOpenItemGroupRequest", renameOpenItemGroupRequest);
85689
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups/{groupId}/rename`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
85690
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85691
+ let baseOptions;
85692
+ if (configuration) {
85693
+ baseOptions = configuration.baseOptions;
85694
+ }
85695
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85696
+ const localVarHeaderParameter = {};
85697
+ const localVarQueryParameter = {};
85698
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85699
+ localVarHeaderParameter["Content-Type"] = "application/json";
85700
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85701
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85702
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85703
+ localVarRequestOptions.data = serializeDataIfNeeded2(renameOpenItemGroupRequest, localVarRequestOptions, configuration);
85704
+ return {
85705
+ url: toPathString2(localVarUrlObj),
85706
+ options: localVarRequestOptions
85707
+ };
85708
+ },
85709
+ /**
85710
+ * Scoped to the authenticated user and authorized project. Collection-revision premise. Clears items and all group state.
85711
+ * @summary Reset Open Items
85712
+ * @param {string} organizationId Organization ID
85713
+ * @param {string} projectId Project ID
85714
+ * @param {ResetOpenItemsRequest} resetOpenItemsRequest
85715
+ * @param {*} [options] Override http request option.
85716
+ * @throws {RequiredError}
85717
+ */
85718
+ resetOpenItems: async (organizationId, projectId, resetOpenItemsRequest, options = {}) => {
85719
+ assertParamExists2("resetOpenItems", "organizationId", organizationId);
85720
+ assertParamExists2("resetOpenItems", "projectId", projectId);
85721
+ assertParamExists2("resetOpenItems", "resetOpenItemsRequest", resetOpenItemsRequest);
85722
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/reset`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
85723
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85724
+ let baseOptions;
85725
+ if (configuration) {
85726
+ baseOptions = configuration.baseOptions;
85727
+ }
85728
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85729
+ const localVarHeaderParameter = {};
85730
+ const localVarQueryParameter = {};
85731
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85732
+ localVarHeaderParameter["Content-Type"] = "application/json";
85733
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85734
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85735
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85736
+ localVarRequestOptions.data = serializeDataIfNeeded2(resetOpenItemsRequest, localVarRequestOptions, configuration);
85737
+ return {
85738
+ url: toPathString2(localVarUrlObj),
85739
+ options: localVarRequestOptions
85740
+ };
85741
+ },
85742
+ /**
85743
+ * Scoped to the authenticated user and authorized project. Group-revision premise.
85744
+ * @summary Collapse or expand a virtual group
85745
+ * @param {string} organizationId Organization ID
85746
+ * @param {string} projectId Project ID
85747
+ * @param {string} groupId Virtual group ID
85748
+ * @param {SetOpenItemGroupDisclosureRequest} setOpenItemGroupDisclosureRequest
85749
+ * @param {*} [options] Override http request option.
85750
+ * @throws {RequiredError}
85751
+ */
85752
+ setOpenItemGroupDisclosure: async (organizationId, projectId, groupId, setOpenItemGroupDisclosureRequest, options = {}) => {
85753
+ assertParamExists2("setOpenItemGroupDisclosure", "organizationId", organizationId);
85754
+ assertParamExists2("setOpenItemGroupDisclosure", "projectId", projectId);
85755
+ assertParamExists2("setOpenItemGroupDisclosure", "groupId", groupId);
85756
+ assertParamExists2("setOpenItemGroupDisclosure", "setOpenItemGroupDisclosureRequest", setOpenItemGroupDisclosureRequest);
85757
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/groups/{groupId}/disclosure`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
85758
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85759
+ let baseOptions;
85760
+ if (configuration) {
85761
+ baseOptions = configuration.baseOptions;
85762
+ }
85763
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85764
+ const localVarHeaderParameter = {};
85765
+ const localVarQueryParameter = {};
85766
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85767
+ localVarHeaderParameter["Content-Type"] = "application/json";
85768
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85769
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85770
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85771
+ localVarRequestOptions.data = serializeDataIfNeeded2(setOpenItemGroupDisclosureRequest, localVarRequestOptions, configuration);
85772
+ return {
85773
+ url: toPathString2(localVarUrlObj),
85774
+ options: localVarRequestOptions
85775
+ };
85776
+ },
85777
+ /**
85778
+ * Scoped to the authenticated user and authorized project. Item-state premise.
85779
+ * @summary Set an Open Item note
85780
+ * @param {string} organizationId Organization ID
85781
+ * @param {string} projectId Project ID
85782
+ * @param {EntityType} entityType Open Item entity type
85783
+ * @param {string} entityId Open Item entity ID
85784
+ * @param {SetOpenItemNoteRequest} setOpenItemNoteRequest
85785
+ * @param {*} [options] Override http request option.
85786
+ * @throws {RequiredError}
85787
+ */
85788
+ setOpenItemNote: async (organizationId, projectId, entityType2, entityId, setOpenItemNoteRequest, options = {}) => {
85789
+ assertParamExists2("setOpenItemNote", "organizationId", organizationId);
85790
+ assertParamExists2("setOpenItemNote", "projectId", projectId);
85791
+ assertParamExists2("setOpenItemNote", "entityType", entityType2);
85792
+ assertParamExists2("setOpenItemNote", "entityId", entityId);
85793
+ assertParamExists2("setOpenItemNote", "setOpenItemNoteRequest", setOpenItemNoteRequest);
85794
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/items/{entityType}/{entityId}/note`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"entityType"}}`, encodeURIComponent(String(entityType2))).replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
85795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85796
+ let baseOptions;
85797
+ if (configuration) {
85798
+ baseOptions = configuration.baseOptions;
85799
+ }
85800
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85801
+ const localVarHeaderParameter = {};
85802
+ const localVarQueryParameter = {};
85803
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85804
+ localVarHeaderParameter["Content-Type"] = "application/json";
85805
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85806
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85807
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85808
+ localVarRequestOptions.data = serializeDataIfNeeded2(setOpenItemNoteRequest, localVarRequestOptions, configuration);
85809
+ return {
85810
+ url: toPathString2(localVarUrlObj),
85811
+ options: localVarRequestOptions
85812
+ };
85813
+ },
85814
+ /**
85815
+ * Scoped to the authenticated user and authorized project. Item-state premise.
85816
+ * @summary Pin or unpin an Open Item
85817
+ * @param {string} organizationId Organization ID
85818
+ * @param {string} projectId Project ID
85819
+ * @param {EntityType} entityType Open Item entity type
85820
+ * @param {string} entityId Open Item entity ID
85821
+ * @param {SetOpenItemPinRequest} setOpenItemPinRequest
85822
+ * @param {*} [options] Override http request option.
85823
+ * @throws {RequiredError}
85824
+ */
85825
+ setOpenItemPin: async (organizationId, projectId, entityType2, entityId, setOpenItemPinRequest, options = {}) => {
85826
+ assertParamExists2("setOpenItemPin", "organizationId", organizationId);
85827
+ assertParamExists2("setOpenItemPin", "projectId", projectId);
85828
+ assertParamExists2("setOpenItemPin", "entityType", entityType2);
85829
+ assertParamExists2("setOpenItemPin", "entityId", entityId);
85830
+ assertParamExists2("setOpenItemPin", "setOpenItemPinRequest", setOpenItemPinRequest);
85831
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/items/{entityType}/{entityId}/pin`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))).replace(`{${"entityType"}}`, encodeURIComponent(String(entityType2))).replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
85832
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85833
+ let baseOptions;
85834
+ if (configuration) {
85835
+ baseOptions = configuration.baseOptions;
85836
+ }
85837
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85838
+ const localVarHeaderParameter = {};
85839
+ const localVarQueryParameter = {};
85840
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85841
+ localVarHeaderParameter["Content-Type"] = "application/json";
85842
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85843
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85844
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85845
+ localVarRequestOptions.data = serializeDataIfNeeded2(setOpenItemPinRequest, localVarRequestOptions, configuration);
85846
+ return {
85847
+ url: toPathString2(localVarUrlObj),
85848
+ options: localVarRequestOptions
85849
+ };
85850
+ },
85851
+ /**
85852
+ * Scoped to the authenticated user and authorized project. Item-state premises.
85853
+ * @summary Ungroup Open Items
85854
+ * @param {string} organizationId Organization ID
85855
+ * @param {string} projectId Project ID
85856
+ * @param {UngroupOpenItemsRequest} ungroupOpenItemsRequest
85857
+ * @param {*} [options] Override http request option.
85858
+ * @throws {RequiredError}
85859
+ */
85860
+ ungroupOpenItems: async (organizationId, projectId, ungroupOpenItemsRequest, options = {}) => {
85861
+ assertParamExists2("ungroupOpenItems", "organizationId", organizationId);
85862
+ assertParamExists2("ungroupOpenItems", "projectId", projectId);
85863
+ assertParamExists2("ungroupOpenItems", "ungroupOpenItemsRequest", ungroupOpenItemsRequest);
85864
+ const localVarPath = `/organizations/{organizationId}/projects/{projectId}/open-items/ungroup`.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId))).replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
85865
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL2);
85866
+ let baseOptions;
85867
+ if (configuration) {
85868
+ baseOptions = configuration.baseOptions;
85869
+ }
85870
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
85871
+ const localVarHeaderParameter = {};
85872
+ const localVarQueryParameter = {};
85873
+ await setBearerAuthToObject2(localVarHeaderParameter, configuration);
85874
+ localVarHeaderParameter["Content-Type"] = "application/json";
85875
+ setSearchParams2(localVarUrlObj, localVarQueryParameter);
85876
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85877
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85878
+ localVarRequestOptions.data = serializeDataIfNeeded2(ungroupOpenItemsRequest, localVarRequestOptions, configuration);
85879
+ return {
85880
+ url: toPathString2(localVarUrlObj),
85881
+ options: localVarRequestOptions
85882
+ };
85883
+ }
85884
+ };
85885
+ };
85886
+ OpenItemsApiFp = function(configuration) {
85887
+ const localVarAxiosParamCreator = OpenItemsApiAxiosParamCreator(configuration);
85888
+ return {
85889
+ /**
85890
+ * Scoped to the authenticated user and authorized project. New or reopened entries inherit the nearest already-open ancestor\'s canonical group from validated lineage and receive a server-assigned member position. Already-live entries refresh lineage and presentation while preserving note, pin, ordering, and explicit membership, including ungrouping. Returns every affected canonical row.
85891
+ * @summary Activate an Open Item
85892
+ * @param {string} organizationId Organization ID
85893
+ * @param {string} projectId Project ID
85894
+ * @param {ActivateOpenItemRequest} activateOpenItemRequest
85895
+ * @param {*} [options] Override http request option.
85896
+ * @throws {RequiredError}
85897
+ */
85898
+ async activateOpenItem(organizationId, projectId, activateOpenItemRequest, options) {
85899
+ var _a, _b, _c;
85900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.activateOpenItem(organizationId, projectId, activateOpenItemRequest, options);
85901
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
85902
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.activateOpenItem"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
85903
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
85904
+ },
85905
+ /**
85906
+ * Scoped to the authenticated user and authorized project. Item-state premises. Server also assigns currently open nested descendants.
85907
+ * @summary Assign Open Items to a virtual group
85908
+ * @param {string} organizationId Organization ID
85909
+ * @param {string} projectId Project ID
85910
+ * @param {string} groupId Virtual group ID
85911
+ * @param {AssignOpenItemsToGroupRequest} assignOpenItemsToGroupRequest
85912
+ * @param {*} [options] Override http request option.
85913
+ * @throws {RequiredError}
85914
+ */
85915
+ async assignOpenItemsToGroup(organizationId, projectId, groupId, assignOpenItemsToGroupRequest, options) {
85916
+ var _a, _b, _c;
85917
+ const localVarAxiosArgs = await localVarAxiosParamCreator.assignOpenItemsToGroup(organizationId, projectId, groupId, assignOpenItemsToGroupRequest, options);
85918
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
85919
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.assignOpenItemsToGroup"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
85920
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
85921
+ },
85922
+ /**
85923
+ * Scoped to the authenticated user and authorized project. Idempotency key only; optional same-transaction assignment uses item-state premises.
85924
+ * @summary Create a virtual group
85925
+ * @param {string} organizationId Organization ID
85926
+ * @param {string} projectId Project ID
85927
+ * @param {CreateOpenItemGroupRequest} createOpenItemGroupRequest
85928
+ * @param {*} [options] Override http request option.
85929
+ * @throws {RequiredError}
85930
+ */
85931
+ async createOpenItemGroup(organizationId, projectId, createOpenItemGroupRequest, options) {
85932
+ var _a, _b, _c;
85933
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenItemGroup(organizationId, projectId, createOpenItemGroupRequest, options);
85934
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
85935
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.createOpenItemGroup"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
85936
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
85937
+ },
85938
+ /**
85939
+ * Scoped to the authenticated user and authorized project. Group-revision premise. Members are ungrouped, not removed.
85940
+ * @summary Delete a virtual group
85941
+ * @param {string} organizationId Organization ID
85942
+ * @param {string} projectId Project ID
85943
+ * @param {string} groupId Virtual group ID
85944
+ * @param {DeleteOpenItemGroupRequest} deleteOpenItemGroupRequest
85945
+ * @param {*} [options] Override http request option.
85946
+ * @throws {RequiredError}
85947
+ */
85948
+ async deleteOpenItemGroup(organizationId, projectId, groupId, deleteOpenItemGroupRequest, options) {
85949
+ var _a, _b, _c;
85950
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOpenItemGroup(organizationId, projectId, groupId, deleteOpenItemGroupRequest, options);
85951
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
85952
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.deleteOpenItemGroup"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
85953
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
85954
+ },
85955
+ /**
85956
+ * Scoped to the authenticated user and authorized project. Returns ABSENT when no collection exists for the authenticated user and project, otherwise the canonical items, virtual groups, and collection revision.
85957
+ * @summary Read the canonical Open Items collection
85958
+ * @param {string} organizationId Organization ID
85959
+ * @param {string} projectId Project ID
85960
+ * @param {*} [options] Override http request option.
85961
+ * @throws {RequiredError}
85962
+ */
85963
+ async getOpenItems(organizationId, projectId, options) {
85964
+ var _a, _b, _c;
85965
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOpenItems(organizationId, projectId, options);
85966
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
85967
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.getOpenItems"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
85968
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
85969
+ },
85970
+ /**
85971
+ * Scoped to the authenticated user and authorized project. One-time atomic import of items and group state; only when the collection is ABSENT.
85972
+ * @summary Migrate browser-local Open Items
85973
+ * @param {string} organizationId Organization ID
85974
+ * @param {string} projectId Project ID
85975
+ * @param {MigrateOpenItemsRequest} migrateOpenItemsRequest
85976
+ * @param {*} [options] Override http request option.
85977
+ * @throws {RequiredError}
85978
+ */
85979
+ async migrateOpenItems(organizationId, projectId, migrateOpenItemsRequest, options) {
85980
+ var _a, _b, _c;
85981
+ const localVarAxiosArgs = await localVarAxiosParamCreator.migrateOpenItems(organizationId, projectId, migrateOpenItemsRequest, options);
85982
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
85983
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.migrateOpenItems"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
85984
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
85985
+ },
85986
+ /**
85987
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
85988
+ * @summary Move an Open Item
85989
+ * @param {string} organizationId Organization ID
85990
+ * @param {string} projectId Project ID
85991
+ * @param {EntityType} entityType Open Item entity type
85992
+ * @param {string} entityId Open Item entity ID
85993
+ * @param {MoveOpenItemRequest} moveOpenItemRequest
85994
+ * @param {*} [options] Override http request option.
85995
+ * @throws {RequiredError}
85996
+ */
85997
+ async moveOpenItem(organizationId, projectId, entityType2, entityId, moveOpenItemRequest, options) {
85998
+ var _a, _b, _c;
85999
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveOpenItem(organizationId, projectId, entityType2, entityId, moveOpenItemRequest, options);
86000
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86001
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.moveOpenItem"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86002
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86003
+ },
86004
+ /**
86005
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
86006
+ * @summary Reorder a virtual group
86007
+ * @param {string} organizationId Organization ID
86008
+ * @param {string} projectId Project ID
86009
+ * @param {string} groupId Virtual group ID
86010
+ * @param {MoveOpenItemGroupRequest} moveOpenItemGroupRequest
86011
+ * @param {*} [options] Override http request option.
86012
+ * @throws {RequiredError}
86013
+ */
86014
+ async moveOpenItemGroup(organizationId, projectId, groupId, moveOpenItemGroupRequest, options) {
86015
+ var _a, _b, _c;
86016
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveOpenItemGroup(organizationId, projectId, groupId, moveOpenItemGroupRequest, options);
86017
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86018
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.moveOpenItemGroup"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86019
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86020
+ },
86021
+ /**
86022
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
86023
+ * @summary Reorder a virtual group member
86024
+ * @param {string} organizationId Organization ID
86025
+ * @param {string} projectId Project ID
86026
+ * @param {EntityType} entityType Open Item entity type
86027
+ * @param {string} entityId Open Item entity ID
86028
+ * @param {string} groupId Virtual group ID
86029
+ * @param {MoveOpenItemGroupMemberRequest} moveOpenItemGroupMemberRequest
86030
+ * @param {*} [options] Override http request option.
86031
+ * @throws {RequiredError}
86032
+ */
86033
+ async moveOpenItemGroupMember(organizationId, projectId, entityType2, entityId, groupId, moveOpenItemGroupMemberRequest, options) {
86034
+ var _a, _b, _c;
86035
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveOpenItemGroupMember(organizationId, projectId, entityType2, entityId, groupId, moveOpenItemGroupMemberRequest, options);
86036
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86037
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.moveOpenItemGroupMember"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86038
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86039
+ },
86040
+ /**
86041
+ * Scoped to the authenticated user and authorized project. Server derives removed descendants from stored lineage: unpinned ungrouped and same-group descendants are removed; pinned and different-group descendants are retained. Returns every affected canonical row.
86042
+ * @summary Remove an Open Item
86043
+ * @param {string} organizationId Organization ID
86044
+ * @param {string} projectId Project ID
86045
+ * @param {EntityType} entityType Open Item entity type
86046
+ * @param {string} entityId Open Item entity ID
86047
+ * @param {RemoveOpenItemRequest} removeOpenItemRequest
86048
+ * @param {*} [options] Override http request option.
86049
+ * @throws {RequiredError}
86050
+ */
86051
+ async removeOpenItem(organizationId, projectId, entityType2, entityId, removeOpenItemRequest, options) {
86052
+ var _a, _b, _c;
86053
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeOpenItem(organizationId, projectId, entityType2, entityId, removeOpenItemRequest, options);
86054
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86055
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.removeOpenItem"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86056
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86057
+ },
86058
+ /**
86059
+ * Scoped to the authenticated user and authorized project. Group-revision premise.
86060
+ * @summary Rename a virtual group
86061
+ * @param {string} organizationId Organization ID
86062
+ * @param {string} projectId Project ID
86063
+ * @param {string} groupId Virtual group ID
86064
+ * @param {RenameOpenItemGroupRequest} renameOpenItemGroupRequest
86065
+ * @param {*} [options] Override http request option.
86066
+ * @throws {RequiredError}
86067
+ */
86068
+ async renameOpenItemGroup(organizationId, projectId, groupId, renameOpenItemGroupRequest, options) {
86069
+ var _a, _b, _c;
86070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.renameOpenItemGroup(organizationId, projectId, groupId, renameOpenItemGroupRequest, options);
86071
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86072
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.renameOpenItemGroup"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86073
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86074
+ },
86075
+ /**
86076
+ * Scoped to the authenticated user and authorized project. Collection-revision premise. Clears items and all group state.
86077
+ * @summary Reset Open Items
86078
+ * @param {string} organizationId Organization ID
86079
+ * @param {string} projectId Project ID
86080
+ * @param {ResetOpenItemsRequest} resetOpenItemsRequest
86081
+ * @param {*} [options] Override http request option.
86082
+ * @throws {RequiredError}
86083
+ */
86084
+ async resetOpenItems(organizationId, projectId, resetOpenItemsRequest, options) {
86085
+ var _a, _b, _c;
86086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetOpenItems(organizationId, projectId, resetOpenItemsRequest, options);
86087
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86088
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.resetOpenItems"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86089
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86090
+ },
86091
+ /**
86092
+ * Scoped to the authenticated user and authorized project. Group-revision premise.
86093
+ * @summary Collapse or expand a virtual group
86094
+ * @param {string} organizationId Organization ID
86095
+ * @param {string} projectId Project ID
86096
+ * @param {string} groupId Virtual group ID
86097
+ * @param {SetOpenItemGroupDisclosureRequest} setOpenItemGroupDisclosureRequest
86098
+ * @param {*} [options] Override http request option.
86099
+ * @throws {RequiredError}
86100
+ */
86101
+ async setOpenItemGroupDisclosure(organizationId, projectId, groupId, setOpenItemGroupDisclosureRequest, options) {
86102
+ var _a, _b, _c;
86103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setOpenItemGroupDisclosure(organizationId, projectId, groupId, setOpenItemGroupDisclosureRequest, options);
86104
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86105
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.setOpenItemGroupDisclosure"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86106
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86107
+ },
86108
+ /**
86109
+ * Scoped to the authenticated user and authorized project. Item-state premise.
86110
+ * @summary Set an Open Item note
86111
+ * @param {string} organizationId Organization ID
86112
+ * @param {string} projectId Project ID
86113
+ * @param {EntityType} entityType Open Item entity type
86114
+ * @param {string} entityId Open Item entity ID
86115
+ * @param {SetOpenItemNoteRequest} setOpenItemNoteRequest
86116
+ * @param {*} [options] Override http request option.
86117
+ * @throws {RequiredError}
86118
+ */
86119
+ async setOpenItemNote(organizationId, projectId, entityType2, entityId, setOpenItemNoteRequest, options) {
86120
+ var _a, _b, _c;
86121
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setOpenItemNote(organizationId, projectId, entityType2, entityId, setOpenItemNoteRequest, options);
86122
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86123
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.setOpenItemNote"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86124
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86125
+ },
86126
+ /**
86127
+ * Scoped to the authenticated user and authorized project. Item-state premise.
86128
+ * @summary Pin or unpin an Open Item
86129
+ * @param {string} organizationId Organization ID
86130
+ * @param {string} projectId Project ID
86131
+ * @param {EntityType} entityType Open Item entity type
86132
+ * @param {string} entityId Open Item entity ID
86133
+ * @param {SetOpenItemPinRequest} setOpenItemPinRequest
86134
+ * @param {*} [options] Override http request option.
86135
+ * @throws {RequiredError}
86136
+ */
86137
+ async setOpenItemPin(organizationId, projectId, entityType2, entityId, setOpenItemPinRequest, options) {
86138
+ var _a, _b, _c;
86139
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setOpenItemPin(organizationId, projectId, entityType2, entityId, setOpenItemPinRequest, options);
86140
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86141
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.setOpenItemPin"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86142
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86143
+ },
86144
+ /**
86145
+ * Scoped to the authenticated user and authorized project. Item-state premises.
86146
+ * @summary Ungroup Open Items
86147
+ * @param {string} organizationId Organization ID
86148
+ * @param {string} projectId Project ID
86149
+ * @param {UngroupOpenItemsRequest} ungroupOpenItemsRequest
86150
+ * @param {*} [options] Override http request option.
86151
+ * @throws {RequiredError}
86152
+ */
86153
+ async ungroupOpenItems(organizationId, projectId, ungroupOpenItemsRequest, options) {
86154
+ var _a, _b, _c;
86155
+ const localVarAxiosArgs = await localVarAxiosParamCreator.ungroupOpenItems(organizationId, projectId, ungroupOpenItemsRequest, options);
86156
+ const localVarOperationServerIndex = (_a = configuration == null ? void 0 : configuration.serverIndex) != null ? _a : 0;
86157
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap2["OpenItemsApi.ungroupOpenItems"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
86158
+ return (axios3, basePath) => createRequestFunction2(localVarAxiosArgs, axios_default2, BASE_PATH2, configuration)(axios3, localVarOperationServerBasePath || basePath);
86159
+ }
86160
+ };
86161
+ };
86162
+ OpenItemsApi = class extends BaseAPI2 {
86163
+ /**
86164
+ * Scoped to the authenticated user and authorized project. New or reopened entries inherit the nearest already-open ancestor\'s canonical group from validated lineage and receive a server-assigned member position. Already-live entries refresh lineage and presentation while preserving note, pin, ordering, and explicit membership, including ungrouping. Returns every affected canonical row.
86165
+ * @summary Activate an Open Item
86166
+ * @param {OpenItemsApiActivateOpenItemRequest} requestParameters Request parameters.
86167
+ * @param {*} [options] Override http request option.
86168
+ * @throws {RequiredError}
86169
+ * @memberof OpenItemsApi
86170
+ */
86171
+ activateOpenItem(requestParameters, options) {
86172
+ return OpenItemsApiFp(this.configuration).activateOpenItem(requestParameters.organizationId, requestParameters.projectId, requestParameters.activateOpenItemRequest, options).then((request) => request(this.axios, this.basePath));
86173
+ }
86174
+ /**
86175
+ * Scoped to the authenticated user and authorized project. Item-state premises. Server also assigns currently open nested descendants.
86176
+ * @summary Assign Open Items to a virtual group
86177
+ * @param {OpenItemsApiAssignOpenItemsToGroupRequest} requestParameters Request parameters.
86178
+ * @param {*} [options] Override http request option.
86179
+ * @throws {RequiredError}
86180
+ * @memberof OpenItemsApi
86181
+ */
86182
+ assignOpenItemsToGroup(requestParameters, options) {
86183
+ return OpenItemsApiFp(this.configuration).assignOpenItemsToGroup(requestParameters.organizationId, requestParameters.projectId, requestParameters.groupId, requestParameters.assignOpenItemsToGroupRequest, options).then((request) => request(this.axios, this.basePath));
86184
+ }
86185
+ /**
86186
+ * Scoped to the authenticated user and authorized project. Idempotency key only; optional same-transaction assignment uses item-state premises.
86187
+ * @summary Create a virtual group
86188
+ * @param {OpenItemsApiCreateOpenItemGroupRequest} requestParameters Request parameters.
86189
+ * @param {*} [options] Override http request option.
86190
+ * @throws {RequiredError}
86191
+ * @memberof OpenItemsApi
86192
+ */
86193
+ createOpenItemGroup(requestParameters, options) {
86194
+ return OpenItemsApiFp(this.configuration).createOpenItemGroup(requestParameters.organizationId, requestParameters.projectId, requestParameters.createOpenItemGroupRequest, options).then((request) => request(this.axios, this.basePath));
86195
+ }
86196
+ /**
86197
+ * Scoped to the authenticated user and authorized project. Group-revision premise. Members are ungrouped, not removed.
86198
+ * @summary Delete a virtual group
86199
+ * @param {OpenItemsApiDeleteOpenItemGroupRequest} requestParameters Request parameters.
86200
+ * @param {*} [options] Override http request option.
86201
+ * @throws {RequiredError}
86202
+ * @memberof OpenItemsApi
86203
+ */
86204
+ deleteOpenItemGroup(requestParameters, options) {
86205
+ return OpenItemsApiFp(this.configuration).deleteOpenItemGroup(requestParameters.organizationId, requestParameters.projectId, requestParameters.groupId, requestParameters.deleteOpenItemGroupRequest, options).then((request) => request(this.axios, this.basePath));
86206
+ }
86207
+ /**
86208
+ * Scoped to the authenticated user and authorized project. Returns ABSENT when no collection exists for the authenticated user and project, otherwise the canonical items, virtual groups, and collection revision.
86209
+ * @summary Read the canonical Open Items collection
86210
+ * @param {OpenItemsApiGetOpenItemsRequest} requestParameters Request parameters.
86211
+ * @param {*} [options] Override http request option.
86212
+ * @throws {RequiredError}
86213
+ * @memberof OpenItemsApi
86214
+ */
86215
+ getOpenItems(requestParameters, options) {
86216
+ return OpenItemsApiFp(this.configuration).getOpenItems(requestParameters.organizationId, requestParameters.projectId, options).then((request) => request(this.axios, this.basePath));
86217
+ }
86218
+ /**
86219
+ * Scoped to the authenticated user and authorized project. One-time atomic import of items and group state; only when the collection is ABSENT.
86220
+ * @summary Migrate browser-local Open Items
86221
+ * @param {OpenItemsApiMigrateOpenItemsRequest} requestParameters Request parameters.
86222
+ * @param {*} [options] Override http request option.
86223
+ * @throws {RequiredError}
86224
+ * @memberof OpenItemsApi
86225
+ */
86226
+ migrateOpenItems(requestParameters, options) {
86227
+ return OpenItemsApiFp(this.configuration).migrateOpenItems(requestParameters.organizationId, requestParameters.projectId, requestParameters.migrateOpenItemsRequest, options).then((request) => request(this.axios, this.basePath));
86228
+ }
86229
+ /**
86230
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
86231
+ * @summary Move an Open Item
86232
+ * @param {OpenItemsApiMoveOpenItemRequest} requestParameters Request parameters.
86233
+ * @param {*} [options] Override http request option.
86234
+ * @throws {RequiredError}
86235
+ * @memberof OpenItemsApi
86236
+ */
86237
+ moveOpenItem(requestParameters, options) {
86238
+ return OpenItemsApiFp(this.configuration).moveOpenItem(requestParameters.organizationId, requestParameters.projectId, requestParameters.entityType, requestParameters.entityId, requestParameters.moveOpenItemRequest, options).then((request) => request(this.axios, this.basePath));
86239
+ }
86240
+ /**
86241
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
86242
+ * @summary Reorder a virtual group
86243
+ * @param {OpenItemsApiMoveOpenItemGroupRequest} requestParameters Request parameters.
86244
+ * @param {*} [options] Override http request option.
86245
+ * @throws {RequiredError}
86246
+ * @memberof OpenItemsApi
86247
+ */
86248
+ moveOpenItemGroup(requestParameters, options) {
86249
+ return OpenItemsApiFp(this.configuration).moveOpenItemGroup(requestParameters.organizationId, requestParameters.projectId, requestParameters.groupId, requestParameters.moveOpenItemGroupRequest, options).then((request) => request(this.axios, this.basePath));
86250
+ }
86251
+ /**
86252
+ * Scoped to the authenticated user and authorized project. Collection-revision premise.
86253
+ * @summary Reorder a virtual group member
86254
+ * @param {OpenItemsApiMoveOpenItemGroupMemberRequest} requestParameters Request parameters.
86255
+ * @param {*} [options] Override http request option.
86256
+ * @throws {RequiredError}
86257
+ * @memberof OpenItemsApi
86258
+ */
86259
+ moveOpenItemGroupMember(requestParameters, options) {
86260
+ return OpenItemsApiFp(this.configuration).moveOpenItemGroupMember(requestParameters.organizationId, requestParameters.projectId, requestParameters.entityType, requestParameters.entityId, requestParameters.groupId, requestParameters.moveOpenItemGroupMemberRequest, options).then((request) => request(this.axios, this.basePath));
86261
+ }
86262
+ /**
86263
+ * Scoped to the authenticated user and authorized project. Server derives removed descendants from stored lineage: unpinned ungrouped and same-group descendants are removed; pinned and different-group descendants are retained. Returns every affected canonical row.
86264
+ * @summary Remove an Open Item
86265
+ * @param {OpenItemsApiRemoveOpenItemRequest} requestParameters Request parameters.
86266
+ * @param {*} [options] Override http request option.
86267
+ * @throws {RequiredError}
86268
+ * @memberof OpenItemsApi
86269
+ */
86270
+ removeOpenItem(requestParameters, options) {
86271
+ return OpenItemsApiFp(this.configuration).removeOpenItem(requestParameters.organizationId, requestParameters.projectId, requestParameters.entityType, requestParameters.entityId, requestParameters.removeOpenItemRequest, options).then((request) => request(this.axios, this.basePath));
86272
+ }
86273
+ /**
86274
+ * Scoped to the authenticated user and authorized project. Group-revision premise.
86275
+ * @summary Rename a virtual group
86276
+ * @param {OpenItemsApiRenameOpenItemGroupRequest} requestParameters Request parameters.
86277
+ * @param {*} [options] Override http request option.
86278
+ * @throws {RequiredError}
86279
+ * @memberof OpenItemsApi
86280
+ */
86281
+ renameOpenItemGroup(requestParameters, options) {
86282
+ return OpenItemsApiFp(this.configuration).renameOpenItemGroup(requestParameters.organizationId, requestParameters.projectId, requestParameters.groupId, requestParameters.renameOpenItemGroupRequest, options).then((request) => request(this.axios, this.basePath));
86283
+ }
86284
+ /**
86285
+ * Scoped to the authenticated user and authorized project. Collection-revision premise. Clears items and all group state.
86286
+ * @summary Reset Open Items
86287
+ * @param {OpenItemsApiResetOpenItemsRequest} requestParameters Request parameters.
86288
+ * @param {*} [options] Override http request option.
86289
+ * @throws {RequiredError}
86290
+ * @memberof OpenItemsApi
86291
+ */
86292
+ resetOpenItems(requestParameters, options) {
86293
+ return OpenItemsApiFp(this.configuration).resetOpenItems(requestParameters.organizationId, requestParameters.projectId, requestParameters.resetOpenItemsRequest, options).then((request) => request(this.axios, this.basePath));
86294
+ }
86295
+ /**
86296
+ * Scoped to the authenticated user and authorized project. Group-revision premise.
86297
+ * @summary Collapse or expand a virtual group
86298
+ * @param {OpenItemsApiSetOpenItemGroupDisclosureRequest} requestParameters Request parameters.
86299
+ * @param {*} [options] Override http request option.
86300
+ * @throws {RequiredError}
86301
+ * @memberof OpenItemsApi
86302
+ */
86303
+ setOpenItemGroupDisclosure(requestParameters, options) {
86304
+ return OpenItemsApiFp(this.configuration).setOpenItemGroupDisclosure(requestParameters.organizationId, requestParameters.projectId, requestParameters.groupId, requestParameters.setOpenItemGroupDisclosureRequest, options).then((request) => request(this.axios, this.basePath));
86305
+ }
86306
+ /**
86307
+ * Scoped to the authenticated user and authorized project. Item-state premise.
86308
+ * @summary Set an Open Item note
86309
+ * @param {OpenItemsApiSetOpenItemNoteRequest} requestParameters Request parameters.
86310
+ * @param {*} [options] Override http request option.
86311
+ * @throws {RequiredError}
86312
+ * @memberof OpenItemsApi
86313
+ */
86314
+ setOpenItemNote(requestParameters, options) {
86315
+ return OpenItemsApiFp(this.configuration).setOpenItemNote(requestParameters.organizationId, requestParameters.projectId, requestParameters.entityType, requestParameters.entityId, requestParameters.setOpenItemNoteRequest, options).then((request) => request(this.axios, this.basePath));
86316
+ }
86317
+ /**
86318
+ * Scoped to the authenticated user and authorized project. Item-state premise.
86319
+ * @summary Pin or unpin an Open Item
86320
+ * @param {OpenItemsApiSetOpenItemPinRequest} requestParameters Request parameters.
86321
+ * @param {*} [options] Override http request option.
86322
+ * @throws {RequiredError}
86323
+ * @memberof OpenItemsApi
86324
+ */
86325
+ setOpenItemPin(requestParameters, options) {
86326
+ return OpenItemsApiFp(this.configuration).setOpenItemPin(requestParameters.organizationId, requestParameters.projectId, requestParameters.entityType, requestParameters.entityId, requestParameters.setOpenItemPinRequest, options).then((request) => request(this.axios, this.basePath));
86327
+ }
86328
+ /**
86329
+ * Scoped to the authenticated user and authorized project. Item-state premises.
86330
+ * @summary Ungroup Open Items
86331
+ * @param {OpenItemsApiUngroupOpenItemsRequest} requestParameters Request parameters.
86332
+ * @param {*} [options] Override http request option.
86333
+ * @throws {RequiredError}
86334
+ * @memberof OpenItemsApi
86335
+ */
86336
+ ungroupOpenItems(requestParameters, options) {
86337
+ return OpenItemsApiFp(this.configuration).ungroupOpenItems(requestParameters.organizationId, requestParameters.projectId, requestParameters.ungroupOpenItemsRequest, options).then((request) => request(this.axios, this.basePath));
86338
+ }
86339
+ };
85326
86340
  OrganizationsApiAxiosParamCreator = function(configuration) {
85327
86341
  return {
85328
86342
  /**
@@ -96971,12 +97985,12 @@ var init_chunk_NVZWIVFZ = __esm({
96971
97985
  }
96972
97986
  });
96973
97987
 
96974
- // ../ui-common/dist/chunk-ZL6QUZEK.mjs
97988
+ // ../ui-common/dist/chunk-3PDNFKJ3.mjs
96975
97989
  var buildTaskEntity, STANDARD_AND_BUG_WORK_ITEM_TYPES, buildSetSplittingPayload, SESSION_METHOD_REGISTRY, DEFAULT_HANDLER_PROMPT_TYPE, groupOrder, toneByGroup, methodOrder, SESSION_METHOD_GROUP_LISTINGS;
96976
- var init_chunk_ZL6QUZEK = __esm({
96977
- "../ui-common/dist/chunk-ZL6QUZEK.mjs"() {
97990
+ var init_chunk_3PDNFKJ3 = __esm({
97991
+ "../ui-common/dist/chunk-3PDNFKJ3.mjs"() {
96978
97992
  "use strict";
96979
- init_chunk_NVZWIVFZ();
97993
+ init_chunk_PN55B4MR();
96980
97994
  buildTaskEntity = (startupInput) => {
96981
97995
  var _a;
96982
97996
  const entityId = (_a = startupInput.task.id) == null ? void 0 : _a.trim();
@@ -101249,12 +102263,12 @@ var init_zod2 = __esm({
101249
102263
  }
101250
102264
  });
101251
102265
 
101252
- // ../ui-common/dist/chunk-WTXKWLBB.mjs
102266
+ // ../ui-common/dist/chunk-W742IPI7.mjs
101253
102267
  var evidenceItemTypeSchema, startupSourceTypeSchema, startupSourceRefSchema, startupPlanReferenceSchema, startupPlanStepSchema, startupPrimaryImplementationConnectionSchema, startupPrimaryImplementationSchema, startupDiscrepancySchema, startupClarificationQuestionSchema, startupRequiredServiceIdsSchema, startupEvidenceItemSchema, startupSessionPlanResponseSchema, finalAssessmentSourceTypeSchema, finalAssessmentSourceRefSchema, finalTaskTargetSchema, finalDesignDocTargetSchema, finalImplementationHintTargetSchema, finalEvidenceItemTargetSchema, finalValidationRecommendationTargetOptionalFieldsSchema, finalValidationRecommendationTargetSchema, finalValidationRecommendationFileReferenceSchema, finalValidationRecommendationSchema, finalAssessmentResponseSchema, verificationResponseSourceTypeSchema, verificationPlanResponseSchema, toErrorString, parseStartupSessionPlanResponse, childTaskDescriptionUpdateResponseSchema, setSplittingGeneratedTaskSchema, setSplittingResponseSchema, extractJsonFromFence, extractJsonFromBraces, extractStructuredJsonPayload, parseTextAsJson, parseStartupSessionPlanResponseFromText;
101254
- var init_chunk_WTXKWLBB = __esm({
101255
- "../ui-common/dist/chunk-WTXKWLBB.mjs"() {
102268
+ var init_chunk_W742IPI7 = __esm({
102269
+ "../ui-common/dist/chunk-W742IPI7.mjs"() {
101256
102270
  "use strict";
101257
- init_chunk_NVZWIVFZ();
102271
+ init_chunk_PN55B4MR();
101258
102272
  init_zod2();
101259
102273
  evidenceItemTypeSchema = external_exports3.nativeEnum(EvidenceItemTypeEnum);
101260
102274
  startupSourceTypeSchema = external_exports3.enum([
@@ -119077,12 +120091,12 @@ var init_Star = __esm({
119077
120091
  }
119078
120092
  });
119079
120093
 
119080
- // ../ui-common/dist/chunk-TBG42R55.mjs
120094
+ // ../ui-common/dist/chunk-A3CG7EVI.mjs
119081
120095
  var import_jsx_runtime43, import_jsx_runtime44, import_jsx_runtime45, import_jsx_runtime46, import_jsx_runtime47, import_jsx_runtime48, import_jsx_runtime49, import_jsx_runtime50, import_jsx_runtime51, import_jsx_runtime52, import_jsx_runtime53, import_jsx_runtime54, import_jsx_runtime55, import_jsx_runtime56, import_jsx_runtime57, import_jsx_runtime58, import_jsx_runtime59, import_jsx_runtime60, import_jsx_runtime61, import_jsx_runtime62, import_jsx_runtime63, import_jsx_runtime64, ContractIcon, DecisionIcon, DesignIcon, PlanIcon, TaskIcon, FeatureIcon, GoalIcon, workItemIconMap, defaultEntityColors, workItemIconColors, workItemTypeColors, workItemTypeIcons;
119082
- var init_chunk_TBG42R55 = __esm({
119083
- "../ui-common/dist/chunk-TBG42R55.mjs"() {
120096
+ var init_chunk_A3CG7EVI = __esm({
120097
+ "../ui-common/dist/chunk-A3CG7EVI.mjs"() {
119084
120098
  "use strict";
119085
- init_chunk_NVZWIVFZ();
120099
+ init_chunk_PN55B4MR();
119086
120100
  import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
119087
120101
  import_jsx_runtime44 = __toESM(require_jsx_runtime(), 1);
119088
120102
  init_Flag();
@@ -119732,7 +120746,7 @@ var init_trace_mapping = __esm({
119732
120746
  }
119733
120747
  });
119734
120748
 
119735
- // ../ui-common/dist/chunk-VO7GQUZC.mjs
120749
+ // ../ui-common/dist/chunk-BGVXJESB.mjs
119736
120750
  function isInitiatorTrackingEnabled() {
119737
120751
  if (typeof window === "undefined") return false;
119738
120752
  try {
@@ -119882,11 +120896,11 @@ function installRequestInitiatorTracking(axios3) {
119882
120896
  return config3;
119883
120897
  });
119884
120898
  }
119885
- var REQUEST_INITIATOR_TRACKING_STORAGE_KEY, sourceMapSchema, maps, MAX_CACHED_MAPS, MAP_TIMEOUT_MS, instrumentedTransports, createAccessToken, ensureAxiosHeaders, getRequestPath, coerceAccessToken, createApiClient, createRoutedApiClient, createLegacyAuthAdapter, createClientSet, attachAuthInterceptors, createApiRuntime, attachInitiatorBaseOptions, createBrowserApiRuntime, toGeneratedCreateAgentEdgeRequest, fallbackAxios, fallbackRuntime, runtimeClients, runtimeUnifiedClient, registerRuntimeClients, registerRuntimeUnifiedClient, getResolvedClients, createClientProxy, defaultClient, identityClient, platformClient, knowledgeClient, conversationsClient, workflowsClient, eventsClient, tasksClient, projectsClient, workItemRefinementClient, suggestionsClient, plansClient, debugAdminClient, stagedContentClient, designDocsClient, agentSessionsClient, analyticsClient, reportsClient, projectReportsClient, notificationsClient, privateBetaAccessClient, activityCorrelationClient, agentEdgesClient, secondaryActionsClient, entityContextClient, helpClient, entitiesClient, entityPromptTemplatesClient, proposalsClient, reportBugsClient, machinesClient, starsClient, controllerAuthorizationClient, UnifiedApiClient, fallbackUnifiedApiClient, unifiedApiClient, createUnifiedApiClient;
119886
- var init_chunk_VO7GQUZC = __esm({
119887
- "../ui-common/dist/chunk-VO7GQUZC.mjs"() {
120899
+ var REQUEST_INITIATOR_TRACKING_STORAGE_KEY, sourceMapSchema, maps, MAX_CACHED_MAPS, MAP_TIMEOUT_MS, instrumentedTransports, createAccessToken, ensureAxiosHeaders, getRequestPath, coerceAccessToken, createApiClient, createRoutedApiClient, createLegacyAuthAdapter, createClientSet, attachAuthInterceptors, createApiRuntime, attachInitiatorBaseOptions, createBrowserApiRuntime, toGeneratedCreateAgentEdgeRequest, fallbackAxios, fallbackRuntime, runtimeClients, runtimeUnifiedClient, registerRuntimeClients, registerRuntimeUnifiedClient, getResolvedClients, createClientProxy, defaultClient, identityClient, platformClient, knowledgeClient, conversationsClient, workflowsClient, eventsClient, tasksClient, projectsClient, workItemRefinementClient, suggestionsClient, plansClient, debugAdminClient, stagedContentClient, designDocsClient, agentSessionsClient, analyticsClient, reportsClient, projectReportsClient, notificationsClient, openItemsClient, privateBetaAccessClient, activityCorrelationClient, agentEdgesClient, secondaryActionsClient, entityContextClient, helpClient, entitiesClient, entityPromptTemplatesClient, proposalsClient, reportBugsClient, machinesClient, starsClient, controllerAuthorizationClient, UnifiedApiClient, fallbackUnifiedApiClient, unifiedApiClient, createUnifiedApiClient;
120900
+ var init_chunk_BGVXJESB = __esm({
120901
+ "../ui-common/dist/chunk-BGVXJESB.mjs"() {
119888
120902
  "use strict";
119889
- init_chunk_NVZWIVFZ();
120903
+ init_chunk_PN55B4MR();
119890
120904
  init_axios4();
119891
120905
  init_trace_mapping();
119892
120906
  init_zod2();
@@ -120008,6 +121022,7 @@ var init_chunk_VO7GQUZC = __esm({
120008
121022
  machines: createApiClient(MachinesApi2, configuration, transport),
120009
121023
  mcp: createApiClient(McpApi, configuration, transport),
120010
121024
  notifications: createApiClient(NotificationsApi, configuration, transport),
121025
+ openItems: createApiClient(OpenItemsApi, configuration, transport),
120011
121026
  organizations: createApiClient(OrganizationsApi, configuration, transport),
120012
121027
  paymentProviderWebhooks: createApiClient(
120013
121028
  PaymentProviderWebhooksApi,
@@ -120083,6 +121098,7 @@ var init_chunk_VO7GQUZC = __esm({
120083
121098
  reports: generatedClients.reports,
120084
121099
  projectReports: generatedClients.projectReports,
120085
121100
  notifications: generatedClients.notifications,
121101
+ openItems: generatedClients.openItems,
120086
121102
  privateBetaAccess: generatedClients.privateBetaAccess,
120087
121103
  activityCorrelation: generatedClients.activityCorrelation,
120088
121104
  agentEdges: generatedClients.agentEdges,
@@ -120333,6 +121349,7 @@ var init_chunk_VO7GQUZC = __esm({
120333
121349
  reportsClient = createClientProxy("reports");
120334
121350
  projectReportsClient = createClientProxy("projectReports");
120335
121351
  notificationsClient = createClientProxy("notifications");
121352
+ openItemsClient = createClientProxy("openItems");
120336
121353
  privateBetaAccessClient = createClientProxy("privateBetaAccess");
120337
121354
  activityCorrelationClient = createClientProxy(
120338
121355
  "activityCorrelation"
@@ -121016,26 +122033,26 @@ var init_chunk_VO7GQUZC = __esm({
121016
122033
  }
121017
122034
  });
121018
122035
 
121019
- // ../ui-common/dist/chunk-Y5DJDX5X.mjs
122036
+ // ../ui-common/dist/chunk-PYEXDNEK.mjs
121020
122037
  var WORKFLOW_NAME_VALUES;
121021
- var init_chunk_Y5DJDX5X = __esm({
121022
- "../ui-common/dist/chunk-Y5DJDX5X.mjs"() {
121023
- "use strict";
121024
- init_chunk_ZL6QUZEK();
121025
- init_chunk_WTXKWLBB();
121026
- init_chunk_TBG42R55();
121027
- init_chunk_VO7GQUZC();
121028
- init_chunk_NVZWIVFZ();
122038
+ var init_chunk_PYEXDNEK = __esm({
122039
+ "../ui-common/dist/chunk-PYEXDNEK.mjs"() {
122040
+ "use strict";
122041
+ init_chunk_3PDNFKJ3();
122042
+ init_chunk_W742IPI7();
122043
+ init_chunk_A3CG7EVI();
122044
+ init_chunk_BGVXJESB();
122045
+ init_chunk_PN55B4MR();
121029
122046
  WORKFLOW_NAME_VALUES = new Set(Object.values(WorkflowName2));
121030
122047
  }
121031
122048
  });
121032
122049
 
121033
- // ../ui-common/dist/chunk-INB3GTVG.mjs
121034
- var init_chunk_INB3GTVG = __esm({
121035
- "../ui-common/dist/chunk-INB3GTVG.mjs"() {
122050
+ // ../ui-common/dist/chunk-7FE5VAFP.mjs
122051
+ var init_chunk_7FE5VAFP = __esm({
122052
+ "../ui-common/dist/chunk-7FE5VAFP.mjs"() {
121036
122053
  "use strict";
121037
- init_chunk_ZL6QUZEK();
121038
- init_chunk_NVZWIVFZ();
122054
+ init_chunk_3PDNFKJ3();
122055
+ init_chunk_PN55B4MR();
121039
122056
  }
121040
122057
  });
121041
122058
 
@@ -134296,14 +135313,14 @@ var AgentAdapterRegistry, agentAdapterRegistry, NODE_PROMPT_TYPE, SUPPORTED_AGEN
134296
135313
  var init_agents = __esm({
134297
135314
  "../ui-common/dist/agents.mjs"() {
134298
135315
  "use strict";
134299
- init_chunk_Y5DJDX5X();
134300
- init_chunk_INB3GTVG();
135316
+ init_chunk_PYEXDNEK();
135317
+ init_chunk_7FE5VAFP();
134301
135318
  init_chunk_QRG63FEH();
134302
- init_chunk_ZL6QUZEK();
134303
- init_chunk_WTXKWLBB();
134304
- init_chunk_TBG42R55();
134305
- init_chunk_VO7GQUZC();
134306
- init_chunk_NVZWIVFZ();
135319
+ init_chunk_3PDNFKJ3();
135320
+ init_chunk_W742IPI7();
135321
+ init_chunk_A3CG7EVI();
135322
+ init_chunk_BGVXJESB();
135323
+ init_chunk_PN55B4MR();
134307
135324
  init_zod2();
134308
135325
  init_zod2();
134309
135326
  init_zod2();
@@ -155431,7 +156448,7 @@ You are a discussion and analysis agent. Your primary modes of action are:
155431
156448
  - Searching for related context using search and get_context tools
155432
156449
  - Proposing creates or edits to tasks and other platform entities via MCP tools
155433
156450
 
155434
- Do NOT make file edits, write files, or modify code unless the user explicitly asks you to. If a discussion leads to a conclusion that code changes are needed, propose a task or describe the change \u2014 do not execute it yourself.
156451
+ Change files, code, or repository state only when the user specifically requests that change in the current request. Repository or Service access and conclusions that code should change are not permission to edit; propose a task or describe the change instead.
155435
156452
 
155436
156453
  Creating and pruning graph links via \`create_edge\` / \`delete_edge\` is part of your silent, internal work \u2014 links are agent-internal breadcrumbs the next session can follow or prune, not user-facing actions, and they never warrant a permission request. This is distinct from proposals, which ARE user-reviewable mutations to an entity (a task or feature created or edited via \`create_work_item\` / \`edit_work_item\`) and must be surfaced for approval. Never fold a link into the same user-facing ask as a proposal-shaped action: the entity creation or edit goes to the user for review; the accompanying link records itself in the graph without comment.`
155437
156454
  );
@@ -184189,12 +185206,12 @@ var require_memoize = __commonJS({
184189
185206
  }
184190
185207
  });
184191
185208
 
184192
- // ../ui-common/dist/chunk-X6HVGLQY.mjs
185209
+ // ../ui-common/dist/chunk-QGLY7YNJ.mjs
184193
185210
  var import_react6, import_ajv7, import_ajv_formats7, import_memoize6, import_jsx_runtime65, import_meta, DEFAULT_API_PROTOCOL, DEFAULT_API_HOST, DEFAULT_API_PORT, DEFAULT_API_BASE_PATH, normalizeOptional, normalizeBasePath, stripApiVersionSuffix, formatUrl, formatRelativeUrl, hasScheme, isIpAddress, isLikelyInternalHostname, parseAgainstBrowserOrigin, shouldUseBrowserOrigin, normalizeBrowserApiUrl, normalizeBrowserWsUrl, deriveWsServerUrlFromApiUrl, readRuntimeString, resolveRuntimeConfig, buildHttpUrl, buildWsUrl, getApiBaseUrl, getWsUrl, getRuntimeEnvironment, import_meta2, ConfigService, configService, currentRuntime, currentClient, runtimeListeners, registerApiRuntime, getApiClient, apiClient, browserSessionSchema, BrowserSessionContinuityDecision, browserSessionContinuityDecision, base64UrlDecode2, decodeJwtPayload2, validator;
184194
- var init_chunk_X6HVGLQY = __esm({
184195
- "../ui-common/dist/chunk-X6HVGLQY.mjs"() {
185211
+ var init_chunk_QGLY7YNJ = __esm({
185212
+ "../ui-common/dist/chunk-QGLY7YNJ.mjs"() {
184196
185213
  "use strict";
184197
- init_chunk_VO7GQUZC();
185214
+ init_chunk_BGVXJESB();
184198
185215
  import_react6 = __toESM(require_react(), 1);
184199
185216
  import_ajv7 = __toESM(require_ajv(), 1);
184200
185217
  import_ajv_formats7 = __toESM(require_dist2(), 1);
@@ -184750,9 +185767,9 @@ var init_chunk_X6HVGLQY = __esm({
184750
185767
  var init_clients = __esm({
184751
185768
  "../ui-common/dist/clients.mjs"() {
184752
185769
  "use strict";
184753
- init_chunk_X6HVGLQY();
184754
- init_chunk_VO7GQUZC();
184755
- init_chunk_NVZWIVFZ();
185770
+ init_chunk_QGLY7YNJ();
185771
+ init_chunk_BGVXJESB();
185772
+ init_chunk_PN55B4MR();
184756
185773
  }
184757
185774
  });
184758
185775
 
@@ -220425,12 +221442,12 @@ var init_delta_calculator = __esm({
220425
221442
  }
220426
221443
  });
220427
221444
 
220428
- // ../ui-common/dist/chunk-7TSWN2PH.mjs
221445
+ // ../ui-common/dist/chunk-LTJYAKOE.mjs
220429
221446
  var RUNTIME_MODEL_CATALOG_URL, CAPABILITY_CATALOG, activeCatalog, loadState, inFlightLoad, listeners, emitCatalogState, setLoadState, getCatalog, isLocalReasoningEffort, isRecord22, readNonEmptyString4, parseProvider, parseStringArray, parseServiceTiers, parseOpencodeModelRef, parseModel, parseCatalogPayload, readJsonResponse, loadRuntimeCapabilityCatalog, listModels, listEfforts, getOpencodeModelRef, supportsFastMode;
220430
- var init_chunk_7TSWN2PH = __esm({
220431
- "../ui-common/dist/chunk-7TSWN2PH.mjs"() {
221447
+ var init_chunk_LTJYAKOE = __esm({
221448
+ "../ui-common/dist/chunk-LTJYAKOE.mjs"() {
220432
221449
  "use strict";
220433
- init_chunk_NVZWIVFZ();
221450
+ init_chunk_PN55B4MR();
220434
221451
  RUNTIME_MODEL_CATALOG_URL = "/config/model-catalog.json";
220435
221452
  CAPABILITY_CATALOG = [
220436
221453
  {
@@ -220439,17 +221456,25 @@ var init_chunk_7TSWN2PH = __esm({
220439
221456
  {
220440
221457
  id: "claude-opus-5-5",
220441
221458
  label: "Opus 5.5",
220442
- efforts: ["low", "medium", "high", "xhigh", "max"]
221459
+ efforts: ["low", "medium", "high", "xhigh", "max"],
221460
+ serviceTiers: ["priority"]
220443
221461
  },
220444
221462
  {
220445
221463
  id: "claude-sonnet-5-5",
220446
221464
  label: "Sonnet 5.5",
220447
- efforts: ["low", "medium", "high"]
221465
+ efforts: ["low", "medium", "high", "xhigh", "max"]
220448
221466
  },
220449
221467
  {
220450
221468
  id: "claude-opus-5",
220451
221469
  label: "Opus 5",
220452
- efforts: ["low", "medium", "high", "xhigh", "max"]
221470
+ efforts: ["low", "medium", "high", "xhigh", "max"],
221471
+ serviceTiers: ["priority"]
221472
+ },
221473
+ {
221474
+ id: "claude-fable-5-1",
221475
+ label: "Fable 5.1",
221476
+ efforts: ["low", "medium", "high", "xhigh", "max"],
221477
+ serviceTiers: ["priority"]
220453
221478
  },
220454
221479
  {
220455
221480
  id: "claude-fable-5",
@@ -220457,9 +221482,9 @@ var init_chunk_7TSWN2PH = __esm({
220457
221482
  efforts: ["low", "medium", "high", "xhigh", "max"]
220458
221483
  },
220459
221484
  {
220460
- id: "claude-haiku-4-5-20251001",
220461
- label: "Haiku",
220462
- efforts: ["low", "medium", "high"]
221485
+ id: "claude-haiku-5-5",
221486
+ label: "Haiku 5.5",
221487
+ efforts: ["low", "medium", "high", "xhigh", "max"]
220463
221488
  }
220464
221489
  ]
220465
221490
  },
@@ -220730,8 +221755,8 @@ var init_chunk_7TSWN2PH = __esm({
220730
221755
  var init_capability_catalog = __esm({
220731
221756
  "../ui-common/dist/capability-catalog.mjs"() {
220732
221757
  "use strict";
220733
- init_chunk_7TSWN2PH();
220734
- init_chunk_NVZWIVFZ();
221758
+ init_chunk_LTJYAKOE();
221759
+ init_chunk_PN55B4MR();
220735
221760
  }
220736
221761
  });
220737
221762