@harnessio/react-idp-service-client 0.49.1 → 0.49.2

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.
@@ -195,6 +195,8 @@ export type { Exports } from './schemas/Exports';
195
195
  export type { Facets } from './schemas/Facets';
196
196
  export type { GenerateYamlRequest } from './schemas/GenerateYamlRequest';
197
197
  export type { GenerateYamlResponse } from './schemas/GenerateYamlResponse';
198
+ export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
199
+ export type { GitIntegrationResponse } from './schemas/GitIntegrationResponse';
198
200
  export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
199
201
  export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
200
202
  export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
@@ -215,6 +217,7 @@ export type { PluginDetails } from './schemas/PluginDetails';
215
217
  export type { PluginInfo } from './schemas/PluginInfo';
216
218
  export type { PluginInfoResponse } from './schemas/PluginInfoResponse';
217
219
  export type { ProxyHostDetail } from './schemas/ProxyHostDetail';
220
+ export type { ReadValidationDetails } from './schemas/ReadValidationDetails';
218
221
  export type { RequestPlugin } from './schemas/RequestPlugin';
219
222
  export type { Rule } from './schemas/Rule';
220
223
  export type { Scorecard } from './schemas/Scorecard';
@@ -236,3 +239,5 @@ export type { StatusInfo } from './schemas/StatusInfo';
236
239
  export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
237
240
  export type { StatusInfoV2 } from './schemas/StatusInfoV2';
238
241
  export type { User } from './schemas/User';
242
+ export type { ValidationResponse } from './schemas/ValidationResponse';
243
+ export type { WriteValidationDetails } from './schemas/WriteValidationDetails';
@@ -1,6 +1,8 @@
1
+ import type { GitIntegrationRequest } from '../schemas/GitIntegrationRequest';
1
2
  /**
2
3
  * Abstract base for integration request
3
4
  */
4
5
  export interface BaseIntegrationRequest {
6
+ oneOf?: GitIntegrationRequest;
5
7
  type: 'git';
6
8
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,8 @@
1
+ import type { ReadValidationDetails } from '../schemas/ReadValidationDetails';
2
+ import type { WriteValidationDetails } from '../schemas/WriteValidationDetails';
3
+ import type { BaseIntegrationRequest } from '../schemas/BaseIntegrationRequest';
4
+ export interface GitIntegrationRequest extends BaseIntegrationRequest {
5
+ connector_identifier: string;
6
+ read_validation_details?: ReadValidationDetails;
7
+ write_validation_details?: WriteValidationDetails;
8
+ }
@@ -0,0 +1,13 @@
1
+ import type { ValidationResponse } from '../schemas/ValidationResponse';
2
+ import type { IntegrationResponse } from '../schemas/IntegrationResponse';
3
+ export interface GitIntegrationResponse extends IntegrationResponse {
4
+ auth_type?: string;
5
+ connector_identifier?: string;
6
+ connector_type?: string;
7
+ display_type?: string;
8
+ host?: string;
9
+ identifier?: string;
10
+ name?: string;
11
+ validation?: ValidationResponse;
12
+ via_delegate?: boolean;
13
+ }
@@ -1,3 +1,5 @@
1
+ import type { GitIntegrationResponse } from '../schemas/GitIntegrationResponse';
1
2
  export interface IntegrationResponse {
2
3
  integration_type: 'git';
4
+ oneOf?: GitIntegrationResponse;
3
5
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,3 @@
1
+ export interface ReadValidationDetails {
2
+ file_url?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface ValidationResponse {
2
+ error?: string;
3
+ status?: string;
4
+ /**
5
+ * @format int64
6
+ */
7
+ validated?: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface WriteValidationDetails {
2
+ branch?: string;
3
+ path?: string;
4
+ repository?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.49.1",
3
+ "version": "0.49.2",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",