@harnessio/react-har-service-client 0.49.0 → 0.51.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 (45) hide show
  1. package/dist/har-service/src/services/hooks/useAddVersionTagsV3Mutation.d.ts +0 -3
  2. package/dist/har-service/src/services/hooks/useDeleteMetadataV3Mutation.d.ts +0 -3
  3. package/dist/har-service/src/services/hooks/useDeletePackageV3Mutation.d.ts +0 -3
  4. package/dist/har-service/src/services/hooks/useDeleteRegistryV3Mutation.d.ts +0 -3
  5. package/dist/har-service/src/services/hooks/useDeleteVersionV3Mutation.d.ts +0 -3
  6. package/dist/har-service/src/services/hooks/useGetArtifactScanDetailsV3Query.d.ts +0 -3
  7. package/dist/har-service/src/services/hooks/useGetArtifactScansV3Query.d.ts +4 -1
  8. package/dist/har-service/src/services/hooks/useGetBulkDownloadRequestStatusV3Query.d.ts +0 -3
  9. package/dist/har-service/src/services/hooks/useGetFileMetadataV3Query.d.ts +0 -3
  10. package/dist/har-service/src/services/hooks/useGetFileV3Query.d.ts +0 -3
  11. package/dist/har-service/src/services/hooks/useGetPackageMetadataV3Query.d.ts +0 -3
  12. package/dist/har-service/src/services/hooks/useGetRegistryMetadataV3Query.d.ts +0 -3
  13. package/dist/har-service/src/services/hooks/useGetVersionMetadataV3Query.d.ts +0 -3
  14. package/dist/har-service/src/services/hooks/useListFilesV3Query.d.ts +5 -3
  15. package/dist/har-service/src/services/hooks/useListVersionsV3Query.d.ts +0 -3
  16. package/dist/har-service/src/services/hooks/useRestorePackageV3Mutation.d.ts +0 -3
  17. package/dist/har-service/src/services/hooks/useRestoreRegistryV3Mutation.d.ts +0 -3
  18. package/dist/har-service/src/services/hooks/useRestoreVersionV3Mutation.d.ts +0 -3
  19. package/dist/har-service/src/services/hooks/useSaveFileMetadataV3Mutation.d.ts +0 -3
  20. package/dist/har-service/src/services/hooks/useSavePackageMetadataV3Mutation.d.ts +0 -3
  21. package/dist/har-service/src/services/hooks/useSaveRegistryMetadataV3Mutation.d.ts +0 -3
  22. package/dist/har-service/src/services/hooks/useSaveVersionMetadataV3Mutation.d.ts +0 -3
  23. package/dist/har-service/src/services/hooks/useUpsertFileMetadataV3Mutation.d.ts +0 -3
  24. package/dist/har-service/src/services/hooks/useUpsertPackageMetadataV3Mutation.d.ts +0 -3
  25. package/dist/har-service/src/services/hooks/useUpsertRegistryMetadataV3Mutation.d.ts +0 -3
  26. package/dist/har-service/src/services/hooks/useUpsertVersionMetadataV3Mutation.d.ts +0 -3
  27. package/dist/har-service/src/services/index.d.ts +2 -1
  28. package/dist/har-service/src/services/requestBodies/CopyResourcesRequestV3RequestBody.d.ts +2 -2
  29. package/dist/har-service/src/services/schemas/ArtifactVersionSummary.d.ts +1 -0
  30. package/dist/har-service/src/services/schemas/CreatedAtMsV3.d.ts +6 -0
  31. package/dist/har-service/src/services/schemas/CreatedAtMsV3.js +4 -0
  32. package/dist/har-service/src/services/schemas/FileMetadataV3.d.ts +6 -1
  33. package/dist/har-service/src/services/schemas/FileMetadataV3.js +0 -3
  34. package/dist/har-service/src/services/schemas/FirewallModeV3.d.ts +4 -0
  35. package/dist/har-service/src/services/schemas/FirewallModeV3.js +4 -0
  36. package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
  37. package/dist/har-service/src/services/schemas/PackageTypeV3.d.ts +1 -1
  38. package/dist/har-service/src/services/schemas/PackageV3.d.ts +1 -0
  39. package/dist/har-service/src/services/schemas/PageInfoV3.d.ts +2 -20
  40. package/dist/har-service/src/services/schemas/RegistryV3.d.ts +7 -0
  41. package/dist/har-service/src/services/schemas/ResourceMetadataV3.d.ts +1 -1
  42. package/dist/har-service/src/services/schemas/VersionV3.d.ts +11 -0
  43. package/package.json +1 -1
  44. package/dist/har-service/src/services/schemas/CopyResourcesV3.d.ts +0 -2
  45. package/dist/har-service/src/services/schemas/CopyResourcesV3.js +0 -1
