@groundcover/api-client 0.104.0 → 0.106.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.
@@ -7673,6 +7673,10 @@ export type Policy = {
7673
7673
  * Whether this policy grants access to sensitive (access-controlled) attributes.
7674
7674
  */
7675
7675
  sensitiveAccess?: boolean;
7676
+ /**
7677
+ * Service account names assigned to the policy.
7678
+ */
7679
+ readonly serviceAccounts?: Array<string>;
7676
7680
  /**
7677
7681
  * Tenant associated with the policy.
7678
7682
  */
@@ -7685,6 +7689,10 @@ export type Policy = {
7685
7689
  * Timestamp when the policy was last updated.
7686
7690
  */
7687
7691
  readonly updatedTimestamp?: string;
7692
+ /**
7693
+ * User email addresses assigned to the policy.
7694
+ */
7695
+ readonly users?: Array<string>;
7688
7696
  /**
7689
7697
  * Unique identifier for the policy.
7690
7698
  */
@@ -10481,6 +10489,10 @@ export type UpdateIntegrationResponse = {
10481
10489
  };
10482
10490
  export type UpdateMappingsRequest = {
10483
10491
  config: MappingConfig;
10492
+ /**
10493
+ * The ID of the saved mapping configuration as returned by the read API.
10494
+ */
10495
+ mapping_id: string;
10484
10496
  /**
10485
10497
  * The provider type for this mappings configuration.
10486
10498
  */
@@ -11762,6 +11774,10 @@ export type PolicyWritable = {
11762
11774
  export type PolicyWithEntityCountWritable = PolicyWritable;
11763
11775
  export type UpdateMappingsRequestWritable = {
11764
11776
  config: MappingConfigWritable;
11777
+ /**
11778
+ * The ID of the saved mapping configuration as returned by the read API.
11779
+ */
11780
+ mapping_id: string;
11765
11781
  /**
11766
11782
  * The provider type for this mappings configuration.
11767
11783
  */
@@ -15115,9 +15131,6 @@ export type GetPolicyErrors = {
15115
15131
  };
15116
15132
  export type GetPolicyError = GetPolicyErrors[keyof GetPolicyErrors];
15117
15133
  export type GetPolicyResponses = {
15118
- /**
15119
- * Add response wrapper definition ---
15120
- */
15121
15134
  200: Policy;
15122
15135
  };
15123
15136
  export type GetPolicyResponse = GetPolicyResponses[keyof GetPolicyResponses];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.104.0",
3
+ "version": "0.106.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8234,6 +8234,10 @@ export type Policy = {
8234
8234
  * Whether this policy grants access to sensitive (access-controlled) attributes.
8235
8235
  */
8236
8236
  sensitiveAccess?: boolean;
8237
+ /**
8238
+ * Service account names assigned to the policy.
8239
+ */
8240
+ readonly serviceAccounts?: Array<string>;
8237
8241
  /**
8238
8242
  * Tenant associated with the policy.
8239
8243
  */
@@ -8246,6 +8250,10 @@ export type Policy = {
8246
8250
  * Timestamp when the policy was last updated.
8247
8251
  */
8248
8252
  readonly updatedTimestamp?: string;
8253
+ /**
8254
+ * User email addresses assigned to the policy.
8255
+ */
8256
+ readonly users?: Array<string>;
8249
8257
  /**
8250
8258
  * Unique identifier for the policy.
8251
8259
  */
@@ -11250,6 +11258,10 @@ export type UpdateIntegrationResponse = {
11250
11258
 
11251
11259
  export type UpdateMappingsRequest = {
11252
11260
  config: MappingConfig;
11261
+ /**
11262
+ * The ID of the saved mapping configuration as returned by the read API.
11263
+ */
11264
+ mapping_id: string;
11253
11265
  /**
11254
11266
  * The provider type for this mappings configuration.
11255
11267
  */
@@ -12617,6 +12629,10 @@ export type PolicyWithEntityCountWritable = PolicyWritable;
12617
12629
 
12618
12630
  export type UpdateMappingsRequestWritable = {
12619
12631
  config: MappingConfigWritable;
12632
+ /**
12633
+ * The ID of the saved mapping configuration as returned by the read API.
12634
+ */
12635
+ mapping_id: string;
12620
12636
  /**
12621
12637
  * The provider type for this mappings configuration.
12622
12638
  */
@@ -16416,9 +16432,6 @@ export type GetPolicyErrors = {
16416
16432
  export type GetPolicyError = GetPolicyErrors[keyof GetPolicyErrors];
16417
16433
 
16418
16434
  export type GetPolicyResponses = {
16419
- /**
16420
- * Add response wrapper definition ---
16421
- */
16422
16435
  200: Policy;
16423
16436
  };
16424
16437