@scaleway/sdk-rdb 2.12.0 → 2.13.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/constants.gen.d.ts +49 -0
- package/dist/v1/constants.gen.js +180 -0
- package/dist/v1/index.gen.d.ts +1 -0
- package/dist/v1/index.gen.js +26 -1
- package/package.json +4 -4
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ACLRuleAction, ACLRuleDirection, ACLRuleProtocol, DatabaseBackupStatus, EndpointPrivateNetworkDetailsProvisioningMode, EngineSettingPropertyType, HighAvailabilityMode, InstanceLogStatus, InstanceStatus, ListDatabaseBackupsRequestOrderBy, ListDatabasesRequestOrderBy, ListInstanceLogsRequestOrderBy, ListInstancesRequestOrderBy, ListPrivilegesRequestOrderBy, ListSnapshotsRequestOrderBy, ListUsersRequestOrderBy, MaintenanceStatus, NodeTypeGeneration, NodeTypeStock, Permission, ReadReplicaStatus, SnapshotStatus, StorageClass, VolumeType } from './types.gen.js';
|
|
2
|
+
/** Lists all values of the enum {@link ACLRuleAction}. */
|
|
3
|
+
export declare const ACL_RULE_ACTIONS: ACLRuleAction[];
|
|
4
|
+
/** Lists all values of the enum {@link ACLRuleDirection}. */
|
|
5
|
+
export declare const ACL_RULE_DIRECTIONS: ACLRuleDirection[];
|
|
6
|
+
/** Lists all values of the enum {@link ACLRuleProtocol}. */
|
|
7
|
+
export declare const ACL_RULE_PROTOCOLS: ACLRuleProtocol[];
|
|
8
|
+
/** Lists all values of the enum {@link DatabaseBackupStatus}. */
|
|
9
|
+
export declare const DATABASE_BACKUP_STATUSES: DatabaseBackupStatus[];
|
|
10
|
+
/** Lists all values of the enum {@link EndpointPrivateNetworkDetailsProvisioningMode}. */
|
|
11
|
+
export declare const ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES: EndpointPrivateNetworkDetailsProvisioningMode[];
|
|
12
|
+
/** Lists all values of the enum {@link EngineSettingPropertyType}. */
|
|
13
|
+
export declare const ENGINE_SETTING_PROPERTY_TYPES: EngineSettingPropertyType[];
|
|
14
|
+
/** Lists all values of the enum {@link HighAvailabilityMode}. */
|
|
15
|
+
export declare const HIGH_AVAILABILITY_MODES: HighAvailabilityMode[];
|
|
16
|
+
/** Lists all values of the enum {@link InstanceLogStatus}. */
|
|
17
|
+
export declare const INSTANCE_LOG_STATUSES: InstanceLogStatus[];
|
|
18
|
+
/** Lists all values of the enum {@link InstanceStatus}. */
|
|
19
|
+
export declare const INSTANCE_STATUSES: InstanceStatus[];
|
|
20
|
+
/** Lists all values of the enum {@link ListDatabaseBackupsRequestOrderBy}. */
|
|
21
|
+
export declare const LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES: ListDatabaseBackupsRequestOrderBy[];
|
|
22
|
+
/** Lists all values of the enum {@link ListDatabasesRequestOrderBy}. */
|
|
23
|
+
export declare const LIST_DATABASES_REQUEST_ORDER_BIES: ListDatabasesRequestOrderBy[];
|
|
24
|
+
/** Lists all values of the enum {@link ListInstanceLogsRequestOrderBy}. */
|
|
25
|
+
export declare const LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES: ListInstanceLogsRequestOrderBy[];
|
|
26
|
+
/** Lists all values of the enum {@link ListInstancesRequestOrderBy}. */
|
|
27
|
+
export declare const LIST_INSTANCES_REQUEST_ORDER_BIES: ListInstancesRequestOrderBy[];
|
|
28
|
+
/** Lists all values of the enum {@link ListPrivilegesRequestOrderBy}. */
|
|
29
|
+
export declare const LIST_PRIVILEGES_REQUEST_ORDER_BIES: ListPrivilegesRequestOrderBy[];
|
|
30
|
+
/** Lists all values of the enum {@link ListSnapshotsRequestOrderBy}. */
|
|
31
|
+
export declare const LIST_SNAPSHOTS_REQUEST_ORDER_BIES: ListSnapshotsRequestOrderBy[];
|
|
32
|
+
/** Lists all values of the enum {@link ListUsersRequestOrderBy}. */
|
|
33
|
+
export declare const LIST_USERS_REQUEST_ORDER_BIES: ListUsersRequestOrderBy[];
|
|
34
|
+
/** Lists all values of the enum {@link MaintenanceStatus}. */
|
|
35
|
+
export declare const MAINTENANCE_STATUSES: MaintenanceStatus[];
|
|
36
|
+
/** Lists all values of the enum {@link NodeTypeGeneration}. */
|
|
37
|
+
export declare const NODE_TYPE_GENERATIONS: NodeTypeGeneration[];
|
|
38
|
+
/** Lists all values of the enum {@link NodeTypeStock}. */
|
|
39
|
+
export declare const NODE_TYPE_STOCKS: NodeTypeStock[];
|
|
40
|
+
/** Lists all values of the enum {@link Permission}. */
|
|
41
|
+
export declare const PERMISSIONS: Permission[];
|
|
42
|
+
/** Lists all values of the enum {@link ReadReplicaStatus}. */
|
|
43
|
+
export declare const READ_REPLICA_STATUSES: ReadReplicaStatus[];
|
|
44
|
+
/** Lists all values of the enum {@link SnapshotStatus}. */
|
|
45
|
+
export declare const SNAPSHOT_STATUSES: SnapshotStatus[];
|
|
46
|
+
/** Lists all values of the enum {@link StorageClass}. */
|
|
47
|
+
export declare const STORAGE_CLASSES: StorageClass[];
|
|
48
|
+
/** Lists all values of the enum {@link VolumeType}. */
|
|
49
|
+
export declare const VOLUME_TYPES: VolumeType[];
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
//#region src/v1/constants.gen.ts
|
|
2
|
+
/** Lists all values of the enum {@link ACLRuleAction}. */
|
|
3
|
+
const ACL_RULE_ACTIONS = ["allow", "deny"];
|
|
4
|
+
/** Lists all values of the enum {@link ACLRuleDirection}. */
|
|
5
|
+
const ACL_RULE_DIRECTIONS = ["inbound", "outbound"];
|
|
6
|
+
/** Lists all values of the enum {@link ACLRuleProtocol}. */
|
|
7
|
+
const ACL_RULE_PROTOCOLS = [
|
|
8
|
+
"tcp",
|
|
9
|
+
"udp",
|
|
10
|
+
"icmp"
|
|
11
|
+
];
|
|
12
|
+
/** Lists all values of the enum {@link DatabaseBackupStatus}. */
|
|
13
|
+
const DATABASE_BACKUP_STATUSES = [
|
|
14
|
+
"unknown",
|
|
15
|
+
"creating",
|
|
16
|
+
"ready",
|
|
17
|
+
"restoring",
|
|
18
|
+
"deleting",
|
|
19
|
+
"error",
|
|
20
|
+
"exporting",
|
|
21
|
+
"locked"
|
|
22
|
+
];
|
|
23
|
+
/** Lists all values of the enum {@link EndpointPrivateNetworkDetailsProvisioningMode}. */
|
|
24
|
+
const ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES = ["static", "ipam"];
|
|
25
|
+
/** Lists all values of the enum {@link EngineSettingPropertyType}. */
|
|
26
|
+
const ENGINE_SETTING_PROPERTY_TYPES = [
|
|
27
|
+
"BOOLEAN",
|
|
28
|
+
"INT",
|
|
29
|
+
"STRING",
|
|
30
|
+
"FLOAT"
|
|
31
|
+
];
|
|
32
|
+
/** Lists all values of the enum {@link HighAvailabilityMode}. */
|
|
33
|
+
const HIGH_AVAILABILITY_MODES = [
|
|
34
|
+
"unknown_high_availability_mode",
|
|
35
|
+
"disabled",
|
|
36
|
+
"single_zone",
|
|
37
|
+
"multiple_zone"
|
|
38
|
+
];
|
|
39
|
+
/** Lists all values of the enum {@link InstanceLogStatus}. */
|
|
40
|
+
const INSTANCE_LOG_STATUSES = [
|
|
41
|
+
"unknown",
|
|
42
|
+
"ready",
|
|
43
|
+
"creating",
|
|
44
|
+
"error"
|
|
45
|
+
];
|
|
46
|
+
/** Lists all values of the enum {@link InstanceStatus}. */
|
|
47
|
+
const INSTANCE_STATUSES = [
|
|
48
|
+
"unknown",
|
|
49
|
+
"ready",
|
|
50
|
+
"provisioning",
|
|
51
|
+
"configuring",
|
|
52
|
+
"deleting",
|
|
53
|
+
"error",
|
|
54
|
+
"autohealing",
|
|
55
|
+
"locked",
|
|
56
|
+
"initializing",
|
|
57
|
+
"disk_full",
|
|
58
|
+
"backuping",
|
|
59
|
+
"snapshotting",
|
|
60
|
+
"restarting"
|
|
61
|
+
];
|
|
62
|
+
/** Lists all values of the enum {@link ListDatabaseBackupsRequestOrderBy}. */
|
|
63
|
+
const LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES = [
|
|
64
|
+
"created_at_asc",
|
|
65
|
+
"created_at_desc",
|
|
66
|
+
"name_asc",
|
|
67
|
+
"name_desc",
|
|
68
|
+
"status_asc",
|
|
69
|
+
"status_desc"
|
|
70
|
+
];
|
|
71
|
+
/** Lists all values of the enum {@link ListDatabasesRequestOrderBy}. */
|
|
72
|
+
const LIST_DATABASES_REQUEST_ORDER_BIES = [
|
|
73
|
+
"name_asc",
|
|
74
|
+
"name_desc",
|
|
75
|
+
"size_asc",
|
|
76
|
+
"size_desc"
|
|
77
|
+
];
|
|
78
|
+
/** Lists all values of the enum {@link ListInstanceLogsRequestOrderBy}. */
|
|
79
|
+
const LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES = ["created_at_asc", "created_at_desc"];
|
|
80
|
+
/** Lists all values of the enum {@link ListInstancesRequestOrderBy}. */
|
|
81
|
+
const LIST_INSTANCES_REQUEST_ORDER_BIES = [
|
|
82
|
+
"created_at_asc",
|
|
83
|
+
"created_at_desc",
|
|
84
|
+
"name_asc",
|
|
85
|
+
"name_desc",
|
|
86
|
+
"region",
|
|
87
|
+
"status_asc",
|
|
88
|
+
"status_desc"
|
|
89
|
+
];
|
|
90
|
+
/** Lists all values of the enum {@link ListPrivilegesRequestOrderBy}. */
|
|
91
|
+
const LIST_PRIVILEGES_REQUEST_ORDER_BIES = [
|
|
92
|
+
"user_name_asc",
|
|
93
|
+
"user_name_desc",
|
|
94
|
+
"database_name_asc",
|
|
95
|
+
"database_name_desc"
|
|
96
|
+
];
|
|
97
|
+
/** Lists all values of the enum {@link ListSnapshotsRequestOrderBy}. */
|
|
98
|
+
const LIST_SNAPSHOTS_REQUEST_ORDER_BIES = [
|
|
99
|
+
"created_at_asc",
|
|
100
|
+
"created_at_desc",
|
|
101
|
+
"name_asc",
|
|
102
|
+
"name_desc",
|
|
103
|
+
"expires_at_asc",
|
|
104
|
+
"expires_at_desc"
|
|
105
|
+
];
|
|
106
|
+
/** Lists all values of the enum {@link ListUsersRequestOrderBy}. */
|
|
107
|
+
const LIST_USERS_REQUEST_ORDER_BIES = [
|
|
108
|
+
"name_asc",
|
|
109
|
+
"name_desc",
|
|
110
|
+
"is_admin_asc",
|
|
111
|
+
"is_admin_desc"
|
|
112
|
+
];
|
|
113
|
+
/** Lists all values of the enum {@link MaintenanceStatus}. */
|
|
114
|
+
const MAINTENANCE_STATUSES = [
|
|
115
|
+
"unknown",
|
|
116
|
+
"pending",
|
|
117
|
+
"done",
|
|
118
|
+
"canceled",
|
|
119
|
+
"ongoing"
|
|
120
|
+
];
|
|
121
|
+
/** Lists all values of the enum {@link NodeTypeGeneration}. */
|
|
122
|
+
const NODE_TYPE_GENERATIONS = [
|
|
123
|
+
"unknown_generation",
|
|
124
|
+
"generation_v1",
|
|
125
|
+
"generation_v2",
|
|
126
|
+
"generation_v3"
|
|
127
|
+
];
|
|
128
|
+
/** Lists all values of the enum {@link NodeTypeStock}. */
|
|
129
|
+
const NODE_TYPE_STOCKS = [
|
|
130
|
+
"unknown",
|
|
131
|
+
"low_stock",
|
|
132
|
+
"out_of_stock",
|
|
133
|
+
"available"
|
|
134
|
+
];
|
|
135
|
+
/** Lists all values of the enum {@link Permission}. */
|
|
136
|
+
const PERMISSIONS = [
|
|
137
|
+
"readonly",
|
|
138
|
+
"readwrite",
|
|
139
|
+
"all",
|
|
140
|
+
"custom",
|
|
141
|
+
"none"
|
|
142
|
+
];
|
|
143
|
+
/** Lists all values of the enum {@link ReadReplicaStatus}. */
|
|
144
|
+
const READ_REPLICA_STATUSES = [
|
|
145
|
+
"unknown",
|
|
146
|
+
"provisioning",
|
|
147
|
+
"initializing",
|
|
148
|
+
"ready",
|
|
149
|
+
"deleting",
|
|
150
|
+
"error",
|
|
151
|
+
"locked",
|
|
152
|
+
"configuring",
|
|
153
|
+
"promoting"
|
|
154
|
+
];
|
|
155
|
+
/** Lists all values of the enum {@link SnapshotStatus}. */
|
|
156
|
+
const SNAPSHOT_STATUSES = [
|
|
157
|
+
"unknown",
|
|
158
|
+
"creating",
|
|
159
|
+
"ready",
|
|
160
|
+
"restoring",
|
|
161
|
+
"deleting",
|
|
162
|
+
"error",
|
|
163
|
+
"locked"
|
|
164
|
+
];
|
|
165
|
+
/** Lists all values of the enum {@link StorageClass}. */
|
|
166
|
+
const STORAGE_CLASSES = [
|
|
167
|
+
"unknown_storage_class",
|
|
168
|
+
"lssd",
|
|
169
|
+
"bssd",
|
|
170
|
+
"sbs"
|
|
171
|
+
];
|
|
172
|
+
/** Lists all values of the enum {@link VolumeType}. */
|
|
173
|
+
const VOLUME_TYPES = [
|
|
174
|
+
"lssd",
|
|
175
|
+
"bssd",
|
|
176
|
+
"sbs_5k",
|
|
177
|
+
"sbs_15k"
|
|
178
|
+
];
|
|
179
|
+
//#endregion
|
|
180
|
+
export { ACL_RULE_ACTIONS, ACL_RULE_DIRECTIONS, ACL_RULE_PROTOCOLS, DATABASE_BACKUP_STATUSES, ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES, ENGINE_SETTING_PROPERTY_TYPES, HIGH_AVAILABILITY_MODES, INSTANCE_LOG_STATUSES, INSTANCE_STATUSES, LIST_DATABASES_REQUEST_ORDER_BIES, LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES, LIST_INSTANCES_REQUEST_ORDER_BIES, LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES, LIST_PRIVILEGES_REQUEST_ORDER_BIES, LIST_SNAPSHOTS_REQUEST_ORDER_BIES, LIST_USERS_REQUEST_ORDER_BIES, MAINTENANCE_STATUSES, NODE_TYPE_GENERATIONS, NODE_TYPE_STOCKS, PERMISSIONS, READ_REPLICA_STATUSES, SNAPSHOT_STATUSES, STORAGE_CLASSES, VOLUME_TYPES };
|
package/dist/v1/index.gen.d.ts
CHANGED
|
@@ -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 { ACLRule, ACLRuleAction, ACLRuleDirection, ACLRuleProtocol, ACLRuleRequest, AddInstanceACLRulesRequest, AddInstanceACLRulesResponse, AddInstanceSettingsRequest, AddInstanceSettingsResponse, ApplyInstanceMaintenanceRequest, BackupSchedule, CloneInstanceRequest, CreateDatabaseBackupRequest, CreateDatabaseRequest, CreateEndpointRequest, CreateInstanceFromSnapshotRequest, CreateInstanceRequest, CreateReadReplicaEndpointRequest, CreateReadReplicaRequest, CreateSnapshotRequest, CreateUserRequest, Database, DatabaseBackup, DatabaseBackupStatus, DatabaseEngine, DeleteDatabaseBackupRequest, DeleteDatabaseRequest, DeleteEndpointRequest, DeleteInstanceACLRulesRequest, DeleteInstanceACLRulesResponse, DeleteInstanceRequest, DeleteInstanceSettingsRequest, DeleteInstanceSettingsResponse, DeleteReadReplicaRequest, DeleteSnapshotRequest, DeleteUserRequest, EncryptionAtRest, Endpoint, EndpointDirectAccessDetails, EndpointLoadBalancerDetails, EndpointPrivateNetworkDetails, EndpointPrivateNetworkDetailsProvisioningMode, EndpointSpec, EndpointSpecLoadBalancer, EndpointSpecPrivateNetwork, EndpointSpecPrivateNetworkIpamConfig, EngineSetting, EngineSettingPropertyType, EngineVersion, ExportDatabaseBackupRequest, GetDatabaseBackupRequest, GetEndpointRequest, GetInstanceCertificateRequest, GetInstanceLogRequest, GetInstanceMetricsRequest, GetInstanceRequest, GetReadReplicaRequest, GetSnapshotRequest, HighAvailabilityMode, Instance, InstanceLog, InstanceLogStatus, InstanceMetrics, InstanceSetting, InstanceStatus, ListDatabaseBackupsRequest, ListDatabaseBackupsRequestOrderBy, ListDatabaseBackupsResponse, ListDatabaseEnginesRequest, ListDatabaseEnginesResponse, ListDatabasesRequest, ListDatabasesRequestOrderBy, ListDatabasesResponse, ListInstanceACLRulesRequest, ListInstanceACLRulesResponse, ListInstanceLogsDetailsRequest, ListInstanceLogsDetailsResponse, ListInstanceLogsDetailsResponseInstanceLogDetail, ListInstanceLogsRequest, ListInstanceLogsRequestOrderBy, ListInstanceLogsResponse, ListInstancesRequest, ListInstancesRequestOrderBy, ListInstancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListPrivilegesRequest, ListPrivilegesRequestOrderBy, ListPrivilegesResponse, ListSnapshotsRequest, ListSnapshotsRequestOrderBy, ListSnapshotsResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, LogsPolicy, Maintenance, MaintenanceStatus, MigrateEndpointRequest, NodeType, NodeTypeGeneration, NodeTypeStock, NodeTypeVolumeConstraintSizes, NodeTypeVolumeType, Permission, PrepareInstanceLogsRequest, PrepareInstanceLogsResponse, Privilege, PromoteReadReplicaRequest, PurgeInstanceLogsRequest, ReadReplica, ReadReplicaEndpointSpec, ReadReplicaEndpointSpecDirectAccess, ReadReplicaEndpointSpecPrivateNetwork, ReadReplicaEndpointSpecPrivateNetworkIpamConfig, ReadReplicaStatus, RenewInstanceCertificateRequest, ResetReadReplicaRequest, RestartInstanceRequest, RestoreDatabaseBackupRequest, SetInstanceACLRulesRequest, SetInstanceACLRulesResponse, SetInstanceSettingsRequest, SetInstanceSettingsResponse, SetPrivilegeRequest, Snapshot, SnapshotStatus, SnapshotVolumeType, StorageClass, UpdateDatabaseBackupRequest, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradableVersion, UpgradeInstanceRequest, UpgradeInstanceRequestMajorUpgradeWorkflow, User, Volume, VolumeType, } from './types.gen.js';
|
|
5
6
|
export * as ValidationRules from './validation-rules.gen.js';
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -2,16 +2,41 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { DATABASE_BACKUP_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAddInstanceACLRulesRequest, marshalAddInstanceSettingsRequest, marshalCloneInstanceRequest, marshalCreateDatabaseBackupRequest, marshalCreateDatabaseRequest, marshalCreateEndpointRequest, marshalCreateInstanceFromSnapshotRequest, marshalCreateInstanceRequest, marshalCreateReadReplicaEndpointRequest, marshalCreateReadReplicaRequest, marshalCreateSnapshotRequest, marshalCreateUserRequest, marshalDeleteInstanceACLRulesRequest, marshalDeleteInstanceSettingsRequest, marshalMigrateEndpointRequest, marshalPrepareInstanceLogsRequest, marshalPurgeInstanceLogsRequest, marshalRestoreDatabaseBackupRequest, marshalSetInstanceACLRulesRequest, marshalSetInstanceSettingsRequest, marshalSetPrivilegeRequest, marshalUpdateDatabaseBackupRequest, marshalUpdateInstanceRequest, marshalUpdateSnapshotRequest, marshalUpdateUserRequest, marshalUpgradeInstanceRequest, unmarshalACLRule, unmarshalAddInstanceACLRulesResponse, unmarshalAddInstanceSettingsResponse, unmarshalBackupSchedule, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalDeleteInstanceACLRulesResponse, unmarshalDeleteInstanceSettingsResponse, unmarshalEndpoint, unmarshalInstance, unmarshalInstanceLog, unmarshalInstanceMetrics, unmarshalListDatabaseBackupsResponse, unmarshalListDatabaseEnginesResponse, unmarshalListDatabasesResponse, unmarshalListInstanceACLRulesResponse, unmarshalListInstanceLogsDetailsResponse, unmarshalListInstanceLogsResponse, unmarshalListInstancesResponse, unmarshalListNodeTypesResponse, unmarshalListPrivilegesResponse, unmarshalListSnapshotsResponse, unmarshalListUsersResponse, unmarshalMaintenance, unmarshalPrepareInstanceLogsResponse, unmarshalPrivilege, unmarshalReadReplica, unmarshalSetInstanceACLRulesResponse, unmarshalSetInstanceSettingsResponse, unmarshalSnapshot, unmarshalUser } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
|
+
import { ACL_RULE_ACTIONS, ACL_RULE_DIRECTIONS, ACL_RULE_PROTOCOLS, DATABASE_BACKUP_STATUSES, ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES, ENGINE_SETTING_PROPERTY_TYPES, HIGH_AVAILABILITY_MODES, INSTANCE_LOG_STATUSES, INSTANCE_STATUSES, LIST_DATABASES_REQUEST_ORDER_BIES, LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES, LIST_INSTANCES_REQUEST_ORDER_BIES, LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES, LIST_PRIVILEGES_REQUEST_ORDER_BIES, LIST_SNAPSHOTS_REQUEST_ORDER_BIES, LIST_USERS_REQUEST_ORDER_BIES, MAINTENANCE_STATUSES, NODE_TYPE_GENERATIONS, NODE_TYPE_STOCKS, PERMISSIONS, READ_REPLICA_STATUSES, SNAPSHOT_STATUSES, STORAGE_CLASSES, VOLUME_TYPES } from "./constants.gen.js";
|
|
5
6
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
7
|
//#region src/v1/index.gen.ts
|
|
7
8
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
9
|
+
ACL_RULE_ACTIONS: () => ACL_RULE_ACTIONS,
|
|
10
|
+
ACL_RULE_DIRECTIONS: () => ACL_RULE_DIRECTIONS,
|
|
11
|
+
ACL_RULE_PROTOCOLS: () => ACL_RULE_PROTOCOLS,
|
|
8
12
|
API: () => API,
|
|
13
|
+
DATABASE_BACKUP_STATUSES: () => DATABASE_BACKUP_STATUSES,
|
|
9
14
|
DATABASE_BACKUP_TRANSIENT_STATUSES: () => DATABASE_BACKUP_TRANSIENT_STATUSES,
|
|
15
|
+
ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES: () => ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES,
|
|
16
|
+
ENGINE_SETTING_PROPERTY_TYPES: () => ENGINE_SETTING_PROPERTY_TYPES,
|
|
17
|
+
HIGH_AVAILABILITY_MODES: () => HIGH_AVAILABILITY_MODES,
|
|
18
|
+
INSTANCE_LOG_STATUSES: () => INSTANCE_LOG_STATUSES,
|
|
10
19
|
INSTANCE_LOG_TRANSIENT_STATUSES: () => INSTANCE_LOG_TRANSIENT_STATUSES,
|
|
20
|
+
INSTANCE_STATUSES: () => INSTANCE_STATUSES,
|
|
11
21
|
INSTANCE_TRANSIENT_STATUSES: () => INSTANCE_TRANSIENT_STATUSES,
|
|
22
|
+
LIST_DATABASES_REQUEST_ORDER_BIES: () => LIST_DATABASES_REQUEST_ORDER_BIES,
|
|
23
|
+
LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES: () => LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES,
|
|
24
|
+
LIST_INSTANCES_REQUEST_ORDER_BIES: () => LIST_INSTANCES_REQUEST_ORDER_BIES,
|
|
25
|
+
LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES: () => LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES,
|
|
26
|
+
LIST_PRIVILEGES_REQUEST_ORDER_BIES: () => LIST_PRIVILEGES_REQUEST_ORDER_BIES,
|
|
27
|
+
LIST_SNAPSHOTS_REQUEST_ORDER_BIES: () => LIST_SNAPSHOTS_REQUEST_ORDER_BIES,
|
|
28
|
+
LIST_USERS_REQUEST_ORDER_BIES: () => LIST_USERS_REQUEST_ORDER_BIES,
|
|
29
|
+
MAINTENANCE_STATUSES: () => MAINTENANCE_STATUSES,
|
|
12
30
|
MAINTENANCE_TRANSIENT_STATUSES: () => MAINTENANCE_TRANSIENT_STATUSES,
|
|
31
|
+
NODE_TYPE_GENERATIONS: () => NODE_TYPE_GENERATIONS,
|
|
32
|
+
NODE_TYPE_STOCKS: () => NODE_TYPE_STOCKS,
|
|
33
|
+
PERMISSIONS: () => PERMISSIONS,
|
|
34
|
+
READ_REPLICA_STATUSES: () => READ_REPLICA_STATUSES,
|
|
13
35
|
READ_REPLICA_TRANSIENT_STATUSES: () => READ_REPLICA_TRANSIENT_STATUSES,
|
|
36
|
+
SNAPSHOT_STATUSES: () => SNAPSHOT_STATUSES,
|
|
14
37
|
SNAPSHOT_TRANSIENT_STATUSES: () => SNAPSHOT_TRANSIENT_STATUSES,
|
|
38
|
+
STORAGE_CLASSES: () => STORAGE_CLASSES,
|
|
39
|
+
VOLUME_TYPES: () => VOLUME_TYPES,
|
|
15
40
|
ValidationRules: () => validation_rules_gen_exports,
|
|
16
41
|
marshalAddInstanceACLRulesRequest: () => marshalAddInstanceACLRulesRequest,
|
|
17
42
|
marshalAddInstanceSettingsRequest: () => marshalAddInstanceSettingsRequest,
|
|
@@ -72,4 +97,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
72
97
|
unmarshalUser: () => unmarshalUser
|
|
73
98
|
});
|
|
74
99
|
//#endregion
|
|
75
|
-
export { API, DATABASE_BACKUP_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddInstanceACLRulesRequest, marshalAddInstanceSettingsRequest, marshalCloneInstanceRequest, marshalCreateDatabaseBackupRequest, marshalCreateDatabaseRequest, marshalCreateEndpointRequest, marshalCreateInstanceFromSnapshotRequest, marshalCreateInstanceRequest, marshalCreateReadReplicaEndpointRequest, marshalCreateReadReplicaRequest, marshalCreateSnapshotRequest, marshalCreateUserRequest, marshalDeleteInstanceACLRulesRequest, marshalDeleteInstanceSettingsRequest, marshalMigrateEndpointRequest, marshalPrepareInstanceLogsRequest, marshalPurgeInstanceLogsRequest, marshalRestoreDatabaseBackupRequest, marshalSetInstanceACLRulesRequest, marshalSetInstanceSettingsRequest, marshalSetPrivilegeRequest, marshalUpdateDatabaseBackupRequest, marshalUpdateInstanceRequest, marshalUpdateSnapshotRequest, marshalUpdateUserRequest, marshalUpgradeInstanceRequest, unmarshalACLRule, unmarshalAddInstanceACLRulesResponse, unmarshalAddInstanceSettingsResponse, unmarshalBackupSchedule, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalDeleteInstanceACLRulesResponse, unmarshalDeleteInstanceSettingsResponse, unmarshalEndpoint, unmarshalInstance, unmarshalInstanceLog, unmarshalInstanceMetrics, unmarshalListDatabaseBackupsResponse, unmarshalListDatabaseEnginesResponse, unmarshalListDatabasesResponse, unmarshalListInstanceACLRulesResponse, unmarshalListInstanceLogsDetailsResponse, unmarshalListInstanceLogsResponse, unmarshalListInstancesResponse, unmarshalListNodeTypesResponse, unmarshalListPrivilegesResponse, unmarshalListSnapshotsResponse, unmarshalListUsersResponse, unmarshalMaintenance, unmarshalPrepareInstanceLogsResponse, unmarshalPrivilege, unmarshalReadReplica, unmarshalSetInstanceACLRulesResponse, unmarshalSetInstanceSettingsResponse, unmarshalSnapshot, unmarshalUser };
|
|
100
|
+
export { ACL_RULE_ACTIONS, ACL_RULE_DIRECTIONS, ACL_RULE_PROTOCOLS, API, DATABASE_BACKUP_STATUSES, DATABASE_BACKUP_TRANSIENT_STATUSES, ENDPOINT_PRIVATE_NETWORK_DETAILS_PROVISIONING_MODES, ENGINE_SETTING_PROPERTY_TYPES, HIGH_AVAILABILITY_MODES, INSTANCE_LOG_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, INSTANCE_STATUSES, INSTANCE_TRANSIENT_STATUSES, LIST_DATABASES_REQUEST_ORDER_BIES, LIST_DATABASE_BACKUPS_REQUEST_ORDER_BIES, LIST_INSTANCES_REQUEST_ORDER_BIES, LIST_INSTANCE_LOGS_REQUEST_ORDER_BIES, LIST_PRIVILEGES_REQUEST_ORDER_BIES, LIST_SNAPSHOTS_REQUEST_ORDER_BIES, LIST_USERS_REQUEST_ORDER_BIES, MAINTENANCE_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, NODE_TYPE_GENERATIONS, NODE_TYPE_STOCKS, PERMISSIONS, READ_REPLICA_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, SNAPSHOT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, STORAGE_CLASSES, VOLUME_TYPES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddInstanceACLRulesRequest, marshalAddInstanceSettingsRequest, marshalCloneInstanceRequest, marshalCreateDatabaseBackupRequest, marshalCreateDatabaseRequest, marshalCreateEndpointRequest, marshalCreateInstanceFromSnapshotRequest, marshalCreateInstanceRequest, marshalCreateReadReplicaEndpointRequest, marshalCreateReadReplicaRequest, marshalCreateSnapshotRequest, marshalCreateUserRequest, marshalDeleteInstanceACLRulesRequest, marshalDeleteInstanceSettingsRequest, marshalMigrateEndpointRequest, marshalPrepareInstanceLogsRequest, marshalPurgeInstanceLogsRequest, marshalRestoreDatabaseBackupRequest, marshalSetInstanceACLRulesRequest, marshalSetInstanceSettingsRequest, marshalSetPrivilegeRequest, marshalUpdateDatabaseBackupRequest, marshalUpdateInstanceRequest, marshalUpdateSnapshotRequest, marshalUpdateUserRequest, marshalUpgradeInstanceRequest, unmarshalACLRule, unmarshalAddInstanceACLRulesResponse, unmarshalAddInstanceSettingsResponse, unmarshalBackupSchedule, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalDeleteInstanceACLRulesResponse, unmarshalDeleteInstanceSettingsResponse, unmarshalEndpoint, unmarshalInstance, unmarshalInstanceLog, unmarshalInstanceMetrics, unmarshalListDatabaseBackupsResponse, unmarshalListDatabaseEnginesResponse, unmarshalListDatabasesResponse, unmarshalListInstanceACLRulesResponse, unmarshalListInstanceLogsDetailsResponse, unmarshalListInstanceLogsResponse, unmarshalListInstancesResponse, unmarshalListNodeTypesResponse, unmarshalListPrivilegesResponse, unmarshalListSnapshotsResponse, unmarshalListUsersResponse, unmarshalMaintenance, unmarshalPrepareInstanceLogsResponse, unmarshalPrivilege, unmarshalReadReplica, unmarshalSetInstanceACLRulesResponse, unmarshalSetInstanceSettingsResponse, unmarshalSnapshot, unmarshalUser };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-rdb",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "Scaleway SDK rdb",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.
|
|
36
|
+
"@scaleway/sdk-std": "2.7.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
39
|
+
"@scaleway/sdk-client": "^2.6.0",
|
|
40
|
+
"@repo/configs": "^0.1.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@scaleway/sdk-client": "^2.6.0"
|