@scaleway/sdk-test 2.6.1 → 2.6.3

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.
@@ -1,5 +1,5 @@
1
- import type { WaitForOptions } from '@scaleway/sdk-client';
2
1
  import { API as ParentAPI } from '@scaleway/sdk-client';
2
+ import type { WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { CreateHumanRequest, DeleteHumanRequest, GetHumanRequest, Human, ListHumansRequest, ListHumansResponse, RegisterRequest, RegisterResponse, RunHumanRequest, SmokeHumanRequest, UpdateHumanRequest } from './types.gen.js';
4
4
  /**
5
5
  * Fake API.
@@ -41,7 +41,7 @@ export declare class API extends ParentAPI {
41
41
  * @param options - The waiting options
42
42
  * @returns A Promise of Human
43
43
  */
44
- waitForHuman: (request: Readonly<GetHumanRequest>, options?: Readonly<WaitForOptions<Human>> | undefined) => Promise<Human>;
44
+ waitForHuman: (request: Readonly<GetHumanRequest>, options?: Readonly<WaitForOptions<Human>>) => Promise<Human>;
45
45
  /**
46
46
  * Create a new human.
47
47
  *
@@ -1,5 +1,5 @@
1
1
  import type { DefaultValues } from '@scaleway/sdk-client';
2
- import type { CreateHumanRequest, Human, ListHumansResponse, RegisterRequest, RegisterResponse, UpdateHumanRequest } from './types.gen.js';
2
+ import type { Human, ListHumansResponse, RegisterResponse, CreateHumanRequest, RegisterRequest, UpdateHumanRequest } from './types.gen.js';
3
3
  export declare const unmarshalHuman: (data: unknown) => Human;
4
4
  export declare const unmarshalListHumansResponse: (data: unknown) => ListHumansResponse;
5
5
  export declare const unmarshalRegisterResponse: (data: unknown) => RegisterResponse;
@@ -1,29 +1,29 @@
1
1
  export declare const queriesMetadata: {
2
- readonly namespace: "test";
3
- readonly version: "v1";
4
- readonly folderName: "testv1";
2
+ readonly namespace: 'test';
3
+ readonly version: 'v1';
4
+ readonly folderName: 'testv1';
5
5
  readonly services: readonly [{
6
- readonly apiClass: "API";
6
+ readonly apiClass: 'API';
7
7
  readonly methods: readonly [{
8
- readonly methodName: "listHumans";
9
- readonly protoName: "ListHumans";
10
- readonly paramsType: "ListHumansRequest";
11
- readonly returnType: "ListHumansResponse";
8
+ readonly methodName: 'listHumans';
9
+ readonly protoName: 'ListHumans';
10
+ readonly paramsType: 'ListHumansRequest';
11
+ readonly returnType: 'ListHumansResponse';
12
12
  readonly isList: true;
13
- readonly paginationType: "offset";
14
- readonly pageParamKey: "page";
15
- readonly listItemType: "Human";
13
+ readonly paginationType: 'offset';
14
+ readonly pageParamKey: 'page';
15
+ readonly listItemType: 'Human';
16
16
  readonly isPrivate: false;
17
- readonly description: "\"";
17
+ readonly description: '"';
18
18
  }, {
19
- readonly methodName: "getHuman";
20
- readonly protoName: "GetHuman";
21
- readonly paramsType: "GetHumanRequest";
22
- readonly returnType: "Human";
19
+ readonly methodName: 'getHuman';
20
+ readonly protoName: 'GetHuman';
21
+ readonly paramsType: 'GetHumanRequest';
22
+ readonly returnType: 'Human';
23
23
  readonly isList: false;
24
- readonly paginationType: "none";
24
+ readonly paginationType: 'none';
25
25
  readonly isPrivate: false;
26
- readonly description: "\"";
26
+ readonly description: '"';
27
27
  readonly hasWaiter: true;
28
28
  }];
29
29
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-test",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "Scaleway SDK test",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,17 +32,17 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@scaleway/random-name": "5.1.4",
35
- "@scaleway/sdk-std": "2.4.1"
35
+ "@scaleway/sdk-std": "2.4.3"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@repo/configs": "^0.1.1",
39
- "@scaleway/sdk-client": "^2.3.1"
39
+ "@scaleway/sdk-client": "^2.4.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@scaleway/sdk-client": "^2.3.1"
42
+ "@scaleway/sdk-client": "^2.4.1"
43
43
  },
44
44
  "engines": {
45
- "node": ">=20.19.6"
45
+ "node": ">=20.20.2"
46
46
  },
47
47
  "scripts": {
48
48
  "package:check": "pnpm publint",