@harnessio/react-ssca-manager-client 0.38.1 → 0.39.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.
Files changed (26) hide show
  1. package/dist/ssca-manager/src/services/hooks/useCreateIntegrationMutation.d.ts +23 -0
  2. package/dist/ssca-manager/src/services/hooks/useCreateIntegrationMutation.js +14 -0
  3. package/dist/ssca-manager/src/services/hooks/useFetchReposInIntegrationQuery.d.ts +36 -0
  4. package/dist/ssca-manager/src/services/hooks/useFetchReposInIntegrationQuery.js +14 -0
  5. package/dist/ssca-manager/src/services/hooks/useListIntegrationsQuery.d.ts +36 -0
  6. package/dist/ssca-manager/src/services/hooks/useListIntegrationsQuery.js +14 -0
  7. package/dist/ssca-manager/src/services/index.d.ts +14 -0
  8. package/dist/ssca-manager/src/services/index.js +3 -0
  9. package/dist/ssca-manager/src/services/requestBodies/CreateIntegrationRequestBodyRequestBody.d.ts +2 -0
  10. package/dist/ssca-manager/src/services/requestBodies/CreateIntegrationRequestBodyRequestBody.js +1 -0
  11. package/dist/ssca-manager/src/services/responses/CreateIntegrationResponseBodyResponse.d.ts +2 -0
  12. package/dist/ssca-manager/src/services/responses/CreateIntegrationResponseBodyResponse.js +1 -0
  13. package/dist/ssca-manager/src/services/responses/FetchIntegrationReposResponseBodyResponse.d.ts +2 -0
  14. package/dist/ssca-manager/src/services/responses/FetchIntegrationReposResponseBodyResponse.js +1 -0
  15. package/dist/ssca-manager/src/services/responses/IntegrationListingResponseBodyResponse.d.ts +2 -0
  16. package/dist/ssca-manager/src/services/responses/IntegrationListingResponseBodyResponse.js +1 -0
  17. package/dist/ssca-manager/src/services/schemas/ArtifactModelPipeline.d.ts +1 -0
  18. package/dist/ssca-manager/src/services/schemas/CreateIntegrationRequest.d.ts +5 -0
  19. package/dist/ssca-manager/src/services/schemas/CreateIntegrationRequest.js +1 -0
  20. package/dist/ssca-manager/src/services/schemas/Integration.d.ts +8 -0
  21. package/dist/ssca-manager/src/services/schemas/Integration.js +4 -0
  22. package/dist/ssca-manager/src/services/schemas/IntegrationType.d.ts +2 -0
  23. package/dist/ssca-manager/src/services/schemas/IntegrationType.js +4 -0
  24. package/dist/ssca-manager/src/services/schemas/RepoDetailsDto.d.ts +7 -0
  25. package/dist/ssca-manager/src/services/schemas/RepoDetailsDto.js +4 -0
  26. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { CreateIntegrationResponseBodyResponse } from '../responses/CreateIntegrationResponseBodyResponse';
