@groundcover/api-client 0.1.0 → 0.5.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.
@@ -3076,7 +3076,25 @@ export type IntegrationCount = {
3076
3076
  name?: string;
3077
3077
  };
3078
3078
  export type Integrations = {
3079
+ /**
3080
+ * Identity is the principal of the backend's own cloud (an AWS role ARN, a GCP
3081
+ * service account email, or an Azure client id). Customers grant it access when the
3082
+ * integration target lives in the same cloud as the backend.
3083
+ */
3079
3084
  identity?: string;
3085
+ /**
3086
+ * OIDCIssuerURL and ServiceAccountSubject describe the backend cluster's Kubernetes
3087
+ * OIDC identity. They are what a customer must trust to federate an integration
3088
+ * whose target is on a different cloud than the backend, where Identity is not
3089
+ * usable: the customer configures their own IAM/WIF/Entra trust against this issuer
3090
+ * and subject, then derives the principal to grant themselves.
3091
+ *
3092
+ * Empty when the backend's cluster has no publicly reachable OIDC issuer, in which
3093
+ * case cross-cloud federation is unavailable and static credentials remain the only
3094
+ * option.
3095
+ */
3096
+ oidc_issuer_url?: string;
3097
+ service_account_subject?: string;
3080
3098
  };
3081
3099
  export type InviteRequest = {
3082
3100
  members?: Array<InviteeDetails>;
@@ -8519,7 +8537,7 @@ export type GetDashboardsResponses = {
8519
8537
  /**
8520
8538
  * GetDashboardsResponseWrapper defines the response structure for getting dashboards list.
8521
8539
  */
8522
- 200: Array<View>;
8540
+ 200: Array<MemberView>;
8523
8541
  };
8524
8542
  export type GetDashboardsResponse = GetDashboardsResponses[keyof GetDashboardsResponses];
8525
8543
  export type CreateDashboardData = {
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.1.0",
3
+ "version": "0.5.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
+ "scripts": {
9
+ "build": "tsc",
10
+ "test": "vitest run tests/unit",
11
+ "test:unit": "vitest run tests/unit",
12
+ "test:e2e": "vitest run tests/e2e",
13
+ "lint": "biome check .",
14
+ "format": "biome format --write ."
15
+ },
8
16
  "devDependencies": {
9
17
  "@biomejs/biome": "^1.8.0",
10
18
  "@hey-api/openapi-ts": "0.99.0",
@@ -19,6 +27,7 @@
19
27
  "deno": ">=1.37.0"
20
28
  },
21
29
  "license": "Apache-2.0",
30
+ "packageManager": "pnpm@10.34.5+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e",
22
31
  "files": [
23
32
  "dist",
24
33
  "src"
@@ -33,12 +42,8 @@
33
42
  "js-yaml": "^5.2.1",
34
43
  "p-retry": "^6.2.1"
35
44
  },
36
- "scripts": {
37
- "build": "tsc",
38
- "test": "vitest run tests/unit",
39
- "test:unit": "vitest run tests/unit",
40
- "test:e2e": "vitest run tests/e2e",
41
- "lint": "biome check .",
42
- "format": "biome format --write ."
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/groundcover-com/groundcover-sdk-typescript.git"
43
48
  }
44
- }
49
+ }
@@ -3306,7 +3306,25 @@ export type IntegrationCount = {
3306
3306
  };
3307
3307
 
3308
3308
  export type Integrations = {
3309
+ /**
3310
+ * Identity is the principal of the backend's own cloud (an AWS role ARN, a GCP
3311
+ * service account email, or an Azure client id). Customers grant it access when the
3312
+ * integration target lives in the same cloud as the backend.
3313
+ */
3309
3314
  identity?: string;
3315
+ /**
3316
+ * OIDCIssuerURL and ServiceAccountSubject describe the backend cluster's Kubernetes
3317
+ * OIDC identity. They are what a customer must trust to federate an integration
3318
+ * whose target is on a different cloud than the backend, where Identity is not
3319
+ * usable: the customer configures their own IAM/WIF/Entra trust against this issuer
3320
+ * and subject, then derives the principal to grant themselves.
3321
+ *
3322
+ * Empty when the backend's cluster has no publicly reachable OIDC issuer, in which
3323
+ * case cross-cloud federation is unavailable and static credentials remain the only
3324
+ * option.
3325
+ */
3326
+ oidc_issuer_url?: string;
3327
+ service_account_subject?: string;
3310
3328
  };
3311
3329
 
3312
3330
  export type InviteRequest = {
@@ -9209,7 +9227,7 @@ export type GetDashboardsResponses = {
9209
9227
  /**
9210
9228
  * GetDashboardsResponseWrapper defines the response structure for getting dashboards list.
9211
9229
  */
9212
- 200: Array<View>;
9230
+ 200: Array<MemberView>;
9213
9231
  };
9214
9232
 
9215
9233
  export type GetDashboardsResponse = GetDashboardsResponses[keyof GetDashboardsResponses];