@scaleway/sdk 2.62.0 → 2.64.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.
Files changed (47) hide show
  1. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +3 -3
  2. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +20 -20
  3. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +3 -3
  4. package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
  5. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +16 -0
  6. package/dist/api/iam/v1alpha1/marshalling.gen.js +16 -0
  7. package/dist/api/iam/v1alpha1/types.gen.d.ts +48 -4
  8. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +7 -3
  9. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +6 -3
  10. package/dist/api/iam/v1alpha1/validation-rules.gen.js +7 -3
  11. package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
  12. package/dist/api/inference/v1beta1/types.gen.d.ts +21 -21
  13. package/dist/api/instance/v1/api.gen.d.ts +2 -2
  14. package/dist/api/instance/v1/types.gen.d.ts +87 -87
  15. package/dist/api/instance/v1/types.private.gen.d.ts +5 -5
  16. package/dist/api/interlink/v1beta1/api.gen.cjs +5 -1
  17. package/dist/api/interlink/v1beta1/api.gen.d.ts +2 -2
  18. package/dist/api/interlink/v1beta1/api.gen.js +5 -1
  19. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +1 -0
  20. package/dist/api/interlink/v1beta1/marshalling.gen.js +1 -0
  21. package/dist/api/interlink/v1beta1/types.gen.d.ts +29 -24
  22. package/dist/api/vpc/v2/api.gen.cjs +5 -21
  23. package/dist/api/vpc/v2/api.gen.d.ts +3 -13
  24. package/dist/api/vpc/v2/api.gen.js +6 -22
  25. package/dist/api/vpc/v2/index.gen.d.ts +1 -1
  26. package/dist/api/vpc/v2/marshalling.gen.cjs +0 -16
  27. package/dist/api/vpc/v2/marshalling.gen.d.ts +1 -2
  28. package/dist/api/vpc/v2/marshalling.gen.js +1 -17
  29. package/dist/api/vpc/v2/types.gen.d.ts +24 -49
  30. package/dist/api/webhosting/v1/api.gen.cjs +40 -8
  31. package/dist/api/webhosting/v1/api.gen.d.ts +9 -9
  32. package/dist/api/webhosting/v1/api.gen.js +40 -8
  33. package/dist/api/webhosting/v1/marshalling.gen.cjs +1 -0
  34. package/dist/api/webhosting/v1/marshalling.gen.js +1 -0
  35. package/dist/api/webhosting/v1/types.gen.d.ts +41 -36
  36. package/dist/api/webhosting/v1alpha1/api.gen.cjs +5 -1
  37. package/dist/api/webhosting/v1alpha1/api.gen.d.ts +3 -3
  38. package/dist/api/webhosting/v1alpha1/api.gen.js +5 -1
  39. package/dist/api/webhosting/v1alpha1/types.gen.d.ts +19 -19
  40. package/dist/scw/constants.cjs +1 -1
  41. package/dist/scw/constants.d.ts +2 -2
  42. package/dist/scw/constants.js +1 -1
  43. package/node_modules/@scaleway/random-name/CHANGELOG.md +6 -0
  44. package/node_modules/@scaleway/random-name/dist/index.cjs +0 -2
  45. package/node_modules/@scaleway/random-name/dist/index.js +0 -2
  46. package/node_modules/@scaleway/random-name/package.json +2 -1
  47. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import type { Money, Region } from '../../../bridge';
1
+ import type { Money, Region as ScwRegion } from '../../../bridge';
2
2
  import type { LanguageCode as StdLanguageCode } from '../../std/types.gen';
3
3
  export type DnsRecordStatus = 'unknown_status' | 'valid' | 'invalid';
4
4
  export type DnsRecordType = 'unknown_type' | 'a' | 'cname' | 'mx' | 'txt' | 'ns' | 'aaaa';
