@harnessio/react-ssca-manager-client 0.76.0 → 0.77.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.
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { UpdateIntegrationResponseBodyResponse } from '../responses/UpdateIntegrationResponseBodyResponse';
2
3
  import type { ConfigureReposRequestRequestBody } from '../requestBodies/ConfigureReposRequestRequestBody';
3
4
  import type { ResponseWithPagination } from '../helpers';
4
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -11,7 +12,7 @@ export interface ConfigureReposMutationHeaderParams {
11
12
  'Harness-Account': string;
12
13
  }
13
14
  export type ConfigureReposRequestBody = ConfigureReposRequestRequestBody;
14
- export type ConfigureReposOkResponse = ResponseWithPagination<unknown>;
15
+ export type ConfigureReposOkResponse = ResponseWithPagination<UpdateIntegrationResponseBodyResponse>;
15
16
  export type ConfigureReposErrorResponse = unknown;
16
17
  export interface ConfigureReposProps extends ConfigureReposMutationPathParams, Omit<FetcherOptions<unknown, ConfigureReposRequestBody, ConfigureReposMutationHeaderParams>, 'url'> {
17
18
  body: ConfigureReposRequestBody;
@@ -241,6 +241,7 @@ export type { SaveResponseResponse } from './responses/SaveResponseResponse';
241
241
  export type { SbomProcessResponseBodyResponse } from './responses/SbomProcessResponseBodyResponse';
242
242
  export type { SbomScorecardResponseBodyResponse } from './responses/SbomScorecardResponseBodyResponse';
243
243
  export type { TokenIssueResponseBodyResponse } from './responses/TokenIssueResponseBodyResponse';
244
+ export type { UpdateIntegrationResponseBodyResponse } from './responses/UpdateIntegrationResponseBodyResponse';
244
245
  export type { VersionResponseBodyResponse } from './responses/VersionResponseBodyResponse';
245
246
  export type { ActivityDetails } from './schemas/ActivityDetails';
246
247
  export type { Artifact } from './schemas/Artifact';
@@ -461,6 +462,7 @@ export type { StoIssueCount } from './schemas/StoIssueCount';
461
462
  export type { TicketInfo } from './schemas/TicketInfo';
462
463
  export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
463
464
  export type { TokenIssueTokenResponseBody } from './schemas/TokenIssueTokenResponseBody';
465
+ export type { UpdateIntegration } from './schemas/UpdateIntegration';
464
466
  export type { VerificationActivity } from './schemas/VerificationActivity';
465
467
  export type { VerificationStatus } from './schemas/VerificationStatus';
466
468
  export type { VersionInfo } from './schemas/VersionInfo';
@@ -0,0 +1,2 @@
1
+ import type { UpdateIntegration } from '../schemas/UpdateIntegration';
2
+ export type UpdateIntegrationResponseBodyResponse = UpdateIntegration;
@@ -7,6 +7,7 @@ export interface ArtifactModelPipeline {
7
7
  };
8
8
  name?: string;
9
9
  registry_url?: string;
10
+ source_id?: string;
10
11
  tag?: string;
11
12
  type?: 'image' | 'repository';
12
13
  variant?: ArtifactVariant;
@@ -1,7 +1,7 @@
1
1
  export interface RepoDetailsDto {
2
2
  branch?: string;
3
3
  id?: string;
4
- name?: string;
4
+ name: string;
5
5
  owner?: string;
6
6
  url?: string;
7
7
  visibility?: 'INTERNAL' | 'PRIVATE' | 'PUBLIC';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Example response
3
+ */
4
+ export interface UpdateIntegration {
5
+ all_repos_configured?: boolean;
6
+ missing_repos?: {
7
+ count?: number;
8
+ names?: string[];
9
+ reason?: string;
10
+ };
11
+ }
@@ -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-ssca-manager-client",
3
- "version": "0.76.0",
3
+ "version": "0.77.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",