@groundcover/api-client 0.71.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.
@@ -1503,6 +1503,7 @@ export type Condition = {
1503
1503
  };
1504
1504
  export type ConfigBase = {
1505
1505
  enabled?: boolean;
1506
+ excludedClusters?: Array<string>;
1506
1507
  /**
1507
1508
  * Deprecated: Exporters field is no longer used but kept for backward compatibility
1508
1509
  * to prevent parsing errors from clients that still send it.
@@ -2151,6 +2152,10 @@ export type CreateBackendInvestigationRequest = {
2151
2152
  maxConcurrent?: number;
2152
2153
  modelSelection?: InvestigationModelSelection;
2153
2154
  scope?: Array<InvestigationScopeEntry>;
2155
+ /**
2156
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2157
+ */
2158
+ skipInvestigator?: boolean;
2154
2159
  source: InvestigationBackendSource;
2155
2160
  statement: string;
2156
2161
  subject: InvestigationSubject;
@@ -2292,6 +2297,10 @@ export type CreateIngestionKeyRequest = {
2292
2297
  export type CreateInvestigationRequest = {
2293
2298
  modelSelection?: InvestigationModelSelection;
2294
2299
  scope?: Array<InvestigationScopeEntry>;
2300
+ /**
2301
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2302
+ */
2303
+ skipInvestigator?: boolean;
2295
2304
  statement: string;
2296
2305
  subject: InvestigationSubject;
2297
2306
  timeRange?: InvestigationTimeRange;
@@ -3160,7 +3169,7 @@ export type EnvType = string;
3160
3169
  * (message + machine-readable code + trace_id, plus optional metadata).
3161
3170
  */
3162
3171
  export type ErrorResponse = {
3163
- 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';
3164
3173
  details?: unknown;
3165
3174
  docs_url?: string;
3166
3175
  message?: string;
@@ -4223,7 +4232,7 @@ export type InvestigationEvent = {
4223
4232
  payload: {
4224
4233
  [key: string]: unknown;
4225
4234
  };
4226
- 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';
4227
4236
  };
4228
4237
  export type InvestigationEvidence = {
4229
4238
  finding: InvestigationFinding;
@@ -8193,6 +8202,7 @@ export type SyntheticMonitorEvalInterval = {
8193
8202
  export type SyntheticTestConfig = {
8194
8203
  checkConfig?: WorkerRequest;
8195
8204
  enabled?: boolean;
8205
+ excludedClusters?: Array<string>;
8196
8206
  /**
8197
8207
  * Deprecated: Exporters field is no longer used but kept for backward compatibility
8198
8208
  * to prevent parsing errors from clients that still send it.
@@ -8214,6 +8224,7 @@ export type SyntheticTestCreateRequest = {
8214
8224
  */
8215
8225
  createMonitor?: boolean;
8216
8226
  enabled?: boolean;
8227
+ excludedClusters?: Array<string>;
8217
8228
  /**
8218
8229
  * Deprecated: Exporters field is no longer used but kept for backward compatibility
8219
8230
  * to prevent parsing errors from clients that still send it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.71.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",
@@ -1599,6 +1599,7 @@ export type Condition = {
1599
1599
 
1600
1600
  export type ConfigBase = {
1601
1601
  enabled?: boolean;
1602
+ excludedClusters?: Array<string>;
1602
1603
  /**
1603
1604
  * Deprecated: Exporters field is no longer used but kept for backward compatibility
1604
1605
  * to prevent parsing errors from clients that still send it.
@@ -2291,6 +2292,10 @@ export type CreateBackendInvestigationRequest = {
2291
2292
  maxConcurrent?: number;
2292
2293
  modelSelection?: InvestigationModelSelection;
2293
2294
  scope?: Array<InvestigationScopeEntry>;
2295
+ /**
2296
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2297
+ */
2298
+ skipInvestigator?: boolean;
2294
2299
  source: InvestigationBackendSource;
2295
2300
  statement: string;
2296
2301
  subject: InvestigationSubject;
@@ -2440,6 +2445,10 @@ export type CreateIngestionKeyRequest = {
2440
2445
  export type CreateInvestigationRequest = {
2441
2446
  modelSelection?: InvestigationModelSelection;
2442
2447
  scope?: Array<InvestigationScopeEntry>;
2448
+ /**
2449
+ * true opens the root without starting groundcover's investigator; start it later with startInvestigator.
2450
+ */
2451
+ skipInvestigator?: boolean;
2443
2452
  statement: string;
2444
2453
  subject: InvestigationSubject;
2445
2454
  timeRange?: InvestigationTimeRange;
@@ -3389,7 +3398,7 @@ export type EnvType = string;
3389
3398
  * (message + machine-readable code + trace_id, plus optional metadata).
3390
3399
  */
3391
3400
  export type ErrorResponse = {
3392
- 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';
3393
3402
  details?: unknown;
3394
3403
  docs_url?: string;
3395
3404
  message?: string;
@@ -4526,7 +4535,7 @@ export type InvestigationEvent = {
4526
4535
  payload: {
4527
4536
  [key: string]: unknown;
4528
4537
  };
4529
- 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';
4530
4539
  };
4531
4540
 
4532
4541
  export type InvestigationEvidence = {
@@ -8816,6 +8825,7 @@ export type SyntheticMonitorEvalInterval = {
8816
8825
  export type SyntheticTestConfig = {
8817
8826
  checkConfig?: WorkerRequest;
8818
8827
  enabled?: boolean;
8828
+ excludedClusters?: Array<string>;
8819
8829
  /**
8820
8830
  * Deprecated: Exporters field is no longer used but kept for backward compatibility
8821
8831
  * to prevent parsing errors from clients that still send it.
@@ -8838,6 +8848,7 @@ export type SyntheticTestCreateRequest = {
8838
8848
  */
8839
8849
  createMonitor?: boolean;
8840
8850
  enabled?: boolean;
8851
+ excludedClusters?: Array<string>;
8841
8852
  /**
8842
8853
  * Deprecated: Exporters field is no longer used but kept for backward compatibility
8843
8854
  * to prevent parsing errors from clients that still send it.