@scaleway/sdk-serverless-sqldb 2.10.0 → 2.11.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.
@@ -0,0 +1,9 @@
1
+ import type { DatabaseBackupStatus, DatabaseStatus, ListDatabaseBackupsRequestOrderBy, ListDatabasesRequestOrderBy } from './types.gen.js';
2
+ /** Lists all values of the enum {@link DatabaseBackupStatus}. */
3
+ export declare const DATABASE_BACKUP_STATUSES: DatabaseBackupStatus[];
4
+ /** Lists all values of the enum {@link DatabaseStatus}. */
5
+ export declare const DATABASE_STATUSES: DatabaseStatus[];
6
+ /** Lists all values of the enum {@link ListDatabaseBackupsRequestOrderBy}. */
7
+ export declare const LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES: ListDatabaseBackupsRequestOrderBy[];
8
+ /** Lists all values of the enum {@link ListDatabasesRequestOrderBy}. */
9
+ export declare const LIST_DATABASES_REQUEST_ORDER_BIES: ListDatabasesRequestOrderBy[];
@@ -0,0 +1,29 @@
1
+ //#region src/v1alpha1/constants.gen.ts
2
+ /** Lists all values of the enum {@link DatabaseBackupStatus}. */
3
+ const DATABASE_BACKUP_STATUSES = [
4
+ "unknown_status",
5
+ "error",
6
+ "ready",
7
+ "locked"
8
+ ];
9
+ /** Lists all values of the enum {@link DatabaseStatus}. */
10
+ const DATABASE_STATUSES = [
11
+ "unknown_status",
12
+ "error",
13
+ "creating",
14
+ "ready",
15
+ "deleting",
16
+ "restoring",
17
+ "locked"
18
+ ];
19
+ /** Lists all values of the enum {@link ListDatabaseBackupsRequestOrderBy}. */
20
+ const LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES = ["created_at_desc", "created_at_asc"];
21
+ /** Lists all values of the enum {@link ListDatabasesRequestOrderBy}. */
22
+ const LIST_DATABASES_REQUEST_ORDER_BIES = [
23
+ "created_at_asc",
24
+ "created_at_desc",
25
+ "name_asc",
26
+ "name_desc"
27
+ ];
28
+ //#endregion
29
+ export { DATABASE_BACKUP_STATUSES, DATABASE_STATUSES, LIST_DATABASES_REQUEST_ORDER_BIES, LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES };
@@ -1,5 +1,6 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
+ export * from './constants.gen.js';
3
4
  export * from './marshalling.gen.js';
4
5
  export type { CreateDatabaseRequest, Database, DatabaseBackup, DatabaseBackupStatus, DatabaseStatus, DeleteDatabaseRequest, ExportDatabaseBackupRequest, GetDatabaseBackupRequest, GetDatabaseRequest, ListDatabaseBackupsRequest, ListDatabaseBackupsRequestOrderBy, ListDatabaseBackupsResponse, ListDatabasesRequest, ListDatabasesRequestOrderBy, ListDatabasesResponse, RestoreDatabaseFromBackupRequest, UpdateDatabaseRequest, } from './types.gen.js';
5
6
  export * as ValidationRules from './validation-rules.gen.js';
@@ -2,11 +2,16 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { DATABASE_TRANSIENT_STATUSES } from "./content.gen.js";
3
3
  import { marshalCreateDatabaseRequest, marshalRestoreDatabaseFromBackupRequest, marshalUpdateDatabaseRequest, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalListDatabaseBackupsResponse, unmarshalListDatabasesResponse } from "./marshalling.gen.js";
4
4
  import { API } from "./api.gen.js";
5
+ import { DATABASE_BACKUP_STATUSES, DATABASE_STATUSES, LIST_DATABASES_REQUEST_ORDER_BIES, LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES } from "./constants.gen.js";
5
6
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
7
  //#region src/v1alpha1/index.gen.ts
7
8
  var index_gen_exports = /* @__PURE__ */ __exportAll({
8
9
  API: () => API,
10
+ DATABASE_BACKUP_STATUSES: () => DATABASE_BACKUP_STATUSES,
11
+ DATABASE_STATUSES: () => DATABASE_STATUSES,
9
12
  DATABASE_TRANSIENT_STATUSES: () => DATABASE_TRANSIENT_STATUSES,
13
+ LIST_DATABASES_REQUEST_ORDER_BIES: () => LIST_DATABASES_REQUEST_ORDER_BIES,
14
+ LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES: () => LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES,
10
15
  ValidationRules: () => validation_rules_gen_exports,
11
16
  marshalCreateDatabaseRequest: () => marshalCreateDatabaseRequest,
12
17
  marshalRestoreDatabaseFromBackupRequest: () => marshalRestoreDatabaseFromBackupRequest,
@@ -17,4 +22,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
17
22
  unmarshalListDatabasesResponse: () => unmarshalListDatabasesResponse
18
23
  });
19
24
  //#endregion
20
- export { API, DATABASE_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateDatabaseRequest, marshalRestoreDatabaseFromBackupRequest, marshalUpdateDatabaseRequest, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalListDatabaseBackupsResponse, unmarshalListDatabasesResponse };
25
+ export { API, DATABASE_BACKUP_STATUSES, DATABASE_STATUSES, DATABASE_TRANSIENT_STATUSES, LIST_DATABASES_REQUEST_ORDER_BIES, LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateDatabaseRequest, marshalRestoreDatabaseFromBackupRequest, marshalUpdateDatabaseRequest, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalListDatabaseBackupsResponse, unmarshalListDatabasesResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-serverless-sqldb",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Scaleway SDK serverless-sqldb",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",