Type Alias createNewAssetVersionAndUploadBinaryParams

createNewAssetVersionAndUploadBinaryParams: {
    artifactDescription?: string;
    assetId: string;
    businessUnitId?: string;
    createdByUserId?: string;
    filePath: string;
    productId?: string;
    quickScan?: boolean;
    uploadMethod?: UploadMethod;
    version: string;
}

Type declaration

  • OptionalartifactDescription?: string

    Description of the artifact. If not provided, the default is "Firmware Binary".

  • assetId: string

    Asset ID to create the asset version for.

  • OptionalbusinessUnitId?: string

    Business Unit ID to create the asset version for. If not provided, the existing Business Unit for the Asset will be used.

  • OptionalcreatedByUserId?: string

    Created By User ID to create the asset version for. If not provided, the existing Created By User for the Asset will be used.

  • filePath: string

    Local path to the file to upload.

  • OptionalproductId?: string

    Product ID to create the asset version for. If not provided, the existing Product for the Asset will be used, if it exists.

  • OptionalquickScan?: boolean

    If True, will upload the file for quick scan. Defaults to False (Full Scan). For details about Quick Scan vs Full Scan, please see the API documentation.

  • OptionaluploadMethod?: UploadMethod

    The method of uploading the test results. Default is UploadMethod.API.

  • version: string

    Version to create the asset version for.