@groundcover/api-client 0.72.0 → 0.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2152,6 +2152,10 @@ export type CreateBackendInvestigationRequest = {
2152
2152
  maxConcurrent?: number;
2153
2153
  modelSelection?: InvestigationModelSelection;
2154
2154
  scope?: Array<InvestigationScopeEntry>;
2155
+ /**
2156
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2157
+ */
2158
+ skipInvestigator?: boolean;
2155
2159
  source: InvestigationBackendSource;
2156
2160
  statement: string;
2157
2161
  subject: InvestigationSubject;
@@ -2293,6 +2297,10 @@ export type CreateIngestionKeyRequest = {
2293
2297
  export type CreateInvestigationRequest = {
2294
2298
  modelSelection?: InvestigationModelSelection;
2295
2299
  scope?: Array<InvestigationScopeEntry>;
2300
+ /**
2301
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2302
+ */
2303
+ skipInvestigator?: boolean;
2296
2304
  statement: string;
2297
2305
  subject: InvestigationSubject;
2298
2306
  timeRange?: InvestigationTimeRange;
@@ -3161,7 +3169,7 @@ export type EnvType = string;
3161
3169
  * (message + machine-readable code + trace_id, plus optional metadata).
3162
3170
  */
3163
3171
  export type ErrorResponse = {
3164
- code?: 'EXCEEDED_MAX_ROWS_TO_GROUP_BY' | 'MONITOR_EVAL_FAILED' | 'MONITOR_VALIDATION_FAILED' | 'MONITOR_DUPLICATE_TITLE' | 'CONNECTED_APP_IN_USE' | 'VIEW_REVISION_CONFLICT' | 'CONNECTED_APP_ORPHANED_SECRET' | 'INVALID_ARGUMENT' | 'INVESTIGATION_EXISTS' | 'SYNC_TARGET_TAKEN' | 'TRIGGER_AT_CAPACITY' | 'RUN_IDENTITY_REQUIRED' | 'INVESTIGATIONS_DISABLED' | 'INVESTIGATION_CLOSED' | 'FINDING_OUT_OF_SCOPE' | 'FINDING_RETRACTED' | 'NOT_AUTHOR' | 'INVESTIGATION_GRAMMAR' | 'EVIDENCE_REQUIRED' | 'REFUTE_REQUIRES_HYPOTHESIS';
3172
+ code?: 'EXCEEDED_MAX_ROWS_TO_GROUP_BY' | 'MONITOR_EVAL_FAILED' | 'MONITOR_VALIDATION_FAILED' | 'MONITOR_DUPLICATE_TITLE' | 'CONNECTED_APP_IN_USE' | 'VIEW_REVISION_CONFLICT' | 'CONNECTED_APP_ORPHANED_SECRET' | 'INVALID_ARGUMENT' | 'INVESTIGATION_EXISTS' | 'SYNC_TARGET_TAKEN' | 'TRIGGER_AT_CAPACITY' | 'RUN_IDENTITY_REQUIRED' | 'INVESTIGATIONS_DISABLED' | 'INVESTIGATION_CLOSED' | 'FINDING_OUT_OF_SCOPE' | 'FINDING_RETRACTED' | 'NOT_AUTHOR' | 'INVESTIGATION_GRAMMAR' | 'EVIDENCE_REQUIRED' | 'REFUTE_REQUIRES_HYPOTHESIS' | 'HYPOTHESIS_REQUIRED';
3165
3173
  details?: unknown;
3166
3174
  docs_url?: string;
3167
3175
  message?: string;
@@ -4224,7 +4232,7 @@ export type InvestigationEvent = {
4224
4232
  payload: {
4225
4233
  [key: string]: unknown;
4226
4234
  };
4227
- type: 'investigation.opened' | 'investigation.closed' | 'participant.joined' | 'finding.created' | 'finding.retracted' | 'assessment.updated' | 'assessment.judged' | 'proposal.created' | 'proposal.deferred' | 'proposal.approved' | 'proposal.rejected' | 'proposal.superseded' | 'investigator.run_rejected' | 'investigator.run_requested' | 'moderator.run_rejected' | 'moderator.run_limit_reached' | 'sync_target.attached';
4235
+ type: 'investigation.opened' | 'investigation.closed' | 'participant.joined' | 'finding.created' | 'finding.retracted' | 'assessment.updated' | 'assessment.judged' | 'proposal.created' | 'proposal.deferred' | 'proposal.approved' | 'proposal.rejected' | 'proposal.superseded' | 'investigator.run_rejected' | 'investigator.run_requested' | 'investigator.run_started' | 'investigator.run_ended' | 'moderator.run_rejected' | 'moderator.run_limit_reached' | 'sync_target.attached';
4228
4236
  };
4229
4237
  export type InvestigationEvidence = {
4230
4238
  finding: InvestigationFinding;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.72.0",
3
+ "version": "0.73.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2292,6 +2292,10 @@ export type CreateBackendInvestigationRequest = {
2292
2292
  maxConcurrent?: number;
2293
2293
  modelSelection?: InvestigationModelSelection;
2294
2294
  scope?: Array<InvestigationScopeEntry>;
2295
+ /**
2296
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2297
+ */
2298
+ skipInvestigator?: boolean;
2295
2299
  source: InvestigationBackendSource;
2296
2300
  statement: string;
2297
2301
  subject: InvestigationSubject;
@@ -2441,6 +2445,10 @@ export type CreateIngestionKeyRequest = {
2441
2445
  export type CreateInvestigationRequest = {
2442
2446
  modelSelection?: InvestigationModelSelection;
2443
2447
  scope?: Array<InvestigationScopeEntry>;
2448
+ /**
2449
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2450
+ */
2451
+ skipInvestigator?: boolean;
2444
2452
  statement: string;
2445
2453
  subject: InvestigationSubject;
2446
2454
  timeRange?: InvestigationTimeRange;
@@ -3390,7 +3398,7 @@ export type EnvType = string;
3390
3398
  * (message + machine-readable code + trace_id, plus optional metadata).
3391
3399
  */
3392
3400
  export type ErrorResponse = {
3393
- code?: 'EXCEEDED_MAX_ROWS_TO_GROUP_BY' | 'MONITOR_EVAL_FAILED' | 'MONITOR_VALIDATION_FAILED' | 'MONITOR_DUPLICATE_TITLE' | 'CONNECTED_APP_IN_USE' | 'VIEW_REVISION_CONFLICT' | 'CONNECTED_APP_ORPHANED_SECRET' | 'INVALID_ARGUMENT' | 'INVESTIGATION_EXISTS' | 'SYNC_TARGET_TAKEN' | 'TRIGGER_AT_CAPACITY' | 'RUN_IDENTITY_REQUIRED' | 'INVESTIGATIONS_DISABLED' | 'INVESTIGATION_CLOSED' | 'FINDING_OUT_OF_SCOPE' | 'FINDING_RETRACTED' | 'NOT_AUTHOR' | 'INVESTIGATION_GRAMMAR' | 'EVIDENCE_REQUIRED' | 'REFUTE_REQUIRES_HYPOTHESIS';
3401
+ code?: 'EXCEEDED_MAX_ROWS_TO_GROUP_BY' | 'MONITOR_EVAL_FAILED' | 'MONITOR_VALIDATION_FAILED' | 'MONITOR_DUPLICATE_TITLE' | 'CONNECTED_APP_IN_USE' | 'VIEW_REVISION_CONFLICT' | 'CONNECTED_APP_ORPHANED_SECRET' | 'INVALID_ARGUMENT' | 'INVESTIGATION_EXISTS' | 'SYNC_TARGET_TAKEN' | 'TRIGGER_AT_CAPACITY' | 'RUN_IDENTITY_REQUIRED' | 'INVESTIGATIONS_DISABLED' | 'INVESTIGATION_CLOSED' | 'FINDING_OUT_OF_SCOPE' | 'FINDING_RETRACTED' | 'NOT_AUTHOR' | 'INVESTIGATION_GRAMMAR' | 'EVIDENCE_REQUIRED' | 'REFUTE_REQUIRES_HYPOTHESIS' | 'HYPOTHESIS_REQUIRED';
3394
3402
  details?: unknown;
3395
3403
  docs_url?: string;
3396
3404
  message?: string;
@@ -4527,7 +4535,7 @@ export type InvestigationEvent = {
4527
4535
  payload: {
4528
4536
  [key: string]: unknown;
4529
4537
  };
4530
- type: 'investigation.opened' | 'investigation.closed' | 'participant.joined' | 'finding.created' | 'finding.retracted' | 'assessment.updated' | 'assessment.judged' | 'proposal.created' | 'proposal.deferred' | 'proposal.approved' | 'proposal.rejected' | 'proposal.superseded' | 'investigator.run_rejected' | 'investigator.run_requested' | 'moderator.run_rejected' | 'moderator.run_limit_reached' | 'sync_target.attached';
4538
+ type: 'investigation.opened' | 'investigation.closed' | 'participant.joined' | 'finding.created' | 'finding.retracted' | 'assessment.updated' | 'assessment.judged' | 'proposal.created' | 'proposal.deferred' | 'proposal.approved' | 'proposal.rejected' | 'proposal.superseded' | 'investigator.run_rejected' | 'investigator.run_requested' | 'investigator.run_started' | 'investigator.run_ended' | 'moderator.run_rejected' | 'moderator.run_limit_reached' | 'sync_target.attached';
4531
4539
  };
4532
4540
 
4533
4541
  export type InvestigationEvidence = {