@scaleway/sdk-marketplace 1.0.6 → 1.2.0

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.
@@ -2,4 +2,4 @@
2
2
  * This file is automatically generated
3
3
  * PLEASE DO NOT EDIT HERE
4
4
  */
5
- export * as Marketplacev2 from './v2/index.gen';
5
+ export * as Marketplacev2 from './v2/index.gen.js';
@@ -82,6 +82,7 @@ class API extends sdkClient.API {
82
82
  method: "GET",
83
83
  path: `/marketplace/v2/local-images`,
84
84
  urlParams: sdkClient.urlParams(
85
+ ["arch", request.arch],
85
86
  ["order_by", request.orderBy],
86
87
  ["page", request.page],
87
88
  [
@@ -1,5 +1,5 @@
1
1
  import { API as ParentAPI } from '@scaleway/sdk-client';
2
- import type { Category, GetCategoryRequest, GetImageRequest, GetLocalImageRequest, GetVersionRequest, Image, ListCategoriesRequest, ListCategoriesResponse, ListImagesRequest, ListImagesResponse, ListLocalImagesRequest, ListLocalImagesResponse, ListVersionsRequest, ListVersionsResponse, LocalImage, Version } from './types.gen';
2
+ import type { Category, GetCategoryRequest, GetImageRequest, GetLocalImageRequest, GetVersionRequest, Image, ListCategoriesRequest, ListCategoriesResponse, ListImagesRequest, ListImagesResponse, ListLocalImagesRequest, ListLocalImagesResponse, ListVersionsRequest, ListVersionsResponse, LocalImage, Version } from './types.gen.js';
3
3
  /**
4
4
  * Marketplace API.
5
5
 
@@ -80,6 +80,7 @@ class API extends API$1 {
80
80
  method: "GET",
81
81
  path: `/marketplace/v2/local-images`,
82
82
  urlParams: urlParams(
83
+ ["arch", request.arch],
83
84
  ["order_by", request.orderBy],
84
85
  ["page", request.page],
85
86
  [
@@ -1,3 +1,3 @@
1
- export { API } from './api.gen';
2
- export * from './marshalling.gen';
3
- export type { Category, GetCategoryRequest, GetImageRequest, GetLocalImageRequest, GetVersionRequest, Image, ListCategoriesRequest, ListCategoriesResponse, ListImagesRequest, ListImagesRequestOrderBy, ListImagesResponse, ListLocalImagesRequest, ListLocalImagesRequestOrderBy, ListLocalImagesResponse, ListVersionsRequest, ListVersionsRequestOrderBy, ListVersionsResponse, LocalImage, LocalImageType, Version, } from './types.gen';
1
+ export { API } from './api.gen.js';
2
+ export * from './marshalling.gen.js';
3
+ export type { Category, GetCategoryRequest, GetImageRequest, GetLocalImageRequest, GetVersionRequest, Image, ListCategoriesRequest, ListCategoriesResponse, ListImagesRequest, ListImagesRequestOrderBy, ListImagesResponse, ListLocalImagesRequest, ListLocalImagesRequestOrderBy, ListLocalImagesResponse, ListVersionsRequest, ListVersionsRequestOrderBy, ListVersionsResponse, LocalImage, LocalImageType, Version, } from './types.gen.js';
@@ -1,4 +1,4 @@
1
- import type { Category, Image, ListCategoriesResponse, ListImagesResponse, ListLocalImagesResponse, ListVersionsResponse, LocalImage, Version } from './types.gen';
1
+ import type { Category, Image, ListCategoriesResponse, ListImagesResponse, ListLocalImagesResponse, ListVersionsResponse, LocalImage, Version } from './types.gen.js';
2
2
  export declare const unmarshalCategory: (data: unknown) => Category;
3
3
  export declare const unmarshalImage: (data: unknown) => Image;
4
4
  export declare const unmarshalLocalImage: (data: unknown) => LocalImage;
@@ -165,6 +165,10 @@ export type ListLocalImagesRequest = {
165
165
  * Filter local images available on this Availability Zone.
166
166
  */
167
167
  zone?: ScwZone;
168
+ /**
169
+ * Filter local images available for this machine architecture.
170
+ */
171
+ arch?: string;
168
172
  /**
169
173
  * Filter by image id.
170
174
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-marketplace",
3
- "version": "1.0.6",
3
+ "version": "1.2.0",
4
4
  "description": "Scaleway SDK marketplace",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@scaleway/random-name": "5.1.2",
33
- "@scaleway/sdk-std": "1.0.6"
33
+ "@scaleway/sdk-std": "1.2.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@scaleway/sdk-client": "^1.3.1"
36
+ "@scaleway/sdk-client": "^1.3.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@scaleway/sdk-client": "^1.3.1"
39
+ "@scaleway/sdk-client": "^1.3.3"
40
40
  },
41
41
  "scripts": {
42
42
  "package:check": "pnpm publint",