@scaleway/sdk 2.75.1 → 2.76.1

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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const sdkAccount = require("@scaleway/sdk-account");
4
4
  const sdkApplesilicon = require("@scaleway/sdk-applesilicon");
5
5
  const sdkAuditTrail = require("@scaleway/sdk-audit-trail");
6
+ const sdkAutoscaling = require("@scaleway/sdk-autoscaling");
6
7
  const sdkBaremetal = require("@scaleway/sdk-baremetal");
7
8
  const sdkBilling = require("@scaleway/sdk-billing");
8
9
  const sdkBlock = require("@scaleway/sdk-block");
@@ -48,6 +49,9 @@ const Applesilicon = {
48
49
  const AuditTrail = {
49
50
  v1alpha1: sdkAuditTrail.AuditTrailv1alpha1
50
51
  };
52
+ const Autoscaling = {
53
+ v1alpha1: sdkAutoscaling.Autoscalingv1alpha1
54
+ };
51
55
  const Baremetal = {
52
56
  v1: sdkBaremetal.Baremetalv1,
53
57
  v3: sdkBaremetal.Baremetalv3
@@ -172,6 +176,10 @@ Object.defineProperty(exports, "AuditTrailv1alpha1", {
172
176
  enumerable: true,
173
177
  get: () => sdkAuditTrail.AuditTrailv1alpha1
174
178
  });
179
+ Object.defineProperty(exports, "Autoscalingv1alpha1", {
180
+ enumerable: true,
181
+ get: () => sdkAutoscaling.Autoscalingv1alpha1
182
+ });
175
183
  Object.defineProperty(exports, "Baremetalv1", {
176
184
  enumerable: true,
177
185
  get: () => sdkBaremetal.Baremetalv1
@@ -335,6 +343,7 @@ Object.defineProperty(exports, "Webhostingv1", {
335
343
  exports.Account = Account;
336
344
  exports.Applesilicon = Applesilicon;
337
345
  exports.AuditTrail = AuditTrail;
346
+ exports.Autoscaling = Autoscaling;
338
347
  exports.Baremetal = Baremetal;
339
348
  exports.Billing = Billing;
340
349
  exports.Block = Block;
@@ -5,6 +5,7 @@
5
5
  import { Accountv3 } from '@scaleway/sdk-account';
6
6
  import { Applesiliconv1alpha1 } from '@scaleway/sdk-applesilicon';
7
7
  import { AuditTrailv1alpha1 } from '@scaleway/sdk-audit-trail';
8
+ import { Autoscalingv1alpha1 } from '@scaleway/sdk-autoscaling';
8
9
  import { Baremetalv1, Baremetalv3 } from '@scaleway/sdk-baremetal';
9
10
  import { Billingv2beta1 } from '@scaleway/sdk-billing';
10
11
  import { Blockv1, Blockv1alpha1 } from '@scaleway/sdk-block';
@@ -62,6 +63,13 @@ export { AuditTrailv1alpha1 };
62
63
  export declare const AuditTrail: {
63
64
  v1alpha1: typeof AuditTrailv1alpha1;
64
65
  };
66
+ /**
67
+ * @deprecated Direct version exports are deprecated. Use the 'Autoscaling' namespace instead (e.g., Autoscaling.v1).
68
+ */
69
+ export { Autoscalingv1alpha1 };
70
+ export declare const Autoscaling: {
71
+ v1alpha1: typeof Autoscalingv1alpha1;
72
+ };
65
73
  /**
66
74
  * @deprecated Direct version exports are deprecated. Use the 'Baremetal' namespace instead (e.g., Baremetal.v1).
67
75
  */
package/dist/index.gen.js CHANGED
@@ -4,6 +4,8 @@ import { Applesiliconv1alpha1 } from "@scaleway/sdk-applesilicon";
4
4
  import { Applesiliconv1alpha1 as Applesiliconv1alpha12 } from "@scaleway/sdk-applesilicon";
5
5
  import { AuditTrailv1alpha1 } from "@scaleway/sdk-audit-trail";
6
6
  import { AuditTrailv1alpha1 as AuditTrailv1alpha12 } from "@scaleway/sdk-audit-trail";
7
+ import { Autoscalingv1alpha1 } from "@scaleway/sdk-autoscaling";
8
+ import { Autoscalingv1alpha1 as Autoscalingv1alpha12 } from "@scaleway/sdk-autoscaling";
7
9
  import { Baremetalv3, Baremetalv1 } from "@scaleway/sdk-baremetal";
8
10
  import { Baremetalv1 as Baremetalv12, Baremetalv3 as Baremetalv32 } from "@scaleway/sdk-baremetal";
9
11
  import { Billingv2beta1 } from "@scaleway/sdk-billing";
@@ -85,6 +87,9 @@ const Applesilicon = {
85
87
  const AuditTrail = {
86
88
  v1alpha1: AuditTrailv1alpha1
87
89
  };
90
+ const Autoscaling = {
91
+ v1alpha1: Autoscalingv1alpha1
92
+ };
88
93
  const Baremetal = {
89
94
  v1: Baremetalv1,
90
95
  v3: Baremetalv3
@@ -204,6 +209,8 @@ export {
204
209
  Applesiliconv1alpha12 as Applesiliconv1alpha1,
205
210
  AuditTrail,
206
211
  AuditTrailv1alpha12 as AuditTrailv1alpha1,
212
+ Autoscaling,
213
+ Autoscalingv1alpha12 as Autoscalingv1alpha1,
207
214
  Baremetal,
208
215
  Baremetalv12 as Baremetalv1,
209
216
  Baremetalv32 as Baremetalv3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "2.75.1",
3
+ "version": "2.76.1",
4
4
  "description": "Scaleway SDK TS.",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -26,66 +26,62 @@
26
26
  "directory": "packages/sdk"
27
27
  },
28
28
  "engines": {
29
- "node": ">=20.19.0"
30
- },
31
- "scripts": {
32
- "package:check": "pnpm publint",
33
- "typecheck": "tsc --noEmit",
34
- "type:generate": "tsc --declaration -p tsconfig.build.json",
35
- "build": "vite build --config vite.config.ts && pnpm run type:generate",
36
- "build:profile": "npx vite-bundle-visualizer -c vite.config.ts"
29
+ "node": ">=20.19.1"
37
30
  },
38
31
  "dependencies": {
39
- "@scaleway/random-name": "5.1.1",
40
- "@scaleway/sdk-account": "workspace:*",
41
- "@scaleway/sdk-applesilicon": "workspace:*",
42
- "@scaleway/sdk-audit-trail": "workspace:*",
43
- "@scaleway/sdk-baremetal": "workspace:*",
44
- "@scaleway/sdk-billing": "workspace:*",
45
- "@scaleway/sdk-block": "workspace:*",
46
- "@scaleway/sdk-cockpit": "workspace:*",
47
- "@scaleway/sdk-container": "workspace:*",
48
- "@scaleway/sdk-dedibox": "workspace:*",
49
- "@scaleway/sdk-domain": "workspace:*",
50
- "@scaleway/sdk-edge-services": "workspace:*",
51
- "@scaleway/sdk-file": "workspace:*",
52
- "@scaleway/sdk-flexibleip": "workspace:*",
53
- "@scaleway/sdk-function": "workspace:*",
54
- "@scaleway/sdk-iam": "workspace:*",
55
- "@scaleway/sdk-inference": "workspace:*",
56
- "@scaleway/sdk-instance": "workspace:*",
57
- "@scaleway/sdk-interlink": "workspace:*",
58
- "@scaleway/sdk-iot": "workspace:*",
59
- "@scaleway/sdk-ipam": "workspace:*",
60
- "@scaleway/sdk-jobs": "workspace:*",
61
- "@scaleway/sdk-k8s": "workspace:*",
62
- "@scaleway/sdk-key-manager": "workspace:*",
63
- "@scaleway/sdk-lb": "workspace:*",
64
- "@scaleway/sdk-marketplace": "workspace:*",
65
- "@scaleway/sdk-mnq": "workspace:*",
66
- "@scaleway/sdk-mongodb": "workspace:*",
67
- "@scaleway/sdk-product-catalog": "workspace:*",
68
- "@scaleway/sdk-qaas": "workspace:*",
69
- "@scaleway/sdk-rdb": "workspace:*",
70
- "@scaleway/sdk-redis": "workspace:*",
71
- "@scaleway/sdk-registry": "workspace:*",
72
- "@scaleway/sdk-secret": "workspace:*",
73
- "@scaleway/sdk-serverless-sqldb": "workspace:*",
74
- "@scaleway/sdk-std": "workspace:*",
75
- "@scaleway/sdk-tem": "workspace:*",
76
- "@scaleway/sdk-test": "workspace:*",
77
- "@scaleway/sdk-vpc": "workspace:*",
78
- "@scaleway/sdk-vpcgw": "workspace:*",
79
- "@scaleway/sdk-webhosting": "workspace:*"
32
+ "@scaleway/sdk-account": "1.0.3",
33
+ "@scaleway/sdk-applesilicon": "1.0.3",
34
+ "@scaleway/sdk-audit-trail": "1.0.3",
35
+ "@scaleway/sdk-autoscaling": "1.1.1",
36
+ "@scaleway/sdk-baremetal": "1.0.3",
37
+ "@scaleway/sdk-block": "1.0.3",
38
+ "@scaleway/sdk-cockpit": "1.1.4",
39
+ "@scaleway/sdk-container": "1.3.1",
40
+ "@scaleway/sdk-billing": "1.0.3",
41
+ "@scaleway/sdk-edge-services": "1.0.3",
42
+ "@scaleway/sdk-domain": "1.0.3",
43
+ "@scaleway/sdk-dedibox": "1.0.3",
44
+ "@scaleway/sdk-file": "1.0.5",
45
+ "@scaleway/sdk-flexibleip": "1.0.3",
46
+ "@scaleway/sdk-iam": "1.0.3",
47
+ "@scaleway/sdk-inference": "1.0.3",
48
+ "@scaleway/sdk-instance": "1.0.4",
49
+ "@scaleway/sdk-interlink": "1.0.3",
50
+ "@scaleway/sdk-function": "1.3.1",
51
+ "@scaleway/sdk-iot": "1.0.3",
52
+ "@scaleway/sdk-ipam": "1.1.1",
53
+ "@scaleway/sdk-jobs": "1.0.3",
54
+ "@scaleway/sdk-k8s": "1.3.1",
55
+ "@scaleway/sdk-key-manager": "1.1.1",
56
+ "@scaleway/sdk-lb": "1.1.1",
57
+ "@scaleway/sdk-mnq": "1.0.3",
58
+ "@scaleway/sdk-marketplace": "1.0.3",
59
+ "@scaleway/sdk-mongodb": "1.0.3",
60
+ "@scaleway/sdk-rdb": "1.0.3",
61
+ "@scaleway/sdk-product-catalog": "1.3.1",
62
+ "@scaleway/sdk-redis": "1.0.3",
63
+ "@scaleway/sdk-registry": "1.0.3",
64
+ "@scaleway/sdk-qaas": "1.1.3",
65
+ "@scaleway/sdk-secret": "1.2.1",
66
+ "@scaleway/sdk-serverless-sqldb": "1.0.3",
67
+ "@scaleway/sdk-tem": "1.0.3",
68
+ "@scaleway/sdk-test": "1.0.3",
69
+ "@scaleway/sdk-std": "1.0.3",
70
+ "@scaleway/sdk-vpc": "1.0.3",
71
+ "@scaleway/sdk-vpcgw": "1.0.3",
72
+ "@scaleway/sdk-webhosting": "1.1.1"
80
73
  },
81
74
  "devDependencies": {
82
- "@scaleway/sdk-client": "^1.2.1"
75
+ "@scaleway/sdk-client": "^1.2.2"
83
76
  },
84
77
  "peerDependencies": {
85
- "@scaleway/sdk-client": "workspace:^"
78
+ "@scaleway/sdk-client": "^1.2.2"
86
79
  },
87
- "bundledDependencies": [
88
- "@scaleway/random-name"
89
- ],
90
- "gitHead": "a3b0b412eb0b067b8f2ea61360a023f38d17f5a0"
91
- }
80
+ "scripts": {
81
+ "package:check": "pnpm publint",
82
+ "typecheck": "tsc --noEmit",
83
+ "type:generate": "tsc --declaration -p tsconfig.build.json",
84
+ "build": "vite build --config vite.config.ts && pnpm run type:generate",
85
+ "build:profile": "npx vite-bundle-visualizer -c vite.config.ts"
86
+ }
87
+ }
@@ -1,4 +0,0 @@
1
- **/__tests__/**
2
- src
3
- .eslintrc.cjs
4
- !.npmignore
@@ -1,165 +0,0 @@
1
- # Change Log
2
-
3
- ## 5.1.1
4
-
5
- ### Patch Changes
6
-
7
- - [#2179](https://github.com/scaleway/scaleway-lib/pull/2179) [`3c8926e`](https://github.com/scaleway/scaleway-lib/commit/3c8926e55b328354ee9ae1088dc42d394cf1e833) Thanks [@philibea](https://github.com/philibea)! - remove niel from list
8
-
9
- ## 5.1.0
10
-
11
- ### Minor Changes
12
-
13
- - [#1960](https://github.com/scaleway/scaleway-lib/pull/1960) [`d034b3c`](https://github.com/scaleway/scaleway-lib/commit/d034b3cda1cac30ce2ed4e95be5a2c79642f8ca4) Thanks [@Slashgear](https://github.com/Slashgear)! - add legacy main attribut for CommonJS export usage
14
-
15
- ## 5.0.2
16
-
17
- ### Patch Changes
18
-
19
- - [#1953](https://github.com/scaleway/scaleway-lib/pull/1953) [`1fddf05`](https://github.com/scaleway/scaleway-lib/commit/1fddf0515851908b094f983b05b3d87af8eef433) Thanks [@philibea](https://github.com/philibea)! - add cjs build
20
-
21
- ## 5.0.1
22
-
23
- ### Patch Changes
24
-
25
- - [#1943](https://github.com/scaleway/scaleway-lib/pull/1943) [`e726def`](https://github.com/scaleway/scaleway-lib/commit/e726def8e0cb4593f800f9acecca51b173ae907a) Thanks [@philibea](https://github.com/philibea)! - Migration from rollup to vite
26
-
27
- ## 5.0.0
28
-
29
- ### Major Changes
30
-
31
- - [#1837](https://github.com/scaleway/scaleway-lib/pull/1837) [`5404963`](https://github.com/scaleway/scaleway-lib/commit/5404963ddd01fafe6ed9753d8324fb19849065ca) Thanks [@philibea](https://github.com/philibea)! - upgrade node version from 14 to 20
32
-
33
- ## 4.0.3
34
-
35
- ### Patch Changes
36
-
37
- - [#1804](https://github.com/scaleway/scaleway-lib/pull/1804) [`202edf7`](https://github.com/scaleway/scaleway-lib/commit/202edf7d334dd4a4bc8971a098e48dc0eb024476) Thanks [@cyclimse](https://github.com/cyclimse)! - Add Xavier Niel on random name
38
-
39
- ## 4.0.2
40
-
41
- ### Patch Changes
42
-
43
- - [#1380](https://github.com/scaleway/scaleway-lib/pull/1380) [`c0e0d51`](https://github.com/scaleway/scaleway-lib/commit/c0e0d5104680149f9b38ae509b17d14a66c4d733) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Add `exports` field & fix package lint errors
44
-
45
- All notable changes to this project will be documented in this file.
46
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
47
-
48
- ## 4.0.1 (2023-01-13)
49
-
50
- ### :package: Chore
51
-
52
- - **release:** publish ([9d6de7b](https://github.com/scaleway/scaleway-lib/commit/9d6de7b63065f53774cb64b0e5a46a868dc9933a))
53
-
54
- ### :bug: Bug Fixes
55
-
56
- - harden ts code ([#1158](https://github.com/scaleway/scaleway-lib/issues/1158)) ([7e2130e](https://github.com/scaleway/scaleway-lib/commit/7e2130ea4c2a079c69ec49b27444daa8f6076d03))
57
-
58
- ## 4.0.0 (2023-01-06)
59
-
60
- ### ⚠ BREAKING CHANGES
61
-
62
- - packages are ESM only
63
-
64
- ### :package: Chore
65
-
66
- - **release:** publish ([20c9d4f](https://github.com/scaleway/scaleway-lib/commit/20c9d4fb39822245252bf362bc7a8d26127e511d))
67
-
68
- ### :gear: Features
69
-
70
- - publish packages as ESM only ([#1145](https://github.com/scaleway/scaleway-lib/issues/1145)) ([4c25097](https://github.com/scaleway/scaleway-lib/commit/4c25097254a5ba7f0a5dbb6fdf5d6578a75f777a))
71
-
72
- ## 3.0.3 (2022-12-29)
73
-
74
- ### Bug Fixes
75
-
76
- - specify sideEffect free packages ([#1134](https://github.com/scaleway/scaleway-lib/issues/1134)) ([20510f0](https://github.com/scaleway/scaleway-lib/commit/20510f0f66fde99e682529db28fe85d580efe474))
77
-
78
- ### 3.0.2 (2022-04-08)
79
-
80
- **Note:** Version bump only for package @scaleway/random-name
81
-
82
- ### 3.0.1 (2022-03-11)
83
-
84
- **Note:** Version bump only for package @scaleway/random-name
85
-
86
- ## 3.0.0 (2021-11-18)
87
-
88
- ### ⚠ BREAKING CHANGES
89
-
90
- - **random-name:** split package in two to offer a raw and a react hook version (#500)
91
-
92
- ### Features
93
-
94
- - **random-name:** split package in two to offer a raw and a react hook version ([#500](https://github.com/scaleway/scaleway-lib/issues/500)) ([cf57f2e](https://github.com/scaleway/scaleway-lib/commit/cf57f2ed949198b68b73af0ee43945bebe59f39b))
95
-
96
- ### 2.1.1 (2021-10-21)
97
-
98
- **Note:** Version bump only for package @scaleway/random-name
99
-
100
- ## [2.1.0](https://github.com/scaleway/scaleway-lib/compare/@scaleway/random-name@2.0.0...@scaleway/random-name@2.1.0) (2021-07-21)
101
-
102
- ### Features
103
-
104
- - **random-name:** base the generator on moby and expose react hook ([#281](https://github.com/scaleway/scaleway-lib/issues/281)) ([6e986be](https://github.com/scaleway/scaleway-lib/commit/6e986beb2609e533199a2b38b989c3b8b0c3c56b))
105
-
106
- ## 2.0.0 (2021-07-20)
107
-
108
- ### ⚠ BREAKING CHANGES
109
-
110
- - migrate the codebase to typescript
111
-
112
- ### Code Refactoring
113
-
114
- - migrate to typescript ([#272](https://github.com/scaleway/scaleway-lib/issues/272)) ([3923c68](https://github.com/scaleway/scaleway-lib/commit/3923c68d6f7feadee7e2e30e32c9ef5d1f3003b9))
115
-
116
- ### 1.3.2 (2021-05-11)
117
-
118
- **Note:** Version bump only for package @scaleway/random-name
119
-
120
- ### 1.3.1 (2021-05-10)
121
-
122
- **Note:** Version bump only for package @scaleway/random-name
123
-
124
- # 1.3.0 (2021-03-04)
125
-
126
- ### Features
127
-
128
- - updated eslint setting to force carriage return before return ([3514034](https://github.com/scaleway/scaleway-lib/commit/3514034804ae06083825adc3e57003ed8dba4933))
129
-
130
- ## 1.2.1 (2021-02-15)
131
-
132
- **Note:** Version bump only for package @scaleway/random-name
133
-
134
- # 1.2.0 (2021-01-28)
135
-
136
- ### Bug Fixes
137
-
138
- - correct browser entrypoints ([2c0724d](https://github.com/scaleway/scaleway-lib/commit/2c0724d00b45664757c380188618908fcae2c606))
139
- - **random-name:** add npmignore ([d7b7e70](https://github.com/scaleway/scaleway-lib/commit/d7b7e701db4ae090650408794a380ebe084e8407))
140
-
141
- ### Features
142
-
143
- - migrate randomName from shire and scw-ui ([5729af8](https://github.com/scaleway/scaleway-lib/commit/5729af8c38a436679e948025dfff89c45a9b8e5c))
144
-
145
- ## [1.1.3](https://github.com/scaleway/scaleway-lib/compare/@scaleway/random-name@1.1.2...@scaleway/random-name@1.1.3) (2020-11-08)
146
-
147
- **Note:** Version bump only for package @scaleway/random-name
148
-
149
- ## [1.1.2](https://github.com/scaleway/scaleway-lib/compare/@scaleway/random-name@1.1.1...@scaleway/random-name@1.1.2) (2020-10-28)
150
-
151
- ### Bug Fixes
152
-
153
- - correct browser entrypoints ([8a7d0b5](https://github.com/scaleway/scaleway-lib/commit/8a7d0b503ee22eedb07d5021b3a3fd4e059e627a))
154
-
155
- ## [1.1.1](https://github.com/scaleway/scaleway-lib/compare/@scaleway/random-name@1.1.0...@scaleway/random-name@1.1.1) (2020-10-28)
156
-
157
- ### Bug Fixes
158
-
159
- - **random-name:** add npmignore ([2731b54](https://github.com/scaleway/scaleway-lib/commit/2731b5452bb33fb369ee2370156e565b5a328d42))
160
-
161
- # 1.1.0 (2020-10-28)
162
-
163
- ### Features
164
-
165
- - migrate randomName from shire and scw-ui ([331a2f9](https://github.com/scaleway/scaleway-lib/commit/331a2f91a5aa777806bbc1dc1014fc5b6987db8c))
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Scaleway
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,26 +0,0 @@
1
- # `@scaleway/random-name`
2
-
3
- A tiny utility to generate random names.
4
-
5
- Fully inspired by [Moby name generator](https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go)
6
-
7
- ---
8
-
9
- ## Install
10
-
11
- ```bash
12
- $ pnpm add @scaleway/random-name
13
- ```
14
-
15
- ## Usage
16
-
17
- ```js
18
- import randomName from '@scaleway/random-name'
19
-
20
- // randomName(prefix: string = '', separator: string = '-'): string
21
-
22
- randomName() // => "admiring-allen"
23
- randomName('superb') // => "superb-admiring-allen"
24
- randomName('superb', '_') // => "superb_admiring_allen"
25
- randomName('', '_') // => "admiring_allen"
26
- ```