@@ -4,9 +4,6 @@ import type { AddTagsRequestV3RequestBody } from '../requestBodies/AddTagsReques
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface AddVersionTagsV3MutationPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface AddVersionTagsV3MutationQueryParams {
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface DeleteMetadataV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface DeleteMetadataV3MutationQueryParams {
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface DeletePackageV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface DeletePackageV3MutationQueryParams {
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface DeleteRegistryV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface DeleteRegistryV3MutationQueryParams {
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface DeleteVersionV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface DeleteVersionV3MutationQueryParams {
@@ -4,9 +4,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetArtifactScanDetailsV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetArtifactScanDetailsV3QueryQueryParams {
@@ -11,7 +11,10 @@ export interface GetArtifactScansV3QueryQueryParams {
11
11
  registry_ids?: string[];
12
12
  policy_set_ref?: string;
13
13
  scan_id?: string;
14
- scan_status?: string;
14
+ /**
15
+ * Status of an artifact scan evaluation.
16
+ */
17
+ scan_status?: 'ALLOWED' | 'BLOCKED' | 'UNKNOWN' | 'WARN';
15
18
  /**
16
19
  * @format int64
17
20
  * @default 0
@@ -4,9 +4,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetBulkDownloadRequestStatusV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetBulkDownloadRequestStatusV3QueryQueryParams {
@@ -4,9 +4,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetFileMetadataV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetFileMetadataV3QueryQueryParams {
@@ -5,9 +5,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface GetFileV3QueryPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface GetFileV3QueryQueryParams {
@@ -4,9 +4,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetPackageMetadataV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetPackageMetadataV3QueryQueryParams {
@@ -4,9 +4,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetRegistryMetadataV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetRegistryMetadataV3QueryQueryParams {
@@ -4,9 +4,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetVersionMetadataV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetVersionMetadataV3QueryQueryParams {
@@ -7,8 +7,9 @@ export interface ListFilesV3QueryQueryParams {
7
7
  account_identifier: string;
8
8
  org_identifier?: string;
9
9
  project_identifier?: string;
10
- registry: string;
11
- query: string;
10
+ registry_id?: string;
11
+ package_id?: string;
12
+ version_id?: string;
12
13
  /**
13
14
  * @format int64
14
15
  * @default 0
@@ -19,7 +20,8 @@ export interface ListFilesV3QueryQueryParams {
19
20
  * @default 20
20
21
  */
21
22
  size?: number;
22
- include_meta?: boolean;
23
+ sort?: string;
24
+ search_term?: string;
23
25
  }
24
26
  export type ListFilesV3OkResponse = ResponseWithPagination<ListFilesResponseV3Response>;
25
27
  export type ListFilesV3ErrorResponse = ErrorV3;
@@ -8,9 +8,6 @@ export interface ListVersionsV3QueryQueryParams {
8
8
  org_identifier?: string;
9
9
  project_identifier?: string;
10
10
  registry_ids?: string[];
11
- /**
12
- * @format uuid
13
- */
14
11
  package_id?: string;
15
12
  package_types?: string[];
16
13
  /**
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface RestorePackageV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface RestorePackageV3MutationQueryParams {
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface RestoreRegistryV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface RestoreRegistryV3MutationQueryParams {
@@ -3,9 +3,6 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface RestoreVersionV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface RestoreVersionV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface SaveFileMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface SaveFileMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface SavePackageMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface SavePackageMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface SaveRegistryMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface SaveRegistryMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface SaveVersionMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface SaveVersionMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface UpsertFileMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface UpsertFileMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface UpsertPackageMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface UpsertPackageMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface UpsertRegistryMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface UpsertRegistryMetadataV3MutationQueryParams {
@@ -5,9 +5,6 @@ import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequ
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface UpsertVersionMetadataV3MutationPathParams {
8
- /**
9
- * @format uuid
10
- */
11
8
  id: string;
12
9
  }
13
10
  export interface UpsertVersionMetadataV3MutationQueryParams {
@@ -360,10 +360,10 @@ export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
360
360
  export type { ComposerArtifactDetailConfig } from './schemas/ComposerArtifactDetailConfig';
361
361
  export type { CondaArtifactDetailConfig } from './schemas/CondaArtifactDetailConfig';
362
362
  export type { CopyResourceItemV3 } from './schemas/CopyResourceItemV3';
363
- export type { CopyResourcesV3 } from './schemas/CopyResourcesV3';
364
363
  export type { CopySourceRefV3 } from './schemas/CopySourceRefV3';
365
364
  export type { CopyTargetRefV3 } from './schemas/CopyTargetRefV3';
366
365
  export type { CreateBulkDownloadRequestResponseOutput } from './schemas/CreateBulkDownloadRequestResponseOutput';
366
+ export type { CreatedAtMsV3 } from './schemas/CreatedAtMsV3';
367
367
  export type { DartArtifactDetailConfig } from './schemas/DartArtifactDetailConfig';
368
368
  export type { DeletedAtMsV3 } from './schemas/DeletedAtMsV3';
369
369
  export type { DeploymentDetails } from './schemas/DeploymentDetails';
@@ -387,6 +387,7 @@ export type { ExtraHeader } from './schemas/ExtraHeader';
387
387
  export type { FileDetail } from './schemas/FileDetail';
388
388
  export type { FileMetadata } from './schemas/FileMetadata';
389
389
  export type { FileMetadataV3 } from './schemas/FileMetadataV3';
390
+ export type { FirewallModeV3 } from './schemas/FirewallModeV3';
390
391
  export type { FixVersionDetailsV3 } from './schemas/FixVersionDetailsV3';
391
392
  export type { GenericArtifactDetailConfig } from './schemas/GenericArtifactDetailConfig';
392
393
  export type { GoArtifactDetailConfig } from './schemas/GoArtifactDetailConfig';
@@ -1,2 +1,2 @@
1
- import type { CopyResourcesV3 } from '../schemas/CopyResourcesV3';
2
- export type CopyResourcesRequestV3RequestBody = CopyResourcesV3;
1
+ import type { CopyResourceItemV3 } from '../schemas/CopyResourceItemV3';
2
+ export type CopyResourcesRequestV3RequestBody = CopyResourceItemV3;
@@ -15,6 +15,7 @@ export interface ArtifactVersionSummary {
15
15
  isQuarantined?: boolean;
16
16
  lastScannedAt?: string;
17
17
  packageType: PackageType;
18
+ purl: string;
18
19
  quarantineReason?: string;
19
20
  registryType?: RegistryType;
20
21
  registryUUID: string;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Unix timestamp in milliseconds when the resource was created
3
+ * @format int64
4
+ * @example 1736360000123
5
+ */
6
+ export type CreatedAtMsV3 = number | null;
@@ -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,11 +1,16 @@
1
+ import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
1
2
  /**
2
3
  * File Metadata
3
4
  */
4
5
  export interface FileMetadataV3 {
5
- downloadUrl: string;
6
+ createdAt: CreatedAtMsV3;
7
+ downloadUrl?: string;
6
8
  id: string;
9
+ md5: string;
7
10
  name: string;
8
11
  path: string;
12
+ sha1: string;
9
13
  sha256: string;
14
+ sha512: string;
10
15
  size: string;
11
16
  }
@@ -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,4 @@
1
+ /**
2
+ * Firewall mode
3
+ */
4
+ export type FirewallModeV3 = 'ALLOW' | 'BLOCK' | 'WARN';
@@ -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' | 'COMPOSER' | 'CONDA' | 'DART' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM' | 'SWIFT';
4
+ export type PackageType = 'CARGO' | 'COMPOSER' | 'CONDA' | 'DART' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RAW' | 'RPM' | 'SWIFT';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART. This field is extensible; clients must handle unknown values.
2
+ * Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, RAW. This field is extensible; clients must handle unknown values.
3
3
  *
4
4
  * @example "DOCKER"
5
5
  */
@@ -17,6 +17,7 @@ export interface PackageV3 {
17
17
  id: string;
18
18
  isPublic: boolean;
19
19
  isQuarantined?: boolean;
20
+ latestVersion: string;
20
21
  modifiedAt?: ModifiedAtMsV3;
21
22
  name: string;
22
23
  packageKind?: PackageKindV3;
@@ -2,19 +2,7 @@
2
2
  * Pagination metadata.
3
3
  * - `page` selects which page of results to return (0 = first page).
4
4
  * - `size` controls how many items are returned per page.
5
- * - `total` is a pagination helper using a sentinel **+1** convention to signal whether more results exist.
6
- *
7
- * **`total` semantics (sentinel +1):**
8
- * - Let `returned = items.length` for the current response.
9
- * - Let `end = (page * size) + returned` (the count of items returned up to this page).
10
- * - If there are **no more** items after this page, the server returns: `total = end`.
11
- * - If there **are more** items after this page, the server returns: `total = end + 1`.
12
- *
13
- * Clients can compute:
14
- * - `hasMore = total > end`
15
- *
16
- * Note: `total` is **not** guaranteed to be the total number of matching items in the system.
17
- * It is intentionally shaped to avoid expensive full counts on large datasets.
5
+ * - `hasMore` is true if more results exist after this page.
18
6
  *
19
7
  */
20
8
  export interface PageInfoV3 {
@@ -22,7 +10,7 @@ export interface PageInfoV3 {
22
10
  * True if more results exist after this page.
23
11
  * @example true
24
12
  */
25
- hasMore?: boolean;
13
+ hasMore: boolean;
26
14
  /**
27
15
  * The current page (0-indexed)
28
16
  * @format int64
@@ -35,10 +23,4 @@ export interface PageInfoV3 {
35
23
  * @example 20
36
24
  */
37
25
  size: number;
38
- /**
39
- * Total number of items
40
- * @format int64
41
- * @example 1234
42
- */
43
- total: number;
44
26
  }
@@ -6,7 +6,12 @@ import type { RegistryTypeV3 } from '../schemas/RegistryTypeV3';
6
6
  * Registry Metadata
7
7
  */
8
8
  export interface RegistryV3 {
9
+ /**
10
+ * @format int64
11
+ */
12
+ artifactsCount?: number;
9
13
  deletedAt?: DeletedAtMsV3;
14
+ description?: string;
10
15
  /**
11
16
  * @format int64
12
17
  */
@@ -23,6 +28,8 @@ export interface RegistryV3 {
23
28
  */
24
29
  packageCount?: number;
25
30
  packageType: PackageTypeV3;
31
+ path?: string;
26
32
  size?: string;
27
33
  type: RegistryTypeV3;
34
+ url: string;
28
35
  }
@@ -2,5 +2,5 @@
2
2
  * Resource Metadata
3
3
  */
4
4
  export interface ResourceMetadataV3 {
5
- [key: string]: string;
5
+ [key: string]: any;
6
6
  }
@@ -1,9 +1,12 @@
1
1
  import type { DeletedAtMsV3 } from '../schemas/DeletedAtMsV3';
2
2
  import type { DeploymentMetadataV3 } from '../schemas/DeploymentMetadataV3';
3
+ import type { FirewallModeV3 } from '../schemas/FirewallModeV3';
3
4
  import type { ResourceMetadataV3 } from '../schemas/ResourceMetadataV3';
4
5
  import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
5
6
  import type { PackageKindV3 } from '../schemas/PackageKindV3';
6
7
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
8
+ import type { RegistryTypeV3 } from '../schemas/RegistryTypeV3';
9
+ import type { ScanStatusV3 } from '../schemas/ScanStatusV3';
7
10
  /**
8
11
  * Version metadata
9
12
  */
@@ -15,11 +18,13 @@ export interface VersionV3 {
15
18
  */
16
19
  downloadCount?: number;
17
20
  fileCount?: number;
21
+ firewallMode?: FirewallModeV3;
18
22
  /**
19
23
  * @format uuid
20
24
  */
21
25
  id: string;
22
26
  isQuarantined?: boolean;
27
+ lastScannedAt?: string;
23
28
  metadata?: ResourceMetadataV3;
24
29
  modifiedAt?: ModifiedAtMsV3;
25
30
  name: string;
@@ -37,5 +42,11 @@ export interface VersionV3 {
37
42
  */
38
43
  registryId: string;
39
44
  registryName: string;
45
+ registryType: RegistryTypeV3;
46
+ /**
47
+ * @format uuid
48
+ */
49
+ scanID?: string;
50
+ scanStatus?: ScanStatusV3;
40
51
  size?: string;
41
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.49.0",
3
+ "version": "0.51.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- import type { CopyResourceItemV3 } from '../schemas/CopyResourceItemV3';
2
- export type CopyResourcesV3 = CopyResourceItemV3[];