@harnessio/react-har-service-client 0.50.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.
- package/dist/har-service/src/services/hooks/useAddVersionTagsV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useDeleteMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useDeletePackageV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useDeleteRegistryV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useDeleteVersionV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetArtifactScanDetailsV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetArtifactScansV3Query.d.ts +4 -1
- package/dist/har-service/src/services/hooks/useGetBulkDownloadRequestStatusV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetFileMetadataV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetFileV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetPackageMetadataV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetRegistryMetadataV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useGetVersionMetadataV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useListFilesV3Query.d.ts +5 -3
- package/dist/har-service/src/services/hooks/useListVersionsV3Query.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useRestorePackageV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useRestoreRegistryV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useRestoreVersionV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useSaveFileMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useSavePackageMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useSaveRegistryMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useSaveVersionMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useUpsertFileMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useUpsertPackageMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useUpsertRegistryMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/hooks/useUpsertVersionMetadataV3Mutation.d.ts +0 -3
- package/dist/har-service/src/services/index.d.ts +2 -1
- package/dist/har-service/src/services/requestBodies/CopyResourcesRequestV3RequestBody.d.ts +2 -2
- package/dist/har-service/src/services/schemas/CreatedAtMsV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/CreatedAtMsV3.js +4 -0
- package/dist/har-service/src/services/schemas/FileMetadataV3.d.ts +6 -1
- package/dist/har-service/src/services/schemas/FileMetadataV3.js +0 -3
- package/dist/har-service/src/services/schemas/FirewallModeV3.d.ts +4 -0
- package/dist/har-service/src/services/schemas/FirewallModeV3.js +4 -0
- package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
- package/dist/har-service/src/services/schemas/PackageTypeV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/PackageV3.d.ts +1 -0
- package/dist/har-service/src/services/schemas/PageInfoV3.d.ts +2 -20
- package/dist/har-service/src/services/schemas/RegistryV3.d.ts +7 -0
- package/dist/har-service/src/services/schemas/ResourceMetadataV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/VersionV3.d.ts +11 -0
- package/package.json +1 -1
- package/dist/har-service/src/services/schemas/CopyResourcesV3.d.ts +0 -2
- 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
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
23
|
+
sort?: string;
|
|
24
|
+
search_term?: string;
|
|
23
25
|
}
|
|
24
26
|
export type ListFilesV3OkResponse = ResponseWithPagination<ListFilesResponseV3Response>;
|
|
25
27
|
export type ListFilesV3ErrorResponse = ErrorV3;
|
|
@@ -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 {
|
|
2
|
-
export type CopyResourcesRequestV3RequestBody =
|
|
1
|
+
import type { CopyResourceItemV3 } from '../schemas/CopyResourceItemV3';
|
|
2
|
+
export type CopyResourcesRequestV3RequestBody = CopyResourceItemV3;
|
|
@@ -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
|
-
|
|
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,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
|
*/
|
|
@@ -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
|
-
* - `
|
|
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
|
|
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
|
}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
export {};
|