@harnessio/react-ssca-manager-client 0.84.19 → 0.84.20
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/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.d.ts +18 -2
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.js +1 -1
- package/dist/ssca-manager/src/services/hooks/useGetBulkDownloadStatusQuery.d.ts +21 -0
- package/dist/ssca-manager/src/services/hooks/useGetBulkDownloadStatusQuery.js +14 -0
- package/dist/ssca-manager/src/services/index.d.ts +6 -0
- package/dist/ssca-manager/src/services/index.js +1 -0
- package/dist/ssca-manager/src/services/responses/AttestationBulkDownloadResponseBodyResponse.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/AffectedArtifactInfo.d.ts +24 -0
- package/dist/ssca-manager/src/services/schemas/AffectedArtifactInfo.js +4 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionDetailResponse.d.ts +50 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionDetailResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionListResponse.d.ts +12 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionStatusEnum.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionStatusEnum.js +4 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionSummary.d.ts +18 -0
- package/dist/ssca-manager/src/services/schemas/AttestationBulkDownloadRequest.d.ts +12 -4
- package/dist/ssca-manager/src/services/schemas/AttestationListingResponse.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/BulkDownloadJobResponse.d.ts +32 -0
- package/dist/ssca-manager/src/services/schemas/BulkDownloadJobResponse.js +4 -0
- package/dist/ssca-manager/src/services/schemas/HarnessRunner.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { AiWorkflowExecutionListResponse } from '../schemas/AiWorkflowExecutionListResponse';
|
|
3
|
+
import type { AiWorkflowExecutionStatusEnum } from '../schemas/AiWorkflowExecutionStatusEnum';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface GetAiWorkflowExecutionsQueryPathParams {
|
|
@@ -7,7 +8,22 @@ export interface GetAiWorkflowExecutionsQueryPathParams {
|
|
|
7
8
|
project: string;
|
|
8
9
|
}
|
|
9
10
|
export interface GetAiWorkflowExecutionsQueryQueryParams {
|
|
10
|
-
ai_workflow_type
|
|
11
|
+
ai_workflow_type?: string;
|
|
12
|
+
status?: AiWorkflowExecutionStatusEnum;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
from_timestamp?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @format int64
|
|
19
|
+
*/
|
|
20
|
+
to_timestamp?: number;
|
|
21
|
+
batch_id?: string;
|
|
22
|
+
cursor?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @default 30
|
|
25
|
+
*/
|
|
26
|
+
limit?: number;
|
|
11
27
|
}
|
|
12
28
|
export interface GetAiWorkflowExecutionsQueryHeaderParams {
|
|
13
29
|
'Harness-Account': string;
|
|
@@ -19,6 +35,6 @@ export interface GetAiWorkflowExecutionsProps extends GetAiWorkflowExecutionsQue
|
|
|
19
35
|
}
|
|
20
36
|
export declare function getAiWorkflowExecutions(props: GetAiWorkflowExecutionsProps): Promise<GetAiWorkflowExecutionsOkResponse>;
|
|
21
37
|
/**
|
|
22
|
-
* Get AI workflow executions
|
|
38
|
+
* Get AI workflow executions with optional filters for status, date range, batch ID, and workflow type
|
|
23
39
|
*/
|
|
24
40
|
export declare function useGetAiWorkflowExecutionsQuery(props: GetAiWorkflowExecutionsProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionsOkResponse, GetAiWorkflowExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionsOkResponse, unknown>;
|
|
@@ -7,7 +7,7 @@ export function getAiWorkflowExecutions(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/ai-workflow-executions`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get AI workflow executions
|
|
10
|
+
* Get AI workflow executions with optional filters for status, date range, batch ID, and workflow type
|
|
11
11
|
*/
|
|
12
12
|
export function useGetAiWorkflowExecutionsQuery(props, options) {
|
|
13
13
|
return useQuery(['getAIWorkflowExecutions', props.org, props.project, props.queryParams], ({ signal }) => getAiWorkflowExecutions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { BulkDownloadJobResponse } from '../schemas/BulkDownloadJobResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetBulkDownloadStatusQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
jobId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetBulkDownloadStatusQueryHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type GetBulkDownloadStatusOkResponse = ResponseWithPagination<BulkDownloadJobResponse>;
|
|
14
|
+
export type GetBulkDownloadStatusErrorResponse = unknown;
|
|
15
|
+
export interface GetBulkDownloadStatusProps extends GetBulkDownloadStatusQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetBulkDownloadStatusQueryHeaderParams>, 'url'> {
|
|
16
|
+
}
|
|
17
|
+
export declare function getBulkDownloadStatus(props: GetBulkDownloadStatusProps): Promise<GetBulkDownloadStatusOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Poll this endpoint to check whether the ZIP is ready. When status is COMPLETED, the response includes a time-limited pre-signed download URL.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useGetBulkDownloadStatusQuery(props: GetBulkDownloadStatusProps, options?: Omit<UseQueryOptions<GetBulkDownloadStatusOkResponse, GetBulkDownloadStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBulkDownloadStatusOkResponse, 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 getBulkDownloadStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/bulk-download/${props.jobId}/status`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Poll this endpoint to check whether the ZIP is ready. When status is COMPLETED, the response includes a time-limited pre-signed download URL.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBulkDownloadStatusQuery(props, options) {
|
|
13
|
+
return useQuery(['getBulkDownloadStatus', props.org, props.project, props.jobId], ({ signal }) => getBulkDownloadStatus(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -83,6 +83,8 @@ export type { GetAutoPrPresetsErrorResponse, GetAutoPrPresetsOkResponse, GetAuto
|
|
|
83
83
|
export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
|
|
84
84
|
export type { GetBaselineForArtifactErrorResponse, GetBaselineForArtifactOkResponse, GetBaselineForArtifactProps, GetBaselineForArtifactQueryPathParams, } from './hooks/useGetBaselineForArtifactQuery';
|
|
85
85
|
export { getBaselineForArtifact, useGetBaselineForArtifactQuery, } from './hooks/useGetBaselineForArtifactQuery';
|
|
86
|
+
export type { GetBulkDownloadStatusErrorResponse, GetBulkDownloadStatusOkResponse, GetBulkDownloadStatusProps, GetBulkDownloadStatusQueryPathParams, } from './hooks/useGetBulkDownloadStatusQuery';
|
|
87
|
+
export { getBulkDownloadStatus, useGetBulkDownloadStatusQuery, } from './hooks/useGetBulkDownloadStatusQuery';
|
|
86
88
|
export type { GetCicdOverviewErrorResponse, GetCicdOverviewOkResponse, GetCicdOverviewProps, GetCicdOverviewQueryPathParams, } from './hooks/useGetCicdOverviewQuery';
|
|
87
89
|
export { getCicdOverview, useGetCicdOverviewQuery } from './hooks/useGetCicdOverviewQuery';
|
|
88
90
|
export type { GetCicdRulesEvaluationTrendErrorResponse, GetCicdRulesEvaluationTrendOkResponse, GetCicdRulesEvaluationTrendProps, GetCicdRulesEvaluationTrendQueryPathParams, GetCicdRulesEvaluationTrendQueryQueryParams, } from './hooks/useGetCicdRulesEvaluationTrendQuery';
|
|
@@ -323,8 +325,11 @@ export type { TokenIssueResponseBodyResponse } from './responses/TokenIssueRespo
|
|
|
323
325
|
export type { UpdateIntegrationResponseBodyResponse } from './responses/UpdateIntegrationResponseBodyResponse';
|
|
324
326
|
export type { VersionResponseBodyResponse } from './responses/VersionResponseBodyResponse';
|
|
325
327
|
export type { ActivityDetails } from './schemas/ActivityDetails';
|
|
328
|
+
export type { AffectedArtifactInfo } from './schemas/AffectedArtifactInfo';
|
|
329
|
+
export type { AiWorkflowExecutionDetailResponse } from './schemas/AiWorkflowExecutionDetailResponse';
|
|
326
330
|
export type { AiWorkflowExecutionListResponse } from './schemas/AiWorkflowExecutionListResponse';
|
|
327
331
|
export type { AiWorkflowExecutionRequest } from './schemas/AiWorkflowExecutionRequest';
|
|
332
|
+
export type { AiWorkflowExecutionStatusEnum } from './schemas/AiWorkflowExecutionStatusEnum';
|
|
328
333
|
export type { AiWorkflowExecutionStepsResponse } from './schemas/AiWorkflowExecutionStepsResponse';
|
|
329
334
|
export type { AiWorkflowExecutionSummary } from './schemas/AiWorkflowExecutionSummary';
|
|
330
335
|
export type { AiWorkflowResults } from './schemas/AiWorkflowResults';
|
|
@@ -402,6 +407,7 @@ export type { BaselineV2RequestBody } from './schemas/BaselineV2RequestBody';
|
|
|
402
407
|
export type { BatchComponentRemediationItem } from './schemas/BatchComponentRemediationItem';
|
|
403
408
|
export type { BatchComponentRemediationRequest } from './schemas/BatchComponentRemediationRequest';
|
|
404
409
|
export type { BatchComponentRemediationResponse } from './schemas/BatchComponentRemediationResponse';
|
|
410
|
+
export type { BulkDownloadJobResponse } from './schemas/BulkDownloadJobResponse';
|
|
405
411
|
export type { CategoryScorecard } from './schemas/CategoryScorecard';
|
|
406
412
|
export type { CategoryScorecardCheck } from './schemas/CategoryScorecardCheck';
|
|
407
413
|
export type { ChunkMetadata } from './schemas/ChunkMetadata';
|
|
@@ -40,6 +40,7 @@ export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, }
|
|
|
40
40
|
export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
|
|
41
41
|
export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
|
|
42
42
|
export { getBaselineForArtifact, useGetBaselineForArtifactQuery, } from './hooks/useGetBaselineForArtifactQuery';
|
|
43
|
+
export { getBulkDownloadStatus, useGetBulkDownloadStatusQuery, } from './hooks/useGetBulkDownloadStatusQuery';
|
|
43
44
|
export { getCicdOverview, useGetCicdOverviewQuery } from './hooks/useGetCicdOverviewQuery';
|
|
44
45
|
export { getCicdRulesEvaluationTrend, useGetCicdRulesEvaluationTrendQuery, } from './hooks/useGetCicdRulesEvaluationTrendQuery';
|
|
45
46
|
export { getCicdWorkflowsList, useGetCicdWorkflowsListQuery, } from './hooks/useGetCicdWorkflowsListQuery';
|
package/dist/ssca-manager/src/services/responses/AttestationBulkDownloadResponseBodyResponse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type AttestationBulkDownloadResponseBodyResponse =
|
|
1
|
+
import type { BulkDownloadJobResponse } from '../schemas/BulkDownloadJobResponse';
|
|
2
|
+
export type AttestationBulkDownloadResponseBodyResponse = BulkDownloadJobResponse;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface AffectedArtifactInfo {
|
|
2
|
+
artifact_id?: string;
|
|
3
|
+
artifact_name?: string;
|
|
4
|
+
artifact_version?: string;
|
|
5
|
+
base_branch?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Environment type (Production, NonProduction)
|
|
8
|
+
*/
|
|
9
|
+
env_type?: string;
|
|
10
|
+
fix_version?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Names of non-production environments
|
|
13
|
+
*/
|
|
14
|
+
non_prod_env_names?: string[];
|
|
15
|
+
package_name?: string;
|
|
16
|
+
package_version?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Names of production environments
|
|
19
|
+
*/
|
|
20
|
+
prod_env_names?: string[];
|
|
21
|
+
purl?: string;
|
|
22
|
+
repo_name?: string;
|
|
23
|
+
repo_url?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { AffectedArtifactInfo } from '../schemas/AffectedArtifactInfo';
|
|
2
|
+
import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
|
|
3
|
+
import type { AiWorkflowResults } from '../schemas/AiWorkflowResults';
|
|
4
|
+
import type { AiWorkflowExecutionStatusEnum } from '../schemas/AiWorkflowExecutionStatusEnum';
|
|
5
|
+
export interface AiWorkflowExecutionDetailResponse {
|
|
6
|
+
/**
|
|
7
|
+
* List of artifacts affected by this execution
|
|
8
|
+
*/
|
|
9
|
+
affected_artifacts?: AffectedArtifactInfo[];
|
|
10
|
+
ai_workflow_type?: AiWorkflowTypeEnum;
|
|
11
|
+
/**
|
|
12
|
+
* Remediation batch ID if batch-originated
|
|
13
|
+
*/
|
|
14
|
+
batch_id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Name of the vulnerable component
|
|
17
|
+
*/
|
|
18
|
+
component_name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Current/vulnerable version
|
|
21
|
+
*/
|
|
22
|
+
component_version?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @format int64
|
|
25
|
+
*/
|
|
26
|
+
created_at?: number;
|
|
27
|
+
cve_id?: string;
|
|
28
|
+
duration?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Pipeline execution identifier
|
|
31
|
+
*/
|
|
32
|
+
execution_id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Target fixed version
|
|
35
|
+
*/
|
|
36
|
+
fixed_version?: string;
|
|
37
|
+
results?: AiWorkflowResults;
|
|
38
|
+
severity?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @format date-time
|
|
41
|
+
*/
|
|
42
|
+
start_time?: string;
|
|
43
|
+
status?: AiWorkflowExecutionStatusEnum;
|
|
44
|
+
summary?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Display name of the triggering user or Harness System for batch-originated executions
|
|
47
|
+
*/
|
|
48
|
+
triggered_by_display_name?: string;
|
|
49
|
+
vulnerability_info?: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,4 +4,16 @@ export interface AiWorkflowExecutionListResponse {
|
|
|
4
4
|
* List of AI workflow executions
|
|
5
5
|
*/
|
|
6
6
|
executions?: AiWorkflowExecutionSummary[];
|
|
7
|
+
/**
|
|
8
|
+
* True if there are more results after this page
|
|
9
|
+
*/
|
|
10
|
+
has_next_page?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Opaque cursor to pass in the next request. Null when there are no more pages.
|
|
13
|
+
*/
|
|
14
|
+
next_cursor?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Number of items per page
|
|
17
|
+
*/
|
|
18
|
+
page_size?: number;
|
|
7
19
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
|
|
2
2
|
import type { AiWorkflowResults } from '../schemas/AiWorkflowResults';
|
|
3
|
+
import type { AiWorkflowExecutionStatusEnum } from '../schemas/AiWorkflowExecutionStatusEnum';
|
|
3
4
|
export interface AiWorkflowExecutionSummary {
|
|
4
5
|
ai_workflow_type?: AiWorkflowTypeEnum;
|
|
6
|
+
/**
|
|
7
|
+
* Remediation batch ID if batch-originated
|
|
8
|
+
*/
|
|
9
|
+
batch_id?: string;
|
|
5
10
|
/**
|
|
6
11
|
* Name of the vulnerable component
|
|
7
12
|
*/
|
|
@@ -15,6 +20,10 @@ export interface AiWorkflowExecutionSummary {
|
|
|
15
20
|
* @format int64
|
|
16
21
|
*/
|
|
17
22
|
created_at?: number;
|
|
23
|
+
/**
|
|
24
|
+
* CVE identifier
|
|
25
|
+
*/
|
|
26
|
+
cve_id?: string;
|
|
18
27
|
/**
|
|
19
28
|
* Workflow duration in seconds
|
|
20
29
|
*/
|
|
@@ -28,15 +37,24 @@ export interface AiWorkflowExecutionSummary {
|
|
|
28
37
|
*/
|
|
29
38
|
fixed_version?: string;
|
|
30
39
|
results?: AiWorkflowResults;
|
|
40
|
+
/**
|
|
41
|
+
* Severity level of the vulnerability
|
|
42
|
+
*/
|
|
43
|
+
severity?: string;
|
|
31
44
|
/**
|
|
32
45
|
* Workflow start time
|
|
33
46
|
* @format date-time
|
|
34
47
|
*/
|
|
35
48
|
start_time?: string;
|
|
49
|
+
status?: AiWorkflowExecutionStatusEnum;
|
|
36
50
|
/**
|
|
37
51
|
* Final workflow summary
|
|
38
52
|
*/
|
|
39
53
|
summary?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Display name of the triggering user or system
|
|
56
|
+
*/
|
|
57
|
+
triggered_by_display_name?: string;
|
|
40
58
|
/**
|
|
41
59
|
* CVE ID or component information
|
|
42
60
|
*/
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Download multiple attestations
|
|
2
|
+
* Download multiple attestations as a ZIP. Provide attestation_ids for direct lookup, or use filters (time range, types, sources). At least one filter must be provided.
|
|
3
3
|
*/
|
|
4
4
|
export interface AttestationBulkDownloadRequest {
|
|
5
5
|
/**
|
|
6
|
-
* GitOID SHA-256 digests to download.
|
|
6
|
+
* GitOID SHA-256 digests to download. When provided, other filters are ignored.
|
|
7
7
|
*/
|
|
8
8
|
attestation_ids?: string[];
|
|
9
9
|
/**
|
|
10
|
-
* Inclusive range end, epoch ms UTC (creation time). Use with start_time
|
|
10
|
+
* Inclusive range end, epoch ms UTC (creation time). Use with start_time.
|
|
11
11
|
* @format int64
|
|
12
12
|
*/
|
|
13
13
|
end_time?: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Filter by attestation source (Harness, GithubActions, Jenkins, Others).
|
|
16
|
+
*/
|
|
17
|
+
sources?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Inclusive range start, epoch ms UTC (creation time). Use with end_time.
|
|
16
20
|
* @format int64
|
|
17
21
|
*/
|
|
18
22
|
start_time?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Filter by attestation type (Code, Build, Test, Security, Deploy, Custom).
|
|
25
|
+
*/
|
|
26
|
+
types?: string[];
|
|
19
27
|
}
|
|
@@ -30,6 +30,10 @@ export interface AttestationListingResponse<T0 extends ExecutionContextV2 = Exec
|
|
|
30
30
|
* First subject summary; null if none.
|
|
31
31
|
*/
|
|
32
32
|
subject?: AttestationSubjectSummary;
|
|
33
|
+
/**
|
|
34
|
+
* All attestation subjects for this record (may be empty).
|
|
35
|
+
*/
|
|
36
|
+
subjects?: AttestationSubjectSummary[];
|
|
33
37
|
type: AttestationType;
|
|
34
38
|
/**
|
|
35
39
|
* Updated at (epoch ms).
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface BulkDownloadJobResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Job creation time (epoch ms).
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
created_at: number;
|
|
7
|
+
/**
|
|
8
|
+
* Pre-signed URL for downloading the ZIP. Only present when status is COMPLETED.
|
|
9
|
+
*/
|
|
10
|
+
download_url?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Error message. Only present when status is FAILED.
|
|
13
|
+
*/
|
|
14
|
+
error?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Expiration time of the download URL (epoch ms). Only present when status is COMPLETED.
|
|
17
|
+
* @format int64
|
|
18
|
+
*/
|
|
19
|
+
expires_at?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Unique identifier for the bulk download job.
|
|
22
|
+
*/
|
|
23
|
+
job_id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Current status of the bulk download job.
|
|
26
|
+
*/
|
|
27
|
+
status: 'COMPLETED' | 'FAILED' | 'PENDING';
|
|
28
|
+
/**
|
|
29
|
+
* Number of attestations to be downloaded.
|
|
30
|
+
*/
|
|
31
|
+
total_attestations: number;
|
|
32
|
+
}
|