Skip to content

Commit 95eed09

Browse files
committed
feat: update generated APIs
1 parent 6f9c4cc commit 95eed09

6 files changed

Lines changed: 1594 additions & 4351 deletions

File tree

packages/sdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"@scaleway/sdk-marketplace": "workspace:*",
6363
"@scaleway/sdk-mnq": "workspace:*",
6464
"@scaleway/sdk-mongodb": "workspace:*",
65+
"@scaleway/sdk-partner": "workspace:*",
6566
"@scaleway/sdk-product-catalog": "workspace:*",
6667
"@scaleway/sdk-qaas": "workspace:*",
6768
"@scaleway/sdk-rdb": "workspace:*",

packages/sdk/src/index.gen.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { Lbv1 } from '@scaleway/sdk-lb'
3434
import { Marketplacev2 } from '@scaleway/sdk-marketplace'
3535
import { Mnqv1beta1 } from '@scaleway/sdk-mnq'
3636
import { Mongodbv1, Mongodbv1alpha1 } from '@scaleway/sdk-mongodb'
37+
import { Partnerv1 } from '@scaleway/sdk-partner'
3738
import { ProductCatalogv2alpha1 } from '@scaleway/sdk-product-catalog'
3839
import { Qaasv1alpha1 } from '@scaleway/sdk-qaas'
3940
import { Rdbv1 } from '@scaleway/sdk-rdb'
@@ -311,6 +312,14 @@ export const Mongodb = {
311312
v1alpha1: Mongodbv1alpha1,
312313
}
313314

315+
/**
316+
* @deprecated Direct version exports are deprecated. Use the 'Partner' namespace instead (e.g., Partner.v1).
317+
*/
318+
export { Partnerv1 }
319+
export const Partner = {
320+
v1: Partnerv1,
321+
}
322+
314323
/**
315324
* @deprecated Direct version exports are deprecated. Use the 'ProductCatalog' namespace instead (e.g., ProductCatalog.v1).
316325
*/

packages_generated/instance/src/v1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export class API extends ParentAPI {
272272
'pl-waw-1',
273273
'pl-waw-2',
274274
'pl-waw-3',
275+
'it-mil-1',
275276
],
276277
})
277278

packages_generated/instance/src/v1/types.gen.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export interface Volume {
219219
/**
220220
* @deprecated Show the volume NBD export URI (deprecated, will always be empty).
221221
*/
222-
exportUri?: string
222+
exportUri: string
223223
/**
224224
* Volume disk size.
225225
*/
@@ -630,11 +630,11 @@ export interface Server {
630630
/**
631631
* @deprecated True to configure the instance so it uses the routed IP mode. Use of `routed_ip_enabled` as `False` is deprecated.
632632
*/
633-
routedIpEnabled?: boolean
633+
routedIpEnabled: boolean
634634
/**
635635
* @deprecated True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
636636
*/
637-
enableIpv6?: boolean
637+
enableIpv6: boolean
638638
/**
639639
* Instance host name.
640640
*/
@@ -829,7 +829,7 @@ export interface SecurityGroup {
829829
/**
830830
* @deprecated True if it is your default security group for this Organization ID.
831831
*/
832-
organizationDefault?: boolean
832+
organizationDefault: boolean
833833
/**
834834
* True if it is your default security group for this Project ID.
835835
*/
@@ -1018,12 +1018,12 @@ export interface Dashboard {
10181018
/**
10191019
* @deprecated
10201020
*/
1021-
volumesBSsdCount?: number
1021+
volumesBSsdCount: number
10221022
volumesLSsdTotalSize: number
10231023
/**
10241024
* @deprecated
10251025
*/
1026-
volumesBSsdTotalSize?: number
1026+
volumesBSsdTotalSize: number
10271027
privateNicsCount: number
10281028
placementGroupsCount: number
10291029
volumesScratchCount: number
@@ -1055,7 +1055,7 @@ export interface ServerType {
10551055
/**
10561056
* @deprecated Estimated monthly price, for a 30 days month, in Euro.
10571057
*/
1058-
monthlyPrice?: number
1058+
monthlyPrice: number
10591059
/**
10601060
* Hourly price in Euro.
10611061
*/
@@ -1552,7 +1552,7 @@ export type CreateServerRequest = {
15521552
/**
15531553
* @deprecated True if IPv6 is enabled on the server (deprecated and always `False` when `routed_ip_enabled` is `True`).
15541554
*/
1555-
enableIpv6?: boolean
1555+
enableIpv6: boolean
15561556
/**
15571557
* @deprecated ID of the reserved IP to attach to the Instance.
15581558
*/

packages_generated/instance/src/v1/types.private.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export type SetSecurityGroupRequest = {
6161
/**
6262
* @deprecated Please use project_default instead.
6363
*/
64-
organizationDefault?: boolean
64+
organizationDefault: boolean
6565
/**
6666
* True use this security group for future Instances created in this project.
6767
*/
@@ -154,7 +154,7 @@ export type SetServerRequest = {
154154
/**
155155
* @deprecated True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
156156
*/
157-
enableIpv6?: boolean
157+
enableIpv6: boolean
158158
/**
159159
* Instance host name.
160160
*/

0 commit comments

Comments
 (0)