@harnessio/react-har-service-client 0.22.0 → 0.24.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 (84) hide show
  1. package/dist/har-service/src/services/hooks/useDefineSpaceLabelMutation.d.ts +23 -0
  2. package/dist/har-service/src/services/hooks/useDefineSpaceLabelMutation.js +11 -0
  3. package/dist/har-service/src/services/hooks/useDefineSpaceLabelValueMutation.d.ts +21 -0
  4. package/dist/har-service/src/services/hooks/useDefineSpaceLabelValueMutation.js +11 -0
  5. package/dist/har-service/src/services/hooks/useDeleteArtifactMutation.d.ts +5 -1
  6. package/dist/har-service/src/services/hooks/useDeleteArtifactVersionMutation.d.ts +5 -1
  7. package/dist/har-service/src/services/hooks/useDeleteQuarantineFilePathMutation.d.ts +26 -0
  8. package/dist/har-service/src/services/hooks/useDeleteQuarantineFilePathMutation.js +14 -0
  9. package/dist/har-service/src/services/hooks/useDeleteSpaceLabelMutation.d.ts +14 -0
  10. package/dist/har-service/src/services/hooks/useDeleteSpaceLabelMutation.js +11 -0
  11. package/dist/har-service/src/services/hooks/useDeleteSpaceLabelValueMutation.d.ts +15 -0
  12. package/dist/har-service/src/services/hooks/useDeleteSpaceLabelValueMutation.js +11 -0
  13. package/dist/har-service/src/services/hooks/useFindSpaceLabelQuery.d.ts +19 -0
  14. package/dist/har-service/src/services/hooks/useFindSpaceLabelQuery.js +11 -0
  15. package/dist/har-service/src/services/hooks/useGetAllArtifactsByRegistryQuery.d.ts +1 -0
  16. package/dist/har-service/src/services/hooks/useGetAllRegistriesQuery.d.ts +2 -1
  17. package/dist/har-service/src/services/hooks/useGetAllRegistriesQuery.js +1 -1
  18. package/dist/har-service/src/services/hooks/useGetArtifactDetailsQuery.d.ts +1 -0
  19. package/dist/har-service/src/services/hooks/useGetArtifactFileQuery.d.ts +28 -0
  20. package/dist/har-service/src/services/hooks/useGetArtifactFileQuery.js +21 -0
  21. package/dist/har-service/src/services/hooks/useGetArtifactFilesQuery.d.ts +1 -0
  22. package/dist/har-service/src/services/hooks/useGetArtifactStatsForSpaceQuery.d.ts +1 -1
  23. package/dist/har-service/src/services/hooks/useGetArtifactStatsForSpaceQuery.js +1 -1
  24. package/dist/har-service/src/services/hooks/useGetArtifactSummaryQuery.d.ts +5 -1
  25. package/dist/har-service/src/services/hooks/useGetArtifactSummaryQuery.js +1 -1
  26. package/dist/har-service/src/services/hooks/useGetArtifactVersionSummaryQuery.d.ts +1 -0
  27. package/dist/har-service/src/services/hooks/useListSpaceLabelValuesQuery.d.ts +15 -0
  28. package/dist/har-service/src/services/hooks/useListSpaceLabelValuesQuery.js +11 -0
  29. package/dist/har-service/src/services/hooks/useListSpaceLabelsQuery.d.ts +27 -0
  30. package/dist/har-service/src/services/hooks/useListSpaceLabelsQuery.js +11 -0
  31. package/dist/har-service/src/services/hooks/useQuarantineFilePathMutation.d.ts +23 -0
  32. package/dist/har-service/src/services/hooks/useQuarantineFilePathMutation.js +14 -0
  33. package/dist/har-service/src/services/hooks/useSaveSpaceLabelMutation.d.ts +21 -0
  34. package/dist/har-service/src/services/hooks/useSaveSpaceLabelMutation.js +11 -0
  35. package/dist/har-service/src/services/hooks/useUpdateArtifactLabelsMutation.d.ts +5 -1
  36. package/dist/har-service/src/services/hooks/useUpdateSpaceLabelMutation.d.ts +24 -0
  37. package/dist/har-service/src/services/hooks/useUpdateSpaceLabelMutation.js +11 -0
  38. package/dist/har-service/src/services/hooks/useUpdateSpaceLabelValueMutation.d.ts +22 -0
  39. package/dist/har-service/src/services/hooks/useUpdateSpaceLabelValueMutation.js +11 -0
  40. package/dist/har-service/src/services/index.d.ts +45 -6
  41. package/dist/har-service/src/services/index.js +13 -0
  42. package/dist/har-service/src/services/requestBodies/QuarantineRequestRequestBody.d.ts +2 -0
  43. package/dist/har-service/src/services/responses/ArtifactFileResponseResponse.d.ts +8 -0
  44. package/dist/har-service/src/services/responses/QuarantinePathResponseResponse.d.ts +6 -0
  45. package/dist/har-service/src/services/responses/QuarantinePathResponseResponse.js +1 -0
  46. package/dist/har-service/src/services/schemas/ArtifactDetail.d.ts +7 -3
  47. package/dist/har-service/src/services/schemas/ArtifactMetadata.d.ts +2 -2
  48. package/dist/har-service/src/services/schemas/ArtifactSummary.d.ts +2 -0
  49. package/dist/har-service/src/services/schemas/ArtifactType.d.ts +4 -0
  50. package/dist/har-service/src/services/schemas/ArtifactType.js +4 -0
  51. package/dist/har-service/src/services/schemas/ArtifactVersionMetadata.d.ts +3 -0
  52. package/dist/har-service/src/services/schemas/ArtifactVersionSummary.d.ts +2 -0
  53. package/dist/har-service/src/services/schemas/DockerArtifactDetail.d.ts +1 -0
  54. package/dist/har-service/src/services/schemas/EnumLabelColor.d.ts +1 -0
  55. package/dist/har-service/src/services/schemas/EnumLabelColor.js +4 -0
  56. package/dist/har-service/src/services/schemas/EnumLabelType.d.ts +1 -0
  57. package/dist/har-service/src/services/schemas/EnumLabelType.js +4 -0
  58. package/dist/har-service/src/services/schemas/HuggingFaceArtifactDetailConfig.d.ts +8 -0
  59. package/dist/har-service/src/services/schemas/HuggingFaceArtifactDetailConfig.js +4 -0
  60. package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
  61. package/dist/har-service/src/services/schemas/QuarantinePath.d.ts +20 -0
  62. package/dist/har-service/src/services/schemas/QuarantinePath.js +4 -0
  63. package/dist/har-service/src/services/schemas/QuarantineRequest.d.ts +6 -0
  64. package/dist/har-service/src/services/schemas/QuarantineRequest.js +4 -0
  65. package/dist/har-service/src/services/schemas/RegistryArtifactMetadata.d.ts +3 -0
  66. package/dist/har-service/src/services/schemas/RegistryRequest.d.ts +10 -0
  67. package/dist/har-service/src/services/schemas/TypesLabel.d.ts +40 -0
  68. package/dist/har-service/src/services/schemas/TypesLabel.js +1 -0
  69. package/dist/har-service/src/services/schemas/TypesLabelValue.d.ts +11 -0
  70. package/dist/har-service/src/services/schemas/TypesLabelValue.js +1 -0
  71. package/dist/har-service/src/services/schemas/TypesLabelWithValues.d.ts +6 -0
  72. package/dist/har-service/src/services/schemas/TypesLabelWithValues.js +1 -0
  73. package/dist/har-service/src/services/schemas/TypesSaveLabelInput.d.ts +9 -0
  74. package/dist/har-service/src/services/schemas/TypesSaveLabelInput.js +1 -0
  75. package/dist/har-service/src/services/schemas/TypesSaveLabelValueInput.d.ts +6 -0
  76. package/dist/har-service/src/services/schemas/TypesSaveLabelValueInput.js +1 -0
  77. package/dist/har-service/src/services/schemas/UpstreamConfig.d.ts +1 -1
  78. package/dist/har-service/src/services/schemas/UsererrorError.d.ts +6 -0
  79. package/dist/har-service/src/services/schemas/UsererrorError.js +4 -0
  80. package/package.json +1 -1
  81. package/dist/har-service/src/services/schemas/StoDigestMetadata.d.ts +0 -8
  82. package/dist/har-service/src/services/schemas/StoMetadata.d.ts +0 -12
  83. /package/dist/har-service/src/services/{schemas/StoDigestMetadata.js → requestBodies/QuarantineRequestRequestBody.js} +0 -0
  84. /package/dist/har-service/src/services/{schemas/StoMetadata.js → responses/ArtifactFileResponseResponse.js} +0 -0
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesLabelValue } from '../schemas/TypesLabelValue';
3
+ import type { UsererrorError } from '../schemas/UsererrorError';
4
+ import type { EnumLabelColor } from '../schemas/EnumLabelColor';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface UpdateSpaceLabelValueMutationPathParams {
8
+ space_ref: string;
9
+ key: string;
10
+ value: string;
11
+ }
12
+ export type UpdateSpaceLabelValueRequestBody = {
13
+ color?: EnumLabelColor;
14
+ value?: string;
15
+ };
16
+ export type UpdateSpaceLabelValueOkResponse = ResponseWithPagination<TypesLabelValue>;
17
+ export type UpdateSpaceLabelValueErrorResponse = UsererrorError;
18
+ export interface UpdateSpaceLabelValueProps extends UpdateSpaceLabelValueMutationPathParams, Omit<FetcherOptions<unknown, UpdateSpaceLabelValueRequestBody>, 'url'> {
19
+ body: UpdateSpaceLabelValueRequestBody;
20
+ }
21
+ export declare function updateSpaceLabelValue(props: UpdateSpaceLabelValueProps): Promise<UpdateSpaceLabelValueOkResponse>;
22
+ export declare function useUpdateSpaceLabelValueMutation(options?: Omit<UseMutationOptions<UpdateSpaceLabelValueOkResponse, UpdateSpaceLabelValueErrorResponse, UpdateSpaceLabelValueProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateSpaceLabelValueOkResponse, UsererrorError, UpdateSpaceLabelValueProps, unknown>;
@@ -0,0 +1,11 @@
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 updateSpaceLabelValue(props) {
7
+ return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}/values/${props.value}`, method: 'PATCH' }, props));
8
+ }
9
+ export function useUpdateSpaceLabelValueMutation(options) {
10
+ return useMutation((mutateProps) => updateSpaceLabelValue(mutateProps), options);
11
+ }
@@ -5,16 +5,28 @@ export type { CreateReplicationRuleErrorResponse, CreateReplicationRuleMutationQ
5
5
  export { createReplicationRule, useCreateReplicationRuleMutation, } from './hooks/useCreateReplicationRuleMutation';
6
6
  export type { CreateWebhookErrorResponse, CreateWebhookMutationPathParams, CreateWebhookOkResponse, CreateWebhookProps, CreateWebhookRequestBody, } from './hooks/useCreateWebhookMutation';
7
7
  export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
8
- export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, DeleteArtifactOkResponse, DeleteArtifactProps, } from './hooks/useDeleteArtifactMutation';
8
+ export type { DefineSpaceLabelErrorResponse, DefineSpaceLabelMutationPathParams, DefineSpaceLabelOkResponse, DefineSpaceLabelProps, DefineSpaceLabelRequestBody, } from './hooks/useDefineSpaceLabelMutation';
9
+ export { defineSpaceLabel, useDefineSpaceLabelMutation } from './hooks/useDefineSpaceLabelMutation';
10
+ export type { DefineSpaceLabelValueErrorResponse, DefineSpaceLabelValueMutationPathParams, DefineSpaceLabelValueOkResponse, DefineSpaceLabelValueProps, DefineSpaceLabelValueRequestBody, } from './hooks/useDefineSpaceLabelValueMutation';
11
+ export { defineSpaceLabelValue, useDefineSpaceLabelValueMutation, } from './hooks/useDefineSpaceLabelValueMutation';
12
+ export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, DeleteArtifactMutationQueryParams, DeleteArtifactOkResponse, DeleteArtifactProps, } from './hooks/useDeleteArtifactMutation';
9
13
  export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
10
- export type { DeleteArtifactVersionErrorResponse, DeleteArtifactVersionMutationPathParams, DeleteArtifactVersionOkResponse, DeleteArtifactVersionProps, } from './hooks/useDeleteArtifactVersionMutation';
14
+ export type { DeleteArtifactVersionErrorResponse, DeleteArtifactVersionMutationPathParams, DeleteArtifactVersionMutationQueryParams, DeleteArtifactVersionOkResponse, DeleteArtifactVersionProps, } from './hooks/useDeleteArtifactVersionMutation';
11
15
  export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
16
+ export type { DeleteQuarantineFilePathErrorResponse, DeleteQuarantineFilePathMutationPathParams, DeleteQuarantineFilePathMutationQueryParams, DeleteQuarantineFilePathOkResponse, DeleteQuarantineFilePathProps, } from './hooks/useDeleteQuarantineFilePathMutation';
17
+ export { deleteQuarantineFilePath, useDeleteQuarantineFilePathMutation, } from './hooks/useDeleteQuarantineFilePathMutation';
12
18
  export type { DeleteRegistryErrorResponse, DeleteRegistryMutationPathParams, DeleteRegistryOkResponse, DeleteRegistryProps, } from './hooks/useDeleteRegistryMutation';
13
19
  export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
14
20
  export type { DeleteReplicationRuleErrorResponse, DeleteReplicationRuleMutationPathParams, DeleteReplicationRuleOkResponse, DeleteReplicationRuleProps, } from './hooks/useDeleteReplicationRuleMutation';
15
21
  export { deleteReplicationRule, useDeleteReplicationRuleMutation, } from './hooks/useDeleteReplicationRuleMutation';
22
+ export type { DeleteSpaceLabelErrorResponse, DeleteSpaceLabelMutationPathParams, DeleteSpaceLabelOkResponse, DeleteSpaceLabelProps, } from './hooks/useDeleteSpaceLabelMutation';
23
+ export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDeleteSpaceLabelMutation';
24
+ export type { DeleteSpaceLabelValueErrorResponse, DeleteSpaceLabelValueMutationPathParams, DeleteSpaceLabelValueOkResponse, DeleteSpaceLabelValueProps, } from './hooks/useDeleteSpaceLabelValueMutation';
25
+ export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
16
26
  export type { DeleteWebhookErrorResponse, DeleteWebhookMutationPathParams, DeleteWebhookOkResponse, DeleteWebhookProps, } from './hooks/useDeleteWebhookMutation';
17
27
  export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
28
+ export type { FindSpaceLabelErrorResponse, FindSpaceLabelOkResponse, FindSpaceLabelProps, FindSpaceLabelQueryPathParams, FindSpaceLabelQueryQueryParams, } from './hooks/useFindSpaceLabelQuery';
29
+ export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
18
30
  export type { GetAllArtifactVersionsErrorResponse, GetAllArtifactVersionsOkResponse, GetAllArtifactVersionsProps, GetAllArtifactVersionsQueryPathParams, GetAllArtifactVersionsQueryQueryParams, } from './hooks/useGetAllArtifactVersionsQuery';
19
31
  export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
20
32
  export type { GetAllArtifactsByRegistryErrorResponse, GetAllArtifactsByRegistryOkResponse, GetAllArtifactsByRegistryProps, GetAllArtifactsByRegistryQueryPathParams, GetAllArtifactsByRegistryQueryQueryParams, } from './hooks/useGetAllArtifactsByRegistryQuery';
@@ -27,6 +39,8 @@ export type { GetArtifactDeploymentsErrorResponse, GetArtifactDeploymentsOkRespo
27
39
  export { getArtifactDeployments, useGetArtifactDeploymentsQuery, } from './hooks/useGetArtifactDeploymentsQuery';
28
40
  export type { GetArtifactDetailsErrorResponse, GetArtifactDetailsOkResponse, GetArtifactDetailsProps, GetArtifactDetailsQueryPathParams, GetArtifactDetailsQueryQueryParams, } from './hooks/useGetArtifactDetailsQuery';
29
41
  export { getArtifactDetails, useGetArtifactDetailsQuery } from './hooks/useGetArtifactDetailsQuery';
42
+ export type { GetArtifactFileErrorResponse, GetArtifactFileOkResponse, GetArtifactFileProps, GetArtifactFileQueryPathParams, GetArtifactFileQueryQueryParams, } from './hooks/useGetArtifactFileQuery';
43
+ export { getArtifactFile, useGetArtifactFileQuery } from './hooks/useGetArtifactFileQuery';
30
44
  export type { GetArtifactFilesErrorResponse, GetArtifactFilesOkResponse, GetArtifactFilesProps, GetArtifactFilesQueryPathParams, GetArtifactFilesQueryQueryParams, } from './hooks/useGetArtifactFilesQuery';
31
45
  export { getArtifactFiles, useGetArtifactFilesQuery } from './hooks/useGetArtifactFilesQuery';
32
46
  export type { GetArtifactStatsForRegistryErrorResponse, GetArtifactStatsForRegistryOkResponse, GetArtifactStatsForRegistryProps, GetArtifactStatsForRegistryQueryPathParams, GetArtifactStatsForRegistryQueryQueryParams, } from './hooks/useGetArtifactStatsForRegistryQuery';
@@ -35,7 +49,7 @@ export type { GetArtifactStatsForSpaceErrorResponse, GetArtifactStatsForSpaceOkR
35
49
  export { getArtifactStatsForSpace, useGetArtifactStatsForSpaceQuery, } from './hooks/useGetArtifactStatsForSpaceQuery';
36
50
  export type { GetArtifactStatsErrorResponse, GetArtifactStatsOkResponse, GetArtifactStatsProps, GetArtifactStatsQueryPathParams, GetArtifactStatsQueryQueryParams, } from './hooks/useGetArtifactStatsQuery';
37
51
  export { getArtifactStats, useGetArtifactStatsQuery } from './hooks/useGetArtifactStatsQuery';
38
- export type { GetArtifactSummaryErrorResponse, GetArtifactSummaryOkResponse, GetArtifactSummaryProps, GetArtifactSummaryQueryPathParams, } from './hooks/useGetArtifactSummaryQuery';
52
+ export type { GetArtifactSummaryErrorResponse, GetArtifactSummaryOkResponse, GetArtifactSummaryProps, GetArtifactSummaryQueryPathParams, GetArtifactSummaryQueryQueryParams, } from './hooks/useGetArtifactSummaryQuery';
39
53
  export { getArtifactSummary, useGetArtifactSummaryQuery } from './hooks/useGetArtifactSummaryQuery';
40
54
  export type { GetArtifactVersionSummaryErrorResponse, GetArtifactVersionSummaryOkResponse, GetArtifactVersionSummaryProps, GetArtifactVersionSummaryQueryPathParams, GetArtifactVersionSummaryQueryQueryParams, } from './hooks/useGetArtifactVersionSummaryQuery';
41
55
  export { getArtifactVersionSummary, useGetArtifactVersionSummaryQuery, } from './hooks/useGetArtifactVersionSummaryQuery';
@@ -73,32 +87,46 @@ export type { ListMigrationImagesErrorResponse, ListMigrationImagesOkResponse, L
73
87
  export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
74
88
  export type { ListReplicationRulesErrorResponse, ListReplicationRulesOkResponse, ListReplicationRulesProps, ListReplicationRulesQueryQueryParams, } from './hooks/useListReplicationRulesQuery';
75
89
  export { listReplicationRules, useListReplicationRulesQuery, } from './hooks/useListReplicationRulesQuery';
90
+ export type { ListSpaceLabelValuesErrorResponse, ListSpaceLabelValuesOkResponse, ListSpaceLabelValuesProps, ListSpaceLabelValuesQueryPathParams, } from './hooks/useListSpaceLabelValuesQuery';
91
+ export { listSpaceLabelValues, useListSpaceLabelValuesQuery, } from './hooks/useListSpaceLabelValuesQuery';
92
+ export type { ListSpaceLabelsErrorResponse, ListSpaceLabelsOkResponse, ListSpaceLabelsProps, ListSpaceLabelsQueryPathParams, ListSpaceLabelsQueryQueryParams, } from './hooks/useListSpaceLabelsQuery';
93
+ export { listSpaceLabels, useListSpaceLabelsQuery } from './hooks/useListSpaceLabelsQuery';
76
94
  export type { ListWebhookExecutionsErrorResponse, ListWebhookExecutionsOkResponse, ListWebhookExecutionsProps, ListWebhookExecutionsQueryPathParams, ListWebhookExecutionsQueryQueryParams, } from './hooks/useListWebhookExecutionsQuery';
77
95
  export { listWebhookExecutions, useListWebhookExecutionsQuery, } from './hooks/useListWebhookExecutionsQuery';
78
96
  export type { ListWebhooksErrorResponse, ListWebhooksOkResponse, ListWebhooksProps, ListWebhooksQueryPathParams, ListWebhooksQueryQueryParams, } from './hooks/useListWebhooksQuery';
79
97
  export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery';
80
98
  export type { ModifyRegistryErrorResponse, ModifyRegistryMutationPathParams, ModifyRegistryOkResponse, ModifyRegistryProps, ModifyRegistryRequestBody, } from './hooks/useModifyRegistryMutation';
81
99
  export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
100
+ export type { QuarantineFilePathErrorResponse, QuarantineFilePathMutationPathParams, QuarantineFilePathOkResponse, QuarantineFilePathProps, QuarantineFilePathRequestBody, } from './hooks/useQuarantineFilePathMutation';
101
+ export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
82
102
  export type { ReTriggerWebhookExecutionErrorResponse, ReTriggerWebhookExecutionOkResponse, ReTriggerWebhookExecutionProps, ReTriggerWebhookExecutionQueryPathParams, } from './hooks/useReTriggerWebhookExecutionQuery';
83
103
  export { reTriggerWebhookExecution, useReTriggerWebhookExecutionQuery, } from './hooks/useReTriggerWebhookExecutionQuery';
84
104
  export type { RedirectHarnessArtifactErrorResponse, RedirectHarnessArtifactOkResponse, RedirectHarnessArtifactProps, RedirectHarnessArtifactQueryPathParams, RedirectHarnessArtifactQueryQueryParams, } from './hooks/useRedirectHarnessArtifactQuery';
85
105
  export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
106
+ export type { SaveSpaceLabelErrorResponse, SaveSpaceLabelMutationPathParams, SaveSpaceLabelOkResponse, SaveSpaceLabelProps, SaveSpaceLabelRequestBody, } from './hooks/useSaveSpaceLabelMutation';
107
+ export { saveSpaceLabel, useSaveSpaceLabelMutation } from './hooks/useSaveSpaceLabelMutation';
86
108
  export type { StartMigrationErrorResponse, StartMigrationMutationPathParams, StartMigrationOkResponse, StartMigrationProps, } from './hooks/useStartMigrationMutation';
87
109
  export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
88
110
  export type { StopMigrationErrorResponse, StopMigrationMutationPathParams, StopMigrationOkResponse, StopMigrationProps, } from './hooks/useStopMigrationMutation';
89
111
  export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
90
- export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPathParams, UpdateArtifactLabelsOkResponse, UpdateArtifactLabelsProps, UpdateArtifactLabelsRequestBody, } from './hooks/useUpdateArtifactLabelsMutation';
112
+ export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPathParams, UpdateArtifactLabelsMutationQueryParams, UpdateArtifactLabelsOkResponse, UpdateArtifactLabelsProps, UpdateArtifactLabelsRequestBody, } from './hooks/useUpdateArtifactLabelsMutation';
91
113
  export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
92
114
  export type { UpdateReplicationRuleErrorResponse, UpdateReplicationRuleMutationPathParams, UpdateReplicationRuleOkResponse, UpdateReplicationRuleProps, UpdateReplicationRuleRequestBody, } from './hooks/useUpdateReplicationRuleMutation';
93
115
  export { updateReplicationRule, useUpdateReplicationRuleMutation, } from './hooks/useUpdateReplicationRuleMutation';
116
+ export type { UpdateSpaceLabelErrorResponse, UpdateSpaceLabelMutationPathParams, UpdateSpaceLabelOkResponse, UpdateSpaceLabelProps, UpdateSpaceLabelRequestBody, } from './hooks/useUpdateSpaceLabelMutation';
117
+ export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdateSpaceLabelMutation';
118
+ export type { UpdateSpaceLabelValueErrorResponse, UpdateSpaceLabelValueMutationPathParams, UpdateSpaceLabelValueOkResponse, UpdateSpaceLabelValueProps, UpdateSpaceLabelValueRequestBody, } from './hooks/useUpdateSpaceLabelValueMutation';
119
+ export { updateSpaceLabelValue, useUpdateSpaceLabelValueMutation, } from './hooks/useUpdateSpaceLabelValueMutation';
94
120
  export type { UpdateWebhookErrorResponse, UpdateWebhookMutationPathParams, UpdateWebhookOkResponse, UpdateWebhookProps, UpdateWebhookRequestBody, } from './hooks/useUpdateWebhookMutation';
95
121
  export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
96
122
  export type { ArtifactLabelRequestRequestBody } from './requestBodies/ArtifactLabelRequestRequestBody';
123
+ export type { QuarantineRequestRequestBody } from './requestBodies/QuarantineRequestRequestBody';
97
124
  export type { RegistryRequestRequestBody } from './requestBodies/RegistryRequestRequestBody';
98
125
  export type { ReplicationRuleRequestRequestBody } from './requestBodies/ReplicationRuleRequestRequestBody';
99
126
  export type { WebhookRequestRequestBody } from './requestBodies/WebhookRequestRequestBody';
100
127
  export type { ArtifactDeploymentsResponseResponse } from './responses/ArtifactDeploymentsResponseResponse';
101
128
  export type { ArtifactDetailResponseResponse } from './responses/ArtifactDetailResponseResponse';
129
+ export type { ArtifactFileResponseResponse } from './responses/ArtifactFileResponseResponse';
102
130
  export type { ArtifactLabelResponseResponse } from './responses/ArtifactLabelResponseResponse';
103
131
  export type { ArtifactStatsResponseResponse } from './responses/ArtifactStatsResponseResponse';
104
132
  export type { ArtifactSummaryResponseResponse } from './responses/ArtifactSummaryResponseResponse';
@@ -125,6 +153,7 @@ export type { ListWebhooksExecutionResponseResponse } from './responses/ListWebh
125
153
  export type { ListWebhooksResponseResponse } from './responses/ListWebhooksResponseResponse';
126
154
  export type { NotFoundResponse } from './responses/NotFoundResponse';
127
155
  export type { PlainTextResponseResponse } from './responses/PlainTextResponseResponse';
156
+ export type { QuarantinePathResponseResponse } from './responses/QuarantinePathResponseResponse';
128
157
  export type { RedirectResponse } from './responses/RedirectResponse';
129
158
  export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
130
159
  export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
@@ -144,6 +173,7 @@ export type { ArtifactLabelRequest } from './schemas/ArtifactLabelRequest';
144
173
  export type { ArtifactMetadata } from './schemas/ArtifactMetadata';
145
174
  export type { ArtifactStats } from './schemas/ArtifactStats';
146
175
  export type { ArtifactSummary } from './schemas/ArtifactSummary';
176
+ export type { ArtifactType } from './schemas/ArtifactType';
147
177
  export type { ArtifactVersionMetadata } from './schemas/ArtifactVersionMetadata';
148
178
  export type { ArtifactVersionSummary } from './schemas/ArtifactVersionSummary';
149
179
  export type { AuthType } from './schemas/AuthType';
@@ -167,6 +197,8 @@ export type { DockerLayerEntry } from './schemas/DockerLayerEntry';
167
197
  export type { DockerLayersSummary } from './schemas/DockerLayersSummary';
168
198
  export type { DockerManifestDetails } from './schemas/DockerManifestDetails';
169
199
  export type { DockerManifests } from './schemas/DockerManifests';
200
+ export type { EnumLabelColor } from './schemas/EnumLabelColor';
201
+ export type { EnumLabelType } from './schemas/EnumLabelType';
170
202
  export type { EnvironmentType } from './schemas/EnvironmentType';
171
203
  export type { Error } from './schemas/Error';
172
204
  export type { ExtraHeader } from './schemas/ExtraHeader';
@@ -176,6 +208,7 @@ export type { GoArtifactDetailConfig } from './schemas/GoArtifactDetailConfig';
176
208
  export type { HelmArtifactDetail } from './schemas/HelmArtifactDetail';
177
209
  export type { HelmArtifactDetailConfig } from './schemas/HelmArtifactDetailConfig';
178
210
  export type { HelmArtifactManifest } from './schemas/HelmArtifactManifest';
211
+ export type { HuggingFaceArtifactDetailConfig } from './schemas/HuggingFaceArtifactDetailConfig';
179
212
  export type { JfrogReplicationRegistry } from './schemas/JfrogReplicationRegistry';
180
213
  export type { ListArtifact } from './schemas/ListArtifact';
181
214
  export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
@@ -193,6 +226,8 @@ export type { NpmArtifactDetailConfig } from './schemas/NpmArtifactDetailConfig'
193
226
  export type { NugetArtifactDetailConfig } from './schemas/NugetArtifactDetailConfig';
194
227
  export type { PackageType } from './schemas/PackageType';
195
228
  export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
229
+ export type { QuarantinePath } from './schemas/QuarantinePath';
230
+ export type { QuarantineRequest } from './schemas/QuarantineRequest';
196
231
  export type { Registry } from './schemas/Registry';
197
232
  export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
198
233
  export type { RegistryConfig } from './schemas/RegistryConfig';
@@ -209,14 +244,18 @@ export type { SectionType } from './schemas/SectionType';
209
244
  export type { SlsaDetails } from './schemas/SlsaDetails';
210
245
  export type { Status } from './schemas/Status';
211
246
  export type { StoDetails } from './schemas/StoDetails';
212
- export type { StoDigestMetadata } from './schemas/StoDigestMetadata';
213
- export type { StoMetadata } from './schemas/StoMetadata';
214
247
  export type { StorageDetails } from './schemas/StorageDetails';
215
248
  export type { TabSetupStep } from './schemas/TabSetupStep';
216
249
  export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
217
250
  export type { Trigger } from './schemas/Trigger';
251
+ export type { TypesLabel } from './schemas/TypesLabel';
252
+ export type { TypesLabelValue } from './schemas/TypesLabelValue';
253
+ export type { TypesLabelWithValues } from './schemas/TypesLabelWithValues';
254
+ export type { TypesSaveLabelInput } from './schemas/TypesSaveLabelInput';
255
+ export type { TypesSaveLabelValueInput } from './schemas/TypesSaveLabelValueInput';
218
256
  export type { UpstreamConfig } from './schemas/UpstreamConfig';
219
257
  export type { UserPassword } from './schemas/UserPassword';
258
+ export type { UsererrorError } from './schemas/UsererrorError';
220
259
  export type { VirtualConfig } from './schemas/VirtualConfig';
221
260
  export type { Webhook } from './schemas/Webhook';
222
261
  export type { WebhookExecRequest } from './schemas/WebhookExecRequest';
@@ -1,17 +1,24 @@
1
1
  export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
2
2
  export { createReplicationRule, useCreateReplicationRuleMutation, } from './hooks/useCreateReplicationRuleMutation';
3
3
  export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
4
+ export { defineSpaceLabel, useDefineSpaceLabelMutation } from './hooks/useDefineSpaceLabelMutation';
5
+ export { defineSpaceLabelValue, useDefineSpaceLabelValueMutation, } from './hooks/useDefineSpaceLabelValueMutation';
4
6
  export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
5
7
  export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
8
+ export { deleteQuarantineFilePath, useDeleteQuarantineFilePathMutation, } from './hooks/useDeleteQuarantineFilePathMutation';
6
9
  export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
7
10
  export { deleteReplicationRule, useDeleteReplicationRuleMutation, } from './hooks/useDeleteReplicationRuleMutation';
11
+ export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDeleteSpaceLabelMutation';
12
+ export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
8
13
  export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
14
+ export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
9
15
  export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
10
16
  export { getAllArtifactsByRegistry, useGetAllArtifactsByRegistryQuery, } from './hooks/useGetAllArtifactsByRegistryQuery';
11
17
  export { getAllHarnessArtifacts, useGetAllHarnessArtifactsQuery, } from './hooks/useGetAllHarnessArtifactsQuery';
12
18
  export { getAllRegistries, useGetAllRegistriesQuery } from './hooks/useGetAllRegistriesQuery';
13
19
  export { getArtifactDeployments, useGetArtifactDeploymentsQuery, } from './hooks/useGetArtifactDeploymentsQuery';
14
20
  export { getArtifactDetails, useGetArtifactDetailsQuery } from './hooks/useGetArtifactDetailsQuery';
21
+ export { getArtifactFile, useGetArtifactFileQuery } from './hooks/useGetArtifactFileQuery';
15
22
  export { getArtifactFiles, useGetArtifactFilesQuery } from './hooks/useGetArtifactFilesQuery';
16
23
  export { getArtifactStatsForRegistry, useGetArtifactStatsForRegistryQuery, } from './hooks/useGetArtifactStatsForRegistryQuery';
17
24
  export { getArtifactStatsForSpace, useGetArtifactStatsForSpaceQuery, } from './hooks/useGetArtifactStatsForSpaceQuery';
@@ -35,13 +42,19 @@ export { getWebhook, useGetWebhookQuery } from './hooks/useGetWebhookQuery';
35
42
  export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
36
43
  export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
37
44
  export { listReplicationRules, useListReplicationRulesQuery, } from './hooks/useListReplicationRulesQuery';
45
+ export { listSpaceLabelValues, useListSpaceLabelValuesQuery, } from './hooks/useListSpaceLabelValuesQuery';
46
+ export { listSpaceLabels, useListSpaceLabelsQuery } from './hooks/useListSpaceLabelsQuery';
38
47
  export { listWebhookExecutions, useListWebhookExecutionsQuery, } from './hooks/useListWebhookExecutionsQuery';
39
48
  export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery';
40
49
  export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
50
+ export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
41
51
  export { reTriggerWebhookExecution, useReTriggerWebhookExecutionQuery, } from './hooks/useReTriggerWebhookExecutionQuery';
42
52
  export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
53
+ export { saveSpaceLabel, useSaveSpaceLabelMutation } from './hooks/useSaveSpaceLabelMutation';
43
54
  export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
44
55
  export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
45
56
  export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
46
57
  export { updateReplicationRule, useUpdateReplicationRuleMutation, } from './hooks/useUpdateReplicationRuleMutation';
58
+ export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdateSpaceLabelMutation';
59
+ export { updateSpaceLabelValue, useUpdateSpaceLabelValueMutation, } from './hooks/useUpdateSpaceLabelValueMutation';
47
60
  export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
@@ -0,0 +1,2 @@
1
+ import type { QuarantineRequest } from '../schemas/QuarantineRequest';
2
+ export type QuarantineRequestRequestBody = QuarantineRequest;
@@ -0,0 +1,8 @@
1
+ import type { Status } from '../schemas/Status';
2
+ export interface ArtifactFileResponseResponse {
3
+ /**
4
+ * download url of artifact
5
+ */
6
+ downloadUrl: string;
7
+ status: Status;
8
+ }
@@ -0,0 +1,6 @@
1
+ import type { QuarantinePath } from '../schemas/QuarantinePath';
2
+ import type { Status } from '../schemas/Status';
3
+ export interface QuarantinePathResponseResponse {
4
+ data: QuarantinePath;
5
+ status: Status;
6
+ }
@@ -2,23 +2,27 @@ import type { DockerArtifactDetailConfig } from '../schemas/DockerArtifactDetail
2
2
  import type { HelmArtifactDetailConfig } from '../schemas/HelmArtifactDetailConfig';
3
3
  import type { GenericArtifactDetailConfig } from '../schemas/GenericArtifactDetailConfig';
4
4
  import type { MavenArtifactDetailConfig } from '../schemas/MavenArtifactDetailConfig';
5
- import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig';
6
5
  import type { PythonArtifactDetailConfig } from '../schemas/PythonArtifactDetailConfig';
7
- import type { NugetArtifactDetailConfig } from '../schemas/NugetArtifactDetailConfig';
6
+ import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig';
8
7
  import type { RpmArtifactDetailConfig } from '../schemas/RpmArtifactDetailConfig';
8
+ import type { NugetArtifactDetailConfig } from '../schemas/NugetArtifactDetailConfig';
9
9
  import type { CargoArtifactDetailConfig } from '../schemas/CargoArtifactDetailConfig';
10
10
  import type { GoArtifactDetailConfig } from '../schemas/GoArtifactDetailConfig';
11
+ import type { HuggingFaceArtifactDetailConfig } from '../schemas/HuggingFaceArtifactDetailConfig';
12
+ import type { ArtifactType } from '../schemas/ArtifactType';
11
13
  import type { PackageType } from '../schemas/PackageType';
12
14
  /**
13
15
  * Artifact Detail
14
16
  */
15
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig | NugetArtifactDetailConfig | RpmArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig) & {
17
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig) & {
18
+ artifactType?: ArtifactType;
16
19
  createdAt?: string;
17
20
  createdBy?: string;
18
21
  /**
19
22
  * @format int64
20
23
  */
21
24
  downloadCount?: number;
25
+ isQuarantined?: boolean;
22
26
  modifiedAt?: string;
23
27
  name?: string;
24
28
  packageType: PackageType;
@@ -1,10 +1,11 @@
1
+ import type { ArtifactType } from '../schemas/ArtifactType';
1
2
  import type { DeploymentMetadata } from '../schemas/DeploymentMetadata';
2
3
  import type { PackageType } from '../schemas/PackageType';
3
- import type { StoMetadata } from '../schemas/StoMetadata';
4
4
  /**
5
5
  * Artifact Metadata
6
6
  */
7
7
  export interface ArtifactMetadata {
8
+ artifactType?: ArtifactType;
8
9
  deploymentMetadata?: DeploymentMetadata;
9
10
  /**
10
11
  * @format int64
@@ -18,6 +19,5 @@ export interface ArtifactMetadata {
18
19
  pullCommand?: string;
19
20
  registryIdentifier: string;
20
21
  registryPath: string;
21
- stoMetadata?: StoMetadata;
22
22
  version: string;
23
23
  }
@@ -1,8 +1,10 @@
1
+ import type { ArtifactType } from '../schemas/ArtifactType';
1
2
  import type { PackageType } from '../schemas/PackageType';
2
3
  /**
3
4
  * Harness Artifact Summary
4
5
  */
5
6
  export interface ArtifactSummary {
7
+ artifactType?: ArtifactType;
6
8
  createdAt?: string;
7
9
  /**
8
10
  * @format int64
@@ -0,0 +1,4 @@
1
+ /**
2
+ * refers to artifact type
3
+ */
4
+ export type ArtifactType = 'DATASET' | 'MODEL';
@@ -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 {};
@@ -1,9 +1,11 @@
1
+ import type { ArtifactType } from '../schemas/ArtifactType';
1
2
  import type { DeploymentMetadata } from '../schemas/DeploymentMetadata';
2
3
  import type { PackageType } from '../schemas/PackageType';
3
4
  /**
4
5
  * Artifact Version Metadata
5
6
  */
6
7
  export interface ArtifactVersionMetadata {
8
+ artifactType?: ArtifactType;
7
9
  deploymentMetadata?: DeploymentMetadata;
8
10
  /**
9
11
  * @format int64
@@ -17,6 +19,7 @@ export interface ArtifactVersionMetadata {
17
19
  * @format int64
18
20
  */
19
21
  fileCount?: number;
22
+ isQuarantined?: boolean;
20
23
  lastModified?: string;
21
24
  name: string;
22
25
  packageType?: PackageType;
@@ -1,8 +1,10 @@
1
+ import type { ArtifactType } from '../schemas/ArtifactType';
1
2
  import type { PackageType } from '../schemas/PackageType';
2
3
  /**
3
4
  * Docker Artifact Version Summary
4
5
  */
5
6
  export interface ArtifactVersionSummary {
7
+ artifactType?: ArtifactType;
6
8
  imageName: string;
7
9
  packageType: PackageType;
8
10
  sscaArtifactId?: string;
@@ -9,6 +9,7 @@ export interface DockerArtifactDetail {
9
9
  */
10
10
  downloadsCount?: number;
11
11
  imageName: string;
12
+ isQuarantined?: boolean;
12
13
  modifiedAt?: string;
13
14
  packageType: PackageType;
14
15
  pullCommand?: string;
@@ -0,0 +1 @@
1
+ export type EnumLabelColor = 'blue' | 'brown' | 'cyan' | 'green' | 'indigo' | 'lime' | 'mint' | 'orange' | 'pink' | 'purple' | 'red' | 'violet' | 'yellow';
@@ -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 @@
1
+ export type EnumLabelType = 'dynamic' | 'static';
@@ -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
+ /**
2
+ * Config for huggingface artifact details
3
+ */
4
+ export interface HuggingFaceArtifactDetailConfig {
5
+ metadata?: {
6
+ [key: string]: any;
7
+ };
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 {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to package
3
3
  */
4
- export type PackageType = 'CARGO' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM';
4
+ export type PackageType = 'CARGO' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM';
@@ -0,0 +1,20 @@
1
+ /**
2
+ * quarantine path
3
+ */
4
+ export interface QuarantinePath {
5
+ /**
6
+ * @format int64
7
+ */
8
+ artifactId: number;
9
+ filePath?: string;
10
+ id: string;
11
+ reason: string;
12
+ /**
13
+ * @format int64
14
+ */
15
+ registryId: number;
16
+ /**
17
+ * @format int64
18
+ */
19
+ versionId?: number;
20
+ }
@@ -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,6 @@
1
+ export interface QuarantineRequest {
2
+ artifact: string;
3
+ filePath?: string;
4
+ reason: string;
5
+ version?: string;
6
+ }
@@ -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 {};
@@ -1,12 +1,15 @@
1
+ import type { ArtifactType } from '../schemas/ArtifactType';
1
2
  import type { PackageType } from '../schemas/PackageType';
2
3
  /**
3
4
  * Artifact Metadata
4
5
  */
5
6
  export interface RegistryArtifactMetadata {
7
+ artifactType?: ArtifactType;
6
8
  /**
7
9
  * @format int64
8
10
  */
9
11
  downloadsCount?: number;
12
+ isQuarantined?: boolean;
10
13
  labels?: string[];
11
14
  lastModified?: string;
12
15
  latestVersion: string;
@@ -11,6 +11,16 @@ export interface RegistryRequest<T0 extends RegistryConfig = RegistryConfig> {
11
11
  identifier: string;
12
12
  labels?: string[];
13
13
  packageType: PackageType;
14
+ /**
15
+ * Reference to the scope in which the registry exists.
16
+ *
17
+ * Format depends on the scope:
18
+ *
19
+ * - **Account-level**: `account_id`
20
+ * - **Organization-level**: `account_id/org_id`
21
+ * - **Project-level**: `account_id/org_id/project_id`
22
+ *
23
+ */
14
24
  parentRef?: string;
15
25
  scanners?: Scanner[];
16
26
  }
@@ -0,0 +1,40 @@
1
+ import type { EnumLabelColor } from '../schemas/EnumLabelColor';
2
+ import type { EnumLabelType } from '../schemas/EnumLabelType';
3
+ export interface TypesLabel {
4
+ color?: EnumLabelColor;
5
+ /**
6
+ * @format int64
7
+ */
8
+ created?: number;
9
+ /**
10
+ * @format int64
11
+ */
12
+ created_by?: number;
13
+ description?: string;
14
+ /**
15
+ * @format int64
16
+ */
17
+ id?: number;
18
+ key?: string;
19
+ /**
20
+ * @format int64
21
+ */
22
+ scope?: number;
23
+ /**
24
+ * @format int64
25
+ */
26
+ space_id?: number | null;
27
+ type?: EnumLabelType;
28
+ /**
29
+ * @format int64
30
+ */
31
+ updated?: number;
32
+ /**
33
+ * @format int64
34
+ */
35
+ updated_by?: number;
36
+ /**
37
+ * @format int64
38
+ */
39
+ value_count?: number;
40
+ }
@@ -0,0 +1,11 @@
1
+ import type { EnumLabelColor } from '../schemas/EnumLabelColor';
2
+ export interface TypesLabelValue {
3
+ color?: EnumLabelColor;
4
+ created?: number;
5
+ created_by?: number;
6
+ id?: number;
7
+ label_id?: number;
8
+ updated?: number;
9
+ updated_by?: number;
10
+ value?: string;
11
+ }
@@ -0,0 +1,6 @@
1
+ import type { TypesLabel } from '../schemas/TypesLabel';
2
+ import type { TypesLabelValue } from '../schemas/TypesLabelValue';
3
+ export interface TypesLabelWithValues {
4
+ label?: TypesLabel;
5
+ values?: TypesLabelValue[];
6
+ }
@@ -0,0 +1,9 @@
1
+ import type { EnumLabelColor } from '../schemas/EnumLabelColor';
2
+ import type { EnumLabelType } from '../schemas/EnumLabelType';
3
+ export interface TypesSaveLabelInput {
4
+ color?: EnumLabelColor;
5
+ description?: string;
6
+ id?: number;
7
+ key?: string;
8
+ type?: EnumLabelType;
9
+ }
@@ -0,0 +1,6 @@
1
+ import type { EnumLabelColor } from '../schemas/EnumLabelColor';
2
+ export interface TypesSaveLabelValueInput {
3
+ color?: EnumLabelColor;
4
+ id?: number;
5
+ value?: string;
6
+ }