@groundcover/api-client 0.57.0 → 0.58.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.
@@ -2118,6 +2118,10 @@ export type CreateAssetsResponse = {
2118
2118
  * CreateBackendInvestigationRequest opens a root for a backend caller acting for a user, with how it started.
2119
2119
  */
2120
2120
  export type CreateBackendInvestigationRequest = {
2121
+ /**
2122
+ * Sent to the root's investigator after the statement.
2123
+ */
2124
+ instructions?: string;
2121
2125
  scope?: Array<InvestigationScopeEntry>;
2122
2126
  source: InvestigationBackendSource;
2123
2127
  statement: string;
@@ -3998,12 +4002,22 @@ export type Integrations = {
3998
4002
  * Investigation is one node of an investigation tree; a root has no parent and is always a question.
3999
4003
  */
4000
4004
  export type Investigation = {
4005
+ closeApprovedBy?: InvestigationAuthor;
4001
4006
  closedAt?: string;
4007
+ closedBy?: InvestigationAuthor;
4002
4008
  createdAt: string;
4003
4009
  createdBy: InvestigationAuthor;
4004
4010
  id: string;
4011
+ /**
4012
+ * What the backend caller that opened the root asked of its investigator, sent after the statement; omitted when none.
4013
+ */
4014
+ instructions?: string;
4005
4015
  kind: 'question' | 'hypothesis';
4006
4016
  outcome?: string;
4017
+ /**
4018
+ * The approved resolve, refute or stop that closed the node; for a node a stop closed below it, that stop.
4019
+ */
4020
+ outcomeProposalId?: string;
4007
4021
  /**
4008
4022
  * Parent node; omitted for roots.
4009
4023
  */
@@ -4043,11 +4057,17 @@ export type InvestigationAssessment = {
4043
4057
  * Set from the approved conclusion's verdict on this revision; an update resets it to open.
4044
4058
  */
4045
4059
  verdict: 'open' | 'accepted' | 'rejected';
4060
+ verdictApprovedBy?: InvestigationAuthor;
4046
4061
  /**
4047
4062
  * The approved conclusion whose verdict set Verdict.
4048
4063
  */
4049
4064
  verdictProposalId?: string;
4050
4065
  verdictReason?: string;
4066
+ /**
4067
+ * When that conclusion was approved.
4068
+ */
4069
+ verdictSetAt?: string;
4070
+ verdictSetBy?: InvestigationAuthor;
4051
4071
  };
4052
4072
  /**
4053
4073
  * AssessmentRevision names an assessment at one revision.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2256,6 +2256,10 @@ export type CreateAssetsResponse = {
2256
2256
  * CreateBackendInvestigationRequest opens a root for a backend caller acting for a user, with how it started.
2257
2257
  */
2258
2258
  export type CreateBackendInvestigationRequest = {
2259
+ /**
2260
+ * Sent to the root's investigator after the statement.
2261
+ */
2262
+ instructions?: string;
2259
2263
  scope?: Array<InvestigationScopeEntry>;
2260
2264
  source: InvestigationBackendSource;
2261
2265
  statement: string;
@@ -4287,12 +4291,22 @@ export type Integrations = {
4287
4291
  * Investigation is one node of an investigation tree; a root has no parent and is always a question.
4288
4292
  */
4289
4293
  export type Investigation = {
4294
+ closeApprovedBy?: InvestigationAuthor;
4290
4295
  closedAt?: string;
4296
+ closedBy?: InvestigationAuthor;
4291
4297
  createdAt: string;
4292
4298
  createdBy: InvestigationAuthor;
4293
4299
  id: string;
4300
+ /**
4301
+ * What the backend caller that opened the root asked of its investigator, sent after the statement; omitted when none.
4302
+ */
4303
+ instructions?: string;
4294
4304
  kind: 'question' | 'hypothesis';
4295
4305
  outcome?: string;
4306
+ /**
4307
+ * The approved resolve, refute or stop that closed the node; for a node a stop closed below it, that stop.
4308
+ */
4309
+ outcomeProposalId?: string;
4296
4310
  /**
4297
4311
  * Parent node; omitted for roots.
4298
4312
  */
@@ -4333,11 +4347,17 @@ export type InvestigationAssessment = {
4333
4347
  * Set from the approved conclusion's verdict on this revision; an update resets it to open.
4334
4348
  */
4335
4349
  verdict: 'open' | 'accepted' | 'rejected';
4350
+ verdictApprovedBy?: InvestigationAuthor;
4336
4351
  /**
4337
4352
  * The approved conclusion whose verdict set Verdict.
4338
4353
  */
4339
4354
  verdictProposalId?: string;
4340
4355
  verdictReason?: string;
4356
+ /**
4357
+ * When that conclusion was approved.
4358
+ */
4359
+ verdictSetAt?: string;
4360
+ verdictSetBy?: InvestigationAuthor;
4341
4361
  };
4342
4362
 
4343
4363
  /**