@scaleway/sdk-mongodb 2.3.0 → 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.
@@ -1,18 +1,17 @@
1
+ /** Lists transient statutes of the enum {@link InstanceStatus}. */
1
2
  const INSTANCE_TRANSIENT_STATUSES = [
2
- "provisioning",
3
- "configuring",
4
- "deleting",
5
- "initializing",
6
- "snapshotting"
3
+ "provisioning",
4
+ "configuring",
5
+ "deleting",
6
+ "initializing",
7
+ "snapshotting"
7
8
  ];
9
+ /** Lists transient statutes of the enum {@link MaintenanceStatus}. */
8
10
  const MAINTENANCE_TRANSIENT_STATUSES = ["ongoing"];
11
+ /** Lists transient statutes of the enum {@link SnapshotStatus}. */
9
12
  const SNAPSHOT_TRANSIENT_STATUSES = [
10
- "creating",
11
- "restoring",
12
- "deleting"
13
+ "creating",
14
+ "restoring",
15
+ "deleting"
13
16
  ];
14
- export {
15
- INSTANCE_TRANSIENT_STATUSES,
16
- MAINTENANCE_TRANSIENT_STATUSES,
17
- SNAPSHOT_TRANSIENT_STATUSES
18
- };
17
+ export { INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES };
@@ -1,4 +1,4 @@
1
- export { API } from './api.gen.js';
1
+ export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
3
  export * from './marshalling.gen.js';
4
4
  export type { ApplyMaintenanceRequest, CreateEndpointRequest, CreateInstanceRequest, CreateSnapshotRequest, CreateUserRequest, Database, DeleteEndpointRequest, DeleteInstanceRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, EndpointPrivateNetworkDetails, EndpointPublicNetworkDetails, EndpointSpec, EndpointSpecPrivateNetworkDetails, EndpointSpecPublicNetworkDetails, EngineUpgrade, GetInstanceCertificateRequest, GetInstanceRequest, GetMaintenanceRequest, GetSnapshotRequest, Instance, InstanceSnapshotSchedule, InstanceStatus, ListDatabasesRequest, ListDatabasesRequestOrderBy, ListDatabasesResponse, ListInstancesRequest, ListInstancesRequestOrderBy, ListInstancesResponse, ListMaintenancesRequest, ListMaintenancesRequestOrderBy, ListMaintenancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListSnapshotsRequest, ListSnapshotsRequestOrderBy, ListSnapshotsResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, ListVersionsRequest, ListVersionsResponse, Maintenance, MaintenanceAppliedBy, MaintenanceStatus, NodeType, NodeTypeStock, NodeTypeVolumeType, RestoreSnapshotRequest, ServiceUpdate, SetUserRoleRequest, Snapshot, SnapshotStatus, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest, User, UserRole, UserRoleRole, Version, Volume, VolumeType, Workflow, } from './types.gen.js';
@@ -1,33 +1,35 @@
1
- import { API } from "./api.gen.js";
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 * as validationRules_gen from "./validation-rules.gen.js";
5
- export {
6
- API,
7
- INSTANCE_TRANSIENT_STATUSES,
8
- MAINTENANCE_TRANSIENT_STATUSES,
9
- SNAPSHOT_TRANSIENT_STATUSES,
10
- validationRules_gen as ValidationRules,
11
- marshalCreateEndpointRequest,
12
- marshalCreateInstanceRequest,
13
- marshalCreateSnapshotRequest,
14
- marshalCreateUserRequest,
15
- marshalRestoreSnapshotRequest,
16
- marshalSetUserRoleRequest,
17
- marshalUpdateInstanceRequest,
18
- marshalUpdateSnapshotRequest,
19
- marshalUpdateUserRequest,
20
- marshalUpgradeInstanceRequest,
21
- unmarshalEndpoint,
22
- unmarshalInstance,
23
- unmarshalListDatabasesResponse,
24
- unmarshalListInstancesResponse,
25
- unmarshalListMaintenancesResponse,
26
- unmarshalListNodeTypesResponse,
27
- unmarshalListSnapshotsResponse,
28
- unmarshalListUsersResponse,
29
- unmarshalListVersionsResponse,
30
- unmarshalMaintenance,
31
- unmarshalSnapshot,
32
- unmarshalUser
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 };