3
+ import type { CreateIntegrationRequestBodyRequestBody } from '../requestBodies/CreateIntegrationRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface CreateIntegrationMutationPathParams {
7
+ org: string;
8
+ project: string;
9
+ }
10
+ export interface CreateIntegrationMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type CreateIntegrationRequestBody = CreateIntegrationRequestBodyRequestBody;
14
+ export type CreateIntegrationOkResponse = ResponseWithPagination<CreateIntegrationResponseBodyResponse>;
15
+ export type CreateIntegrationErrorResponse = unknown;
16
+ export interface CreateIntegrationProps extends CreateIntegrationMutationPathParams, Omit<FetcherOptions<unknown, CreateIntegrationRequestBody, CreateIntegrationMutationHeaderParams>, 'url'> {
17
+ body: CreateIntegrationRequestBody;
18
+ }
19
+ export declare function createIntegration(props: CreateIntegrationProps): Promise<CreateIntegrationOkResponse>;
20
+ /**
21
+ * Create Integration
22
+ */
23
+ export declare function useCreateIntegrationMutation(options?: Omit<UseMutationOptions<CreateIntegrationOkResponse, CreateIntegrationErrorResponse, CreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationOkResponse, unknown, CreateIntegrationProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function createIntegration(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/integration`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create Integration
11
+ */
12
+ export function useCreateIntegrationMutation(options) {
13
+ return useMutation((mutateProps) => createIntegration(mutateProps), options);
14
+ }
@@ -0,0 +1,36 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { FetchIntegrationReposResponseBodyResponse } from '../responses/FetchIntegrationReposResponseBodyResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface FetchReposInIntegrationQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ integration: string;
9
+ }
10
+ export interface FetchReposInIntegrationQueryQueryParams {
11
+ /**
12
+ * @default 30
13
+ */
14
+ limit?: number;
15
+ /**
16
+ * @default "ASC"
17
+ */
18
+ order?: 'ASC' | 'DESC';
19
+ /**
20
+ * @default 0
21
+ */
22
+ page?: number;
23
+ }
24
+ export interface FetchReposInIntegrationQueryHeaderParams {
25
+ 'Harness-Account': string;
26
+ }
27
+ export type FetchReposInIntegrationOkResponse = ResponseWithPagination<FetchIntegrationReposResponseBodyResponse>;
28
+ export type FetchReposInIntegrationErrorResponse = unknown;
29
+ export interface FetchReposInIntegrationProps extends FetchReposInIntegrationQueryPathParams, Omit<FetcherOptions<FetchReposInIntegrationQueryQueryParams, unknown, FetchReposInIntegrationQueryHeaderParams>, 'url'> {
30
+ queryParams: FetchReposInIntegrationQueryQueryParams;
31
+ }
32
+ export declare function fetchReposInIntegration(props: FetchReposInIntegrationProps): Promise<FetchReposInIntegrationOkResponse>;
33
+ /**
34
+ * Get all repos from github app
35
+ */
36
+ export declare function useFetchReposInIntegrationQuery(props: FetchReposInIntegrationProps, options?: Omit<UseQueryOptions<FetchReposInIntegrationOkResponse, FetchReposInIntegrationErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FetchReposInIntegrationOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function fetchReposInIntegration(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/integration/${props.integration}/fetch-repos`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get all repos from github app
11
+ */
12
+ export function useFetchReposInIntegrationQuery(props, options) {
13
+ return useQuery(['fetchReposInIntegration', props.org, props.project, props.integration, props.queryParams], ({ signal }) => fetchReposInIntegration(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,36 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationListingResponseBodyResponse } from '../responses/IntegrationListingResponseBodyResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface ListIntegrationsQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ }
9
+ export interface ListIntegrationsQueryQueryParams {
10
+ /**
11
+ * @default 30
12
+ */
13
+ limit?: number;
14
+ /**
15
+ * @default "ASC"
16
+ */
17
+ order?: 'ASC' | 'DESC';
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ status?: 'ACTIVE' | 'INACTIVE';
23
+ }
24
+ export interface ListIntegrationsQueryHeaderParams {
25
+ 'Harness-Account': string;
26
+ }
27
+ export type ListIntegrationsOkResponse = ResponseWithPagination<IntegrationListingResponseBodyResponse>;
28
+ export type ListIntegrationsErrorResponse = unknown;
29
+ export interface ListIntegrationsProps extends ListIntegrationsQueryPathParams, Omit<FetcherOptions<ListIntegrationsQueryQueryParams, unknown, ListIntegrationsQueryHeaderParams>, 'url'> {
30
+ queryParams: ListIntegrationsQueryQueryParams;
31
+ }
32
+ export declare function listIntegrations(props: ListIntegrationsProps): Promise<ListIntegrationsOkResponse>;
33
+ /**
34
+ * List Integrations
35
+ */
36
+ export declare function useListIntegrationsQuery(props: ListIntegrationsProps, options?: Omit<UseQueryOptions<ListIntegrationsOkResponse, ListIntegrationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationsOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function listIntegrations(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/integration`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List Integrations
11
+ */
12
+ export function useListIntegrationsQuery(props, options) {
13
+ return useQuery(['listIntegrations', props.org, props.project, props.queryParams], ({ signal }) => listIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -7,6 +7,8 @@ export type { CheckArtifactAndDeploymentsErrorResponse, CheckArtifactAndDeployme
7
7
  export { checkArtifactAndDeployments, useCheckArtifactAndDeploymentsMutation, } from './hooks/useCheckArtifactAndDeploymentsMutation';
8
8
  export type { CloseRemediationTrackerErrorResponse, CloseRemediationTrackerMutationPathParams, CloseRemediationTrackerOkResponse, CloseRemediationTrackerProps, } from './hooks/useCloseRemediationTrackerMutation';
9
9
  export { closeRemediationTracker, useCloseRemediationTrackerMutation, } from './hooks/useCloseRemediationTrackerMutation';
10
+ export type { CreateIntegrationErrorResponse, CreateIntegrationMutationPathParams, CreateIntegrationOkResponse, CreateIntegrationProps, CreateIntegrationRequestBody, } from './hooks/useCreateIntegrationMutation';
11
+ export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
10
12
  export type { CreateRemediationTrackerErrorResponse, CreateRemediationTrackerMutationPathParams, CreateRemediationTrackerOkResponse, CreateRemediationTrackerProps, CreateRemediationTrackerRequestBody, } from './hooks/useCreateRemediationTrackerMutation';
11
13
  export { createRemediationTracker, useCreateRemediationTrackerMutation, } from './hooks/useCreateRemediationTrackerMutation';
12
14
  export type { CreateTicketErrorResponse, CreateTicketMutationPathParams, CreateTicketOkResponse, CreateTicketProps, CreateTicketRequestBody, } from './hooks/useCreateTicketMutation';
@@ -15,6 +17,8 @@ export type { DownloadSbomErrorResponse, DownloadSbomOkResponse, DownloadSbomPro
15
17
  export { downloadSbom, useDownloadSbomQuery } from './hooks/useDownloadSbomQuery';
16
18
  export type { ExcludeArtifactErrorResponse, ExcludeArtifactMutationPathParams, ExcludeArtifactOkResponse, ExcludeArtifactProps, ExcludeArtifactRequestBody, } from './hooks/useExcludeArtifactMutation';
17
19
  export { excludeArtifact, useExcludeArtifactMutation } from './hooks/useExcludeArtifactMutation';
20
+ export type { FetchReposInIntegrationErrorResponse, FetchReposInIntegrationOkResponse, FetchReposInIntegrationProps, FetchReposInIntegrationQueryPathParams, FetchReposInIntegrationQueryQueryParams, } from './hooks/useFetchReposInIntegrationQuery';
21
+ export { fetchReposInIntegration, useFetchReposInIntegrationQuery, } from './hooks/useFetchReposInIntegrationQuery';
18
22
  export type { GetArtifactDetailComponentViewErrorResponse, GetArtifactDetailComponentViewOkResponse, GetArtifactDetailComponentViewProps, GetArtifactDetailComponentViewQueryPathParams, GetArtifactDetailComponentViewQueryQueryParams, GetArtifactDetailComponentViewRequestBody, } from './hooks/useGetArtifactDetailComponentViewQuery';
19
23
  export { getArtifactDetailComponentView, useGetArtifactDetailComponentViewQuery, } from './hooks/useGetArtifactDetailComponentViewQuery';
20
24
  export type { GetArtifactDetailDeploymentViewErrorResponse, GetArtifactDetailDeploymentViewOkResponse, GetArtifactDetailDeploymentViewProps, GetArtifactDetailDeploymentViewQueryPathParams, GetArtifactDetailDeploymentViewQueryQueryParams, GetArtifactDetailDeploymentViewRequestBody, } from './hooks/useGetArtifactDetailDeploymentViewQuery';
@@ -53,6 +57,8 @@ export type { GetSscaSummaryErrorResponse, GetSscaSummaryOkResponse, GetSscaSumm
53
57
  export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
54
58
  export type { ListArtifactsErrorResponse, ListArtifactsOkResponse, ListArtifactsProps, ListArtifactsQueryPathParams, ListArtifactsQueryQueryParams, ListArtifactsRequestBody, } from './hooks/useListArtifactsQuery';
55
59
  export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
60
+ export type { ListIntegrationsErrorResponse, ListIntegrationsOkResponse, ListIntegrationsProps, ListIntegrationsQueryPathParams, ListIntegrationsQueryQueryParams, } from './hooks/useListIntegrationsQuery';
61
+ export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
56
62
  export type { ListLatestArtifactsErrorResponse, ListLatestArtifactsOkResponse, ListLatestArtifactsProps, ListLatestArtifactsQueryPathParams, ListLatestArtifactsQueryQueryParams, } from './hooks/useListLatestArtifactsQuery';
57
63
  export { listLatestArtifacts, useListLatestArtifactsQuery, } from './hooks/useListLatestArtifactsQuery';
58
64
  export type { ListRemediationsErrorResponse, ListRemediationsOkResponse, ListRemediationsProps, ListRemediationsQueryPathParams, ListRemediationsQueryQueryParams, ListRemediationsRequestBody, } from './hooks/useListRemediationsQuery';
@@ -66,6 +72,7 @@ export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from '
66
72
  export type { ArtifactListingPipelineRequestBodyRequestBody } from './requestBodies/ArtifactListingPipelineRequestBodyRequestBody';
67
73
  export type { ArtifactListingRequestBodyRequestBody } from './requestBodies/ArtifactListingRequestBodyRequestBody';
68
74
  export type { BaselineRequestBodyRequestBody } from './requestBodies/BaselineRequestBodyRequestBody';
75
+ export type { CreateIntegrationRequestBodyRequestBody } from './requestBodies/CreateIntegrationRequestBodyRequestBody';
69
76
  export type { CreateTicketRequestBodyRequestBody } from './requestBodies/CreateTicketRequestBodyRequestBody';
70
77
  export type { ExcludeArtifactRequestBodyRequestBody } from './requestBodies/ExcludeArtifactRequestBodyRequestBody';
71
78
  export type { RemediationArtifactDeploymentsListingRequestBodyRequestBody } from './requestBodies/RemediationArtifactDeploymentsListingRequestBodyRequestBody';
@@ -84,7 +91,10 @@ export type { ArtifactSbomResponseBodyResponse } from './responses/ArtifactSbomR
84
91
  export type { BaselineResponseBodyResponse } from './responses/BaselineResponseBodyResponse';
85
92
  export type { ComponentDriftResponseBodyResponse } from './responses/ComponentDriftResponseBodyResponse';
86
93
  export type { ComponentListResponseBodyResponse } from './responses/ComponentListResponseBodyResponse';
94
+ export type { CreateIntegrationResponseBodyResponse } from './responses/CreateIntegrationResponseBodyResponse';
87
95
  export type { CreateTicketResponseBodyResponse } from './responses/CreateTicketResponseBodyResponse';
96
+ export type { FetchIntegrationReposResponseBodyResponse } from './responses/FetchIntegrationReposResponseBodyResponse';
97
+ export type { IntegrationListingResponseBodyResponse } from './responses/IntegrationListingResponseBodyResponse';
88
98
  export type { LicenseDriftResponseBodyResponse } from './responses/LicenseDriftResponseBodyResponse';
89
99
  export type { PolicyViolationResponseResponse } from './responses/PolicyViolationResponseResponse';
90
100
  export type { ProvenanceResponseBodyResponse } from './responses/ProvenanceResponseBodyResponse';
@@ -125,6 +135,7 @@ export type { ComponentDto } from './schemas/ComponentDto';
125
135
  export type { ComponentFilter } from './schemas/ComponentFilter';
126
136
  export type { ComponentSummary } from './schemas/ComponentSummary';
127
137
  export type { ContactInfo } from './schemas/ContactInfo';
138
+ export type { CreateIntegrationRequest } from './schemas/CreateIntegrationRequest';
128
139
  export type { CreateTicketRequest } from './schemas/CreateTicketRequest';
129
140
  export type { CreateTicketResponse } from './schemas/CreateTicketResponse';
130
141
  export type { DeploymentsCount } from './schemas/DeploymentsCount';
@@ -133,6 +144,8 @@ export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
133
144
  export type { EnvironmentType } from './schemas/EnvironmentType';
134
145
  export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
135
146
  export type { ExcludeArtifactRequest } from './schemas/ExcludeArtifactRequest';
147
+ export type { Integration } from './schemas/Integration';
148
+ export type { IntegrationType } from './schemas/IntegrationType';
136
149
  export type { LayerType } from './schemas/LayerType';
137
150
  export type { LicenseDrift } from './schemas/LicenseDrift';
138
151
  export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
@@ -160,6 +173,7 @@ export type { RemediationTrackerCreateResponseBody } from './schemas/Remediation
160
173
  export type { RemediationTrackerUpdateRequestBody } from './schemas/RemediationTrackerUpdateRequestBody';
161
174
  export type { RemediationTrackerUpdateResponseBody } from './schemas/RemediationTrackerUpdateResponseBody';
162
175
  export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
176
+ export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
163
177
  export type { SaveResponse } from './schemas/SaveResponse';
164
178
  export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard';
165
179
  export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseBody';
@@ -2,10 +2,12 @@ export { artifactList, useArtifactListQuery } from './hooks/useArtifactListQuery
2
2
  export { calculateDriftForArtifact, useCalculateDriftForArtifactMutation, } from './hooks/useCalculateDriftForArtifactMutation';
3
3
  export { checkArtifactAndDeployments, useCheckArtifactAndDeploymentsMutation, } from './hooks/useCheckArtifactAndDeploymentsMutation';
4
4
  export { closeRemediationTracker, useCloseRemediationTrackerMutation, } from './hooks/useCloseRemediationTrackerMutation';
5
+ export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
5
6
  export { createRemediationTracker, useCreateRemediationTrackerMutation, } from './hooks/useCreateRemediationTrackerMutation';
6
7
  export { createTicket, useCreateTicketMutation } from './hooks/useCreateTicketMutation';
7
8
  export { downloadSbom, useDownloadSbomQuery } from './hooks/useDownloadSbomQuery';
8
9
  export { excludeArtifact, useExcludeArtifactMutation } from './hooks/useExcludeArtifactMutation';
10
+ export { fetchReposInIntegration, useFetchReposInIntegrationQuery, } from './hooks/useFetchReposInIntegrationQuery';
9
11
  export { getArtifactDetailComponentView, useGetArtifactDetailComponentViewQuery, } from './hooks/useGetArtifactDetailComponentViewQuery';
10
12
  export { getArtifactDetailDeploymentView, useGetArtifactDetailDeploymentViewQuery, } from './hooks/useGetArtifactDetailDeploymentViewQuery';
11
13
  export { getArtifactDetails, useGetArtifactDetailsQuery } from './hooks/useGetArtifactDetailsQuery';
@@ -25,6 +27,7 @@ export { getRemediationDetails, useGetRemediationDetailsQuery, } from './hooks/u
25
27
  export { getSbomScorecard, useGetSbomScorecardQuery } from './hooks/useGetSbomScorecardQuery';
26
28
  export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
27
29
  export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
30
+ export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
28
31
  export { listLatestArtifacts, useListLatestArtifactsQuery, } from './hooks/useListLatestArtifactsQuery';
29
32
  export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
30
33
  export { setBaselineForArtifact, useSetBaselineForArtifactMutation, } from './hooks/useSetBaselineForArtifactMutation';
@@ -0,0 +1,2 @@
1
+ import type { CreateIntegrationRequest } from '../schemas/CreateIntegrationRequest';
2
+ export type CreateIntegrationRequestBodyRequestBody = CreateIntegrationRequest;
@@ -0,0 +1,2 @@
1
+ import type { Integration } from '../schemas/Integration';
2
+ export type CreateIntegrationResponseBodyResponse = Integration;
@@ -0,0 +1,2 @@
1
+ import type { RepoDetailsDto } from '../schemas/RepoDetailsDto';
2
+ export type FetchIntegrationReposResponseBodyResponse = RepoDetailsDto[];
@@ -0,0 +1,2 @@
1
+ import type { Integration } from '../schemas/Integration';
2
+ export type IntegrationListingResponseBodyResponse = Integration[];
@@ -1,5 +1,6 @@
1
1
  import type { ArtifactVariant } from '../schemas/ArtifactVariant';
2
2
  export interface ArtifactModelPipeline {
3
+ digest?: string;
3
4
  id?: string;
4
5
  metadata?: {
5
6
  [key: string]: any;
@@ -0,0 +1,5 @@
1
+ import type { IntegrationType } from '../schemas/IntegrationType';
2
+ export interface CreateIntegrationRequest {
3
+ installation_id?: string;
4
+ type?: IntegrationType;
5
+ }
@@ -0,0 +1,8 @@
1
+ export interface Integration {
2
+ connector_id?: string;
3
+ id?: string;
4
+ last_scan_at?: string;
5
+ org?: string;
6
+ status?: {};
7
+ type?: {};
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,2 @@
1
+ export interface IntegrationType {
2
+ }
@@ -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,7 @@
1
+ export interface RepoDetailsDto {
2
+ branch?: string;
3
+ name?: string;
4
+ owner?: string;
5
+ type?: {};
6
+ url?: string;
7
+ }
@@ -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.38.1",
3
+ "version": "0.39.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",