File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
packages/clients/src/api/marketplace/v2 Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ export class API extends ParentAPI {
149149 'page_size' ,
150150 request . pageSize ?? this . client . settings . defaultPageSize ,
151151 ] ,
152+ [ 'type' , request . type ?? 'unknown_type' ] ,
152153 [ 'zone' , request . zone ?? this . client . settings . defaultZone ] ,
153154 ...Object . entries (
154155 resolveOneOf ( [
Original file line number Diff line number Diff line change @@ -20,5 +20,6 @@ export type {
2020 ListVersionsRequestOrderBy ,
2121 ListVersionsResponse ,
2222 LocalImage ,
23+ LocalImageType ,
2324 Version ,
2425} from './types.gen'
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ export const unmarshalLocalImage = (data: unknown) => {
6262 compatibleCommercialTypes : data . compatible_commercial_types ,
6363 id : data . id ,
6464 label : data . label ,
65+ type : data . type ,
6566 zone : data . zone ,
6667 } as LocalImage
6768}
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ export type ListLocalImagesRequestOrderBy = 'created_at_asc' | 'created_at_desc'
1414
1515export type ListVersionsRequestOrderBy = 'created_at_asc' | 'created_at_desc'
1616
17+ export type LocalImageType = 'unknown_type' | 'instance_local' | 'instance_sbs'
18+
1719export interface Category {
1820 id : string
1921 name : string
@@ -80,6 +82,8 @@ export interface LocalImage {
8082 zone : Zone
8183 /** Image label this image belongs to. */
8284 label : string
85+ /** Type of this local image. */
86+ type : LocalImageType
8387}
8488
8589/** Version. */
@@ -150,6 +154,7 @@ export type ListLocalImagesRequest = {
150154 */
151155 imageLabel ?: string
152156 zone ?: Zone
157+ type ?: LocalImageType
153158}
154159
155160export type GetLocalImageRequest = {
You can’t perform that action at this time.
0 commit comments