@scaleway/sdk-mongodb 2.3.1 → 2.4.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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +3 -6
- package/dist/v1/api.gen.js +336 -489
- package/dist/v1/content.gen.js +13 -16
- package/dist/v1/index.gen.js +33 -31
- package/dist/v1/marshalling.gen.js +226 -370
- package/dist/v1/validation-rules.gen.js +162 -190
- package/dist/v1alpha1/api.gen.js +283 -410
- package/dist/v1alpha1/content.gen.js +11 -12
- package/dist/v1alpha1/index.gen.js +31 -29
- package/dist/v1alpha1/marshalling.gen.js +213 -337
- package/dist/v1alpha1/validation-rules.gen.js +135 -157
- package/package.json +4 -4
package/dist/v1/content.gen.js
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
|
+
/** Lists transient statutes of the enum {@link InstanceStatus}. */
|
|
1
2
|
const INSTANCE_TRANSIENT_STATUSES = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
];
|
|
8
|
-
const MAINTENANCE_TRANSIENT_STATUSES = [
|
|
9
|
-
"ongoing"
|
|
3
|
+
"provisioning",
|
|
4
|
+
"configuring",
|
|
5
|
+
"deleting",
|
|
6
|
+
"initializing",
|
|
7
|
+
"snapshotting"
|
|
10
8
|
];
|
|
9
|
+
/** Lists transient statutes of the enum {@link MaintenanceStatus}. */
|
|
10
|
+
const MAINTENANCE_TRANSIENT_STATUSES = ["ongoing"];
|
|
11
|
+
/** Lists transient statutes of the enum {@link SnapshotStatus}. */
|
|
11
12
|
const SNAPSHOT_TRANSIENT_STATUSES = [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
"creating",
|
|
14
|
+
"restoring",
|
|
15
|
+
"deleting"
|
|
15
16
|
];
|
|
16
|
-
export {
|
|
17
|
-
INSTANCE_TRANSIENT_STATUSES,
|
|
18
|
-
MAINTENANCE_TRANSIENT_STATUSES,
|
|
19
|
-
SNAPSHOT_TRANSIENT_STATUSES
|
|
20
|
-
};
|
|
17
|
+
export { INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES };
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalCreateEndpointRequest, marshalCreateInstanceRequest, marshalCreateSnapshotRequest, marshalCreateUserRequest, marshalRestoreSnapshotRequest, marshalSetUserRoleRequest, marshalUpdateInstanceRequest, marshalUpdateSnapshotRequest, marshalUpdateUserRequest, marshalUpgradeInstanceRequest, unmarshalEndpoint, unmarshalInstance, unmarshalListDatabasesResponse, unmarshalListInstancesResponse, unmarshalListMaintenancesResponse, unmarshalListNodeTypesResponse, unmarshalListSnapshotsResponse, unmarshalListUsersResponse, unmarshalListVersionsResponse, unmarshalMaintenance, unmarshalSnapshot, unmarshalUser } from "./marshalling.gen.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
4
|
+
import { API } from "./api.gen.js";
|
|
5
|
+
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
API: () => API,
|
|
8
|
+
INSTANCE_TRANSIENT_STATUSES: () => INSTANCE_TRANSIENT_STATUSES,
|
|
9
|
+
MAINTENANCE_TRANSIENT_STATUSES: () => MAINTENANCE_TRANSIENT_STATUSES,
|
|
10
|
+
SNAPSHOT_TRANSIENT_STATUSES: () => SNAPSHOT_TRANSIENT_STATUSES,
|
|
11
|
+
ValidationRules: () => validation_rules_gen_exports,
|
|
12
|
+
marshalCreateEndpointRequest: () => marshalCreateEndpointRequest,
|
|
13
|
+
marshalCreateInstanceRequest: () => marshalCreateInstanceRequest,
|
|
14
|
+
marshalCreateSnapshotRequest: () => marshalCreateSnapshotRequest,
|
|
15
|
+
marshalCreateUserRequest: () => marshalCreateUserRequest,
|
|
16
|
+
marshalRestoreSnapshotRequest: () => marshalRestoreSnapshotRequest,
|
|
17
|
+
marshalSetUserRoleRequest: () => marshalSetUserRoleRequest,
|
|
18
|
+
marshalUpdateInstanceRequest: () => marshalUpdateInstanceRequest,
|
|
19
|
+
marshalUpdateSnapshotRequest: () => marshalUpdateSnapshotRequest,
|
|
20
|
+
marshalUpdateUserRequest: () => marshalUpdateUserRequest,
|
|
21
|
+
marshalUpgradeInstanceRequest: () => marshalUpgradeInstanceRequest,
|
|
22
|
+
unmarshalEndpoint: () => unmarshalEndpoint,
|
|
23
|
+
unmarshalInstance: () => unmarshalInstance,
|
|
24
|
+
unmarshalListDatabasesResponse: () => unmarshalListDatabasesResponse,
|
|
25
|
+
unmarshalListInstancesResponse: () => unmarshalListInstancesResponse,
|
|
26
|
+
unmarshalListMaintenancesResponse: () => unmarshalListMaintenancesResponse,
|
|
27
|
+
unmarshalListNodeTypesResponse: () => unmarshalListNodeTypesResponse,
|
|
28
|
+
unmarshalListSnapshotsResponse: () => unmarshalListSnapshotsResponse,
|
|
29
|
+
unmarshalListUsersResponse: () => unmarshalListUsersResponse,
|
|
30
|
+
unmarshalListVersionsResponse: () => unmarshalListVersionsResponse,
|
|
31
|
+
unmarshalMaintenance: () => unmarshalMaintenance,
|
|
32
|
+
unmarshalSnapshot: () => unmarshalSnapshot,
|
|
33
|
+
unmarshalUser: () => unmarshalUser
|
|
34
|
+
});
|
|
35
|
+
export { index_gen_exports };
|