@scaleway/sdk 2.29.0 → 2.31.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.
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +23 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +23 -0
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +11 -0
- package/dist/api/baremetal/v1/marshalling.gen.cjs +1 -0
- package/dist/api/baremetal/v1/marshalling.gen.js +1 -0
- package/dist/api/baremetal/v1/types.gen.d.ts +5 -0
- package/dist/api/block/v1alpha1/content.gen.cjs +2 -1
- package/dist/api/block/v1alpha1/content.gen.js +2 -1
- package/dist/api/block/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/instance/v1/api.gen.cjs +25 -0
- package/dist/api/instance/v1/api.gen.d.ts +17 -1
- package/dist/api/instance/v1/api.gen.js +26 -1
- package/dist/api/instance/v1/index.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.cjs +14 -0
- package/dist/api/instance/v1/marshalling.gen.d.ts +2 -1
- package/dist/api/instance/v1/marshalling.gen.js +14 -0
- package/dist/api/instance/v1/types.gen.d.ts +25 -0
- package/dist/api/key_manager/index.cjs +4 -0
- package/dist/api/key_manager/index.d.ts +1 -0
- package/dist/api/key_manager/index.js +4 -0
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +257 -0
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +142 -0
- package/dist/api/key_manager/v1alpha1/api.gen.js +257 -0
- package/dist/api/key_manager/v1alpha1/index.gen.cjs +4 -0
- package/dist/api/key_manager/v1alpha1/index.gen.d.ts +2 -0
- package/dist/api/key_manager/v1alpha1/index.gen.js +4 -0
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +143 -0
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +12 -0
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +143 -0
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +268 -0
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +1 -1
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +3 -3
- package/dist/api/llm_inference/v1beta1/api.gen.js +1 -1
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +4 -4
- package/dist/api/vpc/v2/api.gen.cjs +28 -1
- package/dist/api/vpc/v2/api.gen.d.ts +14 -2
- package/dist/api/vpc/v2/api.gen.js +29 -2
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +16 -1
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -1
- package/dist/api/vpc/v2/marshalling.gen.js +16 -1
- package/dist/api/vpc/v2/types.gen.d.ts +41 -0
- package/dist/index.cjs +30 -28
- package/dist/index.js +30 -28
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
2
|
import type { Region } from '../../../bridge';
|
|
3
|
-
import type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateVPCRequest, DeletePrivateNetworkRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, DeleteVPCRequest, EnableDHCPRequest, EnableRoutingRequest, GetPrivateNetworkRequest, GetVPCRequest, ListPrivateNetworksRequest, ListPrivateNetworksResponse, ListVPCsRequest, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, SetSubnetsRequest, SetSubnetsResponse, UpdatePrivateNetworkRequest, UpdateVPCRequest, VPC } from './types.gen';
|
|
3
|
+
import type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateVPCRequest, DeletePrivateNetworkRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, DeleteVPCRequest, EnableDHCPRequest, EnableRoutingRequest, GetPrivateNetworkRequest, GetVPCRequest, ListPrivateNetworksRequest, ListPrivateNetworksResponse, ListSubnetsRequest, ListSubnetsResponse, ListVPCsRequest, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, SetSubnetsRequest, SetSubnetsResponse, UpdatePrivateNetworkRequest, UpdateVPCRequest, VPC } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* VPC API.
|
|
6
6
|
*
|
|
@@ -121,8 +121,20 @@ export declare class API extends ParentAPI {
|
|
|
121
121
|
* @returns A Promise of VPC
|
|
122
122
|
*/
|
|
123
123
|
enableRouting: (request: Readonly<EnableRoutingRequest>) => Promise<VPC>;
|
|
124
|
+
protected pageOfListSubnets: (request?: Readonly<ListSubnetsRequest>) => Promise<ListSubnetsResponse>;
|
|
124
125
|
/**
|
|
125
|
-
*
|
|
126
|
+
* List subnets. List any Private Network's subnets. See ListPrivateNetworks
|
|
127
|
+
* to list a specific Private Network's subnets.
|
|
128
|
+
*
|
|
129
|
+
* @param request - The request {@link ListSubnetsRequest}
|
|
130
|
+
* @returns A Promise of ListSubnetsResponse
|
|
131
|
+
*/
|
|
132
|
+
listSubnets: (request?: Readonly<ListSubnetsRequest>) => Promise<ListSubnetsResponse> & {
|
|
133
|
+
all: () => Promise<import("./types.gen").Subnet[]>;
|
|
134
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").Subnet[], void, void>;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Set a Private Network's subnets. Set subnets for an existing Private
|
|
126
138
|
* Network. Note that the method is PUT and not PATCH. Any existing subnets
|
|
127
139
|
* will be removed in favor of the new specified set of subnets.
|
|
128
140
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { API as API$1 } from "../../../scw/api.js";
|
|
2
2
|
import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
|
|
3
3
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
4
|
-
import { unmarshalListVPCsResponse, marshalCreateVPCRequest, unmarshalVPC, marshalUpdateVPCRequest, unmarshalListPrivateNetworksResponse, marshalCreatePrivateNetworkRequest, unmarshalPrivateNetwork, marshalUpdatePrivateNetworkRequest, marshalMigrateZonalPrivateNetworksRequest, marshalSetSubnetsRequest, unmarshalSetSubnetsResponse, marshalAddSubnetsRequest, unmarshalAddSubnetsResponse, marshalDeleteSubnetsRequest, unmarshalDeleteSubnetsResponse } from "./marshalling.gen.js";
|
|
4
|
+
import { unmarshalListVPCsResponse, marshalCreateVPCRequest, unmarshalVPC, marshalUpdateVPCRequest, unmarshalListPrivateNetworksResponse, marshalCreatePrivateNetworkRequest, unmarshalPrivateNetwork, marshalUpdatePrivateNetworkRequest, marshalMigrateZonalPrivateNetworksRequest, unmarshalListSubnetsResponse, marshalSetSubnetsRequest, unmarshalSetSubnetsResponse, marshalAddSubnetsRequest, unmarshalAddSubnetsResponse, marshalDeleteSubnetsRequest, unmarshalDeleteSubnetsResponse } from "./marshalling.gen.js";
|
|
5
5
|
const jsonContentHeaders = {
|
|
6
6
|
"Content-Type": "application/json; charset=utf-8"
|
|
7
7
|
};
|
|
@@ -242,8 +242,35 @@ class API extends API$1 {
|
|
|
242
242
|
},
|
|
243
243
|
unmarshalVPC
|
|
244
244
|
);
|
|
245
|
+
pageOfListSubnets = (request = {}) => this.client.fetch(
|
|
246
|
+
{
|
|
247
|
+
method: "GET",
|
|
248
|
+
path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/subnets`,
|
|
249
|
+
urlParams: urlParams(
|
|
250
|
+
["order_by", request.orderBy],
|
|
251
|
+
["organization_id", request.organizationId],
|
|
252
|
+
["page", request.page],
|
|
253
|
+
[
|
|
254
|
+
"page_size",
|
|
255
|
+
request.pageSize ?? this.client.settings.defaultPageSize
|
|
256
|
+
],
|
|
257
|
+
["project_id", request.projectId],
|
|
258
|
+
["subnet_ids", request.subnetIds],
|
|
259
|
+
["vpc_id", request.vpcId]
|
|
260
|
+
)
|
|
261
|
+
},
|
|
262
|
+
unmarshalListSubnetsResponse
|
|
263
|
+
);
|
|
264
|
+
/**
|
|
265
|
+
* List subnets. List any Private Network's subnets. See ListPrivateNetworks
|
|
266
|
+
* to list a specific Private Network's subnets.
|
|
267
|
+
*
|
|
268
|
+
* @param request - The request {@link ListSubnetsRequest}
|
|
269
|
+
* @returns A Promise of ListSubnetsResponse
|
|
270
|
+
*/
|
|
271
|
+
listSubnets = (request = {}) => enrichForPagination("subnets", this.pageOfListSubnets, request);
|
|
245
272
|
/**
|
|
246
|
-
* Set
|
|
273
|
+
* Set a Private Network's subnets. Set subnets for an existing Private
|
|
247
274
|
* Network. Note that the method is PUT and not PATCH. Any existing subnets
|
|
248
275
|
* will be removed in favor of the new specified set of subnets.
|
|
249
276
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { API } from './api.gen';
|
|
2
|
-
export type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateVPCRequest, DeletePrivateNetworkRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, DeleteVPCRequest, EnableDHCPRequest, EnableRoutingRequest, GetPrivateNetworkRequest, GetVPCRequest, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, ListVPCsRequest, ListVPCsRequestOrderBy, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, SetSubnetsRequest, SetSubnetsResponse, Subnet, UpdatePrivateNetworkRequest, UpdateVPCRequest, VPC, } from './types.gen';
|
|
2
|
+
export type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateVPCRequest, DeletePrivateNetworkRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, DeleteVPCRequest, EnableDHCPRequest, EnableRoutingRequest, GetPrivateNetworkRequest, GetVPCRequest, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, ListSubnetsRequest, ListSubnetsRequestOrderBy, ListSubnetsResponse, ListVPCsRequest, ListVPCsRequestOrderBy, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, SetSubnetsRequest, SetSubnetsResponse, Subnet, UpdatePrivateNetworkRequest, UpdateVPCRequest, VPC, } from './types.gen';
|
|
@@ -12,8 +12,11 @@ const unmarshalSubnet = (data) => {
|
|
|
12
12
|
return {
|
|
13
13
|
createdAt: marshalling.unmarshalDate(data.created_at),
|
|
14
14
|
id: data.id,
|
|
15
|
+
privateNetworkId: data.private_network_id,
|
|
16
|
+
projectId: data.project_id,
|
|
15
17
|
subnet: data.subnet,
|
|
16
|
-
updatedAt: marshalling.unmarshalDate(data.updated_at)
|
|
18
|
+
updatedAt: marshalling.unmarshalDate(data.updated_at),
|
|
19
|
+
vpcId: data.vpc_id
|
|
17
20
|
};
|
|
18
21
|
};
|
|
19
22
|
const unmarshalPrivateNetwork = (data) => {
|
|
@@ -90,6 +93,17 @@ const unmarshalListPrivateNetworksResponse = (data) => {
|
|
|
90
93
|
totalCount: data.total_count
|
|
91
94
|
};
|
|
92
95
|
};
|
|
96
|
+
const unmarshalListSubnetsResponse = (data) => {
|
|
97
|
+
if (!json.isJSONObject(data)) {
|
|
98
|
+
throw new TypeError(
|
|
99
|
+
`Unmarshalling the type 'ListSubnetsResponse' failed as data isn't a dictionary.`
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
subnets: marshalling.unmarshalArrayOfObject(data.subnets, unmarshalSubnet),
|
|
104
|
+
totalCount: data.total_count
|
|
105
|
+
};
|
|
106
|
+
};
|
|
93
107
|
const unmarshalListVPCsResponse = (data) => {
|
|
94
108
|
if (!json.isJSONObject(data)) {
|
|
95
109
|
throw new TypeError(
|
|
@@ -167,6 +181,7 @@ exports.marshalUpdateVPCRequest = marshalUpdateVPCRequest;
|
|
|
167
181
|
exports.unmarshalAddSubnetsResponse = unmarshalAddSubnetsResponse;
|
|
168
182
|
exports.unmarshalDeleteSubnetsResponse = unmarshalDeleteSubnetsResponse;
|
|
169
183
|
exports.unmarshalListPrivateNetworksResponse = unmarshalListPrivateNetworksResponse;
|
|
184
|
+
exports.unmarshalListSubnetsResponse = unmarshalListSubnetsResponse;
|
|
170
185
|
exports.unmarshalListVPCsResponse = unmarshalListVPCsResponse;
|
|
171
186
|
exports.unmarshalPrivateNetwork = unmarshalPrivateNetwork;
|
|
172
187
|
exports.unmarshalSetSubnetsResponse = unmarshalSetSubnetsResponse;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { DefaultValues } from '../../../bridge';
|
|
2
|
-
import type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateVPCRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, ListPrivateNetworksResponse, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, SetSubnetsRequest, SetSubnetsResponse, UpdatePrivateNetworkRequest, UpdateVPCRequest, VPC } from './types.gen';
|
|
2
|
+
import type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateVPCRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, ListPrivateNetworksResponse, ListSubnetsResponse, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, SetSubnetsRequest, SetSubnetsResponse, UpdatePrivateNetworkRequest, UpdateVPCRequest, VPC } from './types.gen';
|
|
3
3
|
export declare const unmarshalPrivateNetwork: (data: unknown) => PrivateNetwork;
|
|
4
4
|
export declare const unmarshalVPC: (data: unknown) => VPC;
|
|
5
5
|
export declare const unmarshalAddSubnetsResponse: (data: unknown) => AddSubnetsResponse;
|
|
6
6
|
export declare const unmarshalDeleteSubnetsResponse: (data: unknown) => DeleteSubnetsResponse;
|
|
7
7
|
export declare const unmarshalListPrivateNetworksResponse: (data: unknown) => ListPrivateNetworksResponse;
|
|
8
|
+
export declare const unmarshalListSubnetsResponse: (data: unknown) => ListSubnetsResponse;
|
|
8
9
|
export declare const unmarshalListVPCsResponse: (data: unknown) => ListVPCsResponse;
|
|
9
10
|
export declare const unmarshalSetSubnetsResponse: (data: unknown) => SetSubnetsResponse;
|
|
10
11
|
export declare const marshalAddSubnetsRequest: (request: AddSubnetsRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
@@ -10,8 +10,11 @@ const unmarshalSubnet = (data) => {
|
|
|
10
10
|
return {
|
|
11
11
|
createdAt: unmarshalDate(data.created_at),
|
|
12
12
|
id: data.id,
|
|
13
|
+
privateNetworkId: data.private_network_id,
|
|
14
|
+
projectId: data.project_id,
|
|
13
15
|
subnet: data.subnet,
|
|
14
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
16
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
17
|
+
vpcId: data.vpc_id
|
|
15
18
|
};
|
|
16
19
|
};
|
|
17
20
|
const unmarshalPrivateNetwork = (data) => {
|
|
@@ -88,6 +91,17 @@ const unmarshalListPrivateNetworksResponse = (data) => {
|
|
|
88
91
|
totalCount: data.total_count
|
|
89
92
|
};
|
|
90
93
|
};
|
|
94
|
+
const unmarshalListSubnetsResponse = (data) => {
|
|
95
|
+
if (!isJSONObject(data)) {
|
|
96
|
+
throw new TypeError(
|
|
97
|
+
`Unmarshalling the type 'ListSubnetsResponse' failed as data isn't a dictionary.`
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
subnets: unmarshalArrayOfObject(data.subnets, unmarshalSubnet),
|
|
102
|
+
totalCount: data.total_count
|
|
103
|
+
};
|
|
104
|
+
};
|
|
91
105
|
const unmarshalListVPCsResponse = (data) => {
|
|
92
106
|
if (!isJSONObject(data)) {
|
|
93
107
|
throw new TypeError(
|
|
@@ -166,6 +180,7 @@ export {
|
|
|
166
180
|
unmarshalAddSubnetsResponse,
|
|
167
181
|
unmarshalDeleteSubnetsResponse,
|
|
168
182
|
unmarshalListPrivateNetworksResponse,
|
|
183
|
+
unmarshalListSubnetsResponse,
|
|
169
184
|
unmarshalListVPCsResponse,
|
|
170
185
|
unmarshalPrivateNetwork,
|
|
171
186
|
unmarshalSetSubnetsResponse,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Region } from '../../../bridge';
|
|
2
2
|
export type ListPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
3
|
+
export type ListSubnetsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
3
4
|
export type ListVPCsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
4
5
|
export interface Subnet {
|
|
5
6
|
/** ID of the subnet. */
|
|
@@ -10,6 +11,12 @@ export interface Subnet {
|
|
|
10
11
|
updatedAt?: Date;
|
|
11
12
|
/** Subnet CIDR. */
|
|
12
13
|
subnet: string;
|
|
14
|
+
/** Scaleway Project the subnet belongs to. */
|
|
15
|
+
projectId: string;
|
|
16
|
+
/** Private Network the subnet belongs to. */
|
|
17
|
+
privateNetworkId: string;
|
|
18
|
+
/** VPC the subnet belongs to. */
|
|
19
|
+
vpcId: string;
|
|
13
20
|
}
|
|
14
21
|
export interface PrivateNetwork {
|
|
15
22
|
/** Private Network ID. */
|
|
@@ -224,6 +231,40 @@ export interface ListPrivateNetworksResponse {
|
|
|
224
231
|
privateNetworks: PrivateNetwork[];
|
|
225
232
|
totalCount: number;
|
|
226
233
|
}
|
|
234
|
+
export type ListSubnetsRequest = {
|
|
235
|
+
/**
|
|
236
|
+
* Region to target. If none is passed will use default region from the
|
|
237
|
+
* config.
|
|
238
|
+
*/
|
|
239
|
+
region?: Region;
|
|
240
|
+
/** Sort order of the returned subnets. */
|
|
241
|
+
orderBy?: ListSubnetsRequestOrderBy;
|
|
242
|
+
/** Page number to return, from the paginated results. */
|
|
243
|
+
page?: number;
|
|
244
|
+
/** Maximum number of Private Networks to return per page. */
|
|
245
|
+
pageSize?: number;
|
|
246
|
+
/**
|
|
247
|
+
* Organization ID to filter for. Only subnets belonging to this Organization
|
|
248
|
+
* will be returned.
|
|
249
|
+
*/
|
|
250
|
+
organizationId?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Project ID to filter for. Only subnets belonging to this Project will be
|
|
253
|
+
* returned.
|
|
254
|
+
*/
|
|
255
|
+
projectId?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Subnet IDs to filter for. Only subnets matching the specified IDs will be
|
|
258
|
+
* returned.
|
|
259
|
+
*/
|
|
260
|
+
subnetIds?: string[];
|
|
261
|
+
/** VPC ID to filter for. Only subnets belonging to this VPC will be returned. */
|
|
262
|
+
vpcId?: string;
|
|
263
|
+
};
|
|
264
|
+
export interface ListSubnetsResponse {
|
|
265
|
+
subnets: Subnet[];
|
|
266
|
+
totalCount: number;
|
|
267
|
+
}
|
|
227
268
|
export type ListVPCsRequest = {
|
|
228
269
|
/**
|
|
229
270
|
* Region to target. If none is passed will use default region from the
|
package/dist/index.cjs
CHANGED
|
@@ -31,21 +31,22 @@ const index$h = require("./api/ipam/index.cjs");
|
|
|
31
31
|
const index$i = require("./api/ipfs/index.cjs");
|
|
32
32
|
const index$j = require("./api/jobs/index.cjs");
|
|
33
33
|
const index$k = require("./api/k8s/index.cjs");
|
|
34
|
-
const index$l = require("./api/
|
|
35
|
-
const index$m = require("./api/
|
|
36
|
-
const index$n = require("./api/
|
|
37
|
-
const index$o = require("./api/
|
|
38
|
-
const index$p = require("./api/
|
|
39
|
-
const index$q = require("./api/
|
|
40
|
-
const index$r = require("./api/
|
|
41
|
-
const index$s = require("./api/
|
|
42
|
-
const index$t = require("./api/
|
|
34
|
+
const index$l = require("./api/key_manager/index.cjs");
|
|
35
|
+
const index$m = require("./api/lb/index.cjs");
|
|
36
|
+
const index$n = require("./api/llm_inference/index.cjs");
|
|
37
|
+
const index$o = require("./api/marketplace/index.cjs");
|
|
38
|
+
const index$p = require("./api/mnq/index.cjs");
|
|
39
|
+
const index$q = require("./api/rdb/index.cjs");
|
|
40
|
+
const index$r = require("./api/redis/index.cjs");
|
|
41
|
+
const index$s = require("./api/registry/index.cjs");
|
|
42
|
+
const index$t = require("./api/secret/index.cjs");
|
|
43
|
+
const index$u = require("./api/serverless_sqldb/index.cjs");
|
|
43
44
|
const index_gen = require("./api/std/index.gen.cjs");
|
|
44
|
-
const index$
|
|
45
|
-
const index$
|
|
46
|
-
const index$
|
|
47
|
-
const index$
|
|
48
|
-
const index$
|
|
45
|
+
const index$v = require("./api/test/index.cjs");
|
|
46
|
+
const index$w = require("./api/tem/index.cjs");
|
|
47
|
+
const index$x = require("./api/vpc/index.cjs");
|
|
48
|
+
const index$y = require("./api/vpcgw/index.cjs");
|
|
49
|
+
const index$z = require("./api/webhosting/index.cjs");
|
|
49
50
|
exports.enableConsoleLogger = index.enableConsoleLogger;
|
|
50
51
|
exports.setLogger = index.setLogger;
|
|
51
52
|
exports.createAdvancedClient = client.createAdvancedClient;
|
|
@@ -98,18 +99,19 @@ exports.IPAM = index$h;
|
|
|
98
99
|
exports.IPFS = index$i;
|
|
99
100
|
exports.Jobs = index$j;
|
|
100
101
|
exports.K8S = index$k;
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
102
|
+
exports.KeyManager = index$l;
|
|
103
|
+
exports.LB = index$m;
|
|
104
|
+
exports.LLMInference = index$n;
|
|
105
|
+
exports.Marketplace = index$o;
|
|
106
|
+
exports.MNQ = index$p;
|
|
107
|
+
exports.RDB = index$q;
|
|
108
|
+
exports.Redis = index$r;
|
|
109
|
+
exports.Registry = index$s;
|
|
110
|
+
exports.Secret = index$t;
|
|
111
|
+
exports.ServerlessSQLDB = index$u;
|
|
110
112
|
exports.Std = index_gen;
|
|
111
|
-
exports.Test = index$
|
|
112
|
-
exports.TransactionalEmail = index$
|
|
113
|
-
exports.VPC = index$
|
|
114
|
-
exports.VPCGW = index$
|
|
115
|
-
exports.Webhosting = index$
|
|
113
|
+
exports.Test = index$v;
|
|
114
|
+
exports.TransactionalEmail = index$w;
|
|
115
|
+
exports.VPC = index$x;
|
|
116
|
+
exports.VPCGW = index$y;
|
|
117
|
+
exports.Webhosting = index$z;
|
package/dist/index.js
CHANGED
|
@@ -29,21 +29,22 @@ import * as index$g from "./api/ipam/index.js";
|
|
|
29
29
|
import * as index$h from "./api/ipfs/index.js";
|
|
30
30
|
import * as index$i from "./api/jobs/index.js";
|
|
31
31
|
import * as index$j from "./api/k8s/index.js";
|
|
32
|
-
import * as index$k from "./api/
|
|
33
|
-
import * as index$l from "./api/
|
|
34
|
-
import * as index$m from "./api/
|
|
35
|
-
import * as index$n from "./api/
|
|
36
|
-
import * as index$o from "./api/
|
|
37
|
-
import * as index$p from "./api/
|
|
38
|
-
import * as index$q from "./api/
|
|
39
|
-
import * as index$r from "./api/
|
|
40
|
-
import * as index$s from "./api/
|
|
32
|
+
import * as index$k from "./api/key_manager/index.js";
|
|
33
|
+
import * as index$l from "./api/lb/index.js";
|
|
34
|
+
import * as index$m from "./api/llm_inference/index.js";
|
|
35
|
+
import * as index$n from "./api/marketplace/index.js";
|
|
36
|
+
import * as index$o from "./api/mnq/index.js";
|
|
37
|
+
import * as index$p from "./api/rdb/index.js";
|
|
38
|
+
import * as index$q from "./api/redis/index.js";
|
|
39
|
+
import * as index$r from "./api/registry/index.js";
|
|
40
|
+
import * as index$s from "./api/secret/index.js";
|
|
41
|
+
import * as index$t from "./api/serverless_sqldb/index.js";
|
|
41
42
|
import * as index_gen from "./api/std/index.gen.js";
|
|
42
|
-
import * as index$
|
|
43
|
-
import * as index$
|
|
44
|
-
import * as index$
|
|
45
|
-
import * as index$
|
|
46
|
-
import * as index$
|
|
43
|
+
import * as index$u from "./api/test/index.js";
|
|
44
|
+
import * as index$v from "./api/tem/index.js";
|
|
45
|
+
import * as index$w from "./api/vpc/index.js";
|
|
46
|
+
import * as index$x from "./api/vpcgw/index.js";
|
|
47
|
+
import * as index$y from "./api/webhosting/index.js";
|
|
47
48
|
export {
|
|
48
49
|
API,
|
|
49
50
|
index$1 as Account,
|
|
@@ -66,21 +67,22 @@ export {
|
|
|
66
67
|
index$e as Instance,
|
|
67
68
|
index$i as Jobs,
|
|
68
69
|
index$j as K8S,
|
|
69
|
-
index$k as
|
|
70
|
-
index$l as
|
|
71
|
-
index$
|
|
72
|
-
index$
|
|
73
|
-
index$
|
|
74
|
-
index$p as
|
|
75
|
-
index$q as
|
|
76
|
-
index$r as
|
|
77
|
-
index$s as
|
|
70
|
+
index$k as KeyManager,
|
|
71
|
+
index$l as LB,
|
|
72
|
+
index$m as LLMInference,
|
|
73
|
+
index$o as MNQ,
|
|
74
|
+
index$n as Marketplace,
|
|
75
|
+
index$p as RDB,
|
|
76
|
+
index$q as Redis,
|
|
77
|
+
index$r as Registry,
|
|
78
|
+
index$s as Secret,
|
|
79
|
+
index$t as ServerlessSQLDB,
|
|
78
80
|
index_gen as Std,
|
|
79
|
-
index$
|
|
80
|
-
index$
|
|
81
|
-
index$
|
|
82
|
-
index$
|
|
83
|
-
index$
|
|
81
|
+
index$u as Test,
|
|
82
|
+
index$v as TransactionalEmail,
|
|
83
|
+
index$w as VPC,
|
|
84
|
+
index$x as VPCGW,
|
|
85
|
+
index$y as Webhosting,
|
|
84
86
|
addAsyncHeaderInterceptor,
|
|
85
87
|
authenticateWithSessionToken,
|
|
86
88
|
createAdvancedClient,
|
package/dist/scw/constants.cjs
CHANGED
package/dist/scw/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "v2.
|
|
2
|
-
export declare const userAgent = "scaleway-sdk-js/v2.
|
|
1
|
+
export declare const version = "v2.30.0";
|
|
2
|
+
export declare const userAgent = "scaleway-sdk-js/v2.30.0";
|
package/dist/scw/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bundledDependencies": [
|
|
40
40
|
"@scaleway/random-name"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "a9fa1d2c895a7e630dc9d42513df022c3996ae50"
|
|
43
43
|
}
|