@groundcover/api-client 0.72.0 → 0.74.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;
|
|
@@ -5644,6 +5652,7 @@ export type MemberViewsRequest = {
|
|
|
5644
5652
|
export type MemberWithRoleResponse = {
|
|
5645
5653
|
Created?: string;
|
|
5646
5654
|
Email?: string;
|
|
5655
|
+
FeaturePermissions?: Permissions;
|
|
5647
5656
|
FirstLogin?: string;
|
|
5648
5657
|
LastSeen?: string;
|
|
5649
5658
|
Owner?: boolean;
|
|
@@ -6597,7 +6606,7 @@ export type PatternParamDistributionValue = {
|
|
|
6597
6606
|
patternParamValuePercentage?: number;
|
|
6598
6607
|
};
|
|
6599
6608
|
/**
|
|
6600
|
-
* Permissions
|
|
6609
|
+
* Permissions maps features to access levels. In policy overrides, a missing feature inherits legacy authorization.
|
|
6601
6610
|
*/
|
|
6602
6611
|
export type Permissions = {
|
|
6603
6612
|
[key: string]: 'no_access' | 'view' | 'edit';
|
package/package.json
CHANGED
|
@@ -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 = {
|
|
@@ -6076,6 +6084,7 @@ export type MemberViewsRequest = {
|
|
|
6076
6084
|
export type MemberWithRoleResponse = {
|
|
6077
6085
|
Created?: string;
|
|
6078
6086
|
Email?: string;
|
|
6087
|
+
FeaturePermissions?: Permissions;
|
|
6079
6088
|
FirstLogin?: string;
|
|
6080
6089
|
LastSeen?: string;
|
|
6081
6090
|
Owner?: boolean;
|
|
@@ -7101,7 +7110,7 @@ export type PatternParamDistributionValue = {
|
|
|
7101
7110
|
};
|
|
7102
7111
|
|
|
7103
7112
|
/**
|
|
7104
|
-
* Permissions
|
|
7113
|
+
* Permissions maps features to access levels. In policy overrides, a missing feature inherits legacy authorization.
|
|
7105
7114
|
*/
|
|
7106
7115
|
export type Permissions = {
|
|
7107
7116
|
[key: string]: 'no_access' | 'view' | 'edit';
|