Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions packages/cma-client/src/generated/ApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8422,11 +8422,37 @@ export type Upload = {
| UserData
| SsoUserData
| OrganizationData;
meta: UploadMeta;
};
export type UploadCreateJobSchema = Upload;
export type UploadSelfTargetSchema = Upload;
export type UploadDestroyTargetSchema = Upload;
export type UploadUpdateJobSchema = Upload;
/**
* Meta attributes
*
* This interface was referenced by `Upload`'s JSON-Schema
* via the `definition` "meta".
*/
export type UploadMeta = {
/**
* Antivirus scan information
*/
antivirus: {
/**
* Antivirus scan status of the asset
*/
status: 'pending' | 'clean' | 'infected' | 'failed' | 'skipped';
/**
* Date of the last antivirus scan
*/
checked_at: string | null;
/**
* Name of the threat detected by the antivirus scan, if any
*/
threat_name: string | null;
};
};
/**
* JSON API data
*
Expand Down
26 changes: 26 additions & 0 deletions packages/cma-client/src/generated/RawApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8437,6 +8437,7 @@ export type Upload = {
id: UploadIdentity;
attributes: UploadAttributes;
relationships: UploadRelationships;
meta: UploadMeta;
};
/**
* JSON API attributes
Expand Down Expand Up @@ -8632,6 +8633,31 @@ export type UploadRelationships = {
| OrganizationData;
};
};
/**
* Meta attributes
*
* This interface was referenced by `Upload`'s JSON-Schema
* via the `definition` "meta".
*/
export type UploadMeta = {
/**
* Antivirus scan information
*/
antivirus: {
/**
* Antivirus scan status of the asset
*/
status: 'pending' | 'clean' | 'infected' | 'failed' | 'skipped';
/**
* Date of the last antivirus scan
*/
checked_at: string | null;
/**
* Name of the threat detected by the antivirus scan, if any
*/
threat_name: string | null;
};
};
/**
* JSON API data
*
Expand Down
Loading