@@ -82,6 +82,11 @@ export interface DnsRecord {
82
82
  priority?: number;
83
83
  /** Record status. */
84
84
  status: DnsRecordStatus;
85
+ /**
86
+ * Record representation as it appears in the zone file or DNS management
87
+ * system.
88
+ */
89
+ rawData: string;
85
90
  }
86
91
  export interface Nameserver {
87
92
  /** Hostname of the nameserver. */
@@ -190,7 +195,7 @@ export interface HostingSummary {
190
195
  /** Name of the active offer for the Web Hosting plan. */
191
196
  offerName: string;
192
197
  /** Region where the Web Hosting plan is hosted. */
193
- region: Region;
198
+ region: ScwRegion;
194
199
  }
195
200
  export interface MailAccount {
196
201
  /** Domain part of the mail account address. */
@@ -215,7 +220,7 @@ export type ControlPanelApiListControlPanelsRequest = {
215
220
  * Region to target. If none is passed will use default region from the
216
221
  * config.
217
222
  */
218
- region?: Region;
223
+ region?: ScwRegion;
219
224
  /** Page number (must be a positive integer). */
220
225
  page?: number;
221
226
  /**
@@ -229,7 +234,7 @@ export type DatabaseApiAssignDatabaseUserRequest = {
229
234
  * Region to target. If none is passed will use default region from the
230
235
  * config.
231
236
  */
232
- region?: Region;
237
+ region?: ScwRegion;
233
238
  /** UUID of the hosting plan. */
234
239
  hostingId: string;
235
240
  /** Name of the database to be assigned. */
@@ -242,7 +247,7 @@ export type DatabaseApiChangeDatabaseUserPasswordRequest = {
242
247
  * Region to target. If none is passed will use default region from the
243
248
  * config.
244
249
  */
245
- region?: Region;
250
+ region?: ScwRegion;
246
251
  /** UUID of the hosting plan. */
247
252
  hostingId: string;
248
253
  /** Name of the user to update. */
@@ -255,7 +260,7 @@ export type DatabaseApiCreateDatabaseRequest = {
255
260
  * Region to target. If none is passed will use default region from the
256
261
  * config.
257
262
  */
258
- region?: Region;
263
+ region?: ScwRegion;
259
264
  /** UUID of the hosting plan where the database will be created. */
260
265
  hostingId: string;
261
266
  /** Name of the database to be created. */
@@ -278,7 +283,7 @@ export type DatabaseApiCreateDatabaseUserRequest = {
278
283
  * Region to target. If none is passed will use default region from the
279
284
  * config.
280
285
  */
281
- region?: Region;
286
+ region?: ScwRegion;
282
287
  /** UUID of the hosting plan. */
283
288
  hostingId: string;
284
289
  /** Name of the user to create. */
@@ -291,7 +296,7 @@ export type DatabaseApiDeleteDatabaseRequest = {
291
296
  * Region to target. If none is passed will use default region from the
292
297
  * config.
293
298
  */
294
- region?: Region;
299
+ region?: ScwRegion;
295
300
  /** UUID of the hosting plan. */
296
301
  hostingId: string;
297
302
  /** Name of the database to delete. */
@@ -302,7 +307,7 @@ export type DatabaseApiDeleteDatabaseUserRequest = {
302
307
  * Region to target. If none is passed will use default region from the
303
308
  * config.
304
309
  */
305
- region?: Region;
310
+ region?: ScwRegion;
306
311
  /** UUID of the hosting plan. */
307
312
  hostingId: string;
308
313
  /** Name of the database user to delete. */
@@ -313,7 +318,7 @@ export type DatabaseApiGetDatabaseRequest = {
313
318
  * Region to target. If none is passed will use default region from the
314
319
  * config.
315
320
  */
316
- region?: Region;
321
+ region?: ScwRegion;
317
322
  /** UUID of the hosting plan. */
318
323
  hostingId: string;
319
324
  /** Name of the database. */
@@ -324,7 +329,7 @@ export type DatabaseApiGetDatabaseUserRequest = {
324
329
  * Region to target. If none is passed will use default region from the
325
330
  * config.
326
331
  */
327
- region?: Region;
332
+ region?: ScwRegion;
328
333
  /** UUID of the hosting plan. */
329
334
  hostingId: string;
330
335
  /** Name of the database user to retrieve details. */
@@ -335,7 +340,7 @@ export type DatabaseApiListDatabaseUsersRequest = {
335
340
  * Region to target. If none is passed will use default region from the
336
341
  * config.
337
342
  */
338
- region?: Region;
343
+ region?: ScwRegion;
339
344
  /** UUID of the hosting plan. */
340
345
  hostingId: string;
341
346
  /** Page number (must be a positive integer). */
@@ -353,7 +358,7 @@ export type DatabaseApiListDatabasesRequest = {
353
358
  * Region to target. If none is passed will use default region from the
354
359
  * config.
355
360
  */
356
- region?: Region;
361
+ region?: ScwRegion;
357
362
  /** UUID of the hosting plan. */
358
363
  hostingId: string;
359
364
  /** Page number (must be a positive integer). */
@@ -371,7 +376,7 @@ export type DatabaseApiUnassignDatabaseUserRequest = {
371
376
  * Region to target. If none is passed will use default region from the
372
377
  * config.
373
378
  */
374
- region?: Region;
379
+ region?: ScwRegion;
375
380
  /** UUID of the hosting plan. */
376
381
  hostingId: string;
377
382
  /** Name of the database to be unassigned. */
@@ -384,7 +389,7 @@ export type DnsApiCheckUserOwnsDomainRequest = {
384
389
  * Region to target. If none is passed will use default region from the
385
390
  * config.
386
391
  */
387
- region?: Region;
392
+ region?: ScwRegion;
388
393
  /** Domain for which ownership is to be verified. */
389
394
  domain: string;
390
395
  /** ID of the project currently in use. */
@@ -395,7 +400,7 @@ export type DnsApiGetDomainDnsRecordsRequest = {
395
400
  * Region to target. If none is passed will use default region from the
396
401
  * config.
397
402
  */
398
- region?: Region;
403
+ region?: ScwRegion;
399
404
  /** Domain associated with the DNS records. */
400
405
  domain: string;
401
406
  };
@@ -404,7 +409,7 @@ export type DnsApiSyncDomainDnsRecordsRequest = {
404
409
  * Region to target. If none is passed will use default region from the
405
410
  * config.
406
411
  */
407
- region?: Region;
412
+ region?: ScwRegion;
408
413
  /** Domain for which the DNS records will be synchronized. */
409
414
  domain: string;
410
415
  /** Whether or not to synchronize the web records. */
@@ -429,7 +434,7 @@ export type FtpAccountApiChangeFtpAccountPasswordRequest = {
429
434
  * Region to target. If none is passed will use default region from the
430
435
  * config.
431
436
  */
432
- region?: Region;
437
+ region?: ScwRegion;
433
438
  /** UUID of the hosting plan. */
434
439
  hostingId: string;
435
440
  /** Username of the FTP account. */
@@ -442,7 +447,7 @@ export type FtpAccountApiCreateFtpAccountRequest = {
442
447
  * Region to target. If none is passed will use default region from the
443
448
  * config.
444
449
  */
445
- region?: Region;
450
+ region?: ScwRegion;
446
451
  /** UUID of the hosting plan. */
447
452
  hostingId: string;
448
453
  /** Username for the new FTP account. */
@@ -457,7 +462,7 @@ export type FtpAccountApiListFtpAccountsRequest = {
457
462
  * Region to target. If none is passed will use default region from the
458
463
  * config.
459
464
  */
460
- region?: Region;
465
+ region?: ScwRegion;
461
466
  /** UUID of the hosting plan. */
462
467
  hostingId: string;
463
468
  /** Page number (must be a positive integer). */
@@ -477,7 +482,7 @@ export type FtpAccountApiRemoveFtpAccountRequest = {
477
482
  * Region to target. If none is passed will use default region from the
478
483
  * config.
479
484
  */
480
- region?: Region;
485
+ region?: ScwRegion;
481
486
  /** UUID of the hosting plan. */
482
487
  hostingId: string;
483
488
  /** Username of the FTP account to be deleted. */
@@ -511,14 +516,14 @@ export interface Hosting {
511
516
  /** Details of the hosting user. */
512
517
  user?: HostingUser;
513
518
  /** Region where the Web Hosting plan is hosted. */
514
- region: Region;
519
+ region: ScwRegion;
515
520
  }
516
521
  export type HostingApiCreateHostingRequest = {
517
522
  /**
518
523
  * Region to target. If none is passed will use default region from the
519
524
  * config.
520
525
  */
521
- region?: Region;
526
+ region?: ScwRegion;
522
527
  /** ID of the selected offer for the Web Hosting plan. */
523
528
  offerId: string;
524
529
  /** ID of the Scaleway Project in which to create the Web Hosting plan. */
@@ -552,7 +557,7 @@ export type HostingApiCreateSessionRequest = {
552
557
  * Region to target. If none is passed will use default region from the
553
558
  * config.
554
559
  */
555
- region?: Region;
560
+ region?: ScwRegion;
556
561
  /** Hosting ID. */
557
562
  hostingId: string;
558
563
  };
@@ -561,7 +566,7 @@ export type HostingApiDeleteHostingRequest = {
561
566
  * Region to target. If none is passed will use default region from the
562
567
  * config.
563
568
  */
564
- region?: Region;
569
+ region?: ScwRegion;
565
570
  /** Hosting ID. */
566
571
  hostingId: string;
567
572
  };
@@ -570,7 +575,7 @@ export type HostingApiGetHostingRequest = {
570
575
  * Region to target. If none is passed will use default region from the
571
576
  * config.
572
577
  */
573
- region?: Region;
578
+ region?: ScwRegion;
574
579
  /** Hosting ID. */
575
580
  hostingId: string;
576
581
  };
@@ -579,7 +584,7 @@ export type HostingApiGetResourceSummaryRequest = {
579
584
  * Region to target. If none is passed will use default region from the
580
585
  * config.
581
586
  */
582
- region?: Region;
587
+ region?: ScwRegion;
583
588
  /** Hosting ID. */
584
589
  hostingId: string;
585
590
  };
@@ -588,7 +593,7 @@ export type HostingApiListHostingsRequest = {
588
593
  * Region to target. If none is passed will use default region from the
589
594
  * config.
590
595
  */
591
- region?: Region;
596
+ region?: ScwRegion;
592
597
  /**
593
598
  * Page number to return, from the paginated results (must be a positive
594
599
  * integer).
@@ -637,7 +642,7 @@ export type HostingApiResetHostingPasswordRequest = {
637
642
  * Region to target. If none is passed will use default region from the
638
643
  * config.
639
644
  */
640
- region?: Region;
645
+ region?: ScwRegion;
641
646
  /** UUID of the hosting. */
642
647
  hostingId: string;
643
648
  };
@@ -646,7 +651,7 @@ export type HostingApiUpdateHostingRequest = {
646
651
  * Region to target. If none is passed will use default region from the
647
652
  * config.
648
653
  */
649
- region?: Region;
654
+ region?: ScwRegion;
650
655
  /** Hosting ID. */
651
656
  hostingId: string;
652
657
  /** New contact email for the Web Hosting plan. */
@@ -713,7 +718,7 @@ export type MailAccountApiChangeMailAccountPasswordRequest = {
713
718
  * Region to target. If none is passed will use default region from the
714
719
  * config.
715
720
  */
716
- region?: Region;
721
+ region?: ScwRegion;
717
722
  /** UUID of the hosting plan. */
718
723
  hostingId: string;
719
724
  /** Domain part of the mail account address. */
@@ -728,7 +733,7 @@ export type MailAccountApiCreateMailAccountRequest = {
728
733
  * Region to target. If none is passed will use default region from the
729
734
  * config.
730
735
  */
731
- region?: Region;
736
+ region?: ScwRegion;
732
737
  /** UUID of the hosting plan. */
733
738
  hostingId: string;
734
739
  /** Domain part of the mail account address. */
@@ -743,7 +748,7 @@ export type MailAccountApiListMailAccountsRequest = {
743
748
  * Region to target. If none is passed will use default region from the
744
749
  * config.
745
750
  */
746
- region?: Region;
751
+ region?: ScwRegion;
747
752
  /** UUID of the hosting plan. */
748
753
  hostingId: string;
749
754
  /** Page number (must be a positive integer). */
@@ -763,7 +768,7 @@ export type MailAccountApiRemoveMailAccountRequest = {
763
768
  * Region to target. If none is passed will use default region from the
764
769
  * config.
765
770
  */
766
- region?: Region;
771
+ region?: ScwRegion;
767
772
  /** UUID of the hosting plan. */
768
773
  hostingId: string;
769
774
  /** Domain part of the mail account address. */
@@ -776,7 +781,7 @@ export type OfferApiListOffersRequest = {
776
781
  * Region to target. If none is passed will use default region from the
777
782
  * config.
778
783
  */
779
- region?: Region;
784
+ region?: ScwRegion;
780
785
  /** Page number (must be a positive integer). */
781
786
  page?: number;
782
787
  /**
@@ -814,7 +819,7 @@ export type WebsiteApiListWebsitesRequest = {
814
819
  * Region to target. If none is passed will use default region from the
815
820
  * config.
816
821
  */
817
- region?: Region;
822
+ region?: ScwRegion;
818
823
  /** UUID of the hosting plan. */
819
824
  hostingId: string;
820
825
  /** Page number (must be a positive integer). */
@@ -243,7 +243,11 @@ class API extends api.API {
243
243
  }
244
244
  class ClassicMailAPI extends api.API {
245
245
  /** Lists the available regions of the API. */
246
- static LOCALITIES = ["fr-par", "nl-ams", "pl-waw"];
246
+ static LOCALITIES = [
247
+ "fr-par",
248
+ "nl-ams",
249
+ "pl-waw"
250
+ ];
247
251
  /**
248
252
  * Create a new mailbox within your hosting plan.. Create a new mailbox within
249
253
  * your hosting plan.
@@ -1,5 +1,5 @@
1
1
  import { API as ParentAPI } from '../../../bridge';
2
- import type { Region, WaitForOptions } from '../../../bridge';
2
+ import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
3
3
  import type { CheckUserOwnsDomainRequest, CheckUserOwnsDomainResponse, ClassicMailApiCreateMailboxRequest, ClassicMailApiDeleteMailboxRequest, ClassicMailApiGetMailboxRequest, ClassicMailApiListMailboxesRequest, ClassicMailApiUpdateMailboxRequest, CreateHostingRequest, CreateSessionRequest, DeleteHostingRequest, DnsRecords, GetDomainDnsRecordsRequest, GetHostingRequest, Hosting, ListControlPanelsRequest, ListControlPanelsResponse, ListHostingsRequest, ListHostingsResponse, ListMailboxesResponse, ListOffersRequest, ListOffersResponse, Mailbox, ResetHostingPasswordRequest, ResetHostingPasswordResponse, RestoreHostingRequest, Session, UpdateHostingRequest } from './types.gen';
4
4
  /**
5
5
  * Web Hosting API.
@@ -8,7 +8,7 @@ import type { CheckUserOwnsDomainRequest, CheckUserOwnsDomainResponse, ClassicMa
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available regions of the API. */
11
- static readonly LOCALITIES: Region[];
11
+ static readonly LOCALITIES: ScwRegion[];
12
12
  /**
13
13
  * Order a Web Hosting plan. Order a Web Hosting plan, specifying the offer
14
14
  * type required via the `offer_id` parameter.
@@ -127,7 +127,7 @@ export declare class API extends ParentAPI {
127
127
  */
128
128
  export declare class ClassicMailAPI extends ParentAPI {
129
129
  /** Lists the available regions of the API. */
130
- static readonly LOCALITIES: Region[];
130
+ static readonly LOCALITIES: ScwRegion[];
131
131
  /**
132
132
  * Create a new mailbox within your hosting plan.. Create a new mailbox within
133
133
  * your hosting plan.
@@ -241,7 +241,11 @@ class API extends API$1 {
241
241
  }
242
242
  class ClassicMailAPI extends API$1 {
243
243
  /** Lists the available regions of the API. */
244
- static LOCALITIES = ["fr-par", "nl-ams", "pl-waw"];
244
+ static LOCALITIES = [
245
+ "fr-par",
246
+ "nl-ams",
247
+ "pl-waw"
248
+ ];
245
249
  /**
246
250
  * Create a new mailbox within your hosting plan.. Create a new mailbox within
247
251
  * your hosting plan.
@@ -1,4 +1,4 @@
1
- import type { Money, Region } from '../../../bridge';
1
+ import type { Money, Region as ScwRegion } from '../../../bridge';
2
2
  import type { LanguageCode as StdLanguageCode } from '../../std/types.gen';
3
3
  export type DnsRecordStatus = 'unknown_status' | 'valid' | 'invalid';
4
4
  export type DnsRecordType = 'unknown_type' | 'a' | 'cname' | 'mx' | 'txt' | 'ns' | 'aaaa';
@@ -136,7 +136,7 @@ export interface Hosting {
136
136
  */
137
137
  oneTimePassword: string;
138
138
  /** Region where the Web Hosting plan is hosted. */
139
- region: Region;
139
+ region: ScwRegion;
140
140
  }
141
141
  export interface Mailbox {
142
142
  /** The ID of the mailbox. */
@@ -170,7 +170,7 @@ export type CheckUserOwnsDomainRequest = {
170
170
  * Region to target. If none is passed will use default region from the
171
171
  * config.
172
172
  */
173
- region?: Region;
173
+ region?: ScwRegion;
174
174
  /** Domain for which ownership is to be verified. */
175
175
  domain: string;
176
176
  /** ID of the project currently in use. */
@@ -185,7 +185,7 @@ export type ClassicMailApiCreateMailboxRequest = {
185
185
  * Region to target. If none is passed will use default region from the
186
186
  * config.
187
187
  */
188
- region?: Region;
188
+ region?: ScwRegion;
189
189
  /** The Online hosting ID. */
190
190
  onlineId: number;
191
191
  /** The email address of the mailbox. */
@@ -198,7 +198,7 @@ export type ClassicMailApiDeleteMailboxRequest = {
198
198
  * Region to target. If none is passed will use default region from the
199
199
  * config.
200
200
  */
201
- region?: Region;
201
+ region?: ScwRegion;
202
202
  /** The Online hosting ID. */
203
203
  onlineId: number;
204
204
  /** The ID of the mailbox to delete. */
@@ -209,7 +209,7 @@ export type ClassicMailApiGetMailboxRequest = {
209
209
  * Region to target. If none is passed will use default region from the
210
210
  * config.
211
211
  */
212
- region?: Region;
212
+ region?: ScwRegion;
213
213
  /** The Online hosting ID. */
214
214
  onlineId: number;
215
215
  /** The ID of the mailbox to get. */
@@ -220,7 +220,7 @@ export type ClassicMailApiListMailboxesRequest = {
220
220
  * Region to target. If none is passed will use default region from the
221
221
  * config.
222
222
  */
223
- region?: Region;
223
+ region?: ScwRegion;
224
224
  /** The Online hosting ID. */
225
225
  onlineId: number;
226
226
  /** Page number (must be a positive integer). */
@@ -238,7 +238,7 @@ export type ClassicMailApiUpdateMailboxRequest = {
238
238
  * Region to target. If none is passed will use default region from the
239
239
  * config.
240
240
  */
241
- region?: Region;
241
+ region?: ScwRegion;
242
242
  /** The Online hosting ID. */
243
243
  onlineId: number;
244
244
  /** The ID of the mailbox to update. */
@@ -251,7 +251,7 @@ export type CreateHostingRequest = {
251
251
  * Region to target. If none is passed will use default region from the
252
252
  * config.
253
253
  */
254
- region?: Region;
254
+ region?: ScwRegion;
255
255
  /** ID of the selected offer for the Web Hosting plan. */
256
256
  offerId: string;
257
257
  /** ID of the Scaleway Project in which to create the Web Hosting plan. */
@@ -280,7 +280,7 @@ export type CreateSessionRequest = {
280
280
  * Region to target. If none is passed will use default region from the
281
281
  * config.
282
282
  */
283
- region?: Region;
283
+ region?: ScwRegion;
284
284
  /** Hosting ID. */
285
285
  hostingId: string;
286
286
  };
@@ -289,7 +289,7 @@ export type DeleteHostingRequest = {
289
289
  * Region to target. If none is passed will use default region from the
290
290
  * config.
291
291
  */
292
- region?: Region;
292
+ region?: ScwRegion;
293
293
  /** Hosting ID. */
294
294
  hostingId: string;
295
295
  };
@@ -306,7 +306,7 @@ export type GetDomainDnsRecordsRequest = {
306
306
  * Region to target. If none is passed will use default region from the
307
307
  * config.
308
308
  */
309
- region?: Region;
309
+ region?: ScwRegion;
310
310
  /** Domain associated with the DNS records. */
311
311
  domain: string;
312
312
  };
@@ -315,7 +315,7 @@ export type GetHostingRequest = {
315
315
  * Region to target. If none is passed will use default region from the
316
316
  * config.
317
317
  */
318
- region?: Region;
318
+ region?: ScwRegion;
319
319
  /** Hosting ID. */
320
320
  hostingId: string;
321
321
  };
@@ -324,7 +324,7 @@ export type ListControlPanelsRequest = {
324
324
  * Region to target. If none is passed will use default region from the
325
325
  * config.
326
326
  */
327
- region?: Region;
327
+ region?: ScwRegion;
328
328
  /**
329
329
  * Page number to return, from the paginated results (must be a positive
330
330
  * integer).
@@ -347,7 +347,7 @@ export type ListHostingsRequest = {
347
347
  * Region to target. If none is passed will use default region from the
348
348
  * config.
349
349
  */
350
- region?: Region;
350
+ region?: ScwRegion;
351
351
  /**
352
352
  * Page number to return, from the paginated results (must be a positive
353
353
  * integer).
@@ -408,7 +408,7 @@ export type ListOffersRequest = {
408
408
  * Region to target. If none is passed will use default region from the
409
409
  * config.
410
410
  */
411
- region?: Region;
411
+ region?: ScwRegion;
412
412
  /** Sort order of offers in the response. */
413
413
  orderBy?: ListOffersRequestOrderBy;
414
414
  /**
@@ -438,7 +438,7 @@ export type ResetHostingPasswordRequest = {
438
438
  * Region to target. If none is passed will use default region from the
439
439
  * config.
440
440
  */
441
- region?: Region;
441
+ region?: ScwRegion;
442
442
  /** UUID of the hosting. */
443
443
  hostingId: string;
444
444
  };
@@ -451,7 +451,7 @@ export type RestoreHostingRequest = {
451
451
  * Region to target. If none is passed will use default region from the
452
452
  * config.
453
453
  */
454
- region?: Region;
454
+ region?: ScwRegion;
455
455
  /** Hosting ID. */
456
456
  hostingId: string;
457
457
  };
@@ -464,7 +464,7 @@ export type UpdateHostingRequest = {
464
464
  * Region to target. If none is passed will use default region from the
465
465
  * config.
466
466
  */
467
- region?: Region;
467
+ region?: ScwRegion;
468
468
  /** Hosting ID. */
469
469
  hostingId: string;
470
470
  /** New contact email for the Web Hosting plan. */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "v2.61.0";
3
+ const version = "v2.63.0";
4
4
  const userAgent = `scaleway-sdk-js/${version}`;
5
5
  exports.userAgent = userAgent;
6
6
  exports.version = version;
@@ -1,2 +1,2 @@
1
- export declare const version = "v2.61.0";
2
- export declare const userAgent = "scaleway-sdk-js/v2.61.0";
1
+ export declare const version = "v2.63.0";
2
+ export declare const userAgent = "scaleway-sdk-js/v2.63.0";
@@ -1,4 +1,4 @@
1
- const version = "v2.61.0";
1
+ const version = "v2.63.0";
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
  export {
4
4
  userAgent,
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
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
+
3
9
  ## 5.1.0
4
10
 
5
11
  ### Minor Changes
@@ -446,8 +446,6 @@ const NAMES = [
446
446
  "neumann",
447
447
  // Isaac Newton invented classic mechanics and modern optics. https://en.wikipedia.org/wiki/Isaac_Newton
448
448
  "newton",
449
- // Xavier Niel - ;) https://en.wikipedia.org/wiki/Xavier_Niel
450
- "niel",
451
449
  // Florence Nightingale, more prominently known as a nurse, was also the first female member of the Royal Statistical Society and a pioneer in statistical graphics https://en.wikipedia.org/wiki/Florence_Nightingale#Statistics_and_sanitary_reform
452
450
  "nightingale",
453
451
  // Alfred Nobel - a Swedish chemist, engineer, innovator, and armaments manufacturer (inventor of dynamite) - https://en.wikipedia.org/wiki/Alfred_Nobel
@@ -445,8 +445,6 @@ const NAMES = [
445
445
  "neumann",
446
446
  // Isaac Newton invented classic mechanics and modern optics. https://en.wikipedia.org/wiki/Isaac_Newton
447
447
  "newton",
448
- // Xavier Niel - ;) https://en.wikipedia.org/wiki/Xavier_Niel
449
- "niel",
450
448
  // Florence Nightingale, more prominently known as a nurse, was also the first female member of the Royal Statistical Society and a pioneer in statistical graphics https://en.wikipedia.org/wiki/Florence_Nightingale#Statistics_and_sanitary_reform
451
449
  "nightingale",
452
450
  // Alfred Nobel - a Swedish chemist, engineer, innovator, and armaments manufacturer (inventor of dynamite) - https://en.wikipedia.org/wiki/Alfred_Nobel
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/random-name",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "A small utility to generate a random name",
5
5
  "engines": {
6
6
  "node": ">=20.x"
@@ -27,6 +27,7 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "scripts": {
30
+ "prebuild": "shx rm -rf dist",
30
31
  "typecheck": "tsc --noEmit",
31
32
  "type:generate": "tsc --declaration -p tsconfig.build.json",
32
33
  "build": "vite build --config vite.config.ts && pnpm run type:generate",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "2.62.0",
3
+ "version": "2.64.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "type": "module",
36
36
  "dependencies": {
37
- "@scaleway/random-name": "5.1.0"
37
+ "@scaleway/random-name": "5.1.1"
38
38
  },
39
39
  "bundledDependencies": [
40
40
  "@scaleway/random-name"
41
41
  ],
42
- "gitHead": "873dce905e291a5592434bc43da3c85c57e82c10"
42
+ "gitHead": "0760dee5b9f7b0e475b69e4b5c8986232d758abe"
43
43
  }