@scaleway/sdk-mongodb 2.8.1 → 2.9.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/v1/api.gen.d.ts +4 -4
- package/dist/v1/api.gen.js +1 -1
- package/dist/v1/marshalling.gen.d.ts +2 -2
- package/dist/v1/marshalling.gen.js +33 -31
- package/dist/v1/metadata.gen.d.ts +84 -84
- package/dist/v1/types.gen.d.ts +73 -61
- package/dist/v1alpha1/api.gen.d.ts +3 -3
- package/dist/v1alpha1/index.gen.d.ts +1 -1
- package/dist/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/v1alpha1/metadata.gen.d.ts +62 -62
- package/package.json +5 -5
package/dist/v1/api.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
|
|
2
1
|
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { WaitForOptions, ApiLocality } from '@scaleway/sdk-client';
|
|
3
3
|
import type { ApplyMaintenanceRequest, CreateEndpointRequest, CreateInstanceRequest, CreateSnapshotRequest, CreateUserRequest, DeleteEndpointRequest, DeleteInstanceRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, GetInstanceCertificateRequest, GetInstanceRequest, GetMaintenanceRequest, GetSnapshotRequest, Instance, ListDatabasesRequest, ListDatabasesResponse, ListInstancesRequest, ListInstancesResponse, ListMaintenancesRequest, ListMaintenancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListSnapshotsRequest, ListSnapshotsResponse, ListUsersRequest, ListUsersResponse, ListVersionsRequest, ListVersionsResponse, Maintenance, RestoreSnapshotRequest, SetUserRoleRequest, Snapshot, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest, User } from './types.gen.js';
|
|
4
4
|
/**
|
|
5
5
|
* Managed MongoDB®.
|
|
@@ -59,7 +59,7 @@ export declare class API extends ParentAPI {
|
|
|
59
59
|
* @param options - The waiting options
|
|
60
60
|
* @returns A Promise of Instance
|
|
61
61
|
*/
|
|
62
|
-
waitForInstance: (request: Readonly<GetInstanceRequest>, options?: Readonly<WaitForOptions<Instance>>
|
|
62
|
+
waitForInstance: (request: Readonly<GetInstanceRequest>, options?: Readonly<WaitForOptions<Instance>>) => Promise<Instance>;
|
|
63
63
|
/**
|
|
64
64
|
* Create a MongoDB® Database Instance. Create a new MongoDB® Database Instance.
|
|
65
65
|
*
|
|
@@ -116,7 +116,7 @@ export declare class API extends ParentAPI {
|
|
|
116
116
|
* @param options - The waiting options
|
|
117
117
|
* @returns A Promise of Snapshot
|
|
118
118
|
*/
|
|
119
|
-
waitForSnapshot: (request: Readonly<GetSnapshotRequest>, options?: Readonly<WaitForOptions<Snapshot>>
|
|
119
|
+
waitForSnapshot: (request: Readonly<GetSnapshotRequest>, options?: Readonly<WaitForOptions<Snapshot>>) => Promise<Snapshot>;
|
|
120
120
|
/**
|
|
121
121
|
* Update a Database Instance snapshot. Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters.
|
|
122
122
|
*
|
|
@@ -236,7 +236,7 @@ export declare class API extends ParentAPI {
|
|
|
236
236
|
* @param options - The waiting options
|
|
237
237
|
* @returns A Promise of Maintenance
|
|
238
238
|
*/
|
|
239
|
-
waitForMaintenance: (request: Readonly<GetMaintenanceRequest>, options?: Readonly<WaitForOptions<Maintenance>>
|
|
239
|
+
waitForMaintenance: (request: Readonly<GetMaintenanceRequest>, options?: Readonly<WaitForOptions<Maintenance>>) => Promise<Maintenance>;
|
|
240
240
|
/**
|
|
241
241
|
* Apply a maintenance of a MongoDB® Database Instance.. Apply a maintenance of a MongoDB® Database Instance.
|
|
242
242
|
*
|
package/dist/v1/api.gen.js
CHANGED
|
@@ -26,7 +26,7 @@ var API = class extends API$1 {
|
|
|
26
26
|
this.pageOfListInstances = (request = {}) => this.client.fetch({
|
|
27
27
|
method: "GET",
|
|
28
28
|
path: `/mongodb/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/instances`,
|
|
29
|
-
urlParams: urlParams(["name", request.name], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["project_id", request.projectId], ["tags", request.tags])
|
|
29
|
+
urlParams: urlParams(["has_maintenance", request.hasMaintenance], ["name", request.name], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["project_id", request.projectId], ["tags", request.tags])
|
|
30
30
|
}, unmarshalListInstancesResponse);
|
|
31
31
|
this.listInstances = (request = {}) => enrichForPagination("instances", this.pageOfListInstances, request);
|
|
32
32
|
this.getInstance = (request) => this.client.fetch({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Endpoint, Maintenance, InstanceSetting, Volume, Instance, Snapshot, User, ListDatabasesResponse, ListInstancesResponse, ListMaintenancesResponse, ListNodeTypesResponse, ListSnapshotsResponse, ListUsersResponse, ListVersionsResponse, CreateEndpointRequest, CreateInstanceRequest, CreateSnapshotRequest, CreateUserRequest, RestoreSnapshotRequest, SetUserRoleRequest, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest } from './types.gen.js';
|
|
3
3
|
export declare const unmarshalEndpoint: (data: unknown) => Endpoint;
|
|
4
|
+
export declare const unmarshalMaintenance: (data: unknown) => Maintenance;
|
|
4
5
|
export declare const unmarshalInstanceSetting: (data: unknown) => InstanceSetting;
|
|
5
6
|
export declare const unmarshalVolume: (data: unknown) => Volume;
|
|
6
7
|
export declare const unmarshalInstance: (data: unknown) => Instance;
|
|
7
|
-
export declare const unmarshalMaintenance: (data: unknown) => Maintenance;
|
|
8
8
|
export declare const unmarshalSnapshot: (data: unknown) => Snapshot;
|
|
9
9
|
export declare const unmarshalUser: (data: unknown) => User;
|
|
10
10
|
export declare const unmarshalListDatabasesResponse: (data: unknown) => ListDatabasesResponse;
|
|
@@ -19,6 +19,37 @@ const unmarshalEndpoint = (data) => {
|
|
|
19
19
|
publicNetwork: data.public_network ? unmarshalEndpointPublicNetworkDetails(data.public_network) : void 0
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
+
const unmarshalEngineUpgrade = (data) => {
|
|
23
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'EngineUpgrade' failed as data isn't a dictionary.`);
|
|
24
|
+
return { newVersionId: data.new_version_id };
|
|
25
|
+
};
|
|
26
|
+
const unmarshalServiceUpdate = (data) => {
|
|
27
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ServiceUpdate' failed as data isn't a dictionary.`);
|
|
28
|
+
return { serviceName: data.service_name };
|
|
29
|
+
};
|
|
30
|
+
const unmarshalWorkflow = (data) => {
|
|
31
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Workflow' failed as data isn't a dictionary.`);
|
|
32
|
+
return {
|
|
33
|
+
engineUpgrade: data.engine_upgrade ? unmarshalEngineUpgrade(data.engine_upgrade) : void 0,
|
|
34
|
+
serviceUpdate: data.service_update ? unmarshalServiceUpdate(data.service_update) : void 0
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
const unmarshalMaintenance = (data) => {
|
|
38
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Maintenance' failed as data isn't a dictionary.`);
|
|
39
|
+
return {
|
|
40
|
+
appliedAt: unmarshalDate(data.applied_at),
|
|
41
|
+
appliedBy: data.applied_by,
|
|
42
|
+
createdAt: unmarshalDate(data.created_at),
|
|
43
|
+
forcedAt: unmarshalDate(data.forced_at),
|
|
44
|
+
id: data.id,
|
|
45
|
+
instanceId: data.instance_id,
|
|
46
|
+
reason: data.reason,
|
|
47
|
+
startsAt: unmarshalDate(data.starts_at),
|
|
48
|
+
status: data.status,
|
|
49
|
+
stopsAt: unmarshalDate(data.stops_at),
|
|
50
|
+
workflow: data.workflow ? unmarshalWorkflow(data.workflow) : void 0
|
|
51
|
+
};
|
|
52
|
+
};
|
|
22
53
|
const unmarshalInstanceSetting = (data) => {
|
|
23
54
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'InstanceSetting' failed as data isn't a dictionary.`);
|
|
24
55
|
return {
|
|
@@ -49,6 +80,7 @@ const unmarshalInstance = (data) => {
|
|
|
49
80
|
createdAt: unmarshalDate(data.created_at),
|
|
50
81
|
endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint),
|
|
51
82
|
id: data.id,
|
|
83
|
+
maintenances: unmarshalArrayOfObject(data.maintenances, unmarshalMaintenance),
|
|
52
84
|
name: data.name,
|
|
53
85
|
nodeAmount: data.node_amount,
|
|
54
86
|
nodeType: data.node_type,
|
|
@@ -63,37 +95,6 @@ const unmarshalInstance = (data) => {
|
|
|
63
95
|
volume: data.volume ? unmarshalVolume(data.volume) : void 0
|
|
64
96
|
};
|
|
65
97
|
};
|
|
66
|
-
const unmarshalEngineUpgrade = (data) => {
|
|
67
|
-
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'EngineUpgrade' failed as data isn't a dictionary.`);
|
|
68
|
-
return { newVersionId: data.new_version_id };
|
|
69
|
-
};
|
|
70
|
-
const unmarshalServiceUpdate = (data) => {
|
|
71
|
-
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ServiceUpdate' failed as data isn't a dictionary.`);
|
|
72
|
-
return { serviceName: data.service_name };
|
|
73
|
-
};
|
|
74
|
-
const unmarshalWorkflow = (data) => {
|
|
75
|
-
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Workflow' failed as data isn't a dictionary.`);
|
|
76
|
-
return {
|
|
77
|
-
engineUpgrade: data.engine_upgrade ? unmarshalEngineUpgrade(data.engine_upgrade) : void 0,
|
|
78
|
-
serviceUpdate: data.service_update ? unmarshalServiceUpdate(data.service_update) : void 0
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
const unmarshalMaintenance = (data) => {
|
|
82
|
-
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Maintenance' failed as data isn't a dictionary.`);
|
|
83
|
-
return {
|
|
84
|
-
appliedAt: unmarshalDate(data.applied_at),
|
|
85
|
-
appliedBy: data.applied_by,
|
|
86
|
-
createdAt: unmarshalDate(data.created_at),
|
|
87
|
-
forcedAt: unmarshalDate(data.forced_at),
|
|
88
|
-
id: data.id,
|
|
89
|
-
instanceId: data.instance_id,
|
|
90
|
-
reason: data.reason,
|
|
91
|
-
startsAt: unmarshalDate(data.starts_at),
|
|
92
|
-
status: data.status,
|
|
93
|
-
stopsAt: unmarshalDate(data.stops_at),
|
|
94
|
-
workflow: data.workflow ? unmarshalWorkflow(data.workflow) : void 0
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
98
|
const unmarshalSnapshot = (data) => {
|
|
98
99
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Snapshot' failed as data isn't a dictionary.`);
|
|
99
100
|
return {
|
|
@@ -200,6 +201,7 @@ const unmarshalVersion = (data) => {
|
|
|
200
201
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Version' failed as data isn't a dictionary.`);
|
|
201
202
|
return {
|
|
202
203
|
endOfLifeAt: unmarshalDate(data.end_of_life_at),
|
|
204
|
+
releasedAt: unmarshalDate(data.released_at),
|
|
203
205
|
version: data.version
|
|
204
206
|
};
|
|
205
207
|
};
|
|
@@ -1,123 +1,123 @@
|
|
|
1
1
|
export declare const queriesMetadata: {
|
|
2
|
-
readonly namespace:
|
|
3
|
-
readonly version:
|
|
4
|
-
readonly folderName:
|
|
2
|
+
readonly namespace: 'mongodb';
|
|
3
|
+
readonly version: 'v1';
|
|
4
|
+
readonly folderName: 'mongodbv1';
|
|
5
5
|
readonly services: readonly [{
|
|
6
|
-
readonly apiClass:
|
|
6
|
+
readonly apiClass: 'API';
|
|
7
7
|
readonly methods: readonly [{
|
|
8
|
-
readonly methodName:
|
|
9
|
-
readonly protoName:
|
|
10
|
-
readonly paramsType:
|
|
11
|
-
readonly returnType:
|
|
8
|
+
readonly methodName: 'listNodeTypes';
|
|
9
|
+
readonly protoName: 'ListNodeTypes';
|
|
10
|
+
readonly paramsType: 'ListNodeTypesRequest';
|
|
11
|
+
readonly returnType: 'ListNodeTypesResponse';
|
|
12
12
|
readonly isList: true;
|
|
13
|
-
readonly paginationType:
|
|
14
|
-
readonly pageParamKey:
|
|
15
|
-
readonly listItemType:
|
|
13
|
+
readonly paginationType: 'offset';
|
|
14
|
+
readonly pageParamKey: 'page';
|
|
15
|
+
readonly listItemType: 'NodeType';
|
|
16
16
|
readonly isPrivate: false;
|
|
17
|
-
readonly description: "
|
|
17
|
+
readonly description: '"';
|
|
18
18
|
}, {
|
|
19
|
-
readonly methodName:
|
|
20
|
-
readonly protoName:
|
|
21
|
-
readonly paramsType:
|
|
22
|
-
readonly returnType:
|
|
19
|
+
readonly methodName: 'listVersions';
|
|
20
|
+
readonly protoName: 'ListVersions';
|
|
21
|
+
readonly paramsType: 'ListVersionsRequest';
|
|
22
|
+
readonly returnType: 'ListVersionsResponse';
|
|
23
23
|
readonly isList: true;
|
|
24
|
-
readonly paginationType:
|
|
25
|
-
readonly pageParamKey:
|
|
26
|
-
readonly listItemType:
|
|
24
|
+
readonly paginationType: 'offset';
|
|
25
|
+
readonly pageParamKey: 'page';
|
|
26
|
+
readonly listItemType: 'Version';
|
|
27
27
|
readonly isPrivate: false;
|
|
28
|
-
readonly description: "
|
|
28
|
+
readonly description: '"';
|
|
29
29
|
}, {
|
|
30
|
-
readonly methodName:
|
|
31
|
-
readonly protoName:
|
|
32
|
-
readonly paramsType:
|
|
33
|
-
readonly returnType:
|
|
30
|
+
readonly methodName: 'listInstances';
|
|
31
|
+
readonly protoName: 'ListInstances';
|
|
32
|
+
readonly paramsType: 'ListInstancesRequest';
|
|
33
|
+
readonly returnType: 'ListInstancesResponse';
|
|
34
34
|
readonly isList: true;
|
|
35
|
-
readonly paginationType:
|
|
36
|
-
readonly pageParamKey:
|
|
37
|
-
readonly listItemType:
|
|
35
|
+
readonly paginationType: 'offset';
|
|
36
|
+
readonly pageParamKey: 'page';
|
|
37
|
+
readonly listItemType: 'Instance';
|
|
38
38
|
readonly isPrivate: false;
|
|
39
|
-
readonly description: "
|
|
39
|
+
readonly description: '"';
|
|
40
40
|
}, {
|
|
41
|
-
readonly methodName:
|
|
42
|
-
readonly protoName:
|
|
43
|
-
readonly paramsType:
|
|
44
|
-
readonly returnType:
|
|
41
|
+
readonly methodName: 'getInstance';
|
|
42
|
+
readonly protoName: 'GetInstance';
|
|
43
|
+
readonly paramsType: 'GetInstanceRequest';
|
|
44
|
+
readonly returnType: 'Instance';
|
|
45
45
|
readonly isList: false;
|
|
46
|
-
readonly paginationType:
|
|
46
|
+
readonly paginationType: 'none';
|
|
47
47
|
readonly isPrivate: false;
|
|
48
|
-
readonly description: "
|
|
48
|
+
readonly description: '"';
|
|
49
49
|
readonly hasWaiter: true;
|
|
50
50
|
}, {
|
|
51
|
-
readonly methodName:
|
|
52
|
-
readonly protoName:
|
|
53
|
-
readonly paramsType:
|
|
54
|
-
readonly returnType:
|
|
51
|
+
readonly methodName: 'getInstanceCertificate';
|
|
52
|
+
readonly protoName: 'GetInstanceCertificate';
|
|
53
|
+
readonly paramsType: 'GetInstanceCertificateRequest';
|
|
54
|
+
readonly returnType: 'Blob';
|
|
55
55
|
readonly isList: false;
|
|
56
|
-
readonly paginationType:
|
|
56
|
+
readonly paginationType: 'none';
|
|
57
57
|
readonly isPrivate: false;
|
|
58
|
-
readonly description: "
|
|
58
|
+
readonly description: '"';
|
|
59
59
|
}, {
|
|
60
|
-
readonly methodName:
|
|
61
|
-
readonly protoName:
|
|
62
|
-
readonly paramsType:
|
|
63
|
-
readonly returnType:
|
|
60
|
+
readonly methodName: 'getSnapshot';
|
|
61
|
+
readonly protoName: 'GetSnapshot';
|
|
62
|
+
readonly paramsType: 'GetSnapshotRequest';
|
|
63
|
+
readonly returnType: 'Snapshot';
|
|
64
64
|
readonly isList: false;
|
|
65
|
-
readonly paginationType:
|
|
65
|
+
readonly paginationType: 'none';
|
|
66
66
|
readonly isPrivate: false;
|
|
67
|
-
readonly description: "
|
|
67
|
+
readonly description: '"';
|
|
68
68
|
}, {
|
|
69
|
-
readonly methodName:
|
|
70
|
-
readonly protoName:
|
|
71
|
-
readonly paramsType:
|
|
72
|
-
readonly returnType:
|
|
69
|
+
readonly methodName: 'listSnapshots';
|
|
70
|
+
readonly protoName: 'ListSnapshots';
|
|
71
|
+
readonly paramsType: 'ListSnapshotsRequest';
|
|
72
|
+
readonly returnType: 'ListSnapshotsResponse';
|
|
73
73
|
readonly isList: true;
|
|
74
|
-
readonly paginationType:
|
|
75
|
-
readonly pageParamKey:
|
|
76
|
-
readonly listItemType:
|
|
74
|
+
readonly paginationType: 'offset';
|
|
75
|
+
readonly pageParamKey: 'page';
|
|
76
|
+
readonly listItemType: 'Snapshot';
|
|
77
77
|
readonly isPrivate: false;
|
|
78
|
-
readonly description: "
|
|
78
|
+
readonly description: '"';
|
|
79
79
|
}, {
|
|
80
|
-
readonly methodName:
|
|
81
|
-
readonly protoName:
|
|
82
|
-
readonly paramsType:
|
|
83
|
-
readonly returnType:
|
|
80
|
+
readonly methodName: 'listUsers';
|
|
81
|
+
readonly protoName: 'ListUsers';
|
|
82
|
+
readonly paramsType: 'ListUsersRequest';
|
|
83
|
+
readonly returnType: 'ListUsersResponse';
|
|
84
84
|
readonly isList: true;
|
|
85
|
-
readonly paginationType:
|
|
86
|
-
readonly pageParamKey:
|
|
87
|
-
readonly listItemType:
|
|
85
|
+
readonly paginationType: 'offset';
|
|
86
|
+
readonly pageParamKey: 'page';
|
|
87
|
+
readonly listItemType: 'User';
|
|
88
88
|
readonly isPrivate: false;
|
|
89
|
-
readonly description: "
|
|
89
|
+
readonly description: '"';
|
|
90
90
|
}, {
|
|
91
|
-
readonly methodName:
|
|
92
|
-
readonly protoName:
|
|
93
|
-
readonly paramsType:
|
|
94
|
-
readonly returnType:
|
|
91
|
+
readonly methodName: 'listDatabases';
|
|
92
|
+
readonly protoName: 'ListDatabases';
|
|
93
|
+
readonly paramsType: 'ListDatabasesRequest';
|
|
94
|
+
readonly returnType: 'ListDatabasesResponse';
|
|
95
95
|
readonly isList: true;
|
|
96
|
-
readonly paginationType:
|
|
97
|
-
readonly pageParamKey:
|
|
98
|
-
readonly listItemType:
|
|
96
|
+
readonly paginationType: 'offset';
|
|
97
|
+
readonly pageParamKey: 'page';
|
|
98
|
+
readonly listItemType: 'Database';
|
|
99
99
|
readonly isPrivate: false;
|
|
100
|
-
readonly description: "
|
|
100
|
+
readonly description: '"';
|
|
101
101
|
}, {
|
|
102
|
-
readonly methodName:
|
|
103
|
-
readonly protoName:
|
|
104
|
-
readonly paramsType:
|
|
105
|
-
readonly returnType:
|
|
102
|
+
readonly methodName: 'listMaintenances';
|
|
103
|
+
readonly protoName: 'ListMaintenances';
|
|
104
|
+
readonly paramsType: 'ListMaintenancesRequest';
|
|
105
|
+
readonly returnType: 'ListMaintenancesResponse';
|
|
106
106
|
readonly isList: true;
|
|
107
|
-
readonly paginationType:
|
|
108
|
-
readonly pageParamKey:
|
|
109
|
-
readonly listItemType:
|
|
107
|
+
readonly paginationType: 'offset';
|
|
108
|
+
readonly pageParamKey: 'page';
|
|
109
|
+
readonly listItemType: 'Maintenance';
|
|
110
110
|
readonly isPrivate: false;
|
|
111
|
-
readonly description: "
|
|
111
|
+
readonly description: '"';
|
|
112
112
|
}, {
|
|
113
|
-
readonly methodName:
|
|
114
|
-
readonly protoName:
|
|
115
|
-
readonly paramsType:
|
|
116
|
-
readonly returnType:
|
|
113
|
+
readonly methodName: 'getMaintenance';
|
|
114
|
+
readonly protoName: 'GetMaintenance';
|
|
115
|
+
readonly paramsType: 'GetMaintenanceRequest';
|
|
116
|
+
readonly returnType: 'Maintenance';
|
|
117
117
|
readonly isList: false;
|
|
118
|
-
readonly paginationType:
|
|
118
|
+
readonly paginationType: 'none';
|
|
119
119
|
readonly isPrivate: false;
|
|
120
|
-
readonly description: "
|
|
120
|
+
readonly description: '"';
|
|
121
121
|
readonly hasWaiter: true;
|
|
122
122
|
}];
|
|
123
123
|
}];
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ export type NodeTypeStock = 'unknown_stock' | 'low_stock' | 'out_of_stock' | 'av
|
|
|
11
11
|
export type SnapshotStatus = 'unknown_status' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'locked';
|
|
12
12
|
export type UserRoleRole = 'unknown_role' | 'read' | 'read_write' | 'db_admin' | 'sync';
|
|
13
13
|
export type VolumeType = 'unknown_type' | 'sbs_5k' | 'sbs_15k';
|
|
14
|
+
export interface EngineUpgrade {
|
|
15
|
+
newVersionId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ServiceUpdate {
|
|
18
|
+
serviceName: string;
|
|
19
|
+
}
|
|
14
20
|
/**
|
|
15
21
|
* Private Network details.
|
|
16
22
|
*/
|
|
@@ -25,11 +31,17 @@ export interface EndpointPrivateNetworkDetails {
|
|
|
25
31
|
*/
|
|
26
32
|
export interface EndpointPublicNetworkDetails {
|
|
27
33
|
}
|
|
28
|
-
export interface
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
export interface Workflow {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* One-of ('workflowType'): at most one of 'engineUpgrade', 'serviceUpdate' could be set.
|
|
38
|
+
*/
|
|
39
|
+
engineUpgrade?: EngineUpgrade;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* One-of ('workflowType'): at most one of 'engineUpgrade', 'serviceUpdate' could be set.
|
|
43
|
+
*/
|
|
44
|
+
serviceUpdate?: ServiceUpdate;
|
|
33
45
|
}
|
|
34
46
|
export interface EndpointSpecPrivateNetworkDetails {
|
|
35
47
|
/**
|
|
@@ -76,27 +88,61 @@ export interface InstanceSnapshotSchedule {
|
|
|
76
88
|
nextUpdate?: Date;
|
|
77
89
|
lastRun?: Date;
|
|
78
90
|
}
|
|
79
|
-
export interface
|
|
91
|
+
export interface Maintenance {
|
|
80
92
|
/**
|
|
81
|
-
*
|
|
93
|
+
* ID of the maintenance.
|
|
82
94
|
*/
|
|
83
|
-
|
|
95
|
+
id: string;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
97
|
+
* ID of the instance on which the maintenance is applied.
|
|
86
98
|
*/
|
|
87
|
-
|
|
99
|
+
instanceId: string;
|
|
100
|
+
/**
|
|
101
|
+
* Creation date of the maintenance.
|
|
102
|
+
*/
|
|
103
|
+
createdAt?: Date;
|
|
104
|
+
/**
|
|
105
|
+
* Start date of the maintenance.
|
|
106
|
+
*/
|
|
107
|
+
startsAt?: Date;
|
|
108
|
+
/**
|
|
109
|
+
* Stop date of the maintenance.
|
|
110
|
+
*/
|
|
111
|
+
stopsAt?: Date;
|
|
112
|
+
/**
|
|
113
|
+
* Current status of the maintenance.
|
|
114
|
+
*/
|
|
115
|
+
status: MaintenanceStatus;
|
|
116
|
+
/**
|
|
117
|
+
* Forced application date of the maintenance.
|
|
118
|
+
*/
|
|
119
|
+
forcedAt?: Date;
|
|
120
|
+
/**
|
|
121
|
+
* Application date of the maintenance.
|
|
122
|
+
*/
|
|
123
|
+
appliedAt?: Date;
|
|
124
|
+
/**
|
|
125
|
+
* Usertype who launched the maintenance.
|
|
126
|
+
*/
|
|
127
|
+
appliedBy: MaintenanceAppliedBy;
|
|
128
|
+
/**
|
|
129
|
+
* Workflow to be applied during maintenance.
|
|
130
|
+
*/
|
|
131
|
+
workflow?: Workflow;
|
|
132
|
+
/**
|
|
133
|
+
* Reason of the maintenance.
|
|
134
|
+
*/
|
|
135
|
+
reason: string;
|
|
88
136
|
}
|
|
89
|
-
export interface
|
|
137
|
+
export interface Volume {
|
|
90
138
|
/**
|
|
91
|
-
*
|
|
92
|
-
* One-of ('workflowType'): at most one of 'engineUpgrade', 'serviceUpdate' could be set.
|
|
139
|
+
* Type of volume where data is stored.
|
|
93
140
|
*/
|
|
94
|
-
|
|
141
|
+
type: VolumeType;
|
|
95
142
|
/**
|
|
96
|
-
*
|
|
97
|
-
* One-of ('workflowType'): at most one of 'engineUpgrade', 'serviceUpdate' could be set.
|
|
143
|
+
* Volume size.
|
|
98
144
|
*/
|
|
99
|
-
|
|
145
|
+
sizeBytes: number;
|
|
100
146
|
}
|
|
101
147
|
export interface NodeTypeVolumeType {
|
|
102
148
|
/**
|
|
@@ -214,52 +260,10 @@ export interface Instance {
|
|
|
214
260
|
* List of settings applied to the Database Instance.
|
|
215
261
|
*/
|
|
216
262
|
settings: InstanceSetting[];
|
|
217
|
-
}
|
|
218
|
-
export interface Maintenance {
|
|
219
|
-
/**
|
|
220
|
-
* ID of the maintenance.
|
|
221
|
-
*/
|
|
222
|
-
id: string;
|
|
223
|
-
/**
|
|
224
|
-
* ID of the instance on which the maintenance is applied.
|
|
225
|
-
*/
|
|
226
|
-
instanceId: string;
|
|
227
|
-
/**
|
|
228
|
-
* Creation date of the maintenance.
|
|
229
|
-
*/
|
|
230
|
-
createdAt?: Date;
|
|
231
|
-
/**
|
|
232
|
-
* Start date of the maintenance.
|
|
233
|
-
*/
|
|
234
|
-
startsAt?: Date;
|
|
235
|
-
/**
|
|
236
|
-
* Stop date of the maintenance.
|
|
237
|
-
*/
|
|
238
|
-
stopsAt?: Date;
|
|
239
|
-
/**
|
|
240
|
-
* Current status of the maintenance.
|
|
241
|
-
*/
|
|
242
|
-
status: MaintenanceStatus;
|
|
243
|
-
/**
|
|
244
|
-
* Forced application date of the maintenance.
|
|
245
|
-
*/
|
|
246
|
-
forcedAt?: Date;
|
|
247
|
-
/**
|
|
248
|
-
* Application date of the maintenance.
|
|
249
|
-
*/
|
|
250
|
-
appliedAt?: Date;
|
|
251
|
-
/**
|
|
252
|
-
* Usertype who launched the maintenance.
|
|
253
|
-
*/
|
|
254
|
-
appliedBy: MaintenanceAppliedBy;
|
|
255
|
-
/**
|
|
256
|
-
* Workflow to be applied during maintenance.
|
|
257
|
-
*/
|
|
258
|
-
workflow?: Workflow;
|
|
259
263
|
/**
|
|
260
|
-
*
|
|
264
|
+
* List of pending maintenances applicable to the Database Instance.
|
|
261
265
|
*/
|
|
262
|
-
|
|
266
|
+
maintenances: Maintenance[];
|
|
263
267
|
}
|
|
264
268
|
export interface NodeType {
|
|
265
269
|
/**
|
|
@@ -368,6 +372,10 @@ export interface Version {
|
|
|
368
372
|
* Date of End of Life.
|
|
369
373
|
*/
|
|
370
374
|
endOfLifeAt?: Date;
|
|
375
|
+
/**
|
|
376
|
+
* Date of Release.
|
|
377
|
+
*/
|
|
378
|
+
releasedAt?: Date;
|
|
371
379
|
}
|
|
372
380
|
export type ApplyMaintenanceRequest = {
|
|
373
381
|
/**
|
|
@@ -607,6 +615,10 @@ export type ListInstancesRequest = {
|
|
|
607
615
|
* Project ID to list the instances of.
|
|
608
616
|
*/
|
|
609
617
|
projectId?: string;
|
|
618
|
+
/**
|
|
619
|
+
* Retrieve pending maintenances for the database instances if given.
|
|
620
|
+
*/
|
|
621
|
+
hasMaintenance?: boolean;
|
|
610
622
|
page?: number;
|
|
611
623
|
pageSize?: number;
|
|
612
624
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
|
|
2
1
|
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { WaitForOptions, ApiLocality } from '@scaleway/sdk-client';
|
|
3
3
|
import type { CreateEndpointRequest, CreateInstanceRequest, CreateSnapshotRequest, CreateUserRequest, DeleteEndpointRequest, DeleteInstanceRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, GetInstanceCertificateRequest, GetInstanceRequest, GetSnapshotRequest, Instance, ListInstancesRequest, ListInstancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListSnapshotsRequest, ListSnapshotsResponse, ListUsersRequest, ListUsersResponse, ListVersionsRequest, ListVersionsResponse, RestoreSnapshotRequest, SetUserRoleRequest, Snapshot, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest, User } from './types.gen.js';
|
|
4
4
|
/**
|
|
5
5
|
* Managed MongoDB®.
|
|
@@ -59,7 +59,7 @@ export declare class API extends ParentAPI {
|
|
|
59
59
|
* @param options - The waiting options
|
|
60
60
|
* @returns A Promise of Instance
|
|
61
61
|
*/
|
|
62
|
-
waitForInstance: (request: Readonly<GetInstanceRequest>, options?: Readonly<WaitForOptions<Instance>>
|
|
62
|
+
waitForInstance: (request: Readonly<GetInstanceRequest>, options?: Readonly<WaitForOptions<Instance>>) => Promise<Instance>;
|
|
63
63
|
/**
|
|
64
64
|
* Create a MongoDB® Database Instance. Create a new MongoDB® Database Instance.
|
|
65
65
|
*
|
|
@@ -116,7 +116,7 @@ export declare class API extends ParentAPI {
|
|
|
116
116
|
* @param options - The waiting options
|
|
117
117
|
* @returns A Promise of Snapshot
|
|
118
118
|
*/
|
|
119
|
-
waitForSnapshot: (request: Readonly<GetSnapshotRequest>, options?: Readonly<WaitForOptions<Snapshot>>
|
|
119
|
+
waitForSnapshot: (request: Readonly<GetSnapshotRequest>, options?: Readonly<WaitForOptions<Snapshot>>) => Promise<Snapshot>;
|
|
120
120
|
/**
|
|
121
121
|
* Update a Database Instance snapshot. Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters.
|
|
122
122
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { API, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
3
|
export * from './marshalling.gen.js';
|
|
4
|
-
export type { CreateEndpointRequest, CreateInstanceRequest, CreateInstanceRequestVolumeDetails, CreateSnapshotRequest, CreateUserRequest, DeleteEndpointRequest, DeleteInstanceRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, EndpointPrivateNetworkDetails, EndpointPublicDetails, EndpointSpec, EndpointSpecPrivateNetworkDetails, EndpointSpecPublicDetails, GetInstanceCertificateRequest, GetInstanceRequest, GetSnapshotRequest, Instance, InstanceSetting, InstanceSnapshotSchedule, InstanceStatus, ListInstancesRequest, ListInstancesRequestOrderBy, ListInstancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListSnapshotsRequest, ListSnapshotsRequestOrderBy, ListSnapshotsResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, ListVersionsRequest, ListVersionsResponse, NodeType, NodeTypeStock, NodeTypeVolumeType, RestoreSnapshotRequest, RestoreSnapshotRequestVolumeDetails, Setting, SettingPropertyType,
|
|
4
|
+
export type { CreateEndpointRequest, CreateInstanceRequest, CreateInstanceRequestVolumeDetails, CreateSnapshotRequest, CreateUserRequest, DeleteEndpointRequest, DeleteInstanceRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, EndpointPrivateNetworkDetails, EndpointPublicDetails, EndpointSpec, EndpointSpecPrivateNetworkDetails, EndpointSpecPublicDetails, GetInstanceCertificateRequest, GetInstanceRequest, GetSnapshotRequest, Instance, InstanceSetting, InstanceSnapshotSchedule, InstanceStatus, ListInstancesRequest, ListInstancesRequestOrderBy, ListInstancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListSnapshotsRequest, ListSnapshotsRequestOrderBy, ListSnapshotsResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, ListVersionsRequest, ListVersionsResponse, NodeType, NodeTypeStock, NodeTypeVolumeType, RestoreSnapshotRequest, RestoreSnapshotRequestVolumeDetails, SetUserRoleRequest, Setting, SettingPropertyType, Snapshot, SnapshotStatus, SnapshotVolumeType, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest, User, UserRole, UserRoleRole, Version, Volume, VolumeType, } from './types.gen.js';
|
|
5
5
|
export * as ValidationRules from './validation-rules.gen.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Endpoint, Instance, Snapshot, User, ListInstancesResponse, ListNodeTypesResponse, ListSnapshotsResponse, ListUsersResponse, ListVersionsResponse, CreateEndpointRequest, CreateInstanceRequest, CreateSnapshotRequest, CreateUserRequest, RestoreSnapshotRequest, SetUserRoleRequest, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest } from './types.gen.js';
|
|
3
3
|
export declare const unmarshalEndpoint: (data: unknown) => Endpoint;
|
|
4
4
|
export declare const unmarshalInstance: (data: unknown) => Instance;
|
|
5
5
|
export declare const unmarshalSnapshot: (data: unknown) => Snapshot;
|
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
export declare const queriesMetadata: {
|
|
2
|
-
readonly namespace:
|
|
3
|
-
readonly version:
|
|
4
|
-
readonly folderName:
|
|
2
|
+
readonly namespace: 'mongodb';
|
|
3
|
+
readonly version: 'v1alpha1';
|
|
4
|
+
readonly folderName: 'mongodbv1alpha1';
|
|
5
5
|
readonly services: readonly [{
|
|
6
|
-
readonly apiClass:
|
|
6
|
+
readonly apiClass: 'API';
|
|
7
7
|
readonly methods: readonly [{
|
|
8
|
-
readonly methodName:
|
|
9
|
-
readonly protoName:
|
|
10
|
-
readonly paramsType:
|
|
11
|
-
readonly returnType:
|
|
8
|
+
readonly methodName: 'listNodeTypes';
|
|
9
|
+
readonly protoName: 'ListNodeTypes';
|
|
10
|
+
readonly paramsType: 'ListNodeTypesRequest';
|
|
11
|
+
readonly returnType: 'ListNodeTypesResponse';
|
|
12
12
|
readonly isList: true;
|
|
13
|
-
readonly paginationType:
|
|
14
|
-
readonly pageParamKey:
|
|
15
|
-
readonly listItemType:
|
|
13
|
+
readonly paginationType: 'offset';
|
|
14
|
+
readonly pageParamKey: 'page';
|
|
15
|
+
readonly listItemType: 'NodeType';
|
|
16
16
|
readonly isPrivate: false;
|
|
17
|
-
readonly description: "
|
|
17
|
+
readonly description: '"';
|
|
18
18
|
}, {
|
|
19
|
-
readonly methodName:
|
|
20
|
-
readonly protoName:
|
|
21
|
-
readonly paramsType:
|
|
22
|
-
readonly returnType:
|
|
19
|
+
readonly methodName: 'listVersions';
|
|
20
|
+
readonly protoName: 'ListVersions';
|
|
21
|
+
readonly paramsType: 'ListVersionsRequest';
|
|
22
|
+
readonly returnType: 'ListVersionsResponse';
|
|
23
23
|
readonly isList: true;
|
|
24
|
-
readonly paginationType:
|
|
25
|
-
readonly pageParamKey:
|
|
26
|
-
readonly listItemType:
|
|
24
|
+
readonly paginationType: 'offset';
|
|
25
|
+
readonly pageParamKey: 'page';
|
|
26
|
+
readonly listItemType: 'Version';
|
|
27
27
|
readonly isPrivate: false;
|
|
28
|
-
readonly description: "
|
|
28
|
+
readonly description: '"';
|
|
29
29
|
}, {
|
|
30
|
-
readonly methodName:
|
|
31
|
-
readonly protoName:
|
|
32
|
-
readonly paramsType:
|
|
33
|
-
readonly returnType:
|
|
30
|
+
readonly methodName: 'listInstances';
|
|
31
|
+
readonly protoName: 'ListInstances';
|
|
32
|
+
readonly paramsType: 'ListInstancesRequest';
|
|
33
|
+
readonly returnType: 'ListInstancesResponse';
|
|
34
34
|
readonly isList: true;
|
|
35
|
-
readonly paginationType:
|
|
36
|
-
readonly pageParamKey:
|
|
37
|
-
readonly listItemType:
|
|
35
|
+
readonly paginationType: 'offset';
|
|
36
|
+
readonly pageParamKey: 'page';
|
|
37
|
+
readonly listItemType: 'Instance';
|
|
38
38
|
readonly isPrivate: false;
|
|
39
|
-
readonly description: "
|
|
39
|
+
readonly description: '"';
|
|
40
40
|
}, {
|
|
41
|
-
readonly methodName:
|
|
42
|
-
readonly protoName:
|
|
43
|
-
readonly paramsType:
|
|
44
|
-
readonly returnType:
|
|
41
|
+
readonly methodName: 'getInstance';
|
|
42
|
+
readonly protoName: 'GetInstance';
|
|
43
|
+
readonly paramsType: 'GetInstanceRequest';
|
|
44
|
+
readonly returnType: 'Instance';
|
|
45
45
|
readonly isList: false;
|
|
46
|
-
readonly paginationType:
|
|
46
|
+
readonly paginationType: 'none';
|
|
47
47
|
readonly isPrivate: false;
|
|
48
|
-
readonly description: "
|
|
48
|
+
readonly description: '"';
|
|
49
49
|
readonly hasWaiter: true;
|
|
50
50
|
}, {
|
|
51
|
-
readonly methodName:
|
|
52
|
-
readonly protoName:
|
|
53
|
-
readonly paramsType:
|
|
54
|
-
readonly returnType:
|
|
51
|
+
readonly methodName: 'getInstanceCertificate';
|
|
52
|
+
readonly protoName: 'GetInstanceCertificate';
|
|
53
|
+
readonly paramsType: 'GetInstanceCertificateRequest';
|
|
54
|
+
readonly returnType: 'Blob';
|
|
55
55
|
readonly isList: false;
|
|
56
|
-
readonly paginationType:
|
|
56
|
+
readonly paginationType: 'none';
|
|
57
57
|
readonly isPrivate: false;
|
|
58
|
-
readonly description: "
|
|
58
|
+
readonly description: '"';
|
|
59
59
|
}, {
|
|
60
|
-
readonly methodName:
|
|
61
|
-
readonly protoName:
|
|
62
|
-
readonly paramsType:
|
|
63
|
-
readonly returnType:
|
|
60
|
+
readonly methodName: 'getSnapshot';
|
|
61
|
+
readonly protoName: 'GetSnapshot';
|
|
62
|
+
readonly paramsType: 'GetSnapshotRequest';
|
|
63
|
+
readonly returnType: 'Snapshot';
|
|
64
64
|
readonly isList: false;
|
|
65
|
-
readonly paginationType:
|
|
65
|
+
readonly paginationType: 'none';
|
|
66
66
|
readonly isPrivate: false;
|
|
67
|
-
readonly description: "
|
|
67
|
+
readonly description: '"';
|
|
68
68
|
}, {
|
|
69
|
-
readonly methodName:
|
|
70
|
-
readonly protoName:
|
|
71
|
-
readonly paramsType:
|
|
72
|
-
readonly returnType:
|
|
69
|
+
readonly methodName: 'listSnapshots';
|
|
70
|
+
readonly protoName: 'ListSnapshots';
|
|
71
|
+
readonly paramsType: 'ListSnapshotsRequest';
|
|
72
|
+
readonly returnType: 'ListSnapshotsResponse';
|
|
73
73
|
readonly isList: true;
|
|
74
|
-
readonly paginationType:
|
|
75
|
-
readonly pageParamKey:
|
|
76
|
-
readonly listItemType:
|
|
74
|
+
readonly paginationType: 'offset';
|
|
75
|
+
readonly pageParamKey: 'page';
|
|
76
|
+
readonly listItemType: 'Snapshot';
|
|
77
77
|
readonly isPrivate: false;
|
|
78
|
-
readonly description: "
|
|
78
|
+
readonly description: '"';
|
|
79
79
|
}, {
|
|
80
|
-
readonly methodName:
|
|
81
|
-
readonly protoName:
|
|
82
|
-
readonly paramsType:
|
|
83
|
-
readonly returnType:
|
|
80
|
+
readonly methodName: 'listUsers';
|
|
81
|
+
readonly protoName: 'ListUsers';
|
|
82
|
+
readonly paramsType: 'ListUsersRequest';
|
|
83
|
+
readonly returnType: 'ListUsersResponse';
|
|
84
84
|
readonly isList: true;
|
|
85
|
-
readonly paginationType:
|
|
86
|
-
readonly pageParamKey:
|
|
87
|
-
readonly listItemType:
|
|
85
|
+
readonly paginationType: 'offset';
|
|
86
|
+
readonly pageParamKey: 'page';
|
|
87
|
+
readonly listItemType: 'User';
|
|
88
88
|
readonly isPrivate: false;
|
|
89
|
-
readonly description: "
|
|
89
|
+
readonly description: '"';
|
|
90
90
|
}];
|
|
91
91
|
}];
|
|
92
92
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-mongodb",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Scaleway SDK mongodb",
|
|
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.
|
|
35
|
+
"@scaleway/sdk-std": "2.4.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@scaleway/sdk-client": "^2.
|
|
38
|
+
"@scaleway/sdk-client": "^2.4.0",
|
|
39
39
|
"@repo/configs": "^0.1.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@scaleway/sdk-client": "^2.
|
|
42
|
+
"@scaleway/sdk-client": "^2.4.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": ">=20.
|
|
45
|
+
"node": ">=20.20.2"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"package:check": "pnpm publint",
|