@groundcover/api-client 0.89.0 → 0.91.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.
|
@@ -17,6 +17,7 @@ export type AdvancedDataScope = {
|
|
|
17
17
|
events?: Group;
|
|
18
18
|
logs?: Group;
|
|
19
19
|
metrics?: Group;
|
|
20
|
+
rum?: Group;
|
|
20
21
|
traces?: Group;
|
|
21
22
|
workloads?: Group;
|
|
22
23
|
};
|
|
@@ -2205,6 +2206,12 @@ export type CreateAssetsResponse = {
|
|
|
2205
2206
|
* CreateBackendInvestigationRequest opens a root for a backend caller acting for a user, with how it started.
|
|
2206
2207
|
*/
|
|
2207
2208
|
export type CreateBackendInvestigationRequest = {
|
|
2209
|
+
/**
|
|
2210
|
+
* The trigger investigates an issue at most once per this many seconds: within it, an open of a new firing
|
|
2211
|
+
* cycle is refused with 409 TRIGGER_IN_COOLDOWN, naming the trigger's latest root of the issue, open or closed.
|
|
2212
|
+
* Omitted: once per firing cycle. Only for an automation source.
|
|
2213
|
+
*/
|
|
2214
|
+
cooldownSeconds?: number;
|
|
2208
2215
|
/**
|
|
2209
2216
|
* Sent to the root's investigator after the statement.
|
|
2210
2217
|
*/
|
|
@@ -3278,7 +3285,7 @@ export type EnvType = string;
|
|
|
3278
3285
|
* (message + machine-readable code + trace_id, plus optional metadata).
|
|
3279
3286
|
*/
|
|
3280
3287
|
export type ErrorResponse = {
|
|
3281
|
-
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';
|
|
3288
|
+
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' | 'TRIGGER_IN_COOLDOWN' | 'RUN_IDENTITY_REQUIRED' | 'INVESTIGATIONS_DISABLED' | 'INVESTIGATION_CLOSED' | 'FINDING_OUT_OF_SCOPE' | 'FINDING_RETRACTED' | 'NOT_AUTHOR' | 'INVESTIGATION_GRAMMAR' | 'EVIDENCE_REQUIRED' | 'REFUTE_REQUIRES_HYPOTHESIS' | 'HYPOTHESIS_REQUIRED';
|
|
3282
3289
|
details?: unknown;
|
|
3283
3290
|
docs_url?: string;
|
|
3284
3291
|
message?: string;
|
|
@@ -4362,13 +4369,18 @@ export type InvestigationEvidence = {
|
|
|
4362
4369
|
relation: 'supports' | 'contradicts';
|
|
4363
4370
|
};
|
|
4364
4371
|
/**
|
|
4365
|
-
* InvestigationExistsDetails is the details of a 409 INVESTIGATION_EXISTS
|
|
4372
|
+
* InvestigationExistsDetails is the details of a 409 INVESTIGATION_EXISTS, the root to join, or of a 409
|
|
4373
|
+
* TRIGGER_IN_COOLDOWN, the trigger's root of the issue from within its cooldown.
|
|
4366
4374
|
*/
|
|
4367
4375
|
export type InvestigationExistsDetails = {
|
|
4368
4376
|
investigationId: string;
|
|
4377
|
+
/**
|
|
4378
|
+
* The issue timestamp of the root to join, which names its firing cycle; only on INVESTIGATION_EXISTS.
|
|
4379
|
+
*/
|
|
4380
|
+
issueTimestamp?: string;
|
|
4369
4381
|
};
|
|
4370
4382
|
/**
|
|
4371
|
-
* InvestigationExistsError is the 409 body of createInvestigation: the issue
|
|
4383
|
+
* InvestigationExistsError is the 409 body of createInvestigation: the issue's firing cycle has an open root to join.
|
|
4372
4384
|
*/
|
|
4373
4385
|
export type InvestigationExistsError = {
|
|
4374
4386
|
code: 'INVESTIGATION_EXISTS';
|
|
@@ -4548,7 +4560,7 @@ export type InvestigationSourceRef = {
|
|
|
4548
4560
|
triggerId?: string;
|
|
4549
4561
|
};
|
|
4550
4562
|
/**
|
|
4551
|
-
* Subject is what a root investigates. At most one root per
|
|
4563
|
+
* Subject is what a root investigates. At most one root per issue firing cycle is open at a time.
|
|
4552
4564
|
*/
|
|
4553
4565
|
export type InvestigationSubject = {
|
|
4554
4566
|
ref: InvestigationSubjectRef;
|
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@ export type AdvancedDataScope = {
|
|
|
22
22
|
events?: Group;
|
|
23
23
|
logs?: Group;
|
|
24
24
|
metrics?: Group;
|
|
25
|
+
rum?: Group;
|
|
25
26
|
traces?: Group;
|
|
26
27
|
workloads?: Group;
|
|
27
28
|
};
|
|
@@ -2351,6 +2352,12 @@ export type CreateAssetsResponse = {
|
|
|
2351
2352
|
* CreateBackendInvestigationRequest opens a root for a backend caller acting for a user, with how it started.
|
|
2352
2353
|
*/
|
|
2353
2354
|
export type CreateBackendInvestigationRequest = {
|
|
2355
|
+
/**
|
|
2356
|
+
* The trigger investigates an issue at most once per this many seconds: within it, an open of a new firing
|
|
2357
|
+
* cycle is refused with 409 TRIGGER_IN_COOLDOWN, naming the trigger's latest root of the issue, open or closed.
|
|
2358
|
+
* Omitted: once per firing cycle. Only for an automation source.
|
|
2359
|
+
*/
|
|
2360
|
+
cooldownSeconds?: number;
|
|
2354
2361
|
/**
|
|
2355
2362
|
* Sent to the root's investigator after the statement.
|
|
2356
2363
|
*/
|
|
@@ -3516,7 +3523,7 @@ export type EnvType = string;
|
|
|
3516
3523
|
* (message + machine-readable code + trace_id, plus optional metadata).
|
|
3517
3524
|
*/
|
|
3518
3525
|
export type ErrorResponse = {
|
|
3519
|
-
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';
|
|
3526
|
+
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' | 'TRIGGER_IN_COOLDOWN' | 'RUN_IDENTITY_REQUIRED' | 'INVESTIGATIONS_DISABLED' | 'INVESTIGATION_CLOSED' | 'FINDING_OUT_OF_SCOPE' | 'FINDING_RETRACTED' | 'NOT_AUTHOR' | 'INVESTIGATION_GRAMMAR' | 'EVIDENCE_REQUIRED' | 'REFUTE_REQUIRES_HYPOTHESIS' | 'HYPOTHESIS_REQUIRED';
|
|
3520
3527
|
details?: unknown;
|
|
3521
3528
|
docs_url?: string;
|
|
3522
3529
|
message?: string;
|
|
@@ -4676,14 +4683,19 @@ export type InvestigationEvidence = {
|
|
|
4676
4683
|
};
|
|
4677
4684
|
|
|
4678
4685
|
/**
|
|
4679
|
-
* InvestigationExistsDetails is the details of a 409 INVESTIGATION_EXISTS
|
|
4686
|
+
* InvestigationExistsDetails is the details of a 409 INVESTIGATION_EXISTS, the root to join, or of a 409
|
|
4687
|
+
* TRIGGER_IN_COOLDOWN, the trigger's root of the issue from within its cooldown.
|
|
4680
4688
|
*/
|
|
4681
4689
|
export type InvestigationExistsDetails = {
|
|
4682
4690
|
investigationId: string;
|
|
4691
|
+
/**
|
|
4692
|
+
* The issue timestamp of the root to join, which names its firing cycle; only on INVESTIGATION_EXISTS.
|
|
4693
|
+
*/
|
|
4694
|
+
issueTimestamp?: string;
|
|
4683
4695
|
};
|
|
4684
4696
|
|
|
4685
4697
|
/**
|
|
4686
|
-
* InvestigationExistsError is the 409 body of createInvestigation: the issue
|
|
4698
|
+
* InvestigationExistsError is the 409 body of createInvestigation: the issue's firing cycle has an open root to join.
|
|
4687
4699
|
*/
|
|
4688
4700
|
export type InvestigationExistsError = {
|
|
4689
4701
|
code: 'INVESTIGATION_EXISTS';
|
|
@@ -4876,7 +4888,7 @@ export type InvestigationSourceRef = {
|
|
|
4876
4888
|
};
|
|
4877
4889
|
|
|
4878
4890
|
/**
|
|
4879
|
-
* Subject is what a root investigates. At most one root per
|
|
4891
|
+
* Subject is what a root investigates. At most one root per issue firing cycle is open at a time.
|
|
4880
4892
|
*/
|
|
4881
4893
|
export type InvestigationSubject = {
|
|
4882
4894
|
ref: InvestigationSubjectRef;
|