@harnessio/react-idp-service-client 0.78.0 → 0.80.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.
@@ -4,7 +4,7 @@ import type { IntegrationRequestRequestBody } from '../requestBodies/Integration
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface CreateIntegrationMutationPathParams {
7
- integration: 'git';
7
+ integration: 'catalog' | 'git';
8
8
  }
9
9
  export interface CreateIntegrationMutationQueryParams {
10
10
  dry_run?: boolean;
@@ -15,6 +15,8 @@ export interface GetEntityVersionsQueryQueryParams {
15
15
  * @default 10
16
16
  */
17
17
  limit?: number;
18
+ search_term?: string;
19
+ deprecated?: boolean;
18
20
  }
19
21
  export interface GetEntityVersionsQueryHeaderParams {
20
22
  'Harness-Account'?: string;
@@ -3,7 +3,7 @@ import type { IntegrationResponseResponse } from '../responses/IntegrationRespon
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetIntegrationQueryPathParams {
6
- integration: 'git';
6
+ integration: 'catalog' | 'git';
7
7
  'integration-id': string;
8
8
  }
9
9
  export interface GetIntegrationQueryHeaderParams {
@@ -3,7 +3,7 @@ import type { IntegrationResponseListResponse } from '../responses/IntegrationRe
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetIntegrationsQueryPathParams {
6
- integration: 'git';
6
+ integration: 'catalog' | 'git';
7
7
  }
8
8
  export interface GetIntegrationsQueryQueryParams {
9
9
  page?: number;
@@ -4,7 +4,7 @@ import type { IntegrationRequestRequestBody } from '../requestBodies/Integration
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface UpdateIntegrationMutationPathParams {
7
- integration: 'git';
7
+ integration: 'catalog' | 'git';
8
8
  'integration-id': string;
9
9
  }
10
10
  export interface UpdateIntegrationMutationQueryParams {
@@ -2,5 +2,5 @@
2
2
  * Base integration request
3
3
  */
4
4
  export interface BaseIntegrationRequest {
5
- type: 'git';
5
+ type: 'catalog' | 'git';
6
6
  }
@@ -2,5 +2,5 @@
2
2
  * Base integration response
3
3
  */
4
4
  export interface BaseIntegrationResponse {
5
- type?: 'git';
5
+ type?: 'catalog' | 'git';
6
6
  }
@@ -41,6 +41,9 @@ export interface EntityResponse {
41
41
  projectIdentifier?: string;
42
42
  project_name?: string;
43
43
  referenceType: 'GIT' | 'INLINE';
44
+ relations?: {
45
+ [key: string]: any;
46
+ };
44
47
  scope: 'ACCOUNT' | 'ORGANIZATION' | 'PROJECT';
45
48
  scorecards?: {
46
49
  average?: number;
@@ -52,6 +55,9 @@ export interface EntityResponse {
52
55
  total_checks?: number;
53
56
  }>;
54
57
  };
58
+ spec?: {
59
+ [key: string]: any;
60
+ };
55
61
  starred?: boolean;
56
62
  status?: Array<{
57
63
  level?: string;
@@ -2,6 +2,14 @@
2
2
  * Entity Version Create Request Body
3
3
  */
4
4
  export interface EntityVersionCreateRequest {
5
+ /**
6
+ * Is the EntityVersion deprecated.
7
+ */
8
+ deprecated?: boolean;
9
+ /**
10
+ * Description of the EntityVersion. Will inherit the description from the Entity if not provided.
11
+ */
12
+ description?: string;
5
13
  /**
6
14
  * Version of the Entity.
7
15
  */
@@ -2,6 +2,8 @@
2
2
  * Entity Version Response Body
3
3
  */
4
4
  export interface EntityVersionResponse {
5
+ deprecated?: boolean;
6
+ description?: string;
5
7
  identifier: string;
6
8
  kind: 'api' | 'component' | 'environment' | 'environmentblueprint' | 'group' | 'resource' | 'system' | 'user' | 'workflow';
7
9
  orgIdentifier?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.78.0",
3
+ "version": "0.80.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",