2020-02-11 09:49:46 -05:00
|
|
|
export interface ArtifactResponse {
|
|
|
|
|
containerId: string
|
|
|
|
|
size: number
|
|
|
|
|
signedContent: string
|
|
|
|
|
fileContainerResourceUrl: string
|
|
|
|
|
type: string
|
|
|
|
|
name: string
|
|
|
|
|
url: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface CreateArtifactParameters {
|
|
|
|
|
Type: string
|
|
|
|
|
Name: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PatchArtifactSize {
|
|
|
|
|
Size: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PatchArtifactSizeSuccessResponse {
|
|
|
|
|
containerId: number
|
|
|
|
|
size: number
|
|
|
|
|
signedContent: string
|
|
|
|
|
type: string
|
|
|
|
|
name: string
|
|
|
|
|
url: string
|
|
|
|
|
uploadUrl: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface UploadResults {
|
|
|
|
|
size: number
|
|
|
|
|
failedItems: string[]
|
|
|
|
|
}
|
2020-02-13 18:24:11 -05:00
|
|
|
|
|
|
|
|
export interface ListArtifactsResponse {
|
|
|
|
|
count: number
|
|
|
|
|
value: ArtifactResponse[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface QueryArtifactResponse {
|
|
|
|
|
count: number
|
|
|
|
|
value: ContainerEntry[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ContainerEntry {
|
|
|
|
|
containerId: number
|
|
|
|
|
scopeIdentifier: string
|
|
|
|
|
path: string
|
|
|
|
|
itemType: string
|
|
|
|
|
status: string
|
|
|
|
|
fileLength?: number
|
|
|
|
|
fileEncoding?: number
|
|
|
|
|
fileType?: number
|
|
|
|
|
dateCreated: string
|
|
|
|
|
dateLastModified: string
|
|
|
|
|
createdBy: string
|
|
|
|
|
lastModifiedBy: string
|
|
|
|
|
itemLocation: string
|
|
|
|
|
contentLocation: string
|
|
|
|
|
fileId?: number
|
|
|
|
|
contentId: string
|
|
|
|
|
}
|