@groundcover/api-client 0.103.0 → 0.105.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.
@@ -3715,7 +3715,7 @@ export type ExecutionPolicy = {
3715
3715
  };
3716
3716
  };
3717
3717
  /**
3718
- * ExplainDBError is the error the database returned instead of a plan.
3718
+ * DBError is the error the database returned instead of a result.
3719
3719
  */
3720
3720
  export type ExplainDbError = {
3721
3721
  /**
@@ -3772,10 +3772,10 @@ export type ExplainResponse = {
3772
3772
  export type ExplainResult = {
3773
3773
  db_error?: ExplainDbError;
3774
3774
  /**
3775
- * The engine's own JSON plan as the database wrote it, such as PostgreSQL's EXPLAIN (FORMAT JSON) output. Its
3776
- * shape is the engine's: PostgreSQL's is a list, MySQL's an object.
3775
+ * The engine's own JSON plan, as a string holding the JSON exactly as the database wrote it, such as PostgreSQL's
3776
+ * EXPLAIN (FORMAT JSON) output. Its shape is the engine's: PostgreSQL's is a list, MySQL's an object.
3777
3777
  */
3778
- plan?: unknown;
3778
+ plan?: string;
3779
3779
  /**
3780
3780
  * PostgreSQL only. custom: planned for the query's params. generic: it had none, so the plan holds for any value
3781
3781
  * (PostgreSQL 16+).
@@ -10481,6 +10481,10 @@ export type UpdateIntegrationResponse = {
10481
10481
  };
10482
10482
  export type UpdateMappingsRequest = {
10483
10483
  config: MappingConfig;
10484
+ /**
10485
+ * The ID of the saved mapping configuration as returned by the read API.
10486
+ */
10487
+ mapping_id: string;
10484
10488
  /**
10485
10489
  * The provider type for this mappings configuration.
10486
10490
  */
@@ -11762,6 +11766,10 @@ export type PolicyWritable = {
11762
11766
  export type PolicyWithEntityCountWritable = PolicyWritable;
11763
11767
  export type UpdateMappingsRequestWritable = {
11764
11768
  config: MappingConfigWritable;
11769
+ /**
11770
+ * The ID of the saved mapping configuration as returned by the read API.
11771
+ */
11772
+ mapping_id: string;
11765
11773
  /**
11766
11774
  * The provider type for this mappings configuration.
11767
11775
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.103.0",
3
+ "version": "0.105.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -3977,7 +3977,7 @@ export type ExecutionPolicy = {
3977
3977
  };
3978
3978
 
3979
3979
  /**
3980
- * ExplainDBError is the error the database returned instead of a plan.
3980
+ * DBError is the error the database returned instead of a result.
3981
3981
  */
3982
3982
  export type ExplainDbError = {
3983
3983
  /**
@@ -4037,10 +4037,10 @@ export type ExplainResponse = {
4037
4037
  export type ExplainResult = {
4038
4038
  db_error?: ExplainDbError;
4039
4039
  /**
4040
- * The engine's own JSON plan as the database wrote it, such as PostgreSQL's EXPLAIN (FORMAT JSON) output. Its
4041
- * shape is the engine's: PostgreSQL's is a list, MySQL's an object.
4040
+ * The engine's own JSON plan, as a string holding the JSON exactly as the database wrote it, such as PostgreSQL's
4041
+ * EXPLAIN (FORMAT JSON) output. Its shape is the engine's: PostgreSQL's is a list, MySQL's an object.
4042
4042
  */
4043
- plan?: unknown;
4043
+ plan?: string;
4044
4044
  /**
4045
4045
  * PostgreSQL only. custom: planned for the query's params. generic: it had none, so the plan holds for any value
4046
4046
  * (PostgreSQL 16+).
@@ -11250,6 +11250,10 @@ export type UpdateIntegrationResponse = {
11250
11250
 
11251
11251
  export type UpdateMappingsRequest = {
11252
11252
  config: MappingConfig;
11253
+ /**
11254
+ * The ID of the saved mapping configuration as returned by the read API.
11255
+ */
11256
+ mapping_id: string;
11253
11257
  /**
11254
11258
  * The provider type for this mappings configuration.
11255
11259
  */
@@ -12617,6 +12621,10 @@ export type PolicyWithEntityCountWritable = PolicyWritable;
12617
12621
 
12618
12622
  export type UpdateMappingsRequestWritable = {
12619
12623
  config: MappingConfigWritable;
12624
+ /**
12625
+ * The ID of the saved mapping configuration as returned by the read API.
12626
+ */
12627
+ mapping_id: string;
12620
12628
  /**
12621
12629
  * The provider type for this mappings configuration.
12622
12630